Kafka Connect — Concept Check
Questions on Kafka Connect. Kafka Connect is a scalable framework for streaming data between Kafka and external systems (databases, file systems, cloud services) without writing custom producer/consumer code.
Questions in this quiz
8 questions on Kafka Connect — Concept Check. Work through them here, then start the quiz to answer them and see your score.
1.You have deployed a Kafka Connect cluster and notice that a connector task has failed. What should you do to restart the task?
- AUse the REST API to POST to /connectors/{connector}/tasks/{taskId}/restart
- BWait for the Connect cluster to automatically restart the task
- CModify the connector configuration file and restart the cluster
- DDelete and recreate the connector using the REST API
2.A Kafka Connect cluster is running with a JDBC Source connector. The connector is configured with 'timestamp+incrementing' mode. What does this mode imply?
- AIt only uses the timestamp column to track changes
- BIt alternates between timestamp and incrementing column randomly
- CIt only uses the incrementing column to track changes
- DIt uses both a timestamp and an incrementing column to track changes
3.A developer wants to integrate a new data source with Kafka using Kafka Connect. What is the primary advantage of using Kafka Connect for this task?
- AIt provides a graphical user interface for configuration
- BIt requires no configuration at all
- CNo need to write custom producer or consumer code
- DIt supports only cloud-based data sources
4.You notice that a Kafka Connect task is halting due to bad records. How can you prevent the entire task from stopping?
- ARestart the Kafka Connect cluster
- BIncrease the number of tasks in the configuration
- CSwitch to a different converter
- DConfigure a Dead Letter Queue (DLQ) to handle failed records
5.A Kafka Connect cluster is configured with a replication factor of 3 for its internal topics. What does this configuration ensure?
- AReduced storage requirements
- BHigh availability and fault tolerance for the internal topics
- CFaster data processing speed
- DSimplified configuration management
6.When creating a connector via the Kafka Connect REST API, what format is used for the configuration?
- APlain text
- BYAML
- CJSON
- DXML
7.A Kafka Connect worker process fails. What happens to the connector tasks it was handling?
- ATasks continue running unaffected
- BTasks are automatically rebalanced to other workers
- CTasks are permanently lost until manually restarted
- DTasks pause until the worker restarts
8.A developer configures a Kafka Connect S3 Sink connector with a DLQ. What is the purpose of the DLQ in this setup?
- ATo reduce the latency of data processing
- BTo capture records that fail to process
- CTo increase the throughput of data ingestion
- DTo automatically retry failed records indefinitely