exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 3 question 2 discussion

Actual exam question from Microsoft's AZ-300
Question #: 2
Topic #: 3
[All AZ-300 Questions]

DRAG DROP -
Fourth Coffee has an ASP.Net Core web app that runs in Docker. The app is mapped to the www.fourthcoffee.com domain.
Fourth Coffee is migrating this application to Azure.
You need to provision an App Service Web App to host this docker image and map the custom domain to the App Service web app.
A resource group named FourthCofeePublicWebResourceGroup has been created in the WestUS region that contains an App Service Plan named
AppServiceLinuxDockerPlan.
Which order should the CLI commands be used to develop the solution? To answer, move all of the Azure CLI commands from the list of commands to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:

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
AnshMan
Highly Voted 5 years, 2 months ago
1.Configure environment variables Since we already have RG, App Service Plan move to create WebApp 2.Create WebApp 3. Binding hostname to WebApp with FQDN www.FourthCoffee.com. 4. Configure Web App with a Custom Docker Container from Docker Hub https://docs.microsoft.com/en-us/azure/app-service/scripts/cli-linux-docker-aspnetcore https://docs.microsoft.com/en-us/azure/app-service/containers/tutorial-custom-docker-image https://docs.microsoft.com/en-us/cli/azure/webapp/config/hostname?view=azure-cli-latest
upvoted 18 times
...
ccarlton
Highly Voted 5 years, 5 months ago
Why does it matter the order of the last 2 items? hostname or container can be put in place in any either sequence
upvoted 16 times
...
nothing12345
Most Recent 4 years, 10 months ago
since this one has multiple answers in one question, will Microsoft give partial credit for each correct one?
upvoted 1 times
...
Prash85
5 years, 1 month ago
Last 2 steps are in correct order. First add the hostname and then configure the container.
upvoted 1 times
...
ritwaj
5 years, 2 months ago
Shouldn't last 2 steps be swapped mapping hostname before deploying container will cause some downtime.
upvoted 3 times
...
Zixxer2Go
5 years, 2 months ago
Answer 1 - Sets the variables for later commands, Answer 2 - Creates the app (using one of the variables from Answer 1...and so forth), Answer 3 - Creates the host for the container, & Answer 4 - Creates the container itself.
upvoted 2 times
...
milind8451
5 years, 3 months ago
Agree with ccarlton. Hostname can be created as the final step. It shouldn't matter.
upvoted 5 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 ...