nerdexam
MicrosoftMicrosoft

AZ-204 · Question #110

AZ-204 Question #110: Real Exam Question with Answer & Explanation

The correct order is: (1) Set variables/initialization script, (2) Create the web app with az webapp create, (3) Configure the Docker container with az webapp config container set, (4) Map the custom domain with az webapp config hostname add. You must first initialize your variab

Submitted by luis.pe· Mar 30, 2026Deploy and manage Azure compute resources - specifically provisioning and configuring Azure App Service Web Apps with Docker containers and custom domain configuration using Azure CLI

Question

Drag and Drop Question Fourth Coffee has an ASP.NET Core web app that runs in Docker. The app is mapped to the 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 FourthCoffeePublicWebResourceGroup 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 command from the list of commands to the answer area and arrange them in the correct order. Answer:

Explanation

The correct order is: (1) Set variables/initialization script, (2) Create the web app with az webapp create, (3) Configure the Docker container with az webapp config container set, (4) Map the custom domain with az webapp config hostname add. You must first initialize your variables, then create the web app resource before you can configure it, then set the container image on the existing app, and finally map the custom domain hostname - each step depends on the successful completion of the prior step.

Topics

#Azure App Service#Docker Containers#Azure CLI#Custom Domain Mapping

Community Discussion

No community discussion yet for this question.

Full AZ-204 PracticeBrowse All AZ-204 Questions