AWS Builder Center

CLF-C02 Quick Tip: Security Groups vs. NACLs in 30 Seconds

A 30-second cheat sheet on the difference between Security Groups and NACLs to grab easy points on your AWS Cloud Practitioner exam!

Hey Builders! Continuing my 10-day CLF-C02 study sprint. Networking can be tricky, but you are almost guaranteed to see a question asking you to choose between a Security Group and a Network ACL (NACL). Here is the absolute easiest way to remember the difference:
  • Security Groups: Act as a firewall at the Instance (EC2) level. They are Stateful—meaning if you allow an incoming request, the return traffic is automatically allowed out, regardless of your outbound rules.
  • NACLs: Act as a firewall at the Subnet level. They are Stateless—meaning return traffic must be explicitly allowed by a specific outbound rule.
Exam Trick: If the question mentions "Stateful" or "Instance level", the answer is Security Groups!
How is everyone's study prep going this week? Let me know in the comments!
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article