Practice Test 5 | Designing And Implementing Microsoft DevOps Solutions | AZ-400 | Dumps | Mock Test
You have to create a multi-stage docker image for an ASP.Net core 2.2 application. Below is the incomplete Dockerfile. The Dockerfile is located in your project directory.
Which of the following would go into Slot4?
A. mcr.microsoft.com/dotnet/core/aspnet:2.2
B. mcr.microsoft.com/dotnet/core/sdk:2.2
C. ENTRYPOINT
D. RUN
E. FROM
Answer – C
Finally, we use the “ENTRYPOINT” clause to specify the “dll” that needs to run our application.
An example of this is given in the Docker documentation.
Since this is clearly given in the Docker documentation, all other options are incorrect.
For more information on creating Dockerfile for .net core applications, please visit the below URL-
Comments are closed, but trackbacks and pingbacks are open.