42 Containers · Compose questions from the DevOps & SRE bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
C.a container definition in Compose describing image, ports, and configuration
D.an ordering directive that controls service start order without guaranteeing readiness
Answer + AI explanation with Pro
17. Which term means: "a Compose-defined probe used to mark a service healthy before dependents start"?
Mid
A.Service
B.Healthcheck
C.depends_on
D.Project
Answer + AI explanation with Pro
18. Which statement is correct?
Mid
A.Healthcheck — a Compose-defined probe used to mark a service healthy before dependents start
B.Healthcheck — a docker-compose.yml defining multi-container applications declaratively
C.Healthcheck — a group of services managed together under one Compose configuration
D.Healthcheck — a default bridge network letting services reach each other by service name
Answer + AI explanation with Pro
19. What is Profiles?
Mid
A.a container definition in Compose describing image, ports, and configuration
B.a mechanism to selectively enable groups of services for different scenarios
C.a docker-compose.override.yml merged automatically to adjust settings per environment
D.a default bridge network letting services reach each other by service name
Answer + AI explanation with Pro
20. Which term means: "a mechanism to selectively enable groups of services for different scenarios"?
Mid
A.Override file
B.Profiles
C.depends_on
D.Project
Answer + AI explanation with Pro
21. Which statement is correct?
Mid
A.Profiles — an ordering directive that controls service start order without guaranteeing readiness
B.Profiles — a mechanism to selectively enable groups of services for different scenarios
C.Profiles — a container definition in Compose describing image, ports, and configuration
D.Profiles — a docker-compose.yml defining multi-container applications declaratively
Answer + AI explanation with Pro
22. What is Override file?
Mid
A.a default bridge network letting services reach each other by service name
B.a container definition in Compose describing image, ports, and configuration
C.a docker-compose.override.yml merged automatically to adjust settings per environment
D.a mechanism to selectively enable groups of services for different scenarios
Answer + AI explanation with Pro
23. Which term means: "a docker-compose.override.yml merged automatically to adjust settings per environment"?
Mid
A.Service
B.Project
C.Override file
D.Compose network
Answer + AI explanation with Pro
24. Which statement is correct?
Mid
A.Override file — a default bridge network letting services reach each other by service name
B.Override file — a group of services managed together under one Compose configuration
C.Override file — a docker-compose.override.yml merged automatically to adjust settings per environment
D.Override file — a mechanism to selectively enable groups of services for different scenarios
Answer + AI explanation with Pro
25. What does docker compose up -d do?
Junior
A.create and start all services in the background
B.run a shell in the running web service container
C.list the containers for the current Compose project
D.build or rebuild the images for the services
Answer + AI explanation with Pro
26. Which command will create and start all services in the background?
Junior
A.docker compose logs -f
B.docker compose down
C.docker compose up -d
D.docker compose ps
Answer + AI explanation with Pro
27. Which statement is correct?
Junior
A.docker compose up -d — follow aggregated logs from all services
B.docker compose up -d — list the containers for the current Compose project
C.docker compose up -d — create and start all services in the background
D.docker compose up -d — run a shell in the running web service container
Answer + AI explanation with Pro
28. What does docker compose down do?
Junior
A.create and start all services in the background
B.list the containers for the current Compose project
C.run a shell in the running web service container
D.stop and remove containers, networks created by up
Answer + AI explanation with Pro
29. Which command will stop and remove containers, networks created by up?
Junior
A.docker compose logs -f
B.docker compose exec web sh
C.docker compose ps
D.docker compose down
Answer + AI explanation with Pro
30. Which statement is correct?
Junior
A.docker compose down — run a shell in the running web service container
B.docker compose down — follow aggregated logs from all services
C.docker compose down — list the containers for the current Compose project
D.docker compose down — stop and remove containers, networks created by up
Answer + AI explanation with Pro
Showing 30 of 42 Containers · Compose questions — the full set, with answers, explanations and an AI tutor on every question, is inside.
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Containers · Compose question come with Pro.