- A
API Gateway
API Gateway provides a single entry point for microservices.
- B
Shared Database
Why wrong: Shared database couples services, violating microservices principles.
- C
Database per Service
Each microservice has its own database.
- D
Event Sourcing
Event Sourcing helps maintain consistency across services.
- E
Command Query Responsibility Segregation (CQRS)
Why wrong: CQRS is optional and not a core pattern for microservices migration.
Quick Answer
The correct answer is Database per Service, API Gateway, and Event Sourcing. Database per Service is the foundational pattern for microservices on AWS, ensuring each service owns its private data store to avoid tight coupling, which directly addresses the company’s goal of breaking away from a single relational database. API Gateway provides a single entry point for routing client requests to the appropriate microservice, handling authentication and throttling—a critical pattern for managing distributed services. Event Sourcing maintains data consistency across services by capturing state changes as an immutable event log, solving the distributed data problem without falling back to a shared database, which is an anti-pattern. On the SAP-C02 exam, this trio tests your ability to design decoupled, resilient architectures; a common trap is confusing CQRS with Event Sourcing, but remember that Event Sourcing is about recording facts, not separating reads and writes. Memory tip: “D-A-E” for Database, API, Events—think “DAE” as in “Don’t Assume Everything” is a shared database.
SAP-C02 Practice Question: Accelerate Workload Migration and Modernization
This SAP-C02 practice question tests your understanding of accelerate workload migration and modernization. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A company is modernizing a legacy application by breaking it into microservices. The application currently uses a single relational database. The company wants to adopt a microservices architecture with separate databases per service. Which THREE patterns should the company consider? (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
API Gateway
Option A (Database per Service) is correct. Option B (API Gateway) is correct for routing. Option D (Event Sourcing) is correct for maintaining data consistency. Option C is wrong because Shared Database is anti-pattern. Option E is wrong because CQRS is for read/write separation, not required.
Key principle: NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
API Gateway
- ✗
Shared Database
Why it's wrong here
Shared database couples services, violating microservices principles.
- ✓
Database per Service
Why this is correct
Each microservice has its own database.
Related concept
Static NAT maps one inside address to one outside address.
- ✓
Event Sourcing
Why this is correct
Event Sourcing helps maintain consistency across services.
Related concept
Static NAT maps one inside address to one outside address.
- ✗
Command Query Responsibility Segregation (CQRS)
Why it's wrong here
CQRS is optional and not a core pattern for microservices migration.
Common exam traps
Common exam trap: NAT rules depend on direction and matching traffic
NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.
Detailed technical explanation
How to think about this question
NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.
KKey Concepts to Remember
- Static NAT maps one inside address to one outside address.
- PAT allows many inside hosts to share one public address using ports.
- Inside local and inside global describe the private and translated addresses.
- NAT ACLs identify traffic for translation, not always security filtering.
TExam Day Tips
- Identify inside and outside interfaces first.
- Check whether the scenario needs static NAT, dynamic NAT or PAT.
- Do not confuse NAT matching ACLs with normal packet-filtering intent.
Key takeaway
NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
Real-world example
How this comes up in practice
A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
What to study next
Got this wrong? Here's your next step.
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related SAP-C02 NAT questions on configuration and troubleshooting.
- →
Accelerate Workload Migration and Modernization — study guide chapter
Learn the concepts, then practise the questions
- →
Accelerate Workload Migration and Modernization practice questions
Targeted practice on this topic area only
- →
All SAP-C02 questions
1,746 questions across all exam domains
- →
AWS Certified Solutions Architect Professional SAP-C02 study guide
Full concept coverage aligned to exam objectives
- →
SAP-C02 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related SAP-C02 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Design Solutions for Organizational Complexity practice questions
Practise SAP-C02 questions linked to Design Solutions for Organizational Complexity.
Design for New Solutions practice questions
Practise SAP-C02 questions linked to Design for New Solutions.
Continuous Improvement for Existing Solutions practice questions
Practise SAP-C02 questions linked to Continuous Improvement for Existing Solutions.
Accelerate Workload Migration and Modernization practice questions
Practise SAP-C02 questions linked to Accelerate Workload Migration and Modernization.
SAA-C03 VPC practice questions
Practise SAP-C02 questions linked to SAA-C03 VPC.
SAA-C03 S3 lifecycle policy questions
Practise SAP-C02 questions linked to SAA-C03 S3 lifecycle policy questions.
SAA-C03 RDS Multi-AZ questions
Practise SAP-C02 questions linked to SAA-C03 RDS Multi-AZ questions.
SAA-C03 IAM policy practice questions
Practise SAP-C02 questions linked to SAA-C03 IAM policy.
SAA-C03 Route 53 failover questions
Practise SAP-C02 questions linked to SAA-C03 Route 53 failover questions.
SAA-C03 CloudFront practice questions
Practise SAP-C02 questions linked to SAA-C03 CloudFront.
SAA-C03 NAT gateway questions
Practise SAP-C02 questions linked to SAA-C03 NAT gateway questions.
SAA-C03 VPC endpoint questions
Practise SAP-C02 questions linked to SAA-C03 VPC endpoint questions.
Practice this exam
Start a free SAP-C02 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this SAP-C02 question test?
Accelerate Workload Migration and Modernization — This question tests Accelerate Workload Migration and Modernization — Static NAT maps one inside address to one outside address..
What is the correct answer to this question?
The correct answer is: API Gateway — Option A (Database per Service) is correct. Option B (API Gateway) is correct for routing. Option D (Event Sourcing) is correct for maintaining data consistency. Option C is wrong because Shared Database is anti-pattern. Option E is wrong because CQRS is for read/write separation, not required.
What should I do if I get this SAP-C02 question wrong?
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related SAP-C02 NAT questions on configuration and troubleshooting.
What is the key concept behind this question?
Static NAT maps one inside address to one outside address.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more ways this is tested on SAP-C02
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company is modernizing its monolithic application by breaking it into microservices. The application uses a shared MySQL database. The team wants to implement a database per microservice pattern. Which AWS service should be used to manage multiple databases efficiently?
medium- ✓ A.Amazon RDS for MySQL with multiple DB instances
- B.Amazon ElastiCache for Redis
- C.Amazon DynamoDB
- D.Amazon EFS
Why A: Option C is correct because Amazon RDS supports multiple database instances for different microservices with managed backups and scaling. Option A is wrong because DynamoDB is NoSQL, not suitable for all microservices. Option B is wrong because EFS is file storage, not a database. Option D is wrong because ElastiCache is a caching layer, not a primary database.
Keep practising
More SAP-C02 practice questions
- Match each AWS compute service to its use case.
- A company is designing a new microservices architecture on AWS. They need a solution for service discovery that allows s…
- A company has a centralized logging account and multiple application accounts. All VPC Flow Logs are sent to a central S…
- A company is implementing AWS Control Tower to manage a multi-account environment. The security team needs to ensure tha…
- A company is designing a cross-account network architecture. The security team requires that all traffic between VPCs in…
- A company is using AWS Organizations with multiple accounts. The central IT team wants to deploy a set of common VPCs in…
Last reviewed: Jun 20, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.