Free CCDAK Exam Braindumps (page: 7)

Page 7 of 38

If I want to send binary data through the REST proxy to topic "test_binary", it needs to be base64 encoded. A consumer connecting directly into the Kafka topic

  1. "test_binary" will receive
  2. binary data
  3. avro data
  4. json data
  5. base64 encoded data, it will need to decode it

Answer(s): B

Explanation:

On the producer side, after receiving base64 data, the REST Proxy will convert it into bytes and then send that bytes payload to Kafka. Therefore, consumers reading directly from Kafka will receive binary data.



Which is an optional field in an Avro record?

  1. doc
  2. name
  3. namespace
  4. fields

Answer(s): A

Explanation:

doc represents optional description of message



A consumer application is using KafkaAvroDeserializer to deserialize Avro messages. What happens if message schema is not present in AvroDeserializer local cache?

  1. Throws SerializationException
  2. Fails silently
  3. Throws DeserializationException
  4. Fetches schema from Schema Registry

Answer(s): D

Explanation:

First local cache is checked for the message schema. In case of cache miss, schema is pulled from the schema registry. An exception will be thrown in the Schema Registry does not have the schema (Which should never happen if you set it up properly)



Which of the following event processing application is stateless? (Select two)

  1. Read events from a stream and modifies them from JSON to Avro
  2. Publish the top 10 stocks each day
  3. Read log messages from a stream and writes ERROR events into a high-priority stream and the rest of the events into a low-priority stream
  4. Find the minimum and maximum stock prices for each day of trading

Answer(s): A,C

Explanation:

Stateless means processing of each message depends only on the message, so converting from JSON to Avro or filtering a stream are both stateless operations



Page 7 of 38



Post your Comments and Discuss Confluent CCDAK exam with other Community members:

Testbear commented on June 13, 2023
please upload
ITALY
upvote

Testbear commented on June 13, 2023
please upload
ITALY
upvote