CLASSROOM // HOMELAB ACADEMY M15 QUIZ
M15 QUIZquiz

Homelab Academy / Modules

Check yourself 02-reusable-docker-compose-stack-patterns: Quiz

Retrieval practice. Target >=80%.

Overview

Module: Compose Operations & IaC
Activity type: Quiz / retrieval practice
Target: ≥80%
Objective: Create a reusable Compose stack with extension fields and YAML anchors.

Learn

Questions

    1. What is the practical difference between a service-level env_file and a file passed through docker compose --env-file?
    1. Why does the full rendered Compose model contain worker while docker compose config --services lists only web by default?
    1. What does the !override tag accomplish for the production ports sequence?
    1. In the mount experiment, why does /usr/share/nginx/html use site-blue while /srv/shared is also retained?
    1. Why is checking host_ip, published, target, and protocol more reliable than searching for a short port string?
    1. In what order should compose.yaml and compose.prod.yaml be supplied for the production overlay to take effect?
    1. Do Compose profiles provide an authorization boundary for sensitive services?
Learn

After scoring

  • Missed items → return to Reading → redo Feynman Retry → reattempt.
← HomeworkModule project →