Recall & Review
beginner
What is an NSG in Azure?
An NSG (Network Security Group) is like a security guard for your cloud network. It controls which traffic can come in (inbound) and go out (outbound) of your virtual machines or subnets.
Click to reveal answer
beginner
What does an inbound NSG rule do?
An inbound NSG rule controls the traffic coming into your resource. It decides if incoming data is allowed or blocked based on rules like IP address, port, and protocol.
Click to reveal answer
beginner
What does an outbound NSG rule do?
An outbound NSG rule controls the traffic leaving your resource. It decides if outgoing data is allowed or blocked based on rules like destination IP, port, and protocol.
Click to reveal answer
intermediate
What are the key parts of an NSG rule?
Each NSG rule has: a priority number (which rule runs first), direction (inbound or outbound), source and destination (IP or subnet), protocol (TCP, UDP, or Any), port range, and action (allow or deny).
Click to reveal answer
intermediate
Why is rule priority important in NSG?
Rule priority decides which rule applies first. Lower numbers have higher priority. If a higher priority rule allows or denies traffic, later rules are ignored for that traffic.
Click to reveal answer
What does an inbound NSG rule control?
✗ Incorrect
Inbound NSG rules control incoming traffic to your resource.
Which part of an NSG rule decides the order of evaluation?
✗ Incorrect
Priority number determines which rule is checked first.
What action can an NSG rule take on traffic?
✗ Incorrect
NSG rules either allow or deny traffic based on conditions.
Which protocol can you specify in an NSG rule?
✗ Incorrect
NSG rules support TCP, UDP, or Any protocol.
If two NSG rules conflict, which one applies?
✗ Incorrect
The rule with the lower priority number (higher priority) applies first.
Explain how inbound and outbound NSG rules work together to protect an Azure resource.
Think of inbound as the front door and outbound as the back door security.
You got /4 concepts.
Describe the key components you need to set when creating an NSG rule.
Imagine setting rules for who can enter or leave your house and how.
You got /6 concepts.