SAP-C02 Practice Question: Accelerate Workload Migration and Modernization
A company is modernizing its application by breaking a monolith into microservices on Amazon EKS. The application uses a shared PostgreSQL database. The company wants to implement a database-per-service pattern. The migration must be done with zero downtime. Which approach should the company use?
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
✓
Implement the strangler fig pattern: gradually migrate functionality and data to new services.
The strangler fig pattern allows gradual migration of functionality and data to new services, enabling zero downtime by incrementally routing traffic and data away from the monolith. Option B is incorrect because AWS DMS with CDC can replicate data but does not provide a gradual migration pattern; it would require custom logic to split data per service. Option C is incorrect because Amazon RDS read replicas are for read scaling, not for creating separate databases; they share the same underlying data and do not enable a database-per-service pattern. Option D is incorrect because performing migration during a maintenance window causes downtime, which violates the zero-downtime requirement.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Implement the strangler fig pattern: gradually migrate functionality and data to new services.
Why this is correct
The strangler fig pattern enables incremental migration of functionality and data to new microservices without downtime, by gradually intercepting and routing traffic and data.
- ✗
Use AWS DMS with CDC to replicate the shared database to multiple target databases.
Why it's wrong here
AWS DMS with CDC can replicate data continuously, but it does not provide a structured pattern to split the shared database into multiple per-service databases; it would require additional custom development and orchestration.
- ✗
Use Amazon RDS read replicas to create separate databases for each service.
Why it's wrong here
RDS read replicas are designed to offload read traffic from the primary database; they still share the same data and schema, so they do not create separate databases per service.
- ✗
Create new databases for each service, migrate data during a maintenance window.
Why it's wrong here
Creating new databases and migrating during a maintenance window inevitably causes downtime, which contradicts the zero-downtime migration requirement.
Go deeper
Related to this question
About these practice questions
One of 1,660 original SAP-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SAP-C02 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 SAP-C02 exam.