Quiz · 01 · Python & Systems
20 questions from 4 pages
These are the Check Yourself questions from each page of the module, collected in course order. Each heading links back to the page the questions test. All module quizzes →
Python for AI Engineering
Check yourself
0 / 5 answered
- Why commit uv.lock for an application?
- You run 5,000 model calls with asyncio.gather and get mostly HTTP 429 errors. What's the first fix?
- Why add random jitter to retry backoff?
- Which work should go to a process pool rather than asyncio or threads in standard CPython?
- Why test LLM application code with fake model responses rather than real calls?
API Design for LLM Services
Check yourself
0 / 5 answered
- A document-analysis endpoint takes 2-6 minutes per request. Which interaction style fits best?
- Users report the chat answer appears all at once after 15 seconds, although the backend streams. What is the most likely cause?
- A client times out waiting for a POST that starts an agent run, and retries. How do you avoid running the agent twice?
- Which status code and header should a saturated LLM API return when it sheds load?
- Why should a streaming endpoint check for client disconnects?
Git Workflows for ML
Check yourself
0 / 5 answered
- Where should a 40 GB training dataset used by several experiments be versioned?
- An API key was pushed to a public repository an hour ago. What is the first thing to do?
- Why should prompt changes go through pull requests with an eval gate?
- Quality dropped somewhere in the last 64 commits. Roughly how many eval runs does git bisect need to find the culprit?
- Why strip notebook outputs before committing?
Linux & the GPU Box
Check yourself
0 / 5 answered
- nvidia-smi shows 'CUDA Version: 13.0'. What does that tell you?
- Your training job was killed by a spot-instance reclaim and lost six hours of progress. What change prevents that?
- PyTorch DataLoader workers crash with 'bus error' inside a Docker container. What is the likely fix?
- How do you call a vLLM server running on port 8000 of a remote GPU machine from your laptop without opening the port to the internet?
- dmesg shows repeated 'Xid 79' for one GPU. What does it mean, and what do you do?