cert
cert-1
cert-2

Pass Microsoft AZ-104 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
AZ-104 Exam - Verified By Experts
AZ-104 Premium Bundle
$29.98

AZ-104 Premium Bundle

$79.99
$109.97
  • Premium File 606 Questions & Answers. Last update: Oct 30, 2026
  • Training Course 132 Video Lectures
  • Study Guide 458 Pages
 
$109.97
$79.99
accept 453 downloads in last 7 days
block-screenshots
Purchase Microsoft AZ-104 Exam Training Products Individually
Microsoft AZ-104 Premium File
Premium File 606 Q&A
$76.99$69.99
Microsoft AZ-104 Video Training Course
Training Course 132 Lectures
$21.99 $19.99
Microsoft AZ-104 PDF Study Guide
Study Guide 458 Pages
$21.99 $19.99
Microsoft AZ-104 Practice Test 8

Question 70

A spoke VNet must use a central hub's virtual network gateway for on-premises connectivity. Which peering settings should be examined?

  1. Hub gateway transit and spoke use-remote-gateways settings, within their supported constraints
  2. A blob SAS expiry time
  3. Entra self-service password reset
  4. Azure Cost Management tags

Explanation

Correct Answer

A:

A hub-spoke gateway transit design requires the hub to allow gateway transit and the spoke to use the remote gateway where supported. Check peer relationship, gateway prerequisites and route propagation; remote gateway use has constraints.

Incorrect Answers

B:

Blob SAS timing controls delegated storage access. It has no effect on VNet gateway path selection for on-premises routing.

C:

Password reset settings are part of identity recovery and do not expose the hub gateway to a spoke's routing table.

D:

Cost tags classify resources but cannot enable peering gateway transit or inherited routing.

Question 71

A VM subnet must route selected outbound traffic through an inspection appliance at 10.0.2.4. Which TWO route-configuration actions are required? Choose TWO.

  1. Create a route table containing a user-defined route with virtual-appliance next hop 10.0.2.4
  2. An Azure Container Registry
  3. An Entra group-based license
  4. A blob lifecycle management policy
  5. Associate that route table with the VM's subnet

Explanation

Correct Answers

A:

The route's destination prefix and virtual appliance next hop determine which traffic should be steered to the firewall. A route definition without subnet association does not alter the VM's effective routes.

E:

Subnet association applies the user-defined route to the affected NICs. Validate the appliance's IP forwarding and return path so the custom route does not blackhole traffic.

Incorrect Answers

B:

Container Registry hosts application images and does not override VNet route selection for VM subnet traffic.

C:

Group licensing assigns user product entitlements, not network forwarding behavior. It cannot select an IP next hop.

D:

Blob lifecycle rules control storage data retention/tiering and have no role in sending VM packets through a firewall.

Question 72

A VM should have a predictable public IPv4 address across its lifecycle for an allowlisted partner connection. Which public IP allocation type should be selected?

  1. Dynamic allocation relying on the current address never changing
  2. Static allocation for a supported Azure public IP resource
  3. An Azure Private DNS A record without a public IP
  4. A VM managed disk snapshot

Explanation

Correct Answer

B:

A static Azure public IP allocation keeps the assigned IP associated with the resource according to the supported SKU/lifecycle rules. Verify region, SKU, outbound/inbound architecture and security controls before exposing the endpoint.

Incorrect Answers

A:

Dynamic assignment is not an appropriate promise of a fixed address for a partner allowlist. Address changes can break an external firewall rule.

C:

Private DNS resolves internal names and does not allocate a public-routable IPv4 address to the VM. It cannot satisfy a partner's internet source allowlist.

D:

Disk snapshots capture data state, not internet address reservations. They have no effect on public IPv4 allocation.

Question 73

A VM can reach its gateway but not a remote subnet after an administrator adds a UDR. Which Azure Network Watcher tool helps inspect the next hop selected for a destination?

  1. Next hop
  2. Connection monitor only as a key rotation tool
  3. An Azure Files snapshot
  4. Group-based license assignment

