Courseiva
Accelerate Workload Migration and ModernizationhardMultiple SelectObjective-mapped

SAP-C02 Practice Question: Accelerate Workload Migration and Modernization

A company is migrating a monolithic application to a microservices architecture on Amazon ECS. The application uses a shared MySQL database. Which THREE strategies should the company use to modernize the data layer?

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 database per service pattern.

(database per service pattern) is correct because it aligns with microservices principles by giving each service its own database, enabling independent scaling and deployment. Option D (read replicas) is correct for offloading read queries from the primary database, improving performance for read-heavy workloads. Option E (CQRS and event sourcing) is correct for separating read and write operations and maintaining an event log, which helps in decomposing the monolith and ensuring eventual consistency. Option A is wrong because Amazon DynamoDB may not be suitable for all relational data and migrating all data to NoSQL is not always appropriate. Option C is wrong because keeping a single RDS instance with multiple schemas does not fully decouple the data layer and still creates a single point of failure and coupling.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Migrate all data to Amazon DynamoDB.

    Why it's wrong here

    Not suitable for all use cases (e.g., complex joins).

  • Use database per service pattern.

    Why this is correct

    Each microservice gets its own database.

  • Keep a single RDS instance with multiple schemas.

    Why it's wrong here

    Does not decompose the monolith.

  • Use Amazon RDS read replicas to offload read queries.

    Why this is correct

    Improves read performance.

  • Implement CQRS and event sourcing.

    Why this is correct

    Separates read/write models for scalability.

About these practice questions

Courseiva writes every SAP-C02 question from scratch — 1,660 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 →

How Courseiva writes practice questions · Editorial policy

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.