Skip to course content
Free FastAPI backend course

FastAPI for AI Backend Development

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…

2. In a Dockerfile, dependencies should be installed…

3. A failing dependency should cause…

4. Which should never be logged?

5. Testing with one worker hides…

---

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.