All exams← All Azure Administrator (AZ-104) notes

Backup, recovery & security: Azure Administrator (AZ-104) revision notes

Revision notes

Azure Backup basics

Azure Backup uses a Recovery Services vault (RSV) to store backup data. The vault is a management and storage construct - it holds backup policies, recovery points and configuration for VMs, files, folders, SQL in Azure VMs and more.

Backups are incremental after the first full backup, reducing storage and network cost. Data is encrypted at rest automatically. You choose a redundancy setting on the vault: Locally Redundant Storage (LRS), Zone Redundant Storage (ZRS) or Geo Redundant Storage (GRS) - GRS is default and replicates to a paired region.

Soft delete and retention

Soft delete is on by default for Recovery Services vaults. If backup data is deleted (accidentally or maliciously) it is retained for 14 additional days at no extra storage cost, so you can undelete it. This defends against ransomware and accidental deletion.

Backup policies define schedule (daily or weekly) and retention (daily, weekly, monthly, yearly points), all configurable per policy and assignable to multiple VMs.

Azure Site Recovery (ASR) vs Backup

Don't confuse the two. Azure Backup protects data (restore a file, VM disk or database to a point in time). Azure Site Recovery is for disaster recovery - it replicates entire VMs to another region so you can fail over and keep the workload running with minimal downtime. Backup = data protection; ASR = business continuity.

Key security building blocks

Azure AD (Microsoft Entra ID) is the identity backbone - Conditional Access policies enforce MFA, block legacy authentication, or restrict sign-in by location/device compliance. Conditional Access needs Azure AD Premium P1 or higher.

Role-Based Access Control (RBAC) assigns permissions at management group, subscription, resource group or resource scope, and is additive (deny assignments override allow). Built-in roles: Owner (full control + can assign roles), Contributor (full control, no role assignment), Reader (view only). Least privilege is the exam's constant theme.

Azure Key Vault stores secrets, keys and certificates centrally, avoiding hard-coded credentials. Access via access policies or (recommended) Azure RBAC on the vault.

Network Security Groups (NSGs) filter traffic by 5-tuple rules with a priority number 100-4096 - lower number = higher priority, first match wins. Azure Firewall provides centralised, stateful filtering across a hub network. Azure DDoS Protection has two tiers: Basic (free, automatic) and the paid tier (Network Protection - formerly Standard - adds attack analytics, cost protection and rapid support).

Common exam traps

  • Deleting a VM does not delete its recovery points - you must stop protection with delete data explicitly, or they remain billed.
  • Backup policy retention is separate from soft delete retention (the extra 14 days).
  • NSGs work at subnet or NIC level; rules are stateful for the initiating direction only.
  • Changing vault storage redundancy (LRS to GRS) is only allowed before the first backup runs.

Key facts

Flashcards

What does soft delete on a Recovery Services vault guarantee, and for how long?
Deleted backup data is retained for an extra 14 days at no additional cost so it can be recovered, and it is enabled by default
tap to reveal
Name the three redundancy options for a Recovery Services vault
Locally Redundant Storage (LRS), Zone Redundant Storage (ZRS), Geo Redundant Storage (GRS) - GRS is default
tap to reveal
When can you change a vault's storage redundancy setting?
Only before the first backup item is protected in that vault
tap to reveal
What is the core difference between Azure Backup and Azure Site Recovery?
Azure Backup protects and restores data; Azure Site Recovery replicates whole VMs to another region for disaster recovery and failover
tap to reveal
What licence tier is required to use Conditional Access?
Azure AD (Microsoft Entra ID) Premium P1 or higher
tap to reveal
List the three main built-in RBAC roles and what each allows
Owner: full control plus can assign roles. Contributor: full control but cannot assign roles. Reader: view only
tap to reveal
How does NSG rule priority work?
Rules run from 100 to 4096; the lowest number has the highest priority and the first matching rule is applied
tap to reveal
What are the two tiers of Azure DDoS Protection?
Basic (free, automatic, always enabled) and Network Protection, the paid tier, which adds cost protection and rapid support access
tap to reveal
If you delete a VM, does its backup data disappear too?
No - recovery points remain in the vault (and continue to be billed) until you explicitly stop protection and delete the data
tap to reveal
What does a backup policy define?
The backup schedule (e.g. daily or weekly) and the retention rules (daily, weekly, monthly, yearly recovery points)
tap to reveal
What is Azure Key Vault used for and how is access controlled?
Centralised storage of secrets, keys and certificates; access via access policies or, preferably, Azure RBAC
tap to reveal
Are Azure Backup incremental backups after the initial run?
Yes - after the first full backup, subsequent backups are incremental, saving storage and time
tap to reveal
At what scopes can RBAC role assignments be made?
Management group, subscription, resource group, or individual resource, and assignments are additive
tap to reveal
Practice questions

