An employee asks a question whose answer may span chat, email, project documents, and work tracking. The system must honor the employee’s existing permissions, distinguish source facts from inference, and show evidence that supports the answer.
How to present this design
Think aloud in layers. Confirm constraints before drawing; label the system of record, authorization boundary, and irreversible actions; then trace one request through the design. Keep the first version small enough to test.
A sample opening and design narrative
I would first clarify the user and what a successful enterprise knowledge assistant outcome means. The workflow is: An employee asks a question whose answer may span chat, email, project documents, and work tracking. The system must honor the employee’s existing permissions, distinguish source facts from inference, and show evidence that supports the answer. I would make this design question explicit: How are permissions inherited and rechecked when data is indexed? The first failure I would design for is: A permission change is not reflected in an index or cache. I would make that failure visible and recoverable. I would launch against citation support rate and answerable-question completion. and monitor permission-filter failures, stale-source age, and user correction rate.. If those signals miss the agreed bar, I would pause expansion and inspect the failing boundary before adding more autonomy.
This example supplies a structure. In a real interview, ask for missing scale and service-level constraints rather than inventing them.
Decisions to make explicit
- Decision 1
How are permissions inherited and rechecked when data is indexed?
- Decision 2
How should the system combine conflicting or differently dated records?
- Decision 3
What does a useful abstention look like when no authorized source supports the answer?
A useful interview walkthrough
- Define success
Start with this measurable outcome: Citation support rate and answerable-question completion. Confirm that it represents the user's job rather than an easy-to-count system activity.
- Protect the boundary
Resolve the design question: How are permissions inherited and rechecked when data is indexed? State which identity, policy, or source system remains authoritative.
- Design for the first exception
Make this failure explicit: A permission change is not reflected in an index or cache. Explain how the system detects it and what the user sees while recovery is pending.
- Prove and operate it
Track Permission-filter failures, stale-source age, and user correction rate. Name the owner, release gate, and what would trigger a pause or rollback.
Failure analysis
- A permission change is not reflected in an index or cache.
- A retrieved document contains malicious instructions.
- Citations point to a source but do not support the stated claim.
Workaround: Begin with a reversible, human-reviewable slice. Verify the external state after each consequential action, then widen scope only when difficult cases meet the agreed bar.
Evidence and operating signals
- Citation support rate and answerable-question completion.
- Permission-filter failures, stale-source age, and user correction rate.
Canonical interview prompts
Practice the source questions
The full prompt set stays on the system-design guide; these links take you to the exact source question.