Explanation

Correct Answer

A:

Network Watcher next hop checks the route chosen from a VM toward a destination and helps determine whether a UDR, system route or appliance path is selected. Pair it with effective routes and packet troubleshooting.

Incorrect Answers

B:

Connection monitor tests end-to-end reachability, but it is not a storage-key rotation feature and does not specifically identify a chosen next-hop route.

C:

File snapshots preserve data and cannot show a VM's effective routing decision. They are unrelated to packet forwarding.

D:

Entra group licensing does not influence virtual network routes. It cannot diagnose a destination next hop.

Question 74

An Azure VM is moved to a subnet with different routing and NSG rules. Users report dropped traffic, but the VM's operating system firewall was unchanged. What should be inspected first?

  1. Effective NSG security rules and effective routes for the VM NIC/subnet
  2. The Blob Storage hot-tier price
  3. The tenant's Microsoft 365 license pool
  4. The timestamp of the last Azure Files snapshot

Explanation

Correct Answer

A:

Subnet reassignment changes the network policy and routing context seen by the NIC. Review effective security rules, source/destination prefixes and selected routes before changing unrelated operating system settings.

Incorrect Answers

B:

Blob tier pricing affects data cost, not a VM's network flow after joining another subnet. It cannot explain packet filtering.

C:

License pools grant Microsoft service access to users, not TCP reachability for a VM attached to a different subnet.

D:

A file-share snapshot records historical data and does not determine the NIC's effective network rules or routes.

Question 75

Two application VMs in the same subnet should be allowed to communicate on TCP 443, while inbound internet connections to their SSH port must be denied. Which security construct is most directly suited?

  1. An NSG with appropriate priority inbound rules
  2. A blob archive tier change
  3. A VM backup vault
  4. An Azure Policy initiative without any network rules

Explanation

Correct Answer

A:

An NSG evaluates five-tuple network traffic by direction and priority. Configure precise source/destination and port rules, account for default rules, and test effective NIC/subnet security before exposing services.

Incorrect Answers

B:

Blob archive tier affects offline data retrieval and cannot filter TCP connections to VMs. It is a storage setting.

C:

Backup vaults protect recovery points rather than traffic admission. A backed-up VM can still receive unauthorized network connections.

D:

Policy can audit or require network settings, but an initiative alone does not act as a packet-filtering rule for current traffic.

Question 76

A network security group contains a priority-100 deny rule and a priority-200 allow rule matching the same inbound packet. What occurs?

  1. The priority-200 allow wins because higher numbers have precedence
  2. The priority-100 deny takes precedence, so the packet is blocked
  3. The two rules cancel and traffic bypasses the NSG
  4. The decision is based on the alphabetical rule name

Explanation

Correct Answer

B:

The lower number has higher precedence; the matching deny at 100 is applied before 200. Review effective rules if another NSG is also associated with the subnet or NIC.

Incorrect Answers

A:

Azure NSGs process rules by priority with lower numeric values evaluated first. A priority-200 allow cannot override an earlier matching deny.

C:

Conflicting rules do not cancel into an unrestricted bypass. Azure evaluates an ordered policy rather than combining actions mathematically.

D:

Rule names aid administrators but do not define evaluation order. Priority, direction, protocol, address and port predicates determine the outcome.

Question 77

An administrator must allow a web-tier group to reach database-tier VMs without maintaining a changing list of private addresses. Which NSG feature is suitable?

  1. Application security groups referenced in NSG rules
  2. Subscription resource locks
  3. Azure Files share snapshots
  4. An Azure managed identity password

Explanation

Correct Answer

A:

Application security groups logically group eligible VM network interfaces and can be used as sources or destinations in NSG rules. This simplifies tier-based security when individual VM addresses change.

Incorrect Answers

B:

Resource locks protect against certain management changes, not network packet classification by application tier. They do not replace NSG selectors.

C:

Share snapshots capture files for recovery and cannot identify VM groups in firewall rules.

D:

