New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-400 Exam - Topic 2 Question 3 Discussion

Actual exam question for Microsoft's AZ-400 exam
Question #: 3
Topic #: 2
[All AZ-400 Questions]

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 m the recommendation?

Show Suggested Answer Hide Answer
Suggested Answer: A

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.

References:

https://docs.docker.com/develop/develop-images/multistage-build/


Contribute your Thoughts:

0/2000 characters
Sheldon
4 months ago
Wait, are multi-stage builds really that much better?
upvoted 0 times
...
Lindsey
4 months ago
Multi-stage builds really cut down on image size!
upvoted 0 times
...
Rose
4 months ago
PowerShell DSC? Not really relevant here.
upvoted 0 times
...
Nathalie
5 months ago
I disagree, single-stage builds can be simpler.
upvoted 0 times
...
Melinda
5 months ago
Multi-stage builds are definitely the way to go!
upvoted 0 times
...
Jacqueline
5 months ago
I vaguely recall that multi-stage builds were highlighted in practice questions as a way to minimize both image size and security risks.
upvoted 0 times
...
Anabel
5 months ago
I feel like we discussed Docker Swarm in class, but it seems more related to orchestration rather than optimizing image size or security.
upvoted 0 times
...
Lisha
5 months ago
I remember studying multi-stage builds and how they can help reduce image size by allowing us to copy only the necessary artifacts to the final image.
upvoted 0 times
...
Jennie
5 months ago
I'm not entirely sure, but I think single-stage builds might not be the best choice since they usually include everything, which could increase the security surface area.
upvoted 0 times
...
Benton
5 months ago
This is a great question that tests our understanding of project management fundamentals. I believe the correct answer is C, complexity modeling. This technique helps analyze the project's scale, interdependencies, and risk profile to inform the appropriate governance approach.
upvoted 0 times
...
Nichelle
5 months ago
Hmm, this seems straightforward. I think I'll try option D - "pkg search gzip" to see if the gzip utility is available for installation.
upvoted 0 times
...

Save Cancel