CLASSROOM // HOMELAB ACADEMY M9 QUIZ
M9 QUIZquiz

Homelab Academy / Modules

Check yourself 03-docker-compose-fundamentals: Quiz

Retrieval practice. Target >=80%.

Class 36: Docker Compose fundamentals
Class 36 visual reference. Use it as the map, then prove it in the reading, lesson, and lab.

Overview

Module: ARR Data Model & Compose
Activity type: Quiz / retrieval practice
Target: ≥80%
Objective: Explain the role of a Compose file and how it differs from an individual docker run command.

Learn

Questions

    1. What is the primary purpose of a Docker Compose file?
    1. In the mapping 127.0.0.1:8080:80, which port is used by another container contacting the web service through the Compose network?
    1. Why can the client service resolve the hostname web?
    1. What does docker compose config --quiet accomplish before deployment?
    1. What is the practical difference between a container being running and being healthy?
    1. Why does this lesson consistently pass -p class36?
    1. What protection does the read-only bind-mount suffix provide?
    1. Does docker compose down normally remove the Compose source file?
    1. Why should application configuration avoid fixed container IP addresses?
    1. Why is binding the published port to 127.0.0.1 safer than publishing it on all host interfaces for this local lab?
Learn

After scoring

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