Bulkhead Pattern — Concept Check
Questions on Bulkhead Pattern. Isolates failure by limiting concurrent calls to a downstream dependency (semaphore or thread-pool bulkhead), preventing one slow service from exhausting shared resources.
Questions in this quiz
8 questions on Bulkhead Pattern — Concept Check. Work through them here, then start the quiz to answer them and see your score.
1.A payment service is causing timeouts in unrelated services due to high load. Which pattern can help prevent this issue?
- ATimeout pattern
- BCircuit breaker
- CRetry pattern
- DSemaphore bulkhead
2.In a system using a thread-pool bulkhead, what happens if the queue capacity is exceeded?
- ANew threads are created to handle requests
- BRequests are dropped or fallback is triggered
- CRequests wait indefinitely until a thread is free
- DSystem resources are dynamically increased
3.A service using semaphore bulkhead is rejecting requests immediately. What could be the reason?
- ATimeout duration too short
- BThread pool size too small
- CMax concurrent calls reached
- DCircuit breaker open
4.What is a key advantage of using a thread-pool bulkhead over a semaphore bulkhead?
- ALower resource consumption
- BTrue isolation of resources
- CHigher concurrency limits
- DSimpler implementation
5.When combining bulkhead with circuit breaker and timeout, which layer executes first?
- ATimeLimiter
- BCircuit breaker
- CBulkhead
- DRetry
6.A developer believes a thread-pool bulkhead reduces context switching. What is the reality?
- AIt has no effect on context switching
- BIt depends on the implementation
- CIt increases context switching
- DIt reduces context switching
7.If a semaphore bulkhead's available concurrent calls drop to zero consistently, what should be done?
- AIncrease max-wait-duration
- BIncrease max concurrent calls
- CSwitch to thread-pool bulkhead
- DDecrease max concurrent calls
8.What does the fallback method in a bulkhead pattern do?
- AReduces the load on the service
- BPrevents circuit breaker from opening
- CHandles requests when bulkhead is full
- DIncreases the bulkhead capacity