Hard1 markMultiple Choice
AWS SAP-C02 · Question 36 · Domain 2.4: Reliability
A microservices architecture uses synchronous API calls between services. When a downstream service experiences latency, upstream services exhaust their thread pools, causing cascading failures. Which architectural pattern BEST prevents this?
A microservices architecture uses synchronous API calls between services. When a downstream service experiences latency, upstream services exhaust their thread pools, causing cascading failures. Which architectural pattern BEST prevents this?
Answer options:
A.
Implement the Circuit Breaker pattern.
B.
Increase the timeout values on all API calls.
C.
Use AWS Auto Scaling to add more instances to the upstream service.
D.
Implement the Strangler Fig pattern.
How to approach this question
Identify the reliability pattern that prevents cascading failures.
Full Answer
A.Implement the Circuit Breaker pattern.✓ Correct
Implement the Circuit Breaker pattern.
The Circuit Breaker pattern prevents cascading failures by failing fast when a downstream dependency is unhealthy.
Common mistakes
Increasing timeouts, which actually exacerbates the problem.
Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 3
75 questions · hints · full answers · grading
More questions from this exam
Q01An enterprise has 100 VPCs across 5 AWS Regions. They need to establish a highly available, trans...HardQ02A company uses AWS Organizations. The CISO requires that no EC2 instances can be launched outside...MediumQ03An application uses Amazon Aurora PostgreSQL. To meet disaster recovery requirements, the databas...HardQ04A company is setting up a new multi-account AWS environment. They want to automate the creation o...MediumQ05An organization wants to allocate AWS costs to specific departments. They use multiple AWS accoun...Medium
Expert