Study guide

8.7 Connectivity Troubleshooting Case Lab

AZ-104 Microsoft Azure Administrator Study Guide Exam

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Exam Orientation and Microsoft Learn Source Control

1.1 Current AZ-104 Exam Facts 1.2 Administrator Role and Candidate Profile 1.3 Skills Outline and Weighted Study Map 1.4 Exam Duration, Question Types, Labs, and Learn Access 1.5 Scoring, Retakes, Renewal, and Account Choice 1.6 Using the Practice Bank, Labs, and Error Log

2 Chapter 2: Identity, RBAC, and Governance Foundations

2.1 Microsoft Entra Users, Groups, and Properties 2.2 Licenses, External Users, and SSPR 2.3 Azure RBAC Built-In Roles and Scopes 2.4 Role Assignment Interpretation and Deny Effects 2.5 Management Groups, Subscriptions, and Resource Groups 2.6 Azure Policy, Locks, Tags, and Governance Controls 2.7 Identity and Governance Case Lab

3 Chapter 3: Subscriptions, Policy, Costs, and Resource Organization

3.1 Subscription Design and Management Groups 3.2 Resource Groups, Lifecycle, and Move Operations 3.3 Tagging Strategy and Cost Allocation 3.4 Budgets, Alerts, and Azure Advisor Cost Recommendations 3.5 Policy, Initiative, Assignment, and Remediation 3.6 Resource Locks, RBAC, Policy, and Tags Combined 3.7 Governance and Cost Case Lab

4 Chapter 4: Storage Accounts, Access, and Data Protection

4.1 Storage Account Design, Redundancy, and Encryption 4.2 Storage Firewalls, Private Access, and Network Rules 4.3 SAS Tokens, Stored Access Policies, and Access Keys 4.4 Identity-Based Access for Azure Files 4.5 Blob Tiers, Lifecycle, Soft Delete, and Versioning 4.6 Azure Files, Snapshots, File Sync, and AzCopy 4.7 Storage Case Lab

5 Chapter 5: Compute, Virtual Machines, Scale Sets, and Bicep

5.1 ARM Templates, Bicep, and Deployment Workflow 5.2 Create, Configure, and Manage Virtual Machines 5.3 VM Disks, Sizes, Encryption, and Host Settings 5.4 Availability Zones, Sets, and VM Scale Sets 5.5 Move VMs Across Resource Groups, Subscriptions, and Regions 5.6 Backup, Restore, and Operational Maintenance for VMs 5.7 VM Compute Case Lab

6 Chapter 6: Containers, App Service, and Platform Compute

6.1 Azure Container Registry and Image Workflow 6.2 Azure Container Instances and Container Apps 6.3 Container Sizing, Scaling, and Environment Choices 6.4 App Service Plan, Apps, and Runtime Configuration 6.5 App Service Certificates, TLS, Custom Domains, and Networking 6.6 App Service Backups, Deployment Slots, and Scaling 6.7 Platform Compute Case Lab

7 Chapter 7: Virtual Networking, Routing, and Secure Access

7.1 VNet, Subnet, and Address Space Design 7.2 VNet Peering and Cross-Network Connectivity 7.3 Public IP Addresses and NAT Patterns 7.4 User-Defined Routes and Effective Routes 7.5 NSGs, ASGs, and Effective Security Rules 7.6 Azure Bastion, Service Endpoints, and Private Endpoints 7.7 Secure Networking Case Lab

8 Chapter 8: Name Resolution, Load Balancing, and Connectivity Troubleshooting

8.1 Azure DNS, Private DNS, and Name Resolution 8.2 Public and Internal Load Balancer Design 8.3 Backend Pools, Health Probes, and Load Balancing Rules 8.4 Load Balancing Troubleshooting Workflow 8.5 Network Watcher: IP Flow, Next Hop, and Connection Troubleshoot 8.6 Hybrid Connectivity, VPN, ExpressRoute, and DNS Considerations 8.7 Connectivity Troubleshooting Case Lab

9 Chapter 9: Monitoring, Alerting, Backup, and Site Recovery

