You need to recommend a Docker container build strategy that meets the following requirements: ✑ Minimizes image sizes ✑ Minimizes the security surface area of the final image What should you include in the recommendation?

QuestionsCategory: AZ-400You need to recommend a Docker container build strategy that meets the following requirements: ✑ Minimizes image sizes ✑ Minimizes the security surface area of the final image What should you include in the recommendation?
Admin Staff asked 4 months ago
You need to recommend a Docker container build strategy that meets the following requirements:
✑ Minimizes image sizes
✑ Minimizes the security surface area of the final image
What should you include in the recommendation?

A. multi-stage builds

B. PowerShell Desired State Configuration (DSC)

C. Docker Swarm

D. single-stage builds








 

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.
Incorrect Answers:
C: A swarm consists of multiple Docker hosts which run in swarm mode and act as managers (to manage membership and delegation) and workers (which run swarm services).
Reference:
https://docs.docker.com/develop/develop-images/multistage-build/

This question is in AZ-400 Exam
For getting Microsoft DevOps Engineer Expert Certificate


Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Microsoft. 
The website does not contain actual questions and answers from Microsoft's Certification Exams.
Trademarks, certification & product names are used for reference only and belong to Microsoft.

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.