Managed identities do not expose reusable passwords for grouping NICs. Identity-based authentication and network-layer packet filtering are separate concerns.

Question 78

A Standard Azure Load Balancer backend VM stops passing its TCP 8080 health probe after a higher-precedence inbound NSG deny rule is added. Internet clients must remain restricted. Which narrowly scoped NSG exception restores the probe?

  1. Add an earlier inbound NSG allow from the AzureLoadBalancer service tag to the health-probe TCP port 8080.
  2. Permit inbound TCP 8080 from the Internet service tag to every backend VM regardless of probe source.
  3. Assign a public IP to each backend VM so Azure health probes bypass all NSG rules.
  4. Add an outbound-only NSG allow for the AzureLoadBalancer service tag and leave the inbound deny unchanged.

Explanation

Correct Answer

A:

The AzureLoadBalancer service tag represents Azure health-probe source traffic, including 168.63.129.16. A narrow inbound allow for the configured probe port must be evaluated before the broader deny; ordinary Internet sources remain restricted.

Incorrect Answers

B:

Allowing arbitrary Internet sources to the probe port exposes the backend service unnecessarily. Limit the exception to Azure Load Balancer probe sources and the configured destination port, not the full Internet service tag.

C:

A public IP address is not required for Azure Load Balancer backend health probes and does not bypass subnet or NIC NSG policy. Restore the permitted health-probe flow instead of widening VM exposure.

D:

Probe packets arrive inbound at the backend. An outbound-only allow does not override an earlier matching inbound deny; an inbound rule with sufficient precedence and the correct probe source is needed.

Question 79

A supported Azure PaaS service must be reachable using a private IP from a VNet while its public endpoint is unavailable. Which THREE configuration steps meet this requirement? Choose THREE.

  1. Create a Private Link private endpoint in an appropriate subnet
  2. Only a service endpoint with the service's public hostname treated as a private IP
  3. A public VM IP and open NSG inbound rule
  4. An Azure Policy exemption
  5. Configure the applicable private DNS zone and VNet link
  6. Disable public network access on the service once private connectivity is validated

Explanation

Correct Answers

A:

The private endpoint adds a private network interface for the PaaS resource to the VNet. This differs from service endpoints, which do not allocate the resource a private IP in the subnet.

E:

Clients must resolve the PaaS service hostname to the private endpoint address rather than a public endpoint. Use the correct service-specific private DNS zone and validate resolution from the calling subnet.

F:

A private endpoint alone does not guarantee the public path is disabled. Enforcing service-side public network restrictions completes the requirement to make the PaaS resource available only through approved private paths.

Incorrect Answers

B:

A service endpoint enhances a VNet subnet's identity for supported Azure services but does not provide a private IP address for the service itself. It is distinct from Private Link.

C:

Exposing a public IP conflicts with disabled public network access. Opening an NSG rule does not create a supported private PaaS endpoint.

D:

Policy exemptions govern compliance applicability and are not networking endpoints. They do not provide a private IP for service data traffic.

Question 80

An administrator enables a service endpoint to Azure Storage on a particular subnet, then restricts the storage firewall to that subnet. What is the key property of this design?

  1. The storage service is assigned a new private endpoint IP automatically
  2. The service can identify and authorize traffic originating from the approved VNet subnet over the supported endpoint route
  3. All storage account keys are revoked automatically
  4. VNet peering becomes transitive

Explanation

Correct Answer

B:

A service endpoint extends the subnet identity to supported Azure PaaS networking, allowing the storage account firewall to restrict access to that selected subnet. DNS and route behavior still differ from Private Link.

Incorrect Answers

A:

Service endpoints do not by themselves create the private IP interface that a Private Link endpoint supplies. The storage service continues to be addressed using its service endpoint architecture.

C:

Network configuration and account-key rotation are separate security controls. Enabling a service endpoint does not inherently revoke Shared Key credentials.

D:

A service endpoint is unrelated to VNet peering transitivity. Connecting two VNets through a hub needs explicit routing design.

Microsoft Azure Administrator (AZ-104) Practice Tests