Recall & Review
beginner
What is a Network Security Group (NSG) in Azure?
An NSG is like a security guard for your cloud network. It controls which traffic can enter or leave your virtual machines by using rules that allow or block traffic based on source, destination, port, and protocol.
Click to reveal answer
beginner
How do NSG rules work in Azure?
NSG rules check network traffic against a list of rules in order. Each rule either allows or denies traffic based on conditions like IP address, port, and protocol. The first matching rule decides if the traffic is allowed or blocked.
Click to reveal answer
beginner
What are the two main types of NSG rules?
Inbound rules control traffic coming into a resource. Outbound rules control traffic leaving a resource. Both help protect your cloud resources by filtering traffic.
Click to reveal answer
intermediate
Where can you apply an NSG in Azure?
You can apply an NSG to a subnet or directly to a network interface of a virtual machine. This lets you control traffic at different levels in your network.
Click to reveal answer
intermediate
Why is it important to have a default deny rule in NSGs?
A default deny rule blocks all traffic that does not match any allow rule. This ensures only traffic you explicitly allow can reach your resources, improving security by preventing unwanted access.
Click to reveal answer
What does an NSG primarily control in Azure?
✗ Incorrect
NSGs control network traffic by allowing or blocking it based on rules.
Which of the following is NOT a condition you can use in an NSG rule?
✗ Incorrect
NSG rules do not use user passwords; they filter traffic based on network parameters.
Where can you apply an NSG in Azure?
✗ Incorrect
NSGs are applied to subnets or network interfaces to control traffic.
What happens if no NSG rule matches the network traffic?
✗ Incorrect
NSGs have a default deny rule that blocks traffic not matching any allow rule.
Which type of NSG rule controls traffic leaving a resource?
✗ Incorrect
Outbound rules control traffic leaving a resource.
Explain how Network Security Groups (NSGs) help protect Azure resources.
Think about how a security guard checks who can enter or leave a building.
You got /4 concepts.
Describe the difference between inbound and outbound NSG rules.
Consider traffic coming to and leaving from your house.
You got /4 concepts.