Containerization — Practice quiz

Untimed. Answers are graded when you submit, with explanations and spaced-repetition scheduling.

  1. Question 1easy

    Why are containers especially valuable for AI apps?

  2. Question 2easy

    What is the relationship between a Dockerfile, an image, and a container?

  3. Question 3medium

    Why copy requirements.txt and install dependencies BEFORE copying application code?

  4. Question 4medium

    Which reduce Docker image size? (Select all that apply)

    Select all that apply.

  5. Question 5medium

    What does a multi-stage build achieve?

  6. Question 6medium

    What does docker-compose provide?

  7. Question 7medium

    In a compose file, how does the app service reach the database service named 'db'?

  8. Question 8hard

    Why must secrets like API keys come from the environment at runtime, not the Dockerfile?

  9. Question 9hard

    How does env-based config support the LLMOps promote/rollback flow?

  10. Question 10hard

    Which are containerization pitfalls? (Select all that apply)

    Select all that apply.

  11. Question 11easy

    What is a .dockerignore file for?

  12. Question 12medium

    What Docker technique (two words) builds in one stage and copies only artifacts into a slim final stage?

  13. Question 13hard

    Which twelve-factor principle says configuration and secrets should come from where (one word)?

0 / 13 answered