Microsoft Certified: Azure Developer Associate Azure App Service and Containerization 2 — Questions and Answers
Question 1: Which deployment method in Azure App Service supports 'infrastructure as code' by describing app configuration in an ARM template?
- FTP deployment
- ZIP deploy
- ARM template deployment (Correct answer)
- GitHub Actions
Correct answer: ARM template deployment
ARM template deployment describes both the App Service resource and its configuration declaratively as infrastructure as code.
Question 2: What is the maximum number of deployment slots available on the Premium App Service plan?
- 5
- 10
- 20 (Correct answer)
- 50
Correct answer: 20
The Premium App Service plan supports up to 20 deployment slots including the production slot.
Question 3: Which feature of Azure App Service allows automatic scaling based on HTTP queue length or CPU metrics?
- Manual scale
- Scale up
- Autoscale (Correct answer)
- Scheduled scale
Correct answer: Autoscale
Autoscale in App Service automatically adds or removes instances based on rules tied to metrics like CPU or HTTP queue length.
Question 4: To pull a container image from Azure Container Registry into an App Service Web App, which identity type is recommended?
- Service principal with client secret
- System-assigned managed identity (Correct answer)
- API key stored in Key Vault
- Shared access signature
Correct answer: System-assigned managed identity
A system-assigned managed identity on the App Service eliminates stored credentials and grants ACR pull permissions via RBAC.
Question 5: What does the `az webapp log tail` command do?
- Downloads the last 100 log entries to a file
- Streams live application logs to the terminal (Correct answer)
- Shows only error-level log entries
- Rotates and archives current log files
Correct answer: Streams live application logs to the terminal
`az webapp log tail` streams the live log output from an App Service app directly to your terminal session.
Question 6: Which Azure App Service feature isolates your app in a dedicated virtual network for compliance and security?
- Private Link
- App Service Environment (ASE) (Correct answer)
- VNet Integration
- Hybrid Connections
Correct answer: App Service Environment (ASE)
App Service Environment (ASE) deploys App Service infrastructure inside a customer-managed VNet for full network isolation.
Which deployment method in Azure App Service supports 'infrastructure as code' by describing app configuration in an ARM template?