Microsoft Azure Administrator · Difficulty

Hard AZ-104 practice questions

Challenge — multi-step scenarios, trade-offs, and subtle distinctions. 10 hard questions available — no sign-up, always free.

Question 1 of 10

Your company has a resource group named RG-Finance that contains several virtual machines. A new team member, Dana, needs to be able to start, stop, and restart all virtual machines in RG-Finance, but must NOT be able to create or delete VMs, modify VM configurations, or manage any other resource types in the resource group. You want to follow the principle of least privilege using built-in roles only. What should you do?

Reviewed for accuracy · Report an issue
Question 2 of 10

Your company has an on-premises DNS server and an Azure VNet named VNet1. You deploy several Azure VMs into VNet1 that must resolve records hosted in an Azure Private DNS zone named corp.contoso.internal. On-premises servers must also be able to resolve names in this private zone. The Private DNS zone is already linked to VNet1. Which solution enables on-premises servers to resolve records in the Azure Private DNS zone?

Reviewed for accuracy · Report an issue
Question 3 of 10

Your company stores critical documents in a blob container within a general-purpose v2 storage account. An application accidentally overwrote a blob named contract.docx with an incorrect version an hour ago. Blob soft delete is enabled with a 14-day retention period, but blob versioning is NOT enabled on the account. You need to recover the original contents of contract.docx. What should you do?

Reviewed for accuracy · Report an issue
Question 4 of 10

Your organization uses group-based licensing in Microsoft Entra ID. A user named Jordan is a member of two groups: the 'Sales' group, which is assigned an Office 365 E3 license with the 'Exchange Online' service plan enabled, and the 'Contractors' group, which is assigned an Office 365 E3 license with 'Exchange Online' disabled. Jordan is also directly assigned an Office 365 E3 license with all service plans enabled. Which statement correctly describes the resulting license state for Jordan?

Reviewed for accuracy · Report an issue
Question 5 of 10

Your company needs a custom Azure role for a team of support engineers. They must be able to view and restart virtual machines in a resource group, but they must NOT be able to delete virtual machines or change any role assignments. You are defining the JSON for the custom role. Which combination of properties correctly enforces these requirements?

Reviewed for accuracy · Report an issue
Question 6 of 10

Your organization has a management group hierarchy: a root management group named 'Contoso' contains a child management group named 'Production', which contains two subscriptions: 'Sub-A' and 'Sub-B'. You assign an Azure Policy that denies the creation of public IP addresses at the 'Production' management group scope. Separately, a different administrator assigns a policy at 'Sub-A' that explicitly allows public IP address creation. What is the effective outcome when a user attempts to create a public IP address in 'Sub-A'?

Reviewed for accuracy · Report an issue
Question 7 of 10

A web server VM named VM1 resides in subnet Web-Subnet. An NSG named NSG-Subnet is associated with the subnet, and a separate NSG named NSG-NIC is associated with VM1's network interface. Users report that inbound HTTPS (TCP 443) connections to VM1 are failing. NSG-NIC contains a custom inbound rule (priority 100) that allows TCP 443 from any source. NSG-Subnet contains a custom inbound rule (priority 200) that denies TCP 443 from any source, plus a rule (priority 300) allowing TCP 443. Which action will restore inbound HTTPS connectivity to VM1 with the least administrative effort?

Reviewed for accuracy · Report an issue
Question 8 of 10

You manage an Azure public Standard Load Balancer that distributes traffic to two VMs hosting a SQL Server Always On availability group listener. The application must connect to the availability group listener IP, and the backend VMs need to receive traffic addressed to the frontend IP without the load balancer rewriting the destination address. Which load balancing rule setting must you enable to support this configuration?

Reviewed for accuracy · Report an issue
Question 9 of 10

Your company runs a fleet of 8 VMs behind a Standard public Azure Load Balancer. The VMs open many simultaneous outbound connections to an external partner API on a single destination IP and port. Users report intermittent connection failures, and diagnostics show SNAT port exhaustion. Which configuration change most directly resolves the outbound SNAT port limitation?

Reviewed for accuracy · Report an issue
Question 10 of 10

Your company uses Azure RBAC to control access. A user is assigned the Reader role at the subscription scope and the Contributor role at a resource group named RG-Prod within that subscription. The Contributor role is later removed, and a Deny assignment for delete operations is added at the RG-Prod scope. What are the user's effective permissions on a virtual machine inside RG-Prod?

Reviewed for accuracy · Report an issue