mediummultiple choiceObjective-mapped

A company enabled Azure Disk Encryption on Windows virtual machines using Azure Key Vault to store encryption keys. They have enabled soft-delete and purge protection on the Key Vault. After a user accidentally deletes a key, the company tries to recover it but the recovery operation fails. What is the most likely reason for the recovery failure?

Question 1mediummultiple choice
Full question →

A company enabled Azure Disk Encryption on Windows virtual machines using Azure Key Vault to store encryption keys. They have enabled soft-delete and purge protection on the Key Vault. After a user accidentally deletes a key, the company tries to recover it but the recovery operation fails. What is the most likely reason for the recovery failure?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

The key vault is in a different Azure region than the VM.

Key Vault can be in any region as long as the VM can access it via network. Region mismatch does not prevent key recovery.

B

Best answer

The key vault firewall is blocking access from the VM's virtual network.

If the Key Vault firewall is enabled and does not allow traffic from the VM's VNet, the VM cannot communicate with the Key Vault for key recovery operations. This is a common configuration issue.

C

Distractor review

The key was not created with soft-delete enabled.

Soft-delete is enabled at the vault level, and purge protection is also enabled. The key inherits these settings. If the key had soft-delete disabled, it would not be recoverable at all, but the question states they enabled both features on the vault.

D

Distractor review

The VM's managed identity does not have 'Key Vault Crypto Service Encryption User' permission.

While permissions are required for encryption operations, the recovery process (using the Azure portal or PowerShell) does not rely on the VM's managed identity; it uses the user's permissions. The issue is network connectivity, not permissions.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Related practice questions

Related AZ-500 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-500 question test?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: The key vault firewall is blocking access from the VM's virtual network. — Azure Disk Encryption requires the Key Vault to be accessible from the VM. If the Key Vault has a firewall that blocks all public network access (or does not have the appropriate trust settings), the Azure Disk Encryption service (which runs on the VM) cannot access the key. Even if the key is recoverable, the recovery process itself might fail if the VM cannot connect to the Key Vault. More importantly, the scenario implies that the key was deleted but recovery fails because the Key Vault is not reachable. The most common cause is that the Key Vault firewall is blocking access from the VM's VNet. The solution is to enable 'Allow trusted Microsoft services to bypass the firewall' or add a virtual network service endpoint.

What should I do if I get this AZ-500 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.