An administrator manages a Windows web app named App1 that runs on an Azure App Service plan named ASP-Prod. Currently, ASP-Prod is configured on the Basic (B1) pricing tier.
You need to configure the hosting environment and backup solution to meet the following requirements:
* Enable autoscale to automatically scale the application up to 15 instances during high-traffic events.
* Support up to 6 deployment slots for staging, testing, and pre-production builds.
* Configure daily automated backups of App1 to an Azure storage account named store1.
* Secure traffic to store1 by enabling its firewall to restrict access to selected networks only.
Which TWO actions should you perform to meet these requirements while minimizing costs?
- Scale up the App Service plan to the Premium v2 (P1v2) tier.Answer
- Configure a system-assigned managed identity for App1 and assign it the Storage Blob Data Contributor role on store1.Answer
- CScale up the App Service plan to the Standard (S1) tier.
- DConfigure the backup of App1 using the primary access key of store1.
Answer
Scale up the App Service plan to the Premium v2 (P1v2) tier, and configure a system-assigned managed identity for the web app with the Storage Blob Data Contributor role on the storage account.
To meet the requirements of 15 instances and 6 deployment slots, the App Service plan must be scaled up to at least the Premium v2 tier, as the Standard tier only supports up to 10 instances and 5 slots. To backup to a storage account with the firewall enabled, access keys are blocked. Instead, a system-assigned managed identity must be enabled on the web app and granted the Storage Blob Data Contributor role on the storage account.
Step-by-Step Solution
Key Concept
Azure App Service Plan pricing tier capabilities and secure backup configurations