ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 72 - AZ-400 discussion

Report
Export

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
Answers
A.
multi-stage builds
B.
PowerShell Desired State Configuration (DSC)
Answers
B.
PowerShell Desired State Configuration (DSC)
C.
Docker Swarm
Answers
C.
Docker Swarm
D.
single-stage builds
Answers
D.
single-stage builds
Suggested answer: A

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. 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/

asked 02/10/2024
John Doe
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first