AZ-204 Quiz

App Service

Question:

You are a developer tasked with deploying a new .NET web application using on Microsoft Azure. Your first task is to create a new resource group myResourceGroup located in the South Central US region. Following that, you need to establish a deployment user for the web application. You are then required to create myAppServicePlan App Service plan within a Linux environment that is cost-efficient. The web application should be created within this resource group and App Service plan, using .NET as its runtime. You are also required to configure the application settings to set the deployment branch to main. Lastly, you are provided with a sample application from GitHub: https://github.com/Azure-Samples/App-Service-Troubleshoot-Azure-Monitor. You need to clone this application, rename the default branch to main, add the Azure remote repository using the URL from the webapp create command, and push the code to the Azure repository. How would you accomplish these tasks using Azure CLI commands?

# Code here


Report a problem
Exam revision: April 11, 2025