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

AZ-104 Implement and Manage Virtual Networking Practice Question

This AZ-104 practice question tests your understanding of implement and manage virtual networking. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. 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 on-premises application connects to Azure through an existing site-to-site VPN. The application must access an Azure Storage account, public network access on the storage account is disabled, and the company does not want the storage account exposed through a public endpoint. Which solution should the administrator implement?

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

Create a private endpoint for the storage account in a VNet reachable over the VPN and configure private DNS.

A private endpoint assigns the storage account a private IP from a VNet that is reachable over the site-to-site VPN, effectively bringing the storage account into the on-premises network without exposing a public endpoint. Private DNS zones ensure that the storage account's FQDN resolves to the private IP, enabling seamless connectivity from on-premises while public network access remains disabled.

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 for the storage account in a VNet reachable over the VPN and configure private DNS.

    Why this is correct

    A private endpoint gives the storage account a private IP in a VNet, and that private address can be reached from on-premises over the existing VPN. Because public network access is disabled, this is the correct design for private-only access. Private DNS ensures the application resolves the storage name to the private IP rather than the public endpoint.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Enable a service endpoint on the on-premises network and allow the storage account firewall to trust it.

    Why it's wrong here

    Service endpoints are tied to Azure subnets, not arbitrary on-premises networks, so they do not solve access from a datacenter over VPN.

    When this WOULD be correct

    If the on-premises application were hosted in an Azure VNet (e.g., via ExpressRoute or VPN-connected VNet) and the storage account needed to be accessed from that VNet without a private endpoint, enabling a service endpoint on the VNet subnet and configuring the storage firewall to trust that VNet would be correct.

  • Generate a shared access signature and use it from the on-premises application.

    Why it's wrong here

    A SAS controls authorization, but it does not create a private network path or replace the need for network access to the storage account.

    When this WOULD be correct

    A question where public network access is enabled but the company wants to grant time-limited, delegated access to a specific storage resource (e.g., a blob) without exposing the account key, and the client can connect over the internet.

  • Associate a NAT gateway with the on-premises VPN connection.

    Why it's wrong here

    NAT gateway applies to Azure subnets, not to a site-to-site VPN tunnel, and it does not provide private access to PaaS resources.

    When this WOULD be correct

    A NAT gateway would be correct in a scenario where virtual machines in a subnet need outbound internet access with a static public IP, and the requirement is to avoid using a public load balancer or default outbound access.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-104 exam frequently reuses these exact scenarios with slightly different constraints.

Create a private endpoint for the storage account in a VNet reachable over the VPN and configure private DNS.Correct answer

Why this is correct

A private endpoint gives the storage account a private IP in a VNet, and that private address can be reached from on-premises over the existing VPN. Because public network access is disabled, this is the correct design for private-only access. Private DNS ensures the application resolves the storage name to the private IP rather than the public endpoint.

Enable a service endpoint on the on-premises network and allow the storage account firewall to trust it.Wrong answer — click to see why

Why this is wrong here

Service endpoints expose the storage account to the entire VNet subnet, but the on-premises network is not a VNet; service endpoints cannot be applied to on-premises networks directly. Additionally, the storage account firewall trusts service endpoints only from VNets, not from on-premises.

★ When this WOULD be the correct answer

If the on-premises application were hosted in an Azure VNet (e.g., via ExpressRoute or VPN-connected VNet) and the storage account needed to be accessed from that VNet without a private endpoint, enabling a service endpoint on the VNet subnet and configuring the storage firewall to trust that VNet would be correct.

Why candidates choose this

Candidates may confuse service endpoints with private endpoints, thinking both provide secure access from on-premises, or they may incorrectly assume that service endpoints can be extended to on-premises networks via VPN.

Generate a shared access signature and use it from the on-premises application.Wrong answer — click to see why

Why this is wrong here

A shared access signature (SAS) provides access to a storage account via its public endpoint, but the question states public network access is disabled, so SAS cannot be used.

★ When this WOULD be the correct answer

A question where public network access is enabled but the company wants to grant time-limited, delegated access to a specific storage resource (e.g., a blob) without exposing the account key, and the client can connect over the internet.

Why candidates choose this

Candidates may think SAS is a secure way to grant access without a public endpoint, but they overlook that SAS still uses the public endpoint and requires public network access to be enabled.

Associate a NAT gateway with the on-premises VPN connection.Wrong answer — click to see why

Why this is wrong here

A NAT gateway provides outbound internet connectivity for virtual networks but does not enable private access to a storage account with public network access disabled. It cannot route traffic from on-premises over VPN to a private endpoint.

★ When this WOULD be the correct answer

A NAT gateway would be correct in a scenario where virtual machines in a subnet need outbound internet access with a static public IP, and the requirement is to avoid using a public load balancer or default outbound access.

Why candidates choose this

Candidates may confuse NAT gateway with a method to provide private connectivity, thinking it can translate on-premises traffic to access Azure resources without public endpoints.

Analysis generated from the official AZ-104blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse service endpoints with private endpoints, assuming that enabling a service endpoint on the VNet and trusting it in the firewall will allow on-premises traffic, but service endpoints do not provide private IP connectivity and still require the public endpoint to be enabled.

Detailed technical explanation

How to think about this question

Private endpoints use Azure Private Link to map the storage account to a network interface (NIC) in the VNet, with traffic flowing over the Microsoft backbone rather than the internet. The private DNS zone (privatelink.blob.core.windows.net) must be linked to the on-premises DNS or the VNet's DNS server so that the storage account's FQDN resolves to the private IP; otherwise, the on-premises application would still attempt to reach the public endpoint. In a real-world scenario, if the on-premises network uses custom DNS servers, you must configure conditional forwarding to the Azure-provided private DNS zone to ensure resolution works correctly.

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.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

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: Create a private endpoint for the storage account in a VNet reachable over the VPN and configure private DNS. — A private endpoint assigns the storage account a private IP from a VNet that is reachable over the site-to-site VPN, effectively bringing the storage account into the on-premises network without exposing a public endpoint. Private DNS zones ensure that the storage account's FQDN resolves to the private IP, enabling seamless connectivity from on-premises while public network access remains disabled.

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

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.