Skip to content
M-DCA
Image Creation, Management, and Registry
medium
Question 6 of 40

A team wants the smallest practical production image and does not want compilers or build tools included in the final artifact. Which Docker build approach best fits that goal?

AA single-stage build with every tool left installed
BA multi-stage build that copies only the final artifacts into the last stage
CBuilding inside a running container and committing it with docker commit
DAdding .dockerignore entries for the compiler binaries

Educational Content — CertQnA practice questions are written against official exam objectives, covering the same domains tested on the real exam. All content is original and independent — not actual exam questions, not affiliated with any certification vendor. Learn more about our content policy

Discussion

Be the first to share your understanding of this concept

⚠️ Discussion is for concept clarification only. Do not share or request actual exam questions or answers.

Sign in to join the discussion