What happens when a network security group (NSG) rule is applied to a subnet?
AApplies to all VMs in the subnet
BOnly applies to some VMs
COverrides VM NSG rules
DDoes not apply to any resources
Explanation
NSG rules applied at the subnet level affect all VMs within that subnet, while others do not provide accurate descriptions of the behavior.
Q142
Which service provides a private connection to Azure services?
AAzure ExpressRoute
BAzure VPN Gateway
CAzure Load Balancer
DAzure Application Gateway
Explanation
ExpressRoute enables private connections, while VPN Gateway offers encrypted connections over the public internet.
Q143
A company needs to restrict access to resources based on subnet. What should they use?
ANetwork Security Groups (NSGs)
BAzure Policy
CVPN Gateway
DApplication Security Groups
Explanation
NSGs can control traffic at the subnet level, whereas Azure Policy enforces resource governance.
Q144
You are configuring a VNet peering between two VNets in different regions. What happens?
ATraffic is routed efficiently.
BIt requires global VNet peering.
COnly one VNet can communicate.
DNo peering is allowed.
Explanation
Global VNet peering allows VNets in different regions to communicate, while local peering is for same-region VNets.
Q145
Which service is best for connecting on-premises networks to Azure?
AExpressRoute
BAzure Virtual Network
CVPN Gateway
DAzure Load Balancer
Explanation
ExpressRoute provides a dedicated connection with lower latency, while the others use public networks or serve different functions.
Q146
A company needs to allow only specific users to access its virtual network. Which Azure feature should they use?
ANetwork Security Groups
BAzure Firewalls
CRole-Based Access Control
DVirtual Private Network
Explanation
Network Security Groups (NSGs) control the flow of traffic to Azure resources, while RBAC is for permissions management not traffic filtering.
Q147
You are configuring Azure DNS for a web application. What happens when you create an alias record?
ADirects traffic to an IP address
BPoints to another Azure resource
CConfigures a custom domain
DSets TTL for DNS resolution
Explanation
Alias records point to Azure resources instead of traditional IP addresses, while the others represent different DNS configurations.