DEA-C01 Data Ingestion and Transformation Practice Question
A company is migrating on-premises Apache Kafka clusters to Amazon MSK. The migration must be seamless with no data loss. The team is using MirrorMaker 2 to replicate data from on-premises Kafka to MSK. Which THREE configurations are necessary to ensure exactly-once semantics and minimal downtime? (Choose three.)
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Set offsets.topic.replication.factor to 3 for the consumer offsets topic.
To ensure exactly-once semantics and minimal downtime when migrating on-premises Kafka to Amazon MSK using MirrorMaker 2, three configurations are essential. First, setting `offsets.topic.replication.factor` to 3 (option B) ensures that consumer offsets are replicated across multiple brokers, preventing loss of offset information during broker failures, which supports exactly-once semantics by maintaining accurate consumer state. Second, setting `replication.factor` to 3 on the MSK cluster (option C) increases data durability and availability, reducing the risk of data loss during the migration. Third, configuring MirrorMaker 2 to use exactly-once semantics (option E) prevents duplicate message delivery by enabling idempotent producers and transactional semantics in the replication flow. Options A and D are not required: `auto.create.topics.enable` should typically be left as default (true) to allow dynamic topic creation, and TLS encryption (option D) is a security measure but not necessary for exactly-once semantics or minimal downtime.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Set auto.create.topics.enable to false to prevent automatic topic creation.
Why it's wrong here
Should be true to allow MirrorMaker to create topics.
- ✓
Set offsets.topic.replication.factor to 3 for the consumer offsets topic.
Why this is correct
Ensures offset data is durable and replicated.
- ✓
Set replication.factor to 3 on the MSK cluster.
Why this is correct
Ensures data durability and fault tolerance.
- ✗
Enable TLS encryption between on-premises and MSK.
Why it's wrong here
Security is important but not required for exactly-once.
- ✓
Configure MirrorMaker 2 to use exactly-once semantics.
Why this is correct
Prevents duplicate messages during replication.
Go deeper
Related to this question
About these practice questions
Courseiva writes every DEA-C01 question from scratch — 1,711 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DEA-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DEA-C01 exam.