Question 190 of 1,170
Implement and Manage Virtual NetworkingmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is to enable a service endpoint for Microsoft.Storage on the subnet and restrict the storage firewall to that subnet. This works because a service endpoint extends the subnet’s identity to the storage account over the Azure backbone network, using the storage account’s public endpoint without assigning a private IP address or altering DNS records. On the AZ-104 exam, this scenario tests your understanding of how service endpoints differ from Private Link—the key trap is that many candidates mistakenly assume a private IP is required for subnet-only access, but service endpoints provide that restriction via the source subnet’s virtual network ID. A helpful memory tip is “service endpoint = public endpoint, subnet filter; Private Link = private IP, private endpoint.”

AZ-104 Implement and Manage Virtual Networking Practice Question

This AZ-104 practice question tests your understanding of implement and manage virtual networking. 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. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. 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.

An application running on a VM in a subnet must access an Azure Storage account. The security team wants the storage account to accept traffic only from that subnet, but they do not want a private IP address in the VNet and they do not want to change DNS records. What should the administrator configure?

Question 1mediummultiple choice
Read the full DNS explanation →

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 a service endpoint for Microsoft.Storage on the subnet and restrict the storage firewall to that subnet.

Option B is correct because a service endpoint for Microsoft.Storage allows the subnet to send traffic to the storage account over the Azure backbone network using the storage account's public endpoint, without requiring a private IP address or DNS changes. The storage firewall then restricts access to only that subnet's traffic, meeting the security team's requirements.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Create a private endpoint and a private DNS zone for the storage account.

    Why it's wrong here

    That would give the service a private IP and require DNS integration, which the requirement explicitly avoids.

  • Enable a service endpoint for Microsoft.Storage on the subnet and restrict the storage firewall to that subnet.

    Why this is correct

    A service endpoint extends the subnet identity to the Azure Storage service without creating a private IP address in the VNet. It also avoids DNS changes because clients continue to use the normal public endpoint name, while the storage firewall can be configured to allow only the selected subnet. This matches the requirement for subnet-only access while keeping the service on its public endpoint architecture.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Allow access only from the VM public IP address.

    Why it's wrong here

    That secures by public IP, not by subnet, and it breaks if the VM is replaced or its address changes.

  • Place the storage account in the same resource group as the VM.

    Why it's wrong here

    Resource-group placement does not control network access or restrict traffic to a subnet.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse service endpoints with private endpoints, assuming that any restriction to a VNet requires a private IP address, but service endpoints achieve subnet-level restriction using the public endpoint without private IPs or DNS changes.

Detailed technical explanation

How to think about this question

Service endpoints extend the VNet identity to Azure services by enabling the subnet to route traffic to the storage account over the Microsoft Azure backbone network, using the storage account's public endpoint. The storage firewall uses the source subnet's virtual network ID (not the VM's IP) to allow traffic, which is more stable than a public IP and avoids the need for private IPs or DNS changes. This approach is ideal for scenarios where you want to keep the storage account's public endpoint but restrict access to a specific VNet/subnet.

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.

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

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AZ-104 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-104 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-104 question test?

Implement and Manage Virtual Networking — This question tests Implement and Manage Virtual Networking — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Enable a service endpoint for Microsoft.Storage on the subnet and restrict the storage firewall to that subnet. — Option B is correct because a service endpoint for Microsoft.Storage allows the subnet to send traffic to the storage account over the Azure backbone network using the storage account's public endpoint, without requiring a private IP address or DNS changes. The storage firewall then restricts access to only that subnet's traffic, meeting the security team's requirements.

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

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

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

Same concept, more angles

2 more ways this is tested on AZ-104

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A VM in a subnet must access an Azure Storage account without creating a private endpoint. The organization is fine with the storage account remaining on its public endpoint, but traffic should stay on the Azure backbone rather than the public internet. Which feature should you use?

medium
  • A.A service endpoint for Microsoft.Storage on the subnet.
  • B.A private endpoint and a private DNS zone.
  • C.A NAT gateway attached to the subnet.
  • D.A VPN gateway connection to the storage account resource group.

Why A: A service endpoint for Microsoft.Storage on the subnet extends the virtual network identity to the storage account, allowing traffic from the subnet to the storage account's public endpoint to traverse the Azure backbone network instead of the public internet. This meets the requirement of keeping traffic on the Azure backbone without creating a private endpoint, as service endpoints use the public endpoint but route traffic through Microsoft's network.

Variation 2. A team wants one subnet to access an existing Storage account over its public endpoint. They do not want a private IP for the account or any DNS changes, but they want to block access from all other subnets. What should the administrator configure?

medium
  • A.Create a private endpoint and disable public network access on the storage account.
  • B.Enable a service endpoint on the subnet and add a virtual network rule on the storage account.
  • C.Assign the Storage Blob Data Reader role to the subnet.
  • D.Associate a route table with a default route to the storage account private IP.

Why B: Option B is correct because a service endpoint extends the virtual network's identity to the Azure Storage service, allowing the subnet to access the storage account over its public endpoint without requiring a private IP or DNS changes. By enabling a service endpoint on the subnet and adding a virtual network rule on the storage account, you restrict access to only that subnet while blocking all other subnets, meeting the team's requirements.

Keep practising

More AZ-104 practice questions

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-104 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-104 exam.