Medium1 markMultiple Choice
AWS SAP-C02 · Question 24 · Domain 2.4: Reliability
An architecture relies on a third-party API that frequently experiences latency spikes and temporary outages. The AWS application calling this API must not fail or hang indefinitely when the third-party API is unresponsive. Which architectural pattern should the architect implement?
An architecture relies on a third-party API that frequently experiences latency spikes and temporary outages. The AWS application calling this API must not fail or hang indefinitely when the third-party API is unresponsive. Which architectural pattern should the architect implement?
Answer options:
A.
Strangler Fig pattern.
B.
Circuit Breaker pattern with exponential backoff and retries.
C.
Saga pattern.
D.
Read-Heavy Fan-Out pattern.
How to approach this question
Identify the software design pattern used to detect failures and encapsulate the logic of preventing a failure from constantly recurring.
Full Answer
B.Circuit Breaker pattern with exponential backoff and retries.✓ Correct
Circuit Breaker pattern with exponential backoff and retries.
The Circuit Breaker pattern prevents an application from performing an operation that is likely to fail. Exponential backoff ensures retries don't overwhelm the recovering service.
Common mistakes
Confusing Circuit Breaker with Saga pattern.
Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 1
75 questions · hints · full answers · grading
More questions from this exam
Q01An enterprise has 50 VPCs across two AWS Regions. They need to establish transitive routing betwe...HardQ02A company uses AWS Organizations. The security team wants to ensure that no IAM user or role can ...MediumQ03An application requires a relational database with an RPO of 1 second and an RTO of less than 1 m...HardQ04A company is setting up a new multi-account environment. They want to automate the provisioning o...MediumQ05An organization wants to allocate AWS costs to specific business units. They use AWS Organization...Hard
Expert