AWS SAP-C02 · Question 32 · Domain 4.2: New Architecture Design
A company is refactoring a legacy monolithic application into microservices. The legacy application uses a single relational database. The architect wants to ensure that each new microservice manages its own data independently, but they still need to perform complex queries across data owned by multiple microservices. What is the BEST architectural pattern?
Answer options:
Keep the single relational database and allow all microservices to connect to it directly.
Database-per-service pattern with an event-driven architecture to replicate data to a central data lake for complex queries.
Use AWS Step Functions to orchestrate synchronous API calls between microservices to gather data for queries.
Migrate all data to Amazon DynamoDB and use DynamoDB Streams to perform table joins.
75 questions · hints · full answers · grading