9.1 Azure Monitor Metrics, Logs, and Diagnostic Settings 9.2 Log Analytics, KQL, and Operational Queries 9.3 Alert Rules, Action Groups, and Alert Processing Rules 9.4 VM, Storage, and Network Insights 9.5 Recovery Services Vault, Backup Vault, and Backup Policies 9.6 Azure Site Recovery, Failover, and Replication 9.7 Monitoring and Recovery Case Lab

10 Chapter 10: AZ-104 Integration and Troubleshooting Case Labs

10.1 Domain Weight Triage and Study Prioritization 10.2 Identity, Storage, and Compute Integrated Cases 10.3 Networking, Monitoring, and Security Integrated Cases 10.4 Migration, Move, Backup, and Recovery Cases 10.5 Permissions, Network, and Storage Troubleshooting Chain 10.6 Microsoft Learn Lookup Strategy Under Time Pressure 10.7 Full-Domain Case Lab

11 Chapter 11: Final Review, Exam Experience, Renewal, and Career Path

11.1 Final Two-Week Study Plan 11.2 Hands-On Lab Checklist and Command Review 11.3 Exam Day, Pearson VUE, Breaks, and Learn Access 11.4 Retake Plan, Score Report, and Weak-Domain Repair 11.5 Renewal Assessment and Annual Certification Maintenance 11.6 After AZ-104: AZ-305, AZ-400, SC-500, and Job Paths

8.7 Connectivity Troubleshooting Case Lab

Key Takeaways Explain This Topic AI

Case labs require correlating symptoms across DNS, private endpoints, load balancers, NSGs, routes, and guest OS configuration.

The fastest path is to identify the failing scope: one client, one subnet, one backend, one protocol, or all users.

Use a hypothesis tree and prove each layer with a command or portal check before changing production settings.

Document the expected path and compare it to observed DNS, route, security, and application behavior.

AZ-104 case studies often include extra facts; focus on the recent change and the specific failing flow.

Last updated: May 2026

Lab scenario

You administer a hub-and-spoke Azure environment. The hub VNet contains Azure Firewall, a VPN gateway to the datacenter, and DNS forwarders. The spoke VNet contains two web VMs behind a public Standard Load Balancer, two API VMs behind an internal Standard Load Balancer, and a storage account accessed through a private endpoint. On-premises users connect over site-to-site VPN.

Three incidents arrive after a weekend change window:

Internet users intermittently receive errors from www.contoso.com .

Web VMs cannot connect to api.corp.internal by name, but one administrator says the API VMs are running.

On-premises users cannot access the storage account by its normal blob FQDN after public network access was disabled.

Your job is to identify the most likely layer for each incident and choose diagnostics that prove the cause.

Build the expected path

Before testing, write the expected path. This is a professional habit and an exam advantage.

Flow Expected DNS result Expected network path Main controls

Internet to www.contoso.com Public IP of public load balancer Internet to public frontend to healthy web backend Public DNS, load balancer rule, probe, NSG, app listener

Web VM to api.corp.internal Private IP of internal load balancer Spoke subnet to internal frontend to healthy API backend Private DNS, load balancer rule, probe, NSG, routes

On-premises to storage blob FQDN Private endpoint IP VPN to hub or spoke path to private endpoint Conditional DNS forwarding, private DNS, VPN routes, firewalls, storage firewall

This table keeps you from confusing incidents. A public web error is not automatically related to the storage private endpoint. An API name failure is not solved by changing the public load balancer. Each flow has its own DNS answer, route, and security boundary.

Incident 1: public website intermittent errors

Intermittent public errors through a load balancer often mean some backends are healthy and others are not, session persistence is affecting distribution, or the application dependency fails on only one instance. Start by resolving the public name and confirming it points to the public load balancer frontend. nslookup www.contoso.com

  • curl -v https://www.contoso.com/health
  • az network lb rule list -g rg-network --lb-name lb-web-public -o table

Then inspect backend health. If one web VM fails the probe, the load balancer should avoid it for new flows. If the probe is too shallow, it may mark a VM healthy even when the real app path fails. For example, a TCP probe on port 443 can pass while the app returns HTTP 500 because a local dependency is broken. An HTTP probe to /health gives a better signal when implemented correctly.

Troubleshooting tree: Intermittent errors through public load balancer

|-- Does DNS point to the public frontend IP?

| |-- No: fix public DNS record or TTL issue.

| |-- Yes: continue.

|-- Are all backend probes healthy?

