AZ-204 · Question #174
AZ-204 Question #174: Real Exam Question with Answer & Explanation
Sign in or unlock AZ-204 to reveal the answer and full explanation for question #174. The question stem and answer options stay visible for context.
Question
For an application Nea as developer needs to Create a Dockerfile. The application will be based on ASP.Net core. The application has the following requirements: - Ensure that the application whizlabsApp.dll runs at the startup of the docker container - Run a powershell script called whizlabscsript.ps1 in the Docker container The tptApp.dll and the tptcsript.ps1 are in the same location as the DockerFile. Which of the following commands wouldNea place in the DockerFile? 1.) FROM Microsoft/dotnet:2.2-aspnetcore-runtime 2.) EXPOSE tptApp.dll ,tptcsript.ps1 3.) ENTRYPOINT ["dotnet", " MySingleContainerWebApp.dll 4.) ENTRYPOINT ["tptApp.dll" ,"tptcsript.ps1"]
Options
- AOnly 2 and 3
- BOnly 1, 3 and 4
- COnly 1 and 2
- DOnly 3 and 4
Unlock AZ-204 to see the answer
You've previewed enough free AZ-204 questions. Unlock AZ-204 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.