AZ-104 · Question #541
Hotspot Question You have two Azure App Service app named App1 and App2. Each app has a production deployment slot and a test deployment slot. The Backup Configuration settings for the production…
The correct answer is App1 = Yes; App2 = Yes. In Azure App Service, a 0-day backup retention means indefinite storage, backup settings are slot-specific, and you can restore a backup to any deployment slot.
Question
Exhibits
Answer Area
- App1Yes
- App2Yes
Explanation
In Azure App Service, a 0-day backup retention means indefinite storage, backup settings are slot-specific, and you can restore a backup to any deployment slot.
Approach. 1. Statement 1 (No): In Azure App Service, setting the backup Retention (Days) to 0 means that backups are kept indefinitely, not immediately deleted. Since backups happen daily from January 6, by January 15 there will be 10 backups in storage, not just one.
-
Statement 2 (No): The table explicitly details the backup configuration for the production slots. Backup configurations are slot-specific and do not automatically apply to other deployment slots. Therefore, there is no automatic backup configured for the 'test' slot, meaning you cannot access a January 15 backup for it.
-
Statement 3 (Yes): The backup for App2's production slot taken on January 6 is retained for 30 days, making it available on January 15. Azure allows you to restore a backup to a different deployment slot within the same App Service, so restoring the production backup to the test slot is completely supported.
Common mistakes.
- common_mistake. A frequent mistake is assuming a retention value of '0' means 'delete immediately' and relying on the 'Keep at least one backup' setting to keep only the latest backup. However, in Azure, 0 days means backups never expire. Another mistake is assuming that configuring backups for an App Service automatically covers all of its deployment slots; in reality, each slot is treated as an independent app with its own configuration.
Concept tested. Azure App Service Backup and Restore capabilities, Backup Retention Policies (0-day rule), and Deployment Slot configurations.
Reference. https://learn.microsoft.com/en-us/azure/app-service/manage-backup
Topics
Community Discussion
No community discussion yet for this question.



