Courseiva
Question 1,032 of 1,049
Implement and Manage Virtual NetworkingmediumMultiple ChoiceObjective-mapped

AZ-104 Implement and Manage Virtual Networking Practice Question

You create a private endpoint for an Azure SQL Database server. Virtual machines in VNet-Prod must resolve the server name to the private IP address of the endpoint. What should you configure?

⚠ Common exam trap

Many candidates assume private endpoints automatically update DNS without additional configuration, but Azure requires a private DNS zone (or custom DNS server) to override public resolution—otherwise, the server name still resolves to the public IP.

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

A private DNS zone linked to VNet-Prod

A private endpoint uses a private IP address from your VNet, but DNS resolution must be configured to map the Azure SQL Database server name (e.g., `server.database.windows.net`) to that private IP. By creating a private DNS zone (privatelink.database.windows.net) and linking it to VNet-Prod, Azure automatically creates an A record for the private endpoint, ensuring VMs resolve the server name to the private IP instead of the public IP. This is the standard and required configuration for private endpoint name resolution.

Answer analysis

Option-by-option breakdown

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

  • A private DNS zone linked to VNet-Prod

    Why this is correct

    A private DNS zone (privatelink.database.windows.net) linked to VNet-Prod is essential because the SQL server's FQDN must resolve to the private endpoint's IP address within the VNet. When you create a private endpoint, Azure automatically adds an A record in this zone, but only if the zone is linked to the VNet where clients operate. Without that link, name resolution for the FQDN would continue using public DNS, bypassing the private IP and defeating the private endpoint's purpose. This zone and link are the standard mechanism for enabling private name resolution for Azure PaaS services.

  • A user-defined route on the subnet

    Why it's wrong here

    A user-defined route (UDR) on the subnet only influences the next hop for network packets based on the destination IP; it has no effect on how hostnames are resolved to IP addresses. DNS resolution relies on DNS servers and zones — such as the private DNS zone — not on the subnet's routing table. Even if traffic destined to the private endpoint should remain local, the system route already provides the correct next hop, so a UDR is unnecessary for name resolution. Thus, a UDR cannot make the SQL server's FQDN resolve to the private endpoint.

    When this WOULD be correct

    A UDR would be correct if the question asked how to force traffic from VMs to the private endpoint through a firewall or network virtual appliance, or to override the default system route for a specific subnet.

  • An additional public IP address

    Why it's wrong here

    Adding a public IP address is incorrect because private endpoints exclusively use private IP addresses from the virtual network's address space, and they do not require any public-facing IP for DNS resolution. A public IP relates to the public endpoint of the SQL Database server, which you typically want to disable when enforcing a private connection. DNS resolution for the private endpoint is handled by the private DNS zone, not by any public IP assignment. Attempting to add a public IP would not change DNS records or route traffic to the private endpoint.

    When this WOULD be correct

    When you need to provide outbound internet connectivity from a subnet that lacks a default route, such as for a NAT gateway or a load balancer's outbound rules.

  • A Recovery Services vault

    Why it's wrong here

    Azure Recovery Services vault is a component for backup and site recovery workloads, providing storage and management for recovery points, not for DNS resolution or network connectivity. It has no role in mapping hostnames to IP addresses and cannot influence private endpoint name resolution. The vault operates at the control-plane level for data protection services and is entirely separate from the data-plane networking features used by private endpoints. Therefore, it is irrelevant to the requirement of resolving the SQL server's FQDN to the private endpoint.

    When this WOULD be correct

    You need to protect Azure SQL Database by enabling backup and restore operations, and you must store backup data in a Recovery Services vault with geo-redundancy.

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.

A private DNS zone linked to VNet-ProdCorrect answer

Why this is correct

A private DNS zone (privatelink.database.windows.net) linked to VNet-Prod is essential because the SQL server's FQDN must resolve to the private endpoint's IP address within the VNet. When you create a private endpoint, Azure automatically adds an A record in this zone, but only if the zone is linked to the VNet where clients operate. Without that link, name resolution for the FQDN would continue using public DNS, bypassing the private IP and defeating the private endpoint's purpose. This zone and link are the standard mechanism for enabling private name resolution for Azure PaaS services.

A user-defined route on the subnetWrong answer — click to see why

Why this is wrong here

A user-defined route (UDR) controls network traffic flow, not DNS resolution. The question requires name resolution to the private IP, which is handled by DNS, not routing.

★ When this WOULD be the correct answer

A UDR would be correct if the question asked how to force traffic from VMs to the private endpoint through a firewall or network virtual appliance, or to override the default system route for a specific subnet.

Why candidates choose this

Candidates may confuse routing with DNS resolution, thinking that directing traffic via a UDR will also resolve names, or they may assume that private endpoints require custom routes to function.

An additional public IP addressWrong answer — click to see why

Why this is wrong here

An additional public IP address does not enable private name resolution; it would expose the SQL Database via a public endpoint, defeating the purpose of the private endpoint.

★ When this WOULD be the correct answer

When you need to provide outbound internet connectivity from a subnet that lacks a default route, such as for a NAT gateway or a load balancer's outbound rules.

Why candidates choose this

Candidates may think a public IP is needed for connectivity, misunderstanding that private endpoints use private IPs and require DNS resolution, not public IPs.

A Recovery Services vaultWrong answer — click to see why

Why this is wrong here

A Recovery Services vault is used for backup and disaster recovery (e.g., Azure Backup, Site Recovery), not for DNS resolution or private endpoint connectivity.

★ When this WOULD be the correct answer

You need to protect Azure SQL Database by enabling backup and restore operations, and you must store backup data in a Recovery Services vault with geo-redundancy.

Why candidates choose this

Candidates may confuse 'Recovery Services' with 'DNS resolution' or think it provides network recovery features, but it is unrelated to private endpoint name resolution.

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?”

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr 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

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.