Title: Quiz 4 — Project Planning: Milestones, Risk, and a Reproducible Repository
Course: AIINFRA 303: Capstone Project > Section: Week 04 — Project Planning: Milestones, Risk, and a Reproducible Repository

Q: Reproducibility means an experiment can be repeated exactly and a production model can be traced back to its exact inputs.
- True
- False
A: True

Q: Which of the following is NOT one of the common failure modes that break reproducibility?
- Inconsistent library versions
- Undocumented preprocessing steps
- Using a code editor with a dark theme
- Unfixed random seeds
A: Using a code editor with a dark theme

Q: What is the main purpose of a tool like DVC in an ML project?
- To replace Git entirely for all version control
- To version large data files (via lightweight Git-tracked pointers) that Git itself handles poorly
- To automatically tune hyperparameters
- To deploy models to production
A: To version large data files (via lightweight Git-tracked pointers) that Git itself handles poorly

Q: In a dvc.yaml pipeline with prepare, train, and evaluate stages, what single command regenerates the full pipeline's results end-to-end from raw data?
Feedback: Sample/expected answer: dvc repro

Q: Adding an already-committed secret file to .gitignore removes it from the repository's Git history.
- True
- False
A: False

Q: Why is Git a poor fit for tracking large datasets or model weight files directly?
- Git cannot read binary files at all
- Every committed version stays in history forever, permanently bloating the repository
- Git only supports files under 1 KB
- Large files cause Git to delete the `.git` folder
A: Every committed version stays in history forever, permanently bloating the repository

Q: What is missing from a risk register entry that just says "Risk: running out of compute. Mitigation: manage resources carefully"?
- A likelihood rating
- A concrete trigger condition that activates the mitigation
- A project name
- A due date
A: A concrete trigger condition that activates the mitigation

Q: Name one of the two pre-commit hooks discussed this week for enforcing reproducibility hygiene (linting or notebook-output stripping).
Feedback: Sample/expected answer: ruff (linting) or nbstripout (notebook output stripping)