Question 21 — AZ-104 Practice Exam 10
For each statement below, indicate whether it is True or False.
| Item | True | False |
|---|---|---|
| Network security groups can allow or deny inbound and outbound traffic. | □ | □ |
| A DMZ subnet created with NSGs acts as a buffer between VNets and the internet. | □ | □ |
| Each VM NIC can have multiple NSGs associated. | □ | □ |
| NSGs can only be created with PowerShell. | □ | □ |
Correct answers
- Network security groups can allow or deny inbound and outbound traffic. → True
- A DMZ subnet created with NSGs acts as a buffer between VNets and the internet. → True
- Each VM NIC can have multiple NSGs associated. → False
- NSGs can only be created with PowerShell. → False
Explanations
True: NSGs contain rules for inbound and outbound traffic control.
True: A DMZ subnet screens and protects internal resources from the internet.
False: NICs support at most one NSG.
False: NSGs can be created directly in the Azure portal.
Network security groups can allow or deny inbound and outbound traffic.
A DMZ subnet created with NSGs acts as a buffer between VNets and the internet.
Each VM NIC can have multiple NSGs associated.
NSGs can only be created with PowerShell.