Which configuration allows more time for the consumer poll to process records?
Answer : C
Your application is consuming from a topic with one consumer group. The number of running consumers is equal to the number of partitions.
Application logs show that some consumers are leaving the consumer group during peak time, triggering a rebalance. You also notice that your application is processing many duplicates.
You need to stop consumers from leaving the consumer group.
What should you do?
Answer : B
A producer is configured with the default partitioner. It is sending records to a topic that is configured with five partitions. The record does not contain any key.
What is the result of this?
Answer : A
Which two producer exceptions are examples of the class RetriableException? (Choose two.)
Answer : AD
Which partition assignment minimizes partition movements between two assignments?
Answer : B
Which is true about topic compaction?
Answer : D
You create a producer that writes messages about bank account transactions from tens of thousands of different customers into a topic.
- Your consumers must process these messages with low latency and minimize consumer lag
- Processing these messages takes around six times longer than producing them
- Transactions for each bank account must be processed in order
You need to develop a strategy that minimizes consumer latency while maintaining scalability if the number of transactions increases.
Which strategy should you use?
Answer : B
You are sending messages to a Kafka cluster in JSON format and want to add more information related to each message. The information needed is:
- Format of the message payload
- Message creation time
- A globally unique identifier that allows the message to be traced as it flows through the system
Where should this additional information be set?
Answer : A
You have a Kafka consumer in production actively reading from a critical topic from which multiple other applications are consuming.
You have a new requirement to update the offset of your consumer to start reading from the beginning of the topic
Which action would you take?
Answer : D
Kafka producers can batch messages going to the same partition.
Which statement is correct about producer batching?
Answer : D
What is the default maximum size of a message the Apache Kafka broker can accept?
Answer : A
You have a topic t1 with six partitions. You use Kafka Connect to send data from topic t1 in your Kafka cluster to Amazon S3. Kafka Connect is configured for two tasks.
How many partitions will each task process?
Answer : B
This schema excerpt is an example of which schema format?
Answer : B
You have a consumer group with default configuration settings reading messages from your Kafka cluster. You need to optimize throughput so the consumer group processes more messages in the same amount of time.
Which change should you make to increase the consumption throughput?
Answer : B
You are writing a producer application and need to ensure proper delivery. You configure the producer with acks level to all.
Which two actions should you take to ensure proper error handling? (Choose two.)
Answer : AC
Have any questions or issues ? Please dont hesitate to contact us