Home Microsoft AZ-400: DevOps Engineer AZ-400 – Question 188

AZ-400 – Question 188

0
346
You plan to create an image that will contain a .NET Core application.

You have a Dockerfile file that contains the following code. (Line numbers are included for reference only.)
You need to ensure that the image is as small as possible when the image is built.

Which line should you modify in the file?

A. 1
B. 3
C. 4
D. 7

Correct Answer: C

Final image shall not be sdk but runtime image

Reference: https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds

Cloud Tech
Cloud Tech is a small, independent team that writes free practice questions for Microsoft Azure, AWS and CompTIA certification exams. We write every question ourselves against the current official exam outline, explain why each option is right or wrong, link to the vendor's documentation, and update or archive sets when an exam changes. Spotted a mistake? Email [email protected].