The interview problem

Practice prompt

A customer wants to preview a bulk configuration change without causing external effects. Design the preview boundary.

Original practice, not a reported company interview. Scenarios and numbers are illustrative. Interview date: not applicable. Sources retrieved October 1, 2026.

1. Scope and worked approach

Parse and validate through the same decision logic as execution, but isolate effect adapters. Return planned changes, unresolved dependencies and a state version. Explicitly list checks that cannot be guaranteed until execution, then revalidate before applying.

2. Trace the design or derivation

Read snapshot
  → shared planning logic
  → effect-free report
  → version check
  → execute

Mark external provider outcomes as estimates where they cannot be tested safely. For expensive operations, a preview may still incur read costs, which should be visible in the product contract. Preserve the plan identifier for audit and reconciliation.

3. Calculate the example

A preview finds 100 eligible records at version 7. If 5 become ineligible before execution, applying all 100 without rechecking violates the contract; the final report must explain the changed set.

4. Failure cases and trade-offs

A dry-run path that sends real webhooks is not dry. Conversely, skipping all validation makes a preview misleading. State can change between preview and commit.

5. Validation, follow-ups and self-review

Acceptance: instrument effect adapters and prove preview emits no writes or external actions. Follow-up: can the user bind execution to the preview version? Self-review: separate prediction from reservation.

Sources and related practice

Technical reference: kubernetes.io — Dry-run API concepts; customer preview contract is original.

Source publication/update: Not established. Retrieved October 1, 2026. The workflow, calculations and review exercises are original; this reference is not evidence that a company asked this question.

Continue with Handle conflicting customer edits without silent loss; Diagnose low adoption of a working AI workflow.

Continue your preparation

Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.