Lyra
Learn
AI Learning Platform
π Midnight
π Comfort
π₯ Ember
π Paper
β Contrast
Exams
Sign in to track progress
β Back to the lesson
Module 5 Β· Quiz
Resilience Questions
1. What is the primary purpose of setting a timeout for outbound API calls?
To improve request performance
To prevent thread starvation
To allow infinite retries
To avoid using cancellation tokens
2. In the context of retries, which of the following scenarios should never trigger a retry operation?
500 Internal Server Error
408 Request Timeout
401 Unauthorized
429 Too Many Requests
3. What does a circuit breaker do when it detects a high failure rate?
Increases timeout thresholds
Probes the service for recovery
Immediately retries failed requests
Allows all API calls without limits
4. What is the key characteristic of an idempotent operation in the context of retries?
It guarantees a successful response every time
It should only be performed once
It can be safely retried without negative effects
It is only applicable to GET requests
Submit answers
Continue: Queues, Webhooks, and Background Work β
Review this lesson
Retake quiz