HOTSPOT - You are preparing to deploy a Python website to an Azure Web App using a container. The solution will use multiple containers in the same container gr...


Microsoft AZ-204 Exam

Questions Number: 92 out of 355 Questions
25.92%

Question 92
HOTSPOT -
You are preparing to deploy a Python website to an Azure Web App using a container. The solution will use multiple containers in the same container group. The
Dockerfile that builds the container is as follows:
AZ-204_92Q_1.png related to the Microsoft AZ-204 Exam
You build a container by using the following command. The Azure Container Registry instance named images is a private registry.
AZ-204_92Q_2.png related to the Microsoft AZ-204 Exam
The user name and password for the registry is admin.
The Web App must always run the same version of the website regardless of future builds.
You need to create an Azure Web App to run the website.
How should you complete the commands? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
AZ-204_92Q_3.jpg related to the Microsoft AZ-204 Exam



Box 1: --SKU B1 --hyper-v -
--hyper-v
Host web app on Windows container.
Box 2: --deployment-source-url images.azurecr.io/website:v1.0.0
--deployment-source-url -u
Git repository URL to link with manual integration.
The Web App must always run the same version of the website regardless of future builds.
Incorrect:
--deployment-container-image-name -i
Linux only. Container image name from Docker Hub, e.g. publisher/image-name:tag.
Box 3: az webapp config container set -url
https://images.azurecr.io -u admin -p admin az webapp config container set
Set a web app container's settings.
Paremeter: --docker-registry-server-url -r
The container registry server url.
The Azure Container Registry instance named images is a private registry.
Example:
az webapp config container set --docker-registry-server-url
https://{azure-container-registry-name}.azurecr.io
Reference:
https://docs.microsoft.com/en-us/cli/azure/appservice/plan





Previous Questions Next Questions