Challenge - 5 Problems
Resilience Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
How does circuit breaker pattern improve resilience?
In a microservices system, what is the main way the circuit breaker pattern helps prevent cascading failures?
Attempts:
2 left
💡 Hint
Think about how stopping calls to a failing service helps the system.
✗ Incorrect
The circuit breaker stops calls to a failing service after failures exceed a limit, preventing the failure from spreading and overloading other services.
❓ Architecture
intermediate2:00remaining
Which design helps isolate failures in microservices?
Which architectural design choice best helps prevent cascading failures by isolating faults in microservices?
Attempts:
2 left
💡 Hint
Consider how asynchronous messaging can decouple services.
✗ Incorrect
Asynchronous messaging with queues and timeouts decouples services and prevents one slow or failing service from blocking others, reducing cascading failures.
❓ scaling
advanced2:00remaining
Estimating capacity to avoid cascading failures
If a microservice handles 1000 requests per second and has a failure rate of 5%, what is the minimum capacity the downstream service should have to avoid cascading failures assuming retries double the load?
Attempts:
2 left
💡 Hint
Consider the original load plus retries doubling the requests.
✗ Incorrect
With 5% failure rate and retries doubling load, the downstream service must handle original plus retry load: 1000 * 2 = 2000 requests per second.
❓ tradeoff
advanced2:00remaining
Tradeoff of aggressive retry policies in microservices
What is a major downside of aggressive retry policies in microservices when trying to improve resilience?
Attempts:
2 left
💡 Hint
Think about what happens if many retries happen at once.
✗ Incorrect
Aggressive retries increase load on services, which can worsen failures and cause cascading failures instead of preventing them.
❓ component
expert2:00remaining
Identifying the component that prevents cascading failures
In a microservices architecture, which component is primarily responsible for preventing cascading failures by isolating faults and controlling traffic flow?
Attempts:
2 left
💡 Hint
Consider which component controls request flow and handles failures.
✗ Incorrect
API Gateway with rate limiting and circuit breaker features controls traffic and isolates faults, preventing cascading failures.