Question 1
An NSG has a rule allowing TCP 3389 with priority 300 and a rule denying TCP 3389 with priority 200. What is the result?
Correct answer
RDP is denied
Explanation
Lower priority numbers are evaluated first; the deny at 200 wins.
microsoft AZ-104: Microsoft Azure Administrator · Practice questions
Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.
Sign up free for the full quizAn NSG has a rule allowing TCP 3389 with priority 300 and a rule denying TCP 3389 with priority 200. What is the result?
RDP is denied
Lower priority numbers are evaluated first; the deny at 200 wins.
You need to connect an on-premises network to Azure over the internet with encryption. What should you deploy? (Choose TWO.)
A local network gateway representing the on-premises device; A virtual network gateway of type VPN in a GatewaySubnet
Site-to-site VPN uses a VPN gateway, a local network gateway and a connection.
Which next hop type would you use to drop traffic to a specific address range?
None
A next hop of None drops traffic.
VMs in a private subnet without public IPs need outbound internet access with a static public IP. What should you use?
Azure NAT Gateway on the subnet
NAT Gateway provides scalable outbound SNAT with static IPs.
VNet1 is peered with VNet2, and VNet2 is peered with VNet3. Can VMs in VNet1 reach VNet3 by default?
No, peering is not transitive
Peering is non-transitive; use a hub with a gateway or NVA, or peer directly.
Which feature allows a subnet to reach a storage account over the Azure backbone using the storage account's public endpoint, restricted by network rules?
A service endpoint for Microsoft.Storage
Service endpoints extend VNet identity to the service's public endpoint.
A Standard Load Balancer must distribute HTTP traffic to VMs and remove unhealthy VMs automatically. What must you configure?
A backend pool, a health probe and a load-balancing rule
Load balancing requires frontend, backend pool, health probe and rules.
Which tool shows the effective security rules applied to a VM's network interface?
Effective security rules on the NIC (Network Watcher)
Effective security rules combine all NSGs applied to a NIC.
A NIC has both a public IP and a private IP. The VM must be reachable only from the corporate public IP on port 22. What should you do?
An NSG rule allowing TCP 22 from that IP only
NSGs filter by source IP and port.
A VM must be accessed by administrators over RDP without exposing port 3389 to the internet. Which two options meet the requirement? (Choose TWO.)
Azure Bastion; Just-in-time VM access through Defender for Cloud
Bastion avoids public exposure; JIT opens ports only temporarily for approved IPs.
Create a free QuizAnalyst account to practice the complete question set and save your progress.
Sign up free for the full quiz