Network ACLs and Security Groups Flashcards
To how many NACLs can a subnet be associated?
One
Amazon recommends NACL rule #s be created in increments of what?
100
To how many VPCs can a NACL be associated
1
What are the default rules for a custom NACL?
Inbound: Deny All
Outbound: Deny All
What is an ephemeral port?
A short lives port for IP communications.
For what purpose do we worry about ephemeral ports?
They are needed for outbound communication in reply to a request, so the range of ports must be allowed in the outbound rules.
What outbound port range Allow rule gives you the greatest flexibility for expansion?
1024 - 65536
How are NACL rules evaluated?
Numerical order, from lowest to highest. For example, two conflicting rules will be resolved based on which has a lower rule number.
How long must you wait for a NACL rule to take effect?
Immediate
What type of traffic does the VPCs default NACL allow?
Inbound: Allow All
Outbound: Allow All
Does a VPC automatically come with a NACL?
Yes
True or False: A NACL is limited to association with one subnet?
False: While one subnet may be associated to one NACL. one NACL may be associated with many subnets.
In the following NACL ruleset, will 80 be allowed, or denied?
100: 80 Deny
200: 80 Allow
Denied because the rule number is lower.
True or False: NACLs are stateful, meaning AWS will remember the source and destination requests?
False. NACLs are stateless, so inbound and outbound rules must exist for round-trip traffic.
To block specific IP addresses, would you use security groups, or a NACL?
NACL