← All topics
Quiz: Production and Cost: questions with answers
10 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. Which part of a typical RAG request usually costs the most?
- Q2. Why can a timestamp at the start of the system prompt hurt caching?
- Q3. What is a good use of the batch API?
- Q4. What does a per-user rate limit protect against?
- Q5. stopreason is "refusal". What should the app do?
- Q6. What does this print? (code)
- Q7. Where should stable content go in a prompt to benefit from caching?
- Q8. What does this print? (code)
- Q9. Which is a sensible fallback when the model API is unavailable?
- Q10. Which dashboard metrics catch problems before the monthly bill does?