What if the retriever finds the evidence but prompt truncation removes it?
Understand the idea, explain it in your own words and use the rubric to find your next learning gap.
The idea behind the question
Retrieval success and context delivery are different measurements. Prompt construction must reserve output capacity and select complete evidence within a model-specific budget.
A long chat history pushes the last retrieved passage, containing the crucial policy exception, out of the final request.
A practical way to learn it
Allocate a hypothetical prompt budget, then choose which context to retain for a question requiring a policy and its exception.
Open LLM token counterThe related tool opens separately; your interview answer stays here. Written practice is self-guided, without automatic code grading.
Build an explanation you understand
- State what the concept does in plain language.
- Apply it to the example and make your assumptions explicit.
- Explain a trade-off, failure case and how you would test it.
- Distinguish your actual experience from a proposed approach.
How would you explain it?
Single-question timers reset on refresh. Full mock sessions can resume from this browser.
Strengthen your explanation
Compare reasoning, not identical wording. Reference answers describe a possible approach; replace hypothetical statements with truthful details from your own work.
One way to answer
I would inspect the actual serialized prompt and account for system instructions, history, tool definitions, evidence and response capacity. I would select passages using task relevance and completeness rather than concatenate until a string-length limit is reached. I would preserve important headings, source IDs and conditions and test how ordering affects answer quality. Summaries introduce their own loss and should be evaluated. I would track whether required evidence survives prompt assembly, because a high retriever score is misleading if the generator never receives the passage that matters.
What a strong explanation should cover
Tick only the points your own answer addresses. This is self-assessment, not AI scoring.
0 / 3 points self-reportedWatch out for
- Trimming the last characters without checking which evidence was removed.
Now go one level deeper
- Which history turns can be summarized safely?
- How would you test a query needing two distant passages?
Further reading
Further-reading links support learning; the reference is Sukoaa-authored, not an official employer answer key.