You work as a Cloud Migration Specialist for MDFT Pro, a well-known training agency that delivers technology certification courses to students globally. Mark, the Application Services Manager, is migrating the Student Learning Hub application from on-premises infrastructure to Azure.
The Learning Hub is an ASP.NET Core web application that runs in Docker and is currently mapped to the mdftpro-learning.com domain. A resource group named LearningHubResourceGroup has been created in the WestUS region, and it contains an App Service Plan named AppServiceLinuxDockerPlan.
You need to provision an App Service Web App to host the Docker image and map the custom domain to the web app so students can continue accessing their courses without disruption.
How should you complete the following Azure CLI script?
appName="LearningHub$random"
location="WestUS"
dockerHubContainerPath="MDFTPro/learninghub:v1"
fqdn="www.mdftpro-learning.com"
az webapp create \
--name $appName \
--plan AppServiceLinuxDockerPlan \
--resource-group LearningHubResourceGroup
az webapp config hostname add \
--webapp-name $appName \
--resource-group LearningHubResourceGroup \
--hostname $fqdn
az webapp _____________ \
--docker-custom-image-name $dockerHubContainerPath \
--name $appName \
--resource-group LearningHubResourceGroup
Choose the correct answer from the options below.
Explanations for each answer: