Microsoft AZ-104 Practice Test 68
Question 670
Connection troubleshoot reports a route to an NVA rather than direct peering. What should be inspected?
- Review the source NIC's effective routes and the matching user-defined route.
- Inspect effective NSG rules, user-defined routes and guest firewall on both ends.
- Use 10.2.2.0/25 and 10.2.2.128/25 as the two nonoverlapping child subnets.
- Verify VM SKU NIC limits and that every NIC connects to an allowed VNet/subnet topology.
Explanation
Correct Answer
A:Effective routes show which prefix and next hop govern a destination. A VM's subnet attachment does not reveal overrides by itself. This matters here because connection troubleshoot reports a route to an NVA rather than direct peering.
Incorrect Answers
B: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 connection troubleshoot reports a route to an NVA rather than direct peering.
C:Two /25 blocks partition the /24 address space exactly. Their network boundaries align with the prefix size. This matters here because connection troubleshoot reports a route to an NVA rather than direct peering.
D:Azure VM multi-NIC configurations have SKU and network constraints. A NIC cannot arbitrarily attach to every VNet. This matters here because connection troubleshoot reports a route to an NVA rather than direct peering.
Question 671
A subnet must route traffic to on-premises over an established ExpressRoute or VPN gateway. Which Azure route source may advertise those prefixes?
- Create an Azure Private DNS zone and link the authorized VNets.
- Create a route table with a user-defined route whose next hop is the virtual appliance IP.
- Use supported BGP-propagated gateway routes with appropriate virtual network gateway configuration.
- Configure IP forwarding on a local application VM and expect it to advertise partner prefixes through BGP.
Explanation
Correct Answer
C: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 subnet must route traffic to on-premises over an established ExpressRoute or VPN gateway. Which Azure route source….
Incorrect Answers
A:Private DNS zones resolve within linked VNets rather than publishing records to the Internet. Links and resolver paths control client reachability. This matters here because a subnet must route traffic to on-premises over an established ExpressRoute or VPN gateway. Which Azure route source….
B:UDRs can direct matched destination prefixes to a network virtual appliance. The appliance must be reachable and configured for forwarding. This matters here because a subnet must route traffic to on-premises over an established ExpressRoute or VPN gateway. Which Azure route source….
D:NIC forwarding does not create BGP-learned routes through ExpressRoute or VPN. On-premises prefix reachability depends on the virtual network gateway, BGP configuration, and permitted propagation into effective route tables.
Question 672
A subnet route table disables gateway route propagation and on-premises routes disappear. What setting should be reviewed?
- 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.
- Add secondary private IP configurations to a supported Azure network interface.
- Enable forwarding on the destination VM without restoring gateway route propagation to the associated table.
Explanation
Correct Answer
A: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 disables gateway route propagation and on-premises routes disappear. What setting should be….
Incorrect Answers
B: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 disables gateway route propagation and on-premises routes disappear. What setting should be….
C:A NIC can hold multiple private IP configurations within applicable subnet and SKU limits. Each assigned address must be available. This matters here because a subnet route table disables gateway route propagation and on-premises routes disappear. What setting should be….
D:The subnet's setting that suppresses gateway propagation prevents learned on-premises prefixes from appearing in its effective routes. Changing a VM's IP forwarding flag cannot restore missing BGP-propagated routes.
Question 673
A VM should have no public IP but must remain reachable by administrators through a managed jump service. Which Azure arrangement applies?
- Create AzureBastionSubnet with supported address size and configuration.
- Enable gateway transit on the hub peering and remote gateway use on the spoke peering where supported.
- Use Azure Bastion over the VNet private address for supported VM management.
- Review NAT Gateway SNAT port capacity, assigned public IPs and connection patterns.
Explanation
Correct Answer
C:Bastion brokers approved RDP or SSH connections to VMs without public IPs on each guest. This matters here because a VM should have no public IP but must remain reachable by administrators through a managed jump service. Which….
Incorrect Answers
A:Azure Bastion requires its dedicated, specifically named subnet in the VNet. Ordinary app subnets are not substitutes. This matters here because a VM should have no public IP but must remain reachable by administrators through a managed jump service. Which….
B:Gateway transit permits a spoke to use a hub gateway under supported topology constraints. Peering alone does not automatically grant remote gateway use. This matters here because a VM should have no public IP but must remain reachable by administrators through a managed jump service. Which….
D:NAT Gateway capacity is finite and depends on allocated IP resources. Excessive concurrent connections can exhaust port availability. This matters here because a VM should have no public IP but must remain reachable by administrators through a managed jump service. Which….
Question 674
The Bastion host exists but its target VM has a deny rule on required private management traffic. What must be checked?
- Enable IP forwarding on the Bastion target and leave the management-port NSG deny rule unchanged.
- Inspect the route table's subnet association and effective routes on the VM NIC.
- Review NSG and endpoint allow rules because Standard public IPs are secure by default.
- Review NSG rules for Bastion subnet and VM management port requirements.
Explanation
Correct Answer
D:Private Bastion connectivity still follows applicable network security rules. A created Bastion resource cannot override blocked TCP flows. This matters here because the Bastion host exists but its target VM has a deny rule on required private management traffic.
Incorrect Answers
A:Azure Bastion depends on the appropriate private management-port and subnet-level NSG flows. IP forwarding is not needed for an ordinary target VM to accept Bastion RDP or SSH traffic and does not override an explicit NSG deny.
B:A route table has no effect until associated with the source subnet. Effective route inspection shows the selected next hop. This matters here because the Bastion host exists but its target VM has a deny rule on required private management traffic.
C:A public address alone does not permit unsolicited traffic. Azure NSG and workload firewall permissions still govern ingress. This matters here because the Bastion host exists but its target VM has a deny rule on required private management traffic.
Question 675
A private PaaS request fails because the application uses an old hard-coded public service IP. What should change?
- Link and verify the corresponding privatelink private DNS zone for the client VNet.
- Use a supported private endpoint and disable public network ingress to the PaaS resource.
- Use the service's supported DNS hostname resolving to the private endpoint rather than a fixed public IP.
- Use NSG flow logging or supported virtual-network flow logs for traffic metadata rather than packet payload capture.
Explanation
Correct Answer
C:Private Link depends on DNS-based service naming. Hardcoded public addresses bypass or break the intended private route.
Incorrect Answers
A:Private endpoint access depends on name resolution to the private address. Connection approval does not create correct DNS in every client network. This matters here because a private PaaS request fails because the application uses an old hard-coded public service IP.
B:Private endpoint plus public access restriction narrows the service's exposed network paths. An NSG on the client subnet alone is not equivalent. This matters here because a private PaaS request fails because the application uses an old hard-coded public service IP.
D:Flow logs provide flow records under supported configurations and destinations. They do not normally record complete packet contents. This matters here because a private PaaS request fails because the application uses an old hard-coded public service IP.
Question 676
A network admin must confirm a security rule decision for an exact source/destination pair without changing any NSGs. Which diagnostic is useful?
- Run Network Watcher IP flow verify for the VM and packet tuple.
- Use the service's supported DNS hostname resolving to the private endpoint rather than a fixed public IP.
- Use application security groups as the source and destination in the NSG rule.
- Restrict the destination to the intended NIC, IP or application security group.
Explanation
Correct Answer
A:IP flow verify evaluates traffic against effective Azure security rules and reports an allow or deny rule. It is a diagnostic, not a rule mutation. This matters here because a network admin must confirm a security rule decision for an exact source/destination pair without changing any….
Incorrect Answers
B:Private Link depends on DNS-based service naming. Hardcoded public addresses bypass or break the intended private route. This matters here because a network admin must confirm a security rule decision for an exact source/destination pair without changing any….
C:ASGs simplify policy for dynamic VM NIC membership. Destination ports and direction must still be scoped to the app connection. This matters here because a network admin must confirm a security rule decision for an exact source/destination pair without changing any….
D:Subnet-level Any destination can affect multiple servers. Matching the intended destination prevents overly broad access. This matters here because a network admin must confirm a security rule decision for an exact source/destination pair without changing any….
Question 677
IP flow verify says Deny by a specific NSG rule, while a portal screenshot shows Allow elsewhere. Which evidence should guide diagnosis?
- Correlate the reported effective rule and NIC/subnet assignments with the actual packet tuple.
- Configure a Microsoft.Storage service endpoint on the subnet and allow the subnet in the storage firewall.
- Both subnet and NIC NSG evaluations must permit the connection; one allow cannot bypass another deny.
- Choose a supported custom rule priority between 100 and 4096 inclusive if available to the rule type.
Explanation
Correct Answer
A:Packet source, destination, direction and ports determine matches. A screenshot of a different rule may not reflect the evaluated connection.
Incorrect Answers
B:Service endpoints extend subnet identity for supported PaaS firewall rules without assigning private endpoints. This matters here because iP flow verify says Deny by a specific NSG rule, while a portal screenshot shows Allow elsewhere. Which evidence….
C:NSG evaluation occurs at all applicable levels. The effective packet decision reflects combined constraints. This matters here because iP flow verify says Deny by a specific NSG rule, while a portal screenshot shows Allow elsewhere. Which evidence….
D:Azure NSG custom priorities have bounded accepted values; not every integer is valid. Check the service's current priority limits.
Question 678
A workload needs secure HTTP access only from a corporate address range. Which NSG attributes should be tightly scoped?
- ASG membership is a NIC configuration, not automatic matching from resource tags.
- Use application security groups as the source and destination in the NSG rule.
- Specify direction, protocol TCP, destination 443, source CIDR and priority in an inbound allow.
- Permit all public source IP ranges to port 443 and ignore the requested corporate-only CIDR restriction.
Explanation
Correct Answer
C:An NSG rule's five-tuple conditions determine which traffic is admitted. A broad source Any would contradict the corporate-only requirement.
Incorrect Answers
A:Azure resource tags and application security group membership are separate constructs. Tags cannot substitute for joining an ASG. This matters here because a workload needs secure HTTP access only from a corporate address range. Which NSG attributes should be tightly scoped.
B:ASGs simplify policy for dynamic VM NIC membership. Destination ports and direction must still be scoped to the app connection. This matters here because a workload needs secure HTTP access only from a corporate address range. Which NSG attributes should be tightly scoped.
D:Opening HTTPS to Any exposes the service beyond the permitted corporate network. Set the actual source CIDR, inbound direction, TCP protocol, target destination and valid priority.
Question 679
A network rule permits HTTPS to every VM in the subnet although only one server was intended. What should be narrowed?
- Restrict the destination to the intended NIC, IP or application security group.
- Associate a suitable network security group with the subnet.
- Correlate the reported effective rule and NIC/subnet assignments with the actual packet tuple.
- Keep destination Any and add another open HTTPS rule without restricting the individual server receiving traffic.
Explanation
Correct Answer
A:Subnet-level Any destination can affect multiple servers. Matching the intended destination prevents overly broad access. This matters here because a network rule permits HTTPS to every VM in the subnet although only one server was intended.
Incorrect Answers
B:Subnet-level NSGs apply to traffic entering or leaving its NICs, with any NIC NSGs also evaluated as applicable. This matters here because a network rule permits HTTPS to every VM in the subnet although only one server was intended.
C:Packet source, destination, direction and ports determine matches. A screenshot of a different rule may not reflect the evaluated connection. This matters here because a network rule permits HTTPS to every VM in the subnet although only one server was intended.
D:The target is one server, but a subnet-wide destination Any can admit HTTPS to unrelated NICs. Restrict the destination IP or ASG and verify the effective NSG scope.
Question 680
A company wants to monitor attempted connections but expects NSGs to be full packet-capture devices. What distinction matters?
- Enable a private endpoint and assume NSG flow logs then contain full captured packet payloads.
- Use NSG flow logging or supported virtual-network flow logs for traffic metadata rather than packet payload capture.
- Bastion connects to the target VM's private VNet IP while users authenticate through the Bastion service.
- Run Network Watcher IP flow verify for the VM and packet tuple.
Explanation
Correct Answer
B:Flow logs provide flow records under supported configurations and destinations. They do not normally record complete packet contents. This matters here because a company wants to monitor attempted connections but expects NSGs to be full packet-capture devices. What….
Incorrect Answers
A:Private endpoints change the service network path, not flow-log content. NSG or virtual-network flow logs provide metadata, not full payload packet capture.
C:The guest itself does not require an Internet-facing address. Bastion is the controlled management entry point. This matters here because a company wants to monitor attempted connections but expects NSGs to be full packet-capture devices. What….
D:IP flow verify evaluates traffic against effective Azure security rules and reports an allow or deny rule. It is a diagnostic, not a rule mutation. This matters here because a company wants to monitor attempted connections but expects NSGs to be full packet-capture devices. What….