The interview problem
A customer is preparing to launch an AI assistant that drafts support-case updates and sends approved changes to a ticketing service. They have a recovery runbook but have never exercised it. Design a controlled drill for loss of the connector worker, including uncertain downstream writes, backlog recovery and evidence for a launch decision.
Original FDE practice, not a reported company interview. All objectives and timelines are hypothetical. Primary documentation retrieved September 27, 2026; publication date not stated; interview date not applicable. This guide describes an exercise; it does not execute faults against any environment.
1. Define recovery in business terms
Ask the workflow owner which customer-visible capability must recover. For this exercise, define success as processing approved updates correctly within fifteen minutes of the injected fault, with no lost accepted operations or duplicate ticket mutations. For the worked drill, include reconciliation of every pre-failure accepted operation and clearance of the outage backlog in that fifteen-minute limit. Record this scope before testing.
Use separate measurements for detection, mitigation, restored new-work throughput and reconciliation completion. An HTTP health endpoint returning success proves little about operations that were accepted before the failure. Agree on the acceptable state of unresolved operations before declaring recovery.
Define the recovery point requirement separately from recovery time. Here, accepted operations must survive in a durable journal; unsubmitted drafts are outside that acceptance boundary. A zero-loss result for a finite drill is evidence for tested operations, not proof that every future failure loses nothing.
2. Bound the exercise and assign authority
Use a production-like isolated environment with synthetic tickets and a designated test tenant. Enumerate connector endpoints, credentials, queues and storage targets. Check that copied configuration cannot send test changes into a real customer workspace. Use the same relevant retry and identity behavior as production, while documenting differences such as quota or scale.
Name an exercise controller, incident lead, connector operator, customer workflow owner and observer. The controller injects and stops the fault; responders follow the runbook; the observer records evidence without silently repairing the system. Notify participants and affected owners of scope and timing. Customer authority for a drill is specific to its targets and actions.
Define stop conditions: effects outside the test tenant, uncontrolled retries, loss of visibility or an inability to reverse the injection. Prepare an independent way to stop new test submissions and restore connectivity. Stopping the injection does not automatically reconcile writes already in flight.
3. Instrument the business operation
approved synthetic update → durable operation journal
↓
connector worker
↓
test ticketing service
↓
acknowledgment / outcome reconciliation
observer: journal IDs + downstream IDs + timestamps + final values
controller: scoped fault injection + independent stop controlAssign each approved update a stable operation ID and bind it to the intended payload. Preserve downstream identity or a reconciliation lookup that can establish whether the mutation occurred. Distinguish pending, confirmed successful, confirmed failed and unknown outcomes. An unknown timeout must not be interpreted as permission to create a fresh operation ID.
Before injecting a fault, capture a baseline of source operations and downstream ticket state. Use known expected changes that make duplicates visible, including at least one operation near the acknowledgment boundary. A repeated absolute assignment may conceal duplicate execution; choose fixtures and audit evidence that can reveal the behavior actually being tested.
Inject worker loss after the destination accepts an operation but before the local acknowledgment is durably recorded. The recovered worker should reconcile or safely reuse a supported idempotency key within the destination’s documented scope and retention window, with the same payload. An expired deduplication key is not a guarantee against a second mutation. If the destination provides neither mechanism, the runbook must preserve uncertainty for investigation instead of guessing that a retry is harmless.
4. Evaluate a concrete timeline
Suppose the fault begins at t=0, monitoring detects it at t=2 minutes, the incident lead takes ownership at t=4, and a replacement worker becomes healthy at t=8. New approved updates are processed normally at t=10, but the final uncertain pre-failure operation is resolved at t=22.
Detection took two minutes. Technical worker restoration took eight minutes. New-work recovery took ten minutes. Full operational reconciliation took twenty-two minutes. Under the stated fifteen-minute objective that includes accepted operations, the drill fails by seven minutes even though the health endpoint recovered earlier.
If the customer instead has separate objectives for new work and reconciliation, report each against its own predefined limit. Do not redefine the target after observing the result. A useful outcome can be “new work recovered within target; reconciliation did not,” followed by a specific remediation.
Record the reason for the twelve-minute gap between new-work recovery and reconciliation: missing lookup permissions, ambiguous provider responses, manual review or insufficient replay throughput suggest different fixes. The elapsed time alone does not identify the bottleneck.
5. Include backlog and uncertain outcomes
Assume arrivals continue at forty operations/minute while processing is stopped for eight minutes. The queue accumulates 320 operations. If the recovered worker handles one hundred operations/minute while forty new operations/minute keep arriving, net drain is sixty/minute. Ideal catch-up takes 320/60≈5.33 minutes after restart, giving 13.33 minutes from the fault.
Dividing 320 by one hundred would ignore continuing arrivals. Conversely, this fluid estimate excludes retries, API quotas and manual reconciliation. The earlier twenty-two-minute timeline can therefore exceed the ideal throughput estimate without contradiction. Measure confirmed outcomes, not dequeue attempts.
Consider a fixture of one thousand accepted operation IDs. The destination has 997 confirmed successful operations, two confirmed failures and one unknown. This is not zero loss demonstrated: classify the failures, resolve the unknown, and verify expected business values. A count of one thousand log lines cannot prove that every operation reached the correct ticket exactly once.
Reconcile by operation identity, destination identity and intended effect, including unexpected extra mutations. Preserve terminal failure evidence rather than converting it to success for the report. If a business policy allows a failed operation to remain unexecuted, state that explicitly and distinguish it from a lost operation.
6. Produce a reviewable readiness record
Save the environment and version identifiers, injected fault, start and stop times, relevant logs, operation reconciliation table and deviations from the runbook. Record clock synchronization assumptions; when timestamps come from different systems, unexplained skew can invalidate fine-grained latency claims.
The report should state which paths were exercised and which were not. A worker-restart drill does not establish recovery from database corruption, regional failure or credential revocation. Likewise, a test destination with generous quotas does not validate production replay under rate limits.
Turn each gap into an owner, change and retest criterion. For the example, add a reconciliation permission check and a provider-outcome lookup procedure, then repeat the lost-acknowledgment case with the same acceptance criteria. Passing a tabletop walkthrough after a failed live integration test is not equivalent evidence.
AWS Well-Architected guidance recommends planned resilience exercises involving the responsible teams, controlled scenarios and follow-through on findings. The operation-level protocol, arithmetic and launch criteria here are original practice choices, not an AWS guarantee.
7. Handle a drill that goes wrong
If impact escapes the agreed scope, stop injection, stop new test work and invoke the actual incident process. Preserve evidence and reconcile effects; do not keep experimenting to finish the agenda. Verify restoration through business probes after removing the fault, because retry storms or accumulated work may continue causing harm.
If responders require undocumented assistance, record it as a runbook gap. Avoid coaching so heavily that the exercise only proves the author's memory. A later rehearsal can teach the new procedure, while the evaluation distinguishes coached recovery from independent execution.
Clean up only identified synthetic resources using the approved environment process, preserving the evidence needed for review. Reset test credentials or toggles as planned, verify that fault mechanisms are inactive, and close the exercise with the customer owner. A stopped controller is not evidence that every injected configuration was reverted.
8. Trade-offs and follow-ups
An isolated environment limits impact but may differ from production. A tabletop exercise validates reasoning and communication with less operational evidence. More realistic faults reveal more dependencies while requiring tighter scope and recovery controls. Choose the smallest exercise that actually tests the claim under review, then expand coverage deliberately.
Follow-ups: What if the destination lacks idempotency support? How do you test two failures without obscuring cause? What changes for a long-running model job? How do you validate recovery when the observer's logging system also fails? Which production differences could invalidate the result? How do you preserve evidence without retaining sensitive ticket contents?
9. Self-review rubric
- Define the acceptance boundary and business recovery criteria before testing.
- Separate detection, new-work restoration and reconciliation.
- Bound fault scope and prepare an independent stop mechanism.
- Exercise uncertain writes without assuming retries are harmless.
- Calculate net backlog drain under continuing arrivals.
- Reconcile identities and effects rather than counting log lines.
- Document coverage limits, owners and concrete retest criteria.
Sources and related practice
AWS Well-Architected: Conduct game days regularly, publication date not stated; retrieved September 27, 2026. Primary background for planned recovery exercises and post-exercise improvement. All numerical scenarios and solution details are original practice.
Continue with integration reconciliation and incident communication.
Continue your preparation
Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.