Backup, recovery & security: 5 practice questions

Q1. Which Azure resource is used to store and manage backup data for Azure VMs, SQL Server in Azure VMs, and Azure file shares under Azure Backup?
  • A.  A Log Analytics workspace
  • B.  A Recovery Services vault
  • C.  An Automation Account
  • D.  A Storage account container
Show answer & explanation
✓ Answer: B. A Recovery Services vault
A Recovery Services vault is the management entity that stores backup data (recovery points) and backup policies for supported workloads such as Azure VMs, SQL in Azure VMs, and Azure Files. Storage accounts hold blobs/files but do not provide the backup orchestration and policy engine that a vault does.
Q2. By default, what is the minimum retention period enforced by soft delete for Azure Backup recovery points once configured on a Recovery Services vault?
  • A.  90 days
  • B.  30 days
  • C.  14 days
  • D.  7 days
Show answer & explanation
✓ Answer: C. 14 days
Azure Backup soft delete retains deleted backup data for 14 days by default, allowing an administrator to undelete a backup item if it was removed accidentally or maliciously. This is separate from Key Vault's 90-day default soft-delete retention, which candidates often confuse.
Q3. An administrator wants to restore an Azure VM backup to a secondary Azure region after the primary region becomes unavailable. Which storage redundancy setting must the Recovery Services vault use to support this feature?
  • A.  Zone-redundant storage (ZRS)
  • B.  Geo-redundant storage (GRS)
  • C.  Locally-redundant storage (LRS)
  • D.  Read-access geo-redundant storage with no additional config
Show answer & explanation
✓ Answer: B. Geo-redundant storage (GRS)
Cross Region Restore requires the vault's backup storage redundancy to be set to Geo-Redundant Storage (GRS), which replicates data to a paired secondary region. LRS and ZRS keep copies only within the primary region, so recovery points would not exist elsewhere if that region failed.
Q4. Which Azure Backup capability allows an administrator to recover an Azure VM disk directly from a snapshot without waiting for data to be copied to the vault, typically for the first few days after a backup?
  • A.  Backup Center bulk restore
  • B.  Instant Restore
  • C.  Cross Region Restore
  • D.  File-level recovery
Show answer & explanation
✓ Answer: B. Instant Restore
Instant Restore uses locally retained disk snapshots (by default for a few days, configurable up to 30) to let you create a VM or disk almost immediately, before the data has finished transferring to vault storage. File-level recovery instead mounts recovery points to copy individual files, which is slower for full VM restores.
Q5. What is the primary purpose of Azure Site Recovery (ASR), as distinct from Azure Backup?
  • A.  To take point-in-time snapshots of VM disks for long-term retention
  • B.  To scan storage accounts for malware
  • C.  To replicate running workloads to a secondary region or datacenter for disaster recovery failover
  • D.  To manage Key Vault certificate renewal
Show answer & explanation
✓ Answer: C. To replicate running workloads to a secondary region or datacenter for disaster recovery failover
Azure Site Recovery continuously replicates VMs so they can be failed over to a secondary location with minimal downtime during a disaster, whereas Azure Backup creates periodic recovery points for restoring data after loss or corruption. The two services are complementary and are often tested as a pair on the exam.
Test yourself
See the Azure Administrator (AZ-104) page

More Azure Administrator (AZ-104) topics