AZ-200 Azure App Service & Web Apps 1 — Questions and Answers
Question 1: Which Azure App Service plan tier is required to enable deployment slots for a web app?
- Free
- Shared
- Basic
- Standard (Correct answer)
Correct answer: Standard
Deployment slots are available starting with the Standard tier of Azure App Service.
Question 2: What is the purpose of the WEBSITE_RUN_FROM_PACKAGE app setting in Azure App Service?
- Enables remote debugging
- Runs the app directly from a ZIP package without extracting files (Correct answer)
- Sets the runtime version
- Enables auto-scaling
Correct answer: Runs the app directly from a ZIP package without extracting files
WEBSITE_RUN_FROM_PACKAGE allows Azure App Service to run the application directly from a ZIP archive, improving deployment reliability.
Question 3: Which authentication provider is built natively into Azure App Service for enabling social login?
- OAuth2 Proxy
- Easy Auth (App Service Authentication) (Correct answer)
- ADFS
- Okta
Correct answer: Easy Auth (App Service Authentication)
Easy Auth (App Service Authentication/Authorization) is the built-in identity middleware that supports multiple identity providers without code changes.
Question 4: How do you configure an Azure Web App to use a custom domain over HTTPS?
- Add a CNAME only
- Upload a TLS certificate and bind it to the custom domain in App Service (Correct answer)
- Enable CDN and configure HTTPS there
- Set HTTPS in web.config only
Correct answer: Upload a TLS certificate and bind it to the custom domain in App Service
You must upload or import a TLS/SSL certificate and then create an SSL binding for the custom domain in App Service settings.
Question 5: What is the default behavior of Azure App Service when an application crashes?
- The app stays down until manually restarted
- App Service automatically restarts the application process (Correct answer)
- A new App Service Plan is provisioned
- Azure sends an alert and waits for approval
Correct answer: App Service automatically restarts the application process
Azure App Service automatically monitors and restarts application processes that crash or become unresponsive.
Question 6: Which setting controls the number of instances App Service automatically scales to based on a schedule or metric?
- Always On
- Autoscale rules in the App Service Plan (Correct answer)
- Health Check interval
- ARR Affinity cookie
Correct answer: Autoscale rules in the App Service Plan
Autoscale rules defined on the App Service Plan control the minimum and maximum number of instances and the triggers for scaling.
Which Azure App Service plan tier is required to enable deployment slots for a web app?