AWS SAP-C02 · Question 39 · Domain 3.4: Reliability Improvement
A microservices architecture uses Amazon ECS and Amazon RDS. Occasionally, the RDS database experiences brief failovers or network blips, causing the ECS services to crash and restart, leading to a poor user experience. The architect wants to improve the reliability of the application so it can handle these transient database errors gracefully. Which strategies should be implemented? (Select TWO)
A microservices architecture uses Amazon ECS and Amazon RDS. Occasionally, the RDS database experiences brief failovers or network blips, causing the ECS services to crash and restart, leading to a poor user experience. The architect wants to improve the reliability of the application so it can handle these transient database errors gracefully. Which strategies should be implemented? (Select TWO)
Answer options:
Implement exponential backoff and retry logic in the application code.
Migrate the database to DynamoDB.
Implement the Circuit Breaker pattern in the application.
Use AWS Fault Injection Simulator to prevent database failovers.
Configure the ECS tasks to use the awsvpc network mode.
Deploy an Amazon ElastiCache cluster to buffer database writes.
How to approach this question
Full Answer
Common mistakes
Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 4
75 questions · hints · full answers · grading
Expert