# Chapter 1 Exercises

These exercises extend the setup checkpoint from the guided lab. They are designed to help you practice documenting evidence, using Git safely, and diagnosing local environment problems.

| Exercise | Difficulty | Task | Expected Evidence |
|---:|---|---|---|
| 1 | Basic | Add a “Troubleshooting Notes” section to your setup report and describe one setup issue or one issue you know how to diagnose. | Updated report section with command and explanation. |
| 2 | Basic | Run `docker compose ps` before and after stopping the Chapter 1 service. | Two command outputs showing the state change. |
| 3 | Intermediate | Modify `environment_summary.py` to print the current Git branch by calling `git branch --show-current`. | Script output that includes the branch name. |
| 4 | Intermediate | Create a Git branch named `ch01-setup-checkpoint`, make a harmless report change, and inspect `git status --short`. | Branch name and Git status output. |
| 5 | Advanced | Write a one-page reflection explaining why reproducible local environments matter for databases, streaming, orchestration, and ML pipelines. | Reflection with at least three concrete examples. |

Do not commit secrets, local passwords, personal tokens, or machine-specific configuration files. If you are unsure whether a file belongs in Git, ask your instructor or repository maintainer before committing it.
