Question 786 of 1,000
Secure compute, storage, and databaseshardMultiple ChoiceObjective-mapped

AZ-500 Secure compute, storage, and databases Practice Question

This AZ-500 practice question tests your understanding of secure compute, storage, and databases. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. A key principle to apply: azure Key Vault firewalls block all traffic by default unless explicitly allowed.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company uses Azure SQL Database with Transparent Data Encryption (TDE) and wants to use a customer-managed key (CMK) stored in Azure Key Vault. The security policy requires that the Key Vault be protected by a firewall and virtual network service endpoints to restrict network access. The storage account for TDE logs is in the same Azure region. Which additional configuration is necessary in the Key Vault to allow Azure SQL Database to access the CMK for encryption operations?

Question 1hardmultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Enable the 'Allow trusted Microsoft services to bypass this firewall' option in the Key Vault networking settings.

Option B is correct because Azure SQL Database uses TDE with CMK stored in Azure Key Vault, and when the Key Vault firewall is enabled with virtual network service endpoints, Azure SQL Database must be able to bypass the firewall to retrieve the key. The 'Allow trusted Microsoft services to bypass this firewall' setting permits Azure services like Azure SQL Database, which are considered trusted by Microsoft, to access the Key Vault even when network restrictions are in place. This is the only configuration that satisfies the security policy while enabling the necessary encryption operations.

Key principle: Azure Key Vault firewalls block all traffic by default unless explicitly allowed.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Add a network rule in the Key Vault firewall allowing the public IP range of the Azure SQL Database server.

    Why it's wrong here

    Azure SQL Database does not have a fixed public IP range that can be whitelisted. The correct approach is to allow trusted Microsoft services to bypass the firewall, not to add IP rules.

  • Enable the 'Allow trusted Microsoft services to bypass this firewall' option in the Key Vault networking settings.

    Why this is correct

    This setting allows trusted Microsoft services like Azure SQL Database to access the Key Vault even when the firewall is enabled, provided the service uses authentication and authorization.

    Related concept

    Azure Key Vault firewalls block all traffic by default unless explicitly allowed.

  • Create a private endpoint for the Key Vault and connect it to the same virtual network as the Azure SQL Database.

    Why it's wrong here

    While a private endpoint is secure, it does not grant access to Azure SQL Database as it runs outside the virtual network. SQL Database is a platform service; it would need a private endpoint as well, or use the trusted services bypass.

  • Configure the Key Vault to use role-based access control (RBAC) and assign the 'Key Vault Crypto Service Encryption User' role to the SQL Database server's managed identity.

    Why it's wrong here

    RBAC is used for authorization (who can access the key), but the networking firewall still blocks the traffic. The network bypass is required to allow the SQL Database service to reach the Key Vault over the internet.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse network-level access controls (firewall rules) with authorization (RBAC or access policies), leading them to select Option D, which addresses permissions but not the network restriction imposed by the Key Vault firewall.

Detailed technical explanation

How to think about this question

The 'Allow trusted Microsoft services' setting leverages Azure's internal service tags and infrastructure to allow specific Azure platform services, such as Azure SQL Database, to access Key Vault without exposing the vault to the public internet. This is implemented via the Key Vault firewall's 'bypass' property set to 'AzureServices', which is distinct from IP-based or VNet-based rules. In practice, this setting is essential for TDE with CMK because Azure SQL Database's key management operations (e.g., key rotation, database encryption key re-encryption) require the SQL service to authenticate to Key Vault using its managed identity, and the firewall must permit this traffic.

KKey Concepts to Remember

  • Azure Key Vault firewalls block all traffic by default unless explicitly allowed.
  • The 'Allow trusted Microsoft services' bypass enables specific PaaS services to connect.
  • Azure SQL Database is a trusted Microsoft service for Key Vault access.
  • This bypass addresses network access; authorization still requires RBAC or access policies.

TExam Day Tips

  • 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.

Key takeaway

Azure Key Vault firewalls block all traffic by default unless explicitly allowed.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Review azure Key Vault firewalls block all traffic by default unless explicitly allowed., then practise related AZ-500 questions on the same topic to reinforce the concept.

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.

Practice this exam

Start a free AZ-500 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-500 question test?

Secure compute, storage, and databases — This question tests Secure compute, storage, and databases — Azure Key Vault firewalls block all traffic by default unless explicitly allowed..

What is the correct answer to this question?

The correct answer is: Enable the 'Allow trusted Microsoft services to bypass this firewall' option in the Key Vault networking settings. — Option B is correct because Azure SQL Database uses TDE with CMK stored in Azure Key Vault, and when the Key Vault firewall is enabled with virtual network service endpoints, Azure SQL Database must be able to bypass the firewall to retrieve the key. The 'Allow trusted Microsoft services to bypass this firewall' setting permits Azure services like Azure SQL Database, which are considered trusted by Microsoft, to access the Key Vault even when network restrictions are in place. This is the only configuration that satisfies the security policy while enabling the necessary encryption operations.

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

Review azure Key Vault firewalls block all traffic by default unless explicitly allowed., then practise related AZ-500 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

Azure Key Vault firewalls block all traffic by default unless explicitly allowed.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AZ-500 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-500 exam.