Microsoft
AZ-400 · Question #23
You need to recommend a Docker container build strategy that meets the following requirements: - Minimizes image sues - Minimizes the security surface area of the final image What should you include i
The correct answer is A. multi-stage builds. Multi-stage builds are a new feature requiring Docker 17.05 or higher on the daemon and client. Multistage builds are useful to anyone who has struggled to optimize Dockerfiles while keeping them easy to read and maintain. https://docs.docker.com/develop/develop-images/multistage
Submitted by daniela_cl· Mar 6, 2026Design and implement build and release pipelines
Question
You need to recommend a Docker container build strategy that meets the following requirements: - Minimizes image sues - Minimizes the security surface area of the final image What should you include in the recommendation?
Options
- Amulti-stage builds
- Bsingle-stage builds
- CPowerShell Desired State Configuration (DSC)
- DDocker Swarm
How the community answered
(53 responses)- A89% (47)
- B2% (1)
- C6% (3)
- D4% (2)
Explanation
Multi-stage builds are a new feature requiring Docker 17.05 or higher on the daemon and client. Multistage builds are useful to anyone who has struggled to optimize Dockerfiles while keeping them easy to read and maintain. https://docs.docker.com/develop/develop-images/multistage-build/
Community Discussion
No community discussion yet for this question.