exam questions

Exam AZ-801 All Questions

View all questions & answers for the AZ-801 exam

Exam AZ-801 topic 4 question 6 discussion

Actual exam question from Microsoft's AZ-801
Question #: 6
Topic #: 4
[All AZ-801 Questions]

DRAG DROP -
You have a server named Server1 that runs Windows Server and has the Web Server (IIS) server role installed. Server1 hosts an ASP.NET Core web app named
WebApp1 and the app's source files.
You install Docker on Server1.
You need to ensure that you can deploy WebApp1 to an Azure App Service web app from the Azure Container Registry.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Step 1: Create a Dockerfile. This file contains instructions for the build process.
Step 2: Run the docker build command to create a container image.
Step 3: Run the docker push command to upload the image to Azure Container Registry.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
xxxxx85xx
Highly Voted 3 years, 1 month ago
Correct Answers
upvoted 6 times
...
starseed
Most Recent 8 months, 3 weeks ago
Step 1: Create a Dockerfile. This file contains instructions for the build process. Step 2: Run the docker build command to create a container image. Step 3: Run the docker push command to upload the image to Azure Container Registry.
upvoted 1 times
...
[Removed]
1 year, 6 months ago
To deploy an ASP.NET Core web app to an Azure App Service web app from the Azure Container Registry using Docker, you should perform the following actions in sequence: 1. Create a Dockerfile. This is the first step where you define how to build the Docker image for your web app. 2. Run the docker build command. With the Dockerfile in place, you build the Docker image of your web app on Server1. 3. Run the docker push command. After building the image, you push it to the Azure Container Registry from where it can be deployed to Azure App Service. So the sequence is: Create a Dockerfile -> Run the docker build command -> Run the docker push command.
upvoted 3 times
...
syu31svc
2 years, 1 month ago
https://learn.microsoft.com/en-us/azure/app-service/tutorial-custom-container?tabs=azure-cli&pivots=container-linux Get a Dockerfile, build it then push it to the registry Answer is correct
upvoted 2 times
...
joehoesofat
2 years, 6 months ago
Suprised this didnt involve arm template but this appears to be a linux based quesiton - get the docker file and then get it to the registry https://phoenixnap.com/kb/create-docker-images-with-dockerfile#:~:text=1%20As%20an%20example%2C%20we%20will%20create%20a,with%20a%20text%20editor%20of%20your%20choice.%20
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...