AZ-900 ยท Networking
Public and private endpoints
Public endpoints reachable from the internet vs private endpoints that give a service a private IP from a virtual network (Azure Private Link).
Key points
- Public endpoint: address reachable from the internet, protected by firewall rules and authentication.
- Private endpoint (Azure Private Link): network interface in your subnet with a private IP, mapped to one resource.
- Reachable from the same VNet, peered VNets and on-premises (VPN, ExpressRoute); only clients start connections.
- DNS, usually a private DNS zone, must resolve the name to that IP.
- It does not by itself turn off public access.
Source: https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview
Practice questions
What does a private endpoint give an Azure service such as a storage account?
- A private IP address from your virtual network
- A new public IP address in your subscription
- A dedicated physical circuit to your office
- A registered domain name for the service
Show answer
Answer: A. A private IP address from your virtual network
A private endpoint is a network interface with a private IP address taken from your virtual network, which brings the service into that network. It does not add a public IP, a physical circuit, or domain registration.
From where can clients connect to a private endpoint?
- The same virtual network
- Peered virtual networks, including global peering
- On-premises over VPN or ExpressRoute
- Any internet host with no VPN
- The service provider, reaching into your VNet
Show answer
Answer: A. The same virtual network, B. Peered virtual networks, including global peering, C. On-premises over VPN or ExpressRoute
A private endpoint is reachable from the same virtual network, from regionally or globally peered virtual networks, and from on-premises networks connected with VPN or ExpressRoute. An arbitrary internet host has no route to the private IP, and the service provider cannot open connections into your network.
Creating a private endpoint for a storage account automatically blocks all access to the account's public endpoint.
Show answer
Answer: False
False. A private endpoint adds a private IP for the service but does not necessarily restrict public network access. You have to disable or restrict public access separately.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
