D1: Fault-Tolerant & Resilient Code
AWS Associate AWS Certified Developer – Associate exam practice questions · 11 flashcards
Question
Exponential backoff?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 Fault-Tolerant & Resilient Code practice questions and answers
- Exponential backoff?Increasing wait time between retries (e.g. 100 ms, 200 ms, 400 ms).
- Why add jitter to backoff?Randomizes retry timing so many clients don't retry simultaneously (thundering herd).
- Which errors should be retried?Throttling (429, ThrottlingException) and transient 5xx errors; not 4xx client errors.
- Do AWS SDKs retry automatically?Yes, with configurable retry modes (standard, adaptive) and max attempts.
- Circuit breaker pattern?Stop calling a failing dependency after repeated failures, then probe periodically before resuming.
- Idempotency?Repeated identical requests have the same effect, enabling safe retries (e.g. idempotency token).
- Timeouts best practice?Set explicit client timeouts shorter than upstream timeouts to fail fast.
- Graceful degradation?Provide reduced functionality (cached data, defaults) when a dependency fails.
- Third-party API integration resilience?Retries with backoff, circuit breakers, timeouts, fallbacks and queues to buffer requests.
- Powertools for AWS Lambda idempotency utility?Makes Lambda handlers idempotent using a DynamoDB persistence layer.
- Bulkhead pattern?Isolate resources per component so a failure in one doesn't exhaust all resources.