Microsoft AZ-104 Practice Test 28
Question 270
An administrator assumes global VNet peering makes every resource region-local and removes cross-region traffic costs. What must be explained?
- Explicitly design forwarded traffic and routes because VNet peering is nontransitive by default.
- Renumber all participating VNets and assume global peering becomes free of interregional traffic charges.
- Review global peering data transfer charges and latency because regions remain separate.
- Enable guest packet forwarding on an unrelated VM and assume it eliminates global peering egress charges.
Explanation
Correct Answer
C:Global peering joins network paths, not physical locations. Cross-region transfer and latency considerations still apply. This matters here because an administrator assumes global VNet peering makes every resource region-local and removes cross-region traffic costs.
Incorrect Answers
A:VNet peering directly connects peers, but does not automatically turn a hub into a transit router for all spokes.
B:CIDR overlap fixes affect reachability, not billing geography. Global VNet peering still carries the applicable cross-region transfer costs and latency considerations.
D:Packet forwarding controls whether a virtual appliance can relay transit traffic; it has no effect on Azure's interregional peering meter. Global VNet peering remains cross-region and its data-transfer charges and latency require separate planning.
Question 271
A spoke VNet already contains its own VPN virtual network gateway. Its administrator tries to select Use remote gateways on a peering to a hub with an ExpressRoute gateway, and Azure rejects the configuration. Which limitation explains the conflict?
- Use a specific partner CIDR route pointing to the NVA instead of changing the entire default route.
- A spoke with its own virtual network gateway cannot simultaneously use the remote hub gateway through the peering; the architecture must choose one supported gateway model.
- Explicitly design forwarded traffic and routes because VNet peering is nontransitive by default.
- Enable Allow forwarded traffic on the spoke peering and assume it removes the existing local-gateway conflict.
Explanation
Correct Answer
B:Gateway-transit configuration allows a spoke without its own virtual network gateway to use the hub gateway where supported. A VNet cannot use a local gateway and a peered remote gateway simultaneously. Redesign the spoke’s gateway arrangement before enabling use-remote-gateways.
Incorrect Answers
A:A scoped UDR affects only matching destinations, keeping unrelated routing unchanged. Overly broad 0.0.0.0/0 routes can affect all egress.
C:VNet peering directly connects peers, but does not automatically turn a hub into a transit router for all spokes. This matters here because a spoke VNet already contains its own VPN virtual network gateway. Its administrator tries to select Use remote….
D:Forwarded-traffic peering settings can permit transit traffic, but they do not permit a VNet to use both its own gateway and a peered remote gateway simultaneously.
Question 272
A spoke VNet cannot reach on-premises despite hub gateway connectivity. What should be checked?
- Run Network Watcher connection troubleshoot or Connection monitor for the source and destination.
- Inspect hub Allow gateway transit and spoke Use remote gateways settings plus effective routes.
- Verify effective default routes and an explicit supported outbound Internet method.
- Configure supported hub routing through an NVA or gateway with allow-forwarded-traffic and UDRs as appropriate.
Explanation
Correct Answer
B:A spoke must opt into supported remote gateway use. Gateway advertisements and route tables also determine reachability. This matters here because a spoke VNet cannot reach on-premises despite hub gateway connectivity.
Incorrect Answers
A:Network Watcher can test reachability and identify routing or filtering causes. ICMP success alone does not guarantee the application port works.
C:Removing a public IP can eliminate an implicit egress path. VNet connectivity alone does not guarantee outbound Internet reachability.
D:Spoke-to-hub peering does not automatically create spoke-to-spoke transitive routing. A routing service or topology change is needed.
Question 273
A network administrator needs to route application subnet traffic through a third-party firewall appliance. Which Azure construct applies?
- Use supported BGP-propagated gateway routes with appropriate virtual network gateway configuration.
- Remove overlapping subnet definitions and choose disjoint CIDR blocks.
- Associate a route table containing the desired user-defined routes with the subnet.
- Create a route table with a user-defined route whose next hop is the virtual appliance IP.
Explanation
Correct Answer
D:UDRs can direct matched destination prefixes to a network virtual appliance. The appliance must be reachable and configured for forwarding.
Incorrect Answers
A:Gateway-learned routes can appear in subnet effective routes under supported propagation and topology. A random public IP rule cannot establish private routing. This matters here because a network administrator needs to route application subnet traffic through a third-party firewall appliance. Which….
B:The /25 occupies part of the /24 range. Azure subnet definitions cannot overlap even if they have different names. This matters here because a network administrator needs to route application subnet traffic through a third-party firewall appliance. Which….
C:User-defined routes can override applicable system routes by prefix specificity and source priority. An NSG rule does not choose next hops.
Question 274
A subnet route table sends traffic to a virtual appliance but packets are dropped. What VM setting is important?
- Inspect effective NSG rules, user-defined routes and guest firewall on both ends.
- Re-enable gateway route propagation where on-premises connectivity is required.
- Inspect the route table's subnet association and effective routes on the VM NIC.
- Enable IP forwarding on the appliance NIC and allow forwarding in the guest OS.
Explanation
Correct Answer
D:The UDR next hop points at an appliance VM, but the VM cannot transit packets merely by owning the next-hop IP. Enable IP forwarding on its Azure NIC and configure the guest OS firewall and routing to forward traffic between interfaces.
Incorrect Answers
A:Peering connectivity does not override security rules or guest firewalls. Connected peering is a network relationship, not authorization to every port. This matters here because a subnet route table sends traffic to a virtual appliance but packets are dropped. What VM setting is important.
B:Suppressing propagated gateway routes can remove learned destinations from effective tables. Custom routing must replace them explicitly if suppression is intentional. This matters here because a subnet route table sends traffic to a virtual appliance but packets are dropped. What VM setting is important.
C:A route table has no effect until associated with the source subnet. Effective route inspection shows the selected next hop. This matters here because a subnet route table sends traffic to a virtual appliance but packets are dropped. What VM setting is important.
Question 275
A security operator must determine why traffic is blocked after multiple NSG assignments. Which built-in view helps?
- Review the subnet NSG as well as the NIC NSG and effective security rules.
- Review peering forwarded-traffic flags and UDRs across the transit path.
- Inspect Network Watcher effective security rules for the target VM NIC.
- Create an application security group and reference it in relevant NSG rules.
Explanation
Correct Answer
C:Effective security rules show merged applicable NSG rules and their priorities. Reading one configured NSG can miss another filtering point. This matters here because a security operator must determine why traffic is blocked after multiple NSG assignments. Which built-in view helps.
Incorrect Answers
A:Both subnet and NIC NSGs can restrict connectivity. One allow rule does not override a deny in another applicable group. This matters here because a security operator must determine why traffic is blocked after multiple NSG assignments. Which built-in view helps.
B:Spoke-to-spoke transit is not implicit. Both routing and peering permission for forwarded packets must align.
D:ASGs group supported NIC configurations for use as security rule source or destination. Membership changes avoid editing IP lists. This matters here because a security operator must determine why traffic is blocked after multiple NSG assignments. Which built-in view helps.
Question 276
An engineer adds an allow on a NIC NSG, but traffic remains blocked by a subnet rule. What principle applies?
- Both subnet and NIC NSG evaluations must permit the connection; one allow cannot bypass another deny.
- Provision and resolve a blob private endpoint separately if blob private access is required.
- Require traffic to be permitted by all applicable NSG filters before connection succeeds.
- The lower numerical priority 200 deny rule is evaluated first.
Explanation
Correct Answer
A:NSG evaluation occurs at all applicable levels. The effective packet decision reflects combined constraints. This matters here because an engineer adds an allow on a NIC NSG, but traffic remains blocked by a subnet rule. What principle applies.
Incorrect Answers
B:A private endpoint for one storage subresource does not privately expose all others. Each required endpoint must be planned.
C:A deny on an applicable NIC or subnet NSG can block traffic even if another NSG has an allow. Azure doesn't union permissions across independent filters.
D:NSG priorities process lower numbers first; evaluation stops at the first matching rule. An allow at a later priority cannot override an earlier match. This matters here because an engineer adds an allow on a NIC NSG, but traffic remains blocked by a subnet rule. What principle applies.
Question 277
An administrator must connect to Azure VMs by RDP without assigning each guest a public IP. Which service is suitable?
- Require Azure Bastion or an approved private access path and remove general public SSH rules.
- Bastion connects to the target VM's private VNet IP while users authenticate through the Bastion service.
- Deploy Azure Bastion in a dedicated AzureBastionSubnet.
- Use Private Link to required PaaS services with private DNS and enforce egress policy.
Explanation
Correct Answer
C:Bastion brokers supported secure private RDP or SSH sessions through the VNet, reducing direct guest Internet exposure.
Incorrect Answers
A:Private management paths reduce the VM's direct attack surface. SSH keys alone do not make a public SSH endpoint private. This matters here because an administrator must connect to Azure VMs by RDP without assigning each guest a public IP. Which service is suitable.
B:The guest itself does not require an Internet-facing address. Bastion is the controlled management entry point.
D:Private endpoints provide network-level private addresses for supported service resources. Public service endpoints may not meet private-only policy.
Question 278
Bastion provisioning fails because the specially named subnet is too small for the selected SKU. What should be checked?
- Configure a Microsoft.Storage service endpoint on the subnet and allow the subnet in the storage firewall.
- Inspect any remaining NIC NSG and guest OS firewall policy.
- Validate the AzureBastionSubnet prefix size and SKU-specific requirements.
- Add a higher-priority narrow allow for HTTPS and retain the default deny.
Explanation
Correct Answer
C:Bastion has dedicated subnet requirements, which vary with service version and SKU. An arbitrary tiny subnet can block deployment.
Incorrect Answers
A:Service endpoints extend subnet identity for supported PaaS firewall rules without assigning private endpoints.
B:Network filtering can occur at several layers. Deleting one NSG cannot override an independent NIC or guest firewall block.
D:A particular allow evaluated before the default deny admits only the intended port/source combination. Removing the default deny would widen exposure.
Question 279
A security team wants VM administrators to use private SSH while preventing direct Internet exposure of TCP 22. What access architecture fits?
- Use Private Link to required PaaS services with private DNS and enforce egress policy.
- Require Azure Bastion or an approved private access path and remove general public SSH rules.
- Create a Private Endpoint for an unrelated Storage account and leave the VM public IP and TCP 22 allow rule unchanged.
- Enable Azure SQL Private Link while continuing to require VM administrators to SSH directly to the VM public IP.
Explanation
Correct Answer
B:Private management paths reduce the VM's direct attack surface. SSH keys alone do not make a public SSH endpoint private. This matters here because a security team wants VM administrators to use private SSH while preventing direct Internet exposure of TCP 22. What….
Incorrect Answers
A:Private endpoints provide network-level private addresses for supported service resources. Public service endpoints may not meet private-only policy. This matters here because a security team wants VM administrators to use private SSH while preventing direct Internet exposure of TCP 22. What….
C:A Storage private endpoint changes the storage service path, not administrative SSH reachability to the VM. Remove public SSH exposure and use Bastion or another authorized private management path.
D:Azure SQL private networking protects database connectivity; it does not hide TCP 22 on a VM. The remote-administration ingress path must be redesigned independently.
Question 280
An Azure VM with no public IP is still reached through Bastion. What transport distinction explains it?
- Use a supported private endpoint and disable public network ingress to the PaaS resource.
- Inspect any remaining NIC NSG and guest OS firewall policy.
- Approve the private endpoint connection through the service owner workflow.
- Bastion connects to the target VM's private VNet IP while users authenticate through the Bastion service.
Explanation
Correct Answer
D:The guest itself does not require an Internet-facing address. Bastion is the controlled management entry point. This matters here because an Azure VM with no public IP is still reached through Bastion. What transport distinction explains it.
Incorrect Answers
A:Private endpoint plus public access restriction narrows the service's exposed network paths. An NSG on the client subnet alone is not equivalent.
B:Network filtering can occur at several layers. Deleting one NSG cannot override an independent NIC or guest firewall block. This matters here because an Azure VM with no public IP is still reached through Bastion. What transport distinction explains it.
C:A private endpoint can remain unusable until the target service accepts the connection. DNS and routes should be validated after approval.