Skip to content

Docker Compose Recipes For Local Dev Practice Exam

Test yourself under real exam conditions: 50 timed questions, 60 on the clock, pass mark 70%%. Instant score with a full review of everything you got wrong. Free — no account needed.

📝 50 questions · ⏱ 60 minutes · 🎯 Pass mark 70% · 🆓 Free, no signup

Exam details

  • 50 questions drawn from 217 cards
  • Countdown timer — auto-submits when time runs out
  • Pass mark 70% (real certification threshold)
  • Full review of wrong answers at the end
  • No signup required — save your score with a free account

Sample Questions

5 shown

Compose file directive to mount a host directory into a container?

Show ▼

volumes: - ./local:/app

Restart a container automatically unless explicitly stopped?

Show ▼

restart: unless-stopped

Define an environment variable in Compose?

Show ▼

environment:<br> - KEY=value or env_file: .env

Wait for another service to be 'healthy' before starting?

Show ▼

depends_on:<br> db:<br> condition: service_healthy

Define a healthcheck for a Postgres container?

Show ▼

healthcheck:<br> test: ['CMD-SHELL','pg_isready -U postgres']<br> interval: 5s<br> retries: 10

🎯 Take the Docker Compose Recipes For Local Dev Practice Exam