Question 612 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.

Exhibit

Storage access requirement: the public endpoint must stay enabled; access must be limited to one Azure subnet; no private IP should be created in the virtual network; administrators do not want a private DNS zone.

Based on the exhibit, which feature should be enabled on the subnet so the storage account remains reachable through its public endpoint but only from that subnet?

Exhibit

Storage access requirement: the public endpoint must stay enabled; access must be limited to one Azure subnet; no private IP should be created in the virtual network; administrators do not want a private DNS zone.

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

Service endpoint

Service endpoints (B) extend the virtual network private address space and the identity of the VNet to Azure services over a direct connection. By enabling a Microsoft.Storage service endpoint on the subnet and configuring the storage account firewall to allow access only from that subnet's virtual network, the storage account remains reachable via its public endpoint but only from the specified subnet, without requiring a public IP on the subnet.

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.

  • Private endpoint

    Why it's wrong here

    A private endpoint creates a private IP and changes the connectivity model, which the exhibit forbids.

    When this WOULD be correct

    A question that asks: 'Which feature should be used to ensure that a storage account is accessible only from a specific virtual network and not from the public internet?' In that case, private endpoint would be correct because it removes public endpoint access entirely.

  • Service endpoint

    Why this is correct

    A service endpoint lets the subnet reach the service over Azure backbone without creating a private IP.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Azure Bastion

    Why it's wrong here

    Bastion is for VM management access, not for controlling storage account network access.

    When this WOULD be correct

    A question asks: 'You need to provide secure, seamless RDP access to VMs in a virtual network without assigning public IPs. Which service should you deploy?'

  • VPN Gateway

    Why it's wrong here

    A VPN Gateway provides network tunneling, but it does not enforce subnet-only access to the storage service.

    When this WOULD be correct

    A question asks: 'You need to connect an on-premises network to an Azure VNet securely over the internet. Which feature should you use?' In that scenario, VPN Gateway is the correct answer for establishing encrypted site-to-site or point-to-site VPN connections.

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.

Service endpointCorrect answer

Why this is correct

A service endpoint lets the subnet reach the service over Azure backbone without creating a private IP.

Private endpointWrong answer — click to see why

Why this is wrong here

Private endpoint assigns a private IP to the storage account, making it accessible only from the virtual network, not from its public endpoint. The question requires the storage account to remain reachable through its public endpoint, which private endpoint does not allow.

★ When this WOULD be the correct answer

A question that asks: 'Which feature should be used to ensure that a storage account is accessible only from a specific virtual network and not from the public internet?' In that case, private endpoint would be correct because it removes public endpoint access entirely.

Why candidates choose this

Candidates may confuse private endpoint with service endpoint, thinking both restrict access to a subnet, but private endpoint actually disables public endpoint access, which contradicts the requirement to keep the public endpoint reachable.

Azure BastionWrong answer — click to see why

Why this is wrong here

Azure Bastion provides secure RDP/SSH connectivity to virtual machines without exposing public IPs, but it does not control network access to storage accounts or restrict access to a subnet.

★ When this WOULD be the correct answer

A question asks: 'You need to provide secure, seamless RDP access to VMs in a virtual network without assigning public IPs. Which service should you deploy?'

Why candidates choose this

Candidates may confuse Azure Bastion's role in securing network access with subnet-level access controls, mistakenly thinking it can restrict storage account access.

VPN GatewayWrong answer — click to see why

Why this is wrong here

VPN Gateway is used for site-to-site or point-to-site encrypted connectivity over the internet, not for restricting access to a public endpoint from a specific subnet. It does not provide the subnet-level service endpoint policy needed to allow only that subnet to reach the storage account's public endpoint.

★ When this WOULD be the correct answer

A question asks: 'You need to connect an on-premises network to an Azure VNet securely over the internet. Which feature should you use?' In that scenario, VPN Gateway is the correct answer for establishing encrypted site-to-site or point-to-site VPN connections.

Why candidates choose this

Candidates may confuse VPN Gateway with a network security boundary, thinking it can restrict access to a public endpoint, or they may mistakenly believe that a VPN tunnel can be used to limit source IPs from a specific subnet.

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 often confuse private endpoints with service endpoints, mistakenly thinking a private endpoint is required for subnet-level access control, when in fact service endpoints achieve the same goal while preserving public endpoint accessibility.

Detailed technical explanation

How to think about this question

Service endpoints use the Azure backbone to route traffic from the subnet to the storage account without traversing the internet, and the storage account firewall evaluates the source virtual network ID (not just the source IP) to permit access. The subnet's service endpoint policy can further restrict traffic to specific storage accounts, and the storage account's firewall rules use the 'VirtualNetwork' rule type with the subnet's resource ID. This mechanism relies on route propagation via BGP (Border Gateway Protocol) within Azure's SDN (Software-Defined Networking) fabric, ensuring traffic stays on Microsoft's network.

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

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

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: Service endpoint — Service endpoints (B) extend the virtual network private address space and the identity of the VNet to Azure services over a direct connection. By enabling a Microsoft.Storage service endpoint on the subnet and configuring the storage account firewall to allow access only from that subnet's virtual network, the storage account remains reachable via its public endpoint but only from the specified subnet, without requiring a public IP on the subnet.

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.