SAP-C02 Practice Question: Accelerate Workload Migration and Modernization
A company is migrating a monolithic application to microservices on AWS. The application uses a shared MySQL database. The team wants to decouple the database per microservice. Which strategy should the team use to minimize downtime during migration?
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
✓
Use the strangler fig pattern to gradually migrate functionality to microservices, each with its own database.
The strangler fig pattern incrementally replaces parts of the monolith. Option A is wrong because re-platforming as-is does not decouple the database. Option C is wrong because a single shared database contradicts microservices. Option D is wrong because rewriting the entire application at once increases risk and 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.
- ✗
Rehost the application on EC2 and use a single RDS MySQL instance for all microservices.
Why it's wrong here
This does not decouple the database and retains the monolith pattern.
- ✓
Use the strangler fig pattern to gradually migrate functionality to microservices, each with its own database.
Why this is correct
The strangler fig pattern allows incremental migration with minimal downtime.
- ✗
Use AWS Database Migration Service (DMS) to replicate the shared database to multiple target databases in real time.
Why it's wrong here
DMS can replicate, but having multiple databases still requires application changes and does not address decoupling.
- ✗
Rewrite the entire application as microservices in a single release, using a shared database initially.
Why it's wrong here
Big bang migration increases risk and downtime; shared database is not microservices best practice.
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.