Courseiva
Back to AZ-104 questions

Scenario-based practice

Refer to the Exhibit Practice Questions

Practise AZ-104 practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

15
scenario questions
AZ-104
exam code
Microsoft
vendor

Scenario guide

How to approach refer to the exhibit practice questions

Practise exhibit-style questions that ask you to read a topology, table, command output or diagram before choosing the best answer.

Quick answer

Exhibit-style questions test whether you can read a topology, command output, diagram or table before choosing the best answer.

How to extract the relevant detail from an exhibit.

How topology, command output or routing information affects the answer.

How to avoid answering from memory before reading the evidence.

How to map the exhibit back to the exam objective.

Related practice questions

Related AZ-104 topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1mediummultiple choice
Full question →

Based on the exhibit, which Network Watcher tool should you use to determine whether an NSG allows or denies TCP 1433 traffic and which rule is responsible?

Exhibit

Troubleshooting notes:
- Source VM: vm-app01
- Destination VM: vm-sql01
- Port: TCP 1433
- Symptom: Connection times out
- Goal: Verify whether the packet is allowed or denied by NSG rules and identify the rule name
- Need a point-in-time check from the VM NIC perspective
Question 2mediummultiple choice
Full question →

Based on the exhibit, which identity approach should be used so all three virtual machines can reuse the same Azure access without sharing secrets?

Exhibit

Deployment note:
- vm-app1 is in rg-web
- vm-app2 is in rg-api
- vm-app3 is in rg-batch
- All three VMs must read from the same storage account
- The identity must keep working if one VM is reimaged or replaced
- Access should be granted once and then reused by all three VMs
Question 3mediummultiple choice
Full question →

Based on the exhibit, what should you do so the report can open the file tomorrow morning?

Exhibit

Blob properties:
Name: monthly-finance.csv
Access tier: Archive
Archive status: none
Last modified: 2026-04-10
Application log:
12:05 UTC - Job started
12:06 UTC - Download failed: Blob is currently archived and must be rehydrated before it can be read.
Business requirement: analysts must open the file in Excel tomorrow morning.
Question 4easymultiple choice
Full question →

Based on the exhibit, the administrator cannot create VNet peering between the hub and spoke networks. What should be changed?

Exhibit

HubVNet address space: 10.40.0.0/16
SpokeVNet address space: 10.40.1.0/24
Peering status: Failed
Error: Virtual network address space overlaps with another peered network
Question 5easymultiple choice
Full question →

Based on the exhibit, a policy assigned at the subscription denies storage accounts that allow public network access. One existing storage account in RG-Legacy must remain publicly reachable for 30 days while a migration is completed. What should the administrator use?

Exhibit

Policy compliance details

Assignment name: Deny-Public-Storage
Scope: Subscription / Contoso-Prod
Effect: Deny
Condition: Microsoft.Storage/storageAccounts/publicNetworkAccess = 'Enabled'
Compliance state:
- stapp01: Non-compliant, creation denied
- stlegacy01: Non-compliant, existing exception requested by application team
Request note:
- Keep stlegacy01 publicly reachable until migration is complete
- Do not change the policy for all other resources
Question 6easymultiple choice
Full question →

Based on the exhibit, the business wants two Azure VMs to stay available if a host is patched or fails. A full datacenter outage is not part of the requirement. What should you use?

Exhibit

Workload notes:
- Region: East US
- Two application VMs will run in the same region
- Requirement: survive planned host maintenance and a host failure
- Requirement: no need for datacenter-level resilience
Question 7hardmultiple choice
Full question →

Based on the exhibit, where should you assign the Reader role so the Auditors group can read every current and future resource in the Sales subscription, including resource groups created later, while not granting access to the Research subscription?

Exhibit

Tenant hierarchy:
- Corp (management group)
  - Sales (subscription)
    - RG-Web
    - RG-Data
  - Research (subscription)
    - RG-Lab

