Hard1 markMultiple Choice
Domain 2.4: ReliabilityReliabilityArchitecture PatternsMicroservices

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?

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