Bitzu

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

Single choice

What does a private endpoint give an Azure service such as a storage account?

  1. A private IP address from your virtual network
  2. A new public IP address in your subscription
  3. A dedicated physical circuit to your office
  4. 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.

Select all that apply

From where can clients connect to a private endpoint?

  1. The same virtual network
  2. Peered virtual networks, including global peering
  3. On-premises over VPN or ExpressRoute
  4. Any internet host with no VPN
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More AZ-900 topics in this module