| |-- No: inspect failed backend listener, path, NSG, and app logs.

| |-- Yes: continue.

|-- Does each backend return the same app version and dependencies?

| |-- No: fix deployment drift or dependency configuration.

| |-- Yes: inspect client affinity, logs, and downstream services.

Do not remove the load balancer. Prove whether the issue follows a backend. Direct tests to each backend from a management subnet can reveal version drift or a stopped service.

Incident 2: internal API name failure

The phrase cannot connect by name is a clue. First test name resolution from a web VM, not from your laptop. The expected answer is the internal load balancer private frontend IP. nslookup api.corp.internal

  • Test-NetConnection api.corp.internal -Port 8443
  • az network private-dns record-set a show -g rg-network -z corp.internal -n api

If DNS fails or returns an old IP, check the private DNS zone and VNet links. If DNS returns the internal load balancer IP, move to the load balancer rule and probe. The API load balancer should have a rule for the expected protocol and port, a backend pool with both API VMs, and a probe that matches the API health endpoint.

  • Use Network Watcher when Azure controls are suspect: az network watcher test-ip-flow \
  • g rg-network \
  • -vm vm-api-1 \
  • -direction Inbound \
  • -protocol TCP \
  • -local 10.30.2.4:8443 \
  • -remote 10.20.2.4:52000
  • az network watcher show-next-hop \
  • g rg-network \
  • -vm vm-web-1 \
  • -source-ip 10.20.2.4 \
  • -dest-ip 10.30.1.10

If IP flow verify denies the app port, fix the NSG. If next hop points to a firewall when you expected direct VNet routing, check UDRs and firewall policy. If both are correct, test the app listener on each API VM.

Incident 3: on-premises storage private endpoint failure

This incident includes the recent change: public network access was disabled. That makes private endpoint DNS the prime suspect. From an on-premises client, the storage blob FQDN must resolve to the private endpoint IP, not a public address. nslookup mystorage.blob.core.windows.net

Test-NetConnection mystorage.blob.core.windows.net -Port 443

If the FQDN resolves publicly from on-premises, fix conditional forwarding or enterprise DNS records for the private endpoint zone. If it resolves to the private endpoint IP, inspect VPN routes, Azure Firewall rules, NSGs if applicable, and storage firewall settings. Also confirm the private endpoint connection is approved and the private DNS zone group has the correct record.

Decision tree: On-premises cannot reach storage after public access disabled

|-- Does storage FQDN resolve to private endpoint IP from on-premises?

| |-- No: fix conditional forwarding to Azure private DNS or create correct internal records.

| |-- Yes: continue.

|-- Does VPN route on-premises traffic to the private endpoint subnet?

| |-- No: fix routes, BGP, or local network gateway prefixes.

| |-- Yes: continue.

|-- Do firewalls allow TCP 443 to the private endpoint IP?

| |-- No: update Azure Firewall or on-prem firewall rule.

| |-- Yes: inspect private endpoint approval, storage firewall, and service logs.

How to answer case-study questions

In a Microsoft exam case study, not every fact is equally important. Highlight the failing source, destination, protocol, and recent change. Then map the symptom to the layer. By IP works, by name fails means DNS. One subnet works, another fails means VNet link, NSG, route, or firewall scope. One backend fails means probe, backend membership, guest firewall, app listener, or deployment drift. After public access was disabled means private endpoint path and DNS.

Use the smallest fix that satisfies the requirement. If the private DNS zone is not linked to the spoke VNet, link it; do not recreate the storage account. If the probe path is wrong, update the probe; do not scale the VM. If an NSG denies the app port, add a precise allow rule; do not remove the NSG.

Administrator checklist For every connectivity incident, capture:

- Source IP, subnet, and network location.

- Destination FQDN, expected IP, protocol, and port.

- Actual DNS result from the affected source.

- Effective route or next hop from the source or backend.

- NSG decision for the flow.

- Load balancer frontend, rule, backend pool, and probe state if applicable.

- Guest OS listener and firewall state.

- Recent changes to DNS, routes, NSGs, private endpoints, or app deployment.

This checklist is intentionally repetitive. Connectivity problems are solved by proving the path, not by memorizing one favorite command. In AZ-104, the correct answer is often the diagnostic that isolates the layer, not the most dramatic configuration change.