Module 14 Knowledge Check
5 questions. Pass mark 4 out of 5. Answer every question before checking the answer key below, then retry after reading the feedback.
1. Environment differences belong in…
- A. branches on an environment name
- B. settings read from the environment
- C. separate code paths
- D. the container image
2. In a Dockerfile, dependencies should be installed…
- A. after copying the source
- B. before copying the source
- C. at container start
- D. in the entrypoint
3. A failing dependency should cause…
- A. the process to be restarted
- B. the instance to be removed from rotation
- C. a 200 from the health check
- D. no action
4. Which should never be logged?
- A. the request id
- B. the request body
- C. the latency
- D. the prompt version
5. Testing with one worker hides…
- A. nothing
- B. every in-process shared-state bug
- C. validation errors
- D. timeout problems
---
Answer Key and Explanations
Check these only after attempting every question.
1. B - settings read from the environment
A branch is right everywhere except the place somebody forgot.
2. B - before copying the source
Otherwise every source change invalidates the dependency layer.
3. B - the instance to be removed from rotation
That is what separates readiness from liveness.
4. B - the request body
It makes the log store a second copy of everything a user typed.
5. B - every in-process shared-state bug
The symptoms in production look like logic errors rather than deployment ones.
Practical Check
Apply this module to your own work: complete the module activity for *Deployment Readiness: Environment, Containers, Workers and Monitoring*, then write one sentence naming what your result shows and one naming what it does not.
Strong Answer Pattern
A strong answer names the task, the evidence used, the check performed, and the remaining limitation. It avoids "proved", "guaranteed", or "always" unless the evidence genuinely supports it.
