ISC2 Certified Secure Software Lifecycle Professional (CSSLP) Practice Question
During load testing, developers observe that a new inventory microservice hangs whenever its upstream pricing API fails to respond in time. To guarantee the microservice stays available and recovers automatically in production, which runtime control should you deploy?
Apply optimistic locking to database transactions to avoid deadlocks.
Deploy an external watchdog to restart the microservice if a heartbeat is missed.
Enable detailed debug logging to capture stack traces during outages.
Integrate a circuit-breaker that times out stalled API calls, retries, and falls back until the dependency recovers.
A circuit-breaker control wraps remote calls with a timeout and failure counter. After successive time-outs, the breaker "opens," immediately failing further calls and optionally invoking a fallback path, so the microservice remains responsive. After a cooldown period it automatically retries and, if the upstream API is healthy, "closes" to resume normal operation. A watchdog restarts a crashed or completely unresponsive process but does not prevent repeated hangs from external time-outs; verbose logging aids troubleshooting but not recovery; database locking targets consistency, not liveness.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a circuit-breaker in software design?
Open an interactive chat with Bash
How does a circuit-breaker differ from a watchdog?
Open an interactive chat with Bash
Why is applying a circuit-breaker better than detailed logging during API failures?
Open an interactive chat with Bash
How does a circuit-breaker mechanism work in runtime controls?
Open an interactive chat with Bash
What is the difference between a circuit-breaker and a watchdog in runtime monitoring?
Open an interactive chat with Bash
Why wouldn't detailed debug logging or optimistic locking resolve the microservice hang observed during load testing?
Open an interactive chat with Bash
ISC2 Certified Secure Software Lifecycle Professional (CSSLP)
Secure Software Implementation
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .