Medium1 markMultiple Choice
Domain 2.4: ReliabilityReliabilityArchitecture PatternsAPI

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?

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