AWS SAP-C02 · Question 36 · Domain 2.4: Reliability
A microservices architecture uses Amazon ECS. Service A calls Service B synchronously. Under heavy load, Service B becomes slow, causing Service A to exhaust its threads waiting for responses, leading to cascading failures. How should the architect redesign this to improve reliability?
Answer options:
Increase the timeout duration in Service A.
Implement the Circuit Breaker pattern in Service A. If Service B times out repeatedly, Service A should fail fast or return a cached response.
Replace ECS with AWS Lambda for Service B.
Use a Network Load Balancer instead of an Application Load Balancer.
75 questions · hints · full answers · grading