Home > Glossary > CCSP Certification Exam > Security Groups

📖 What is Security Groups?

Security Groups act as virtual firewalls for cloud instances to control inbound and outbound traffic. Unlike network ACLs, which are stateless and operate at the subnet level, security groups are typically stateful and operate at the individual instance or network interface level.

🥋 Sensei Says:

"Focus on the 'stateful' nature. If a request is allowed in, the response is automatically allowed out regardless of the outbound rules configured."

📚 Certification: CCSP Certification Exam (CCSP)

🔑 What are the Key Concepts of Security Groups?

  • ▸ Stateful inspection ensures that if an inbound request is permitted, the corresponding outbound response is automatically allowed regardless of outbound rule configurations.
  • ▸ Operating at the instance or network interface level enables micro-segmentation, allowing different security postures for resources residing within the same subnet.
  • ▸ Most security groups employ a default-deny posture, meaning all traffic is blocked unless an explicit allow rule is configured by the administrator.
  • ▸ Rule definitions typically focus on Layer 4 parameters, filtering traffic based on the protocol, port number, and source or destination IP address.
  • ▸ Security groups can reference other security groups as sources, allowing dynamic access control based on membership rather than static IP addresses.

🎯 How does Security Groups appear on the CCSP Exam?

You may be asked to troubleshoot a connectivity issue where a user configured an inbound rule for HTTP traffic but forgot the outbound rule; you must identify that stateful nature allows the response.

A scenario might describe a requirement to isolate two virtual machines within the same subnet; expect to identify security groups as the mechanism for achieving this instance-level granularity.

Expect questions where you must choose between a Security Group and a Network ACL based on whether the requirement is for stateful instance filtering or stateless subnet filtering.

❓ Frequently Asked Questions

Can I use a Security Group to explicitly block a specific malicious IP address?

No, most security groups only support 'allow' rules. To explicitly deny a specific IP address while permitting others, you must implement a Network ACL (NACL), which supports both allow and deny rules.


If I have both a Network ACL and a Security Group, which one is evaluated first?

Traffic is first evaluated by the Network ACL at the subnet boundary. If permitted, it then reaches the Security Group at the instance level for a second layer of stateful inspection.

Related Terms from CCSP Certification Exam

📝 Related Study Guides

Study Guide 8 min read

How to Pass the CCSP Exam on Your First Try

To pass the CCSP on your first try, you need a structured study plan covering all six domains, hands-on cloud experience, and extensive practice with high-quality exams like Cert Sensei to familiarize yourself with the question formats.

Study Guide 7 min read

The Ultimate 30-Day CCSP Study Plan

A 30-day CCSP study plan requires dedicating 2-3 hours daily, focusing on one domain every four days, followed by rigorous practice exams and comprehensive review in the final week.

Comparison 6 min read

CCSP vs. CCSK: Which Cloud Security Certification is Right for You?

The CCSK is ideal for beginners looking for foundational cloud security knowledge, while the CCSP is an advanced certification for experienced professionals seeking a comprehensive, management-level credential.

🧠

Test Your Knowledge

Think you understand Security Groups? Put it to the test with our practice exam.

Try 10 Free Questions

⭐ 1,000 expert-curated questions available with Premium

Upgrade Premium