Scenario PracticeMicrosoft · AZ-104

AZ-104 Which Command Should the Administrator Use Practice Questions

Practise command-choice questions where the task is to identify the correct verification, configuration or troubleshooting command.

Start Scenario Practice

Common Traps on Which Command Should the Administrator Use Practice Questions

  • ·Separate verification commands from configuration commands.
  • ·Read whether the question asks to identify, verify, fix, permit or deny.
  • ·Small command keywords often change the correct answer.

Sample Questions

Practice all 15
1.

You need to connect VNet-Hub and VNet-Spoke so that resources in both virtual networks can communicate privately over the Microsoft backbone. Both virtual networks are in the same region. What should you configure?

Explanation: Virtual network peering provides private connectivity between Azure virtual networks over the Microsoft backbone with low latency. VPN gateways are not required for this same-region scenario.

2.

A team is troubleshooting inbound access to Azure VMs. Match each NSG concept on the left with the most accurate behavior or troubleshooting implication on the right.

Explanation: These pairings reflect how Azure NSGs are actually processed. The lowest priority number is evaluated first, so a priority 100 rule takes precedence over priority 300 when both match. Inbound rules affect traffic entering the protected scope. A NIC NSG applies to one VM, while a subnet NSG applies to all resources in that subnet. Using '*' for source port range matches any source port, and TCP 443 specifically targets HTTPS traffic. Why others are wrong: Alternative pairings usually confuse priority order, traffic direction, or scope. A higher priority number does not win. Inbound rules do not govern outbound traffic. A NIC NSG is not the same as a subnet NSG, because one is per-VM and the other is broader. Limiting only the source port does not constrain the destination service, so it would not specifically represent HTTPS access.

3.

A team has an existing storage account with the public endpoint enabled. They want to allow access only from a specific subnet in a virtual network, but they do not want to create a private endpoint or manage private DNS zones. Which configuration should the administrator use?

Explanation: Service endpoints are the correct choice when you want to limit access to a subnet without moving the storage account to a private endpoint model. They keep the service on its public endpoint but let Azure recognize traffic from the specified subnet as allowed when the storage firewall is configured accordingly. This gives network restriction with less DNS complexity than private endpoints. Why others are wrong: Private endpoints are effective but explicitly excluded by the requirement. SAS tokens do not control subnet membership and cannot replace a network rule. Azure Policy can enforce settings, but it does not itself provide the subnet-to-storage connectivity needed for this scenario.

4.

You need to receive an email when average CPU usage on VM-App01 exceeds 85 percent for 10 minutes. Which Azure Monitor components should you configure?

Explanation: A metric alert can evaluate the CPU metric against a threshold, and an action group can deliver the email notification.

5.

You want to deploy a resource group with Bicep and see the changes Azure plans to make before you apply them. Which command should you run?

Explanation: az deployment group what-if is the correct command because it performs a preview of the deployment outcome. It shows which resources will be created, updated, or deleted without actually applying the changes. That makes it very useful for safer administration, especially when you want to check the effect of a Bicep file before running the real deployment. Why others are wrong: az deployment group create performs the deployment instead of previewing it. az group delete is destructive and unrelated to deployment planning. az vm update only changes a VM resource and does not give you the full what-if analysis for an ARM or Bicep deployment.

Related Topics

command output questionstroubleshootingconfiguration questions

Frequently asked questions

How do "Which Command Should the Administrator Use Practice Questions" appear on the real AZ-104?

Practise command-choice questions where the task is to identify the correct verification, configuration or troubleshooting command. These appear throughout the AZ-104 and require you to apply your knowledge, not just recall facts.

How many scenario questions are on the AZ-104 exam?

Cisco doesn't publish an exact breakdown, but scenario-based questions (especially exhibit and command-output formats) make up a significant portion of the AZ-104. Practicing each scenario type ensures you're ready for any format.

Are these AZ-104 scenario practice questions free?

Yes — all scenario practice on Courseiva is completely free. Sign up for a free account to track your progress and see which scenario types you've mastered.

Ready to practice this scenario type?

Launch a full Which Command Should the Administrator Use Practice Questions session with instant scoring and detailed explanations.

Start Scenario Practice →