Microsoft Azure Administrator (AZ-104) Technical Interview Questions & Answers
Scenario answers hiring managers test in Azure Cloud Engineer interviews: Service vs Private Endpoints, Policy vs RBAC, VNet Peering triage, ZRS vs GRS, and Managed Identities.
Exam Code: AZ-104 · Cloud Admin | Track: Cloud & DevOps | Recommended Course: Microsoft Azure Administrator (AZ-104) Live Course
Technical Interview Questions & Model Answers
1. Explain the exact difference between an Azure Service Endpoint and an Azure Private Endpoint.
Networking
A Service Endpoint keeps the PaaS service on its public IP address while restricting firewall access strictly to traffic arriving from your VNet subnet over the Azure backbone. A Private Endpoint assigns an actual private IP address from inside your VNet subnet NIC via Private Link—allowing even on-premises VPN/ExpressRoute hosts to reach Azure Storage or SQL privately with zero public exposure.
Follow-up tip: Mention Private DNS Zones (`privatelink.blob.core.windows.net`) required for Private Endpoint name resolution.
2. If an engineer has Owner RBAC on a Resource Group, why might they still be blocked from deploying a VM?
Governance & Identity
RBAC grants action authorization ("what API calls the identity may attempt"), whereas Azure Policy enforces resource-state guardrails at the ARM layer. If an Azure Policy denies specific VM SKUs, regions, or missing tags, ARM rejects the deployment regardless of Owner RBAC permissions—and a CanNotDelete Resource Lock similarly blocks deletions until removed.
Follow-up tip: Contrast RBAC (Who/Actions) vs Policy (Compliance Rules) vs Locks (Accidental Change Prevention).
3. How do you troubleshoot when two peered Azure VNets cannot pass traffic between VMs?
Networking
First verify both sides of the peering show Status = Connected (peering is two-way). Next verify non-overlapping CIDR address spaces, inspect effective NSG rules on both NIC and Subnet level, inspect custom User-Defined Routes (UDRs) forwarding packets to an NVA/Firewall, and verify IP Forwarding is enabled on any intermediate firewall NIC.
Follow-up tip: Use Network Watcher IP Flow Verify and Next Hop tools to pinpoint the exact rule dropping packets.
4. When would you recommend ZRS instead of GRS for an enterprise workload?
Storage & DR
ZRS replicates synchronously across three Availability Zones inside a single region with zero RPO on a single-datacenter outage and fits strict data-residency laws (such as GDPR in Germany or Netherlands) where data cannot cross regional borders. GRS adds asynchronous cross-region replication for catastrophic regional disasters but introduces potential RPO lag during failover.
Follow-up tip: Also cite GZRS when both cross-zone zero-RPO HA and cross-region disaster protection are mandated.
5. How do Managed Identities eliminate credential rotation incidents in Azure?
Identity & Security
With a System-Assigned or User-Assigned Managed Identity, Azure issues a short-lived Entra ID token dynamically via the local IMDS endpoint (`169.254.169.254`). Developers never store client secrets or storage keys inside appsettings or GitHub repos, and the underlying certificate credential rotates transparently in the platform.
Follow-up tip: Explain the lifecycle distinction: System-Assigned deletes automatically with the VM/App, while User-Assigned outlives resources and shares across clusters.
6. What is the architectural difference between Azure Load Balancer and Azure Application Gateway?
Compute & Scalability
Azure Load Balancer operates at Layer 4 (TCP/UDP) with ultra-low latency based on IP/Port 5-tuple hashing. Application Gateway operates at Layer 7 (HTTP/HTTPS), enabling URL path routing (`/api` vs `/images`), SSL offloading, cookie affinity, and integrated OWASP Web Application Firewall inspection.
Follow-up tip: Note how multi-region global routing layers Azure Front Door or Traffic Manager above regional gateways.
Frequently Asked Questions
Do Azure hiring managers ask more conceptual definitions or troubleshooting scenarios?
Nearly every mid-to-senior interview focuses on troubleshooting real breaks—such as why VNet peering stops forwarding packets or how Private Endpoints resolve internal DNS.