Private Endpoints & Service Endpoints: AZ-500 Deep Dive
Private Endpoints and Service Endpoints both restrict Azure PaaS access to your VNet, but they work completely differently. The AZ-500 exam tests which to use when, and Private DNS Zone configuration is a favourite question topic.
Service Endpoints vs Private Endpoints
| Feature | Service Endpoints | Private Endpoints |
|---|---|---|
| Traffic path | Stays on Azure backbone, exits via public IP | Private IP in your VNet: never uses public IP |
| DNS | Service resolves to public FQDN | Service resolves to private IP via Private DNS Zone |
| Cost | Free | Charged per endpoint plus data processing |
| Access from on-premises | No (VNet only) | Yes (via ExpressRoute/VPN) |
Private Endpoint Architecture
A Private Endpoint creates a NIC in your subnet with a private IP. Azure maps the service's public FQDN to this private IP via a Private DNS Zone.
Required setup:
- Create the Private Endpoint (NIC is injected into your subnet)
- Create a Private DNS Zone (for example, privatelink.blob.core.windows.net for Storage)
- Link the Private DNS Zone to your VNet
- Add an A record: storage-account-name to private IP
When to Use Which
Use Service Endpoints when:
- You only need VNet-to-service traffic (on-premises is not a requirement)
- Cost is a concern
- The service is in the same region
Use Private Endpoints when:
- On-premises systems need to reach the service
- You need the service to be completely removed from the public internet
- Regulatory requirements mandate private-only connectivity
Exam Trap: Disabling Public Access
Setting a Storage Account to "Disable public network access" means ALL traffic including from trusted VNets via Service Endpoints is blocked. Only Private Endpoint traffic bypasses this restriction.
Get weekly security insights
Cloud security, zero trust, and identity guides — straight to your inbox.
Microsoft Cloud Solution Architect
Cloud Solution Architect with deep expertise in Microsoft Azure and a strong background in systems and IT infrastructure. Passionate about cloud technologies, security best practices, and helping organizations modernize their infrastructure.
Questions & Answers
Related Articles
Need Help with Your Security?
Our team of security experts can help you implement the strategies discussed in this article.
Contact Us