Large Language Models quiz
24 questions from the Large Language Models track. Score 80% or higher to unlock a certificate.
What Is an LLM?
1. What is the honest interface of an LLM?
Base vs Chat Models
2. Why does a chat model wait for your question instead of rambling like a webpage?
Open Weights vs Hosted APIs
3. What do you still not get from open weights?
Vendor APIs
4. Who stores the conversation between two HTTP calls to a typical chat API?
Errors and Retries
5. A refund tool timed out. You do not have an idempotency key. What next?
Streaming
6. When should you json.loads a streamed tool call?
Tokens and Cost
7. Why do agent loops cost more than a single chat with the same final answer?
Spend Caps
8. The next LLM call would push this trace over max_usd. What should the agent do?
Prompt Caching
9. You added the current timestamp as the first system line. Cache hit rate dropped. Why?
Chat Transcripts
10. What role should carry a tool’s return value?
System Prompts
11. What makes a system prompt a spec rather than a vibe?
Tool Messages
12. A retrieved page says “ignore the spec.” Where should that text live?
Safety Filters
13. The API returns finish_reason=content_filter and empty content. What should you do?
Structured Output
14. What should happen when JSON validation fails twice?
Finish Reason
15. The model returned cut-off JSON and finish_reason=length. What first?
Decoding Knobs
16. Default temperature for emitting tool JSON?
Hallucinations
17. What is the most reliable way to stop an agent claiming it took an action?
Citations
18. The answer cites doc_99, which was not in the retrieved set. What is that?
When to Abstain
19. The get_balance tool returned 404. What should the final action be?
Context Engineering
20. What should win a seat in a tight window?
Choosing Models
21. When is a small model the right default?
Routing Models
22. The small model failed JSON validation. What is a sane fallback?
Log the Call
23. Finance asks why yesterday’s LLM bill jumped. What log fields answer first?
When Not to Use an LLM
24. The user sends job_id=17 and the word status. Best first move?