Sink Connectors — Concept Check
Questions on Sink Connectors. Sink connectors push Kafka records to external systems (Elasticsearch, S3, JDBC); they support upsert semantics and dead-letter queuing for failed records.
Questions in this quiz
8 questions on Sink Connectors — Concept Check. Work through them here, then start the quiz to answer them and see your score.
1.A Kafka sink connector is configured to write records to an S3 bucket. Which configuration setting ensures that files are uploaded every 5 minutes?
- Apartition.duration.ms
- Brotate.interval.ms
- Cflush.size
- Ds3.part.size
2.A JDBC Sink Connector is writing to a MySQL database. The schema of the Kafka topic evolves, adding a new field. What ensures the database table adapts to this change?
- Apk.mode
- Bauto.create
- Cauto.evolve
- Dinsert.mode
3.What happens to a Kafka record that fails due to a schema mismatch when using a sink connector with errors.tolerance set to 'all'?
- AThe record is sent to a dead-letter queue.
- BThe connector stops processing records.
- CThe record is retried indefinitely.
- DThe record is discarded without notice.
4.A developer notices that a Kafka sink connector is not writing records to the target system due to a serialization error. What configuration should they check to ensure these records are not lost?
- Aflush.size
- Bpk.fields
- Ctasks.max
- Derrors.deadletterqueue.topic.name
5.In a JDBC Sink Connector, which setting determines how the primary key is chosen for upsert operations?
- Aauto.create
- Berrors.tolerance
- Cinsert.mode
- Dpk.mode
6.A Kafka sink connector is configured with errors.tolerance set to 'none'. What is the consequence of a single record failing to process?
- AThe connector continues processing other records.
- BThe connector retries the failed record indefinitely.
- CThe connector stops processing all records.
- DThe failed record is sent to a DLQ.
7.Which operation is NOT supported by the Confluent JDBC Sink Connector when writing to a relational database?
- ADELETE
- BUPSERT
- CUPDATE
- DINSERT
8.A Kafka sink connector writes records to S3 using the Parquet format. What setting controls the size of each uploaded file?
- Arotate.interval.ms
- Bs3.part.size
- Cflush.size
- Dpartition.duration.ms