Challenge - 5 Problems
Azure Deployment Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Output of Azure CLI Git deployment command
What is the output of the following Azure CLI command when deploying code via Git to an Azure Web App?
Azure
az webapp deployment source config-local-git --name MyWebApp --resource-group MyResourceGroup
Attempts:
2 left
💡 Hint
This command configures local Git deployment and returns the Git URL to push code.
✗ Incorrect
The command sets up local Git deployment and outputs the Git URL to use for pushing code. It does not deploy code immediately or show deployment success.
🧠 Conceptual
intermediate2:00remaining
Understanding ZIP deployment behavior
When deploying an application to Azure App Service using ZIP deployment, what happens to the existing files in the wwwroot folder?
Attempts:
2 left
💡 Hint
Think about how ZIP deployment updates the app content folder.
✗ Incorrect
ZIP deployment replaces the entire content of the wwwroot folder with the contents of the ZIP file, effectively overwriting existing files.
🔀 Workflow
advanced3:00remaining
Correct order of steps in a CI/CD pipeline for Azure Web App deployment
Arrange the following steps in the correct order for a CI/CD pipeline deploying code to an Azure Web App:
Attempts:
2 left
💡 Hint
Think about what happens first when code changes, then building, testing, and deploying.
✗ Incorrect
The pipeline triggers on code commit (4), then builds artifacts (2), runs tests (1), and finally deploys to Azure (3).
❓ Troubleshoot
advanced2:30remaining
Identifying cause of deployment failure in Azure DevOps pipeline
An Azure DevOps pipeline deploying to an Azure Web App fails with the error: '403 Forbidden - Access Denied'. Which is the most likely cause?
Attempts:
2 left
💡 Hint
403 Forbidden usually relates to permission issues.
✗ Incorrect
A 403 Forbidden error during deployment typically means the service connection used by the pipeline lacks permission to deploy to the Azure subscription or resource.
✅ Best Practice
expert3:00remaining
Best practice for secure CI/CD deployment to Azure Web Apps
Which practice best improves security when deploying to Azure Web Apps using CI/CD pipelines?
Attempts:
2 left
💡 Hint
Think about secure secret management and identity in Azure.
✗ Incorrect
Using managed identities with Azure Key Vault avoids storing secrets in code or pipeline files, enhancing security by managing credentials safely.