Requirement from the business owner:
- Auditors must view all resources in Sales.
- Any new resource group created under Sales must also be covered.
- Auditors must not see resources in Research.
Question 8easymultiple choice
Full question →

Based on the exhibit, which OS disk option best fits a development VM that is rebuilt often and does not need the disk contents to survive deallocation?

Exhibit

Development environment notes:
- The VM is recreated frequently from an image
- The OS disk contents do not need to be preserved after the VM is deallocated
- The team wants the lowest practical OS disk latency
- Data durability is not the top priority for this VM
Question 9easymultiple choice
Full question →

Based on the exhibit, a shared resource group contains a production virtual machine and a storage account. Administrators must be able to update settings, but they must not be able to delete either resource by mistake. Which lock should be applied at the resource group scope?

Exhibit

Resource group: RG-Prod-Shared
Resources:
- prodvm01 (Microsoft.Compute/virtualMachines)
- prodstore01 (Microsoft.Storage/storageAccounts)

Change control note:
- Updates must still be allowed
- Accidental deletion must be prevented
- Lock should apply to both resources in the group
Question 10easymultiple choice
Full question →

Based on the exhibit, a compliance dashboard shows that several storage accounts are marked noncompliant because they do not have the required tag. The policy itself is correct, but one business unit needs a temporary exception for a single resource group during a merger. What should the administrator configure?

Exhibit

Compliance report excerpt

Policy assignment: Require-department-tag
Scope: corp-root management group
Effect: Deny
Noncompliant resources:
- rg-merger01/storage accounts
- rg-merger02/storage accounts
Exception request:
- Allow only resource group rg-merger01 to bypass this policy for 45 days
- Keep the policy active for everyone else
Question 11easymultiple choice
Full question →

Based on the exhibit, where should the administrator go next to review the failed backup job details?

Exhibit

Recovery Services vault > Jobs
Last 24 hours:
- Backup job: Succeeded
- Backup job: Failed
- Restore job: In progress
Need: Review the error details for the failed backup job
Question 12mediummultiple choice
Full question →

Based on the exhibit, the Prod management group contains three subscriptions that host application workloads. An operations group must be able to read all current and future resources in those Prod subscriptions, but it must not have access to Sandbox. Where should you assign the Reader role?

Exhibit

Management group layout:
- Corp
  - Prod
    - AppSub1
    - AppSub2
    - AppSub3
  - Sandbox
    - DevSub1
Requirement:
- OpsGroup must read everything in Prod only
- New subscriptions added under Prod should inherit access automatically
Question 13easymultiple choice
Full question →

Based on the exhibit, why is the administrator's HTTPS test still being denied, and what should be changed?

Exhibit

Inbound NSG rules for Subnet-Prod:
Priority 200: Deny-HTTPS-Internet | Source: Internet | Destination: Any | Port: 443 | Action: Deny
Priority 250: Allow-HTTPS-Admin | Source: 203.0.113.20/32 | Destination: Any | Port: 443 | Action: Allow
Observed result: Traffic from 203.0.113.20 to the VM on TCP 443 is blocked.
Question 14easymultiple choice
Read the full VPN explanation →

Based on the exhibit, the VPN gateway deployment fails during validation. What resource is missing?

Exhibit

Azure portal validation output:
Resource group: rg-network
Virtual network: vnet-hub
Subnet: GatewaySubnet exists
Error: The virtual network gateway requires a public IP address to terminate VPN connections.
Question 15mediummultiple choice
Read the full VPN explanation →

Based on the exhibit, a site-to-site VPN gateway deployment fails. What prerequisite should the administrator provide so the gateway can be created successfully?

Exhibit

Gateway deployment validation output:
GatewaySubnet: Present
Gateway type: VPN
VPN type: Route-based
Validation error: A public IP address resource must be specified for the gateway.
Current gateway configuration: No public IP attached.

These AZ-104 practice questions are part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style AZ-104 questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.