Network ACLs Flashcards

1
Q

What does NACL stand for?

A

Network Access Control List

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the default settings for the default NACL that comes with your VPC?

A

Allow all inbound and outbound traffic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the default settings for a custom NACL?

A

Deny all inbound and outbound traffic until you add rules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Do you have to associate a subnet with a NACL?

A

Yes

If you dont choose one, if associates with the default VPC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Can you block IP addresses using NACLs?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Can you associate a subnet with more than one NACL?

A

No

(When you associate a subnet with a new NACL, the old association is removed)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Suppose the custom NACL associated with my subnet has inbound rules:

  • Rule 100 DENY from all IPs
  • Rule 400 ALLOW from IP X

What will happen when I try to access the subnet from IP X?

A

Deny

When NACL numbered rules are evaluated, precedence is given from the lowest number to the highest number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Suppose the custom NACL associated with my subnet has inbound rules:

  • Rule 100 ALLOW from all IPs
  • Rule 400 DENY from IP X

What will happen when I try to access the subnet from my IP Y != X?

A

Traffic will be allowed in but NOT back out!

  • NACLs have separate inbound and outbound rules, and each can either allow or deny
  • NACLs are stateless, responses allowed to inbound traffic are subject to outbound traffic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly