Home > Glossary > CCSP > 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 (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

📝 Related Study Guides

Comparison 8 min read

CISSP vs CISM: Which Certification Should You Pursue in 2026?

Choose CISSP if you want broad technical security expertise across eight domains, including cryptography, network security, and software development. Choose CISM if you're focused on information security management, governance, and risk management from a leadership perspective. CISSP is ideal for hands-on security architects, while CISM is designed for security managers and directors.

Career Guide 9 min read

The IT Certification Roadmap: Where to Start in 2026

Start your IT certification journey in 2026 with CompTIA A+ for general IT foundations, then branch into networking (Network+), cybersecurity (Security+), or cloud computing (AWS Cloud Practitioner or Azure Fundamentals) based on your career goals. Each path leads to advanced certifications like CISSP, AWS Solutions Architect, or CISM within 2-3 years of focused progression.

Comparison 10 min read

CISSP vs CISM: Which Certification Should You Pursue in 2026?

The CISSP is a broad, technical-to-managerial certification focusing on security operations and architecture across eight domains. In contrast, CISM is a specialized management certification centered on governance, risk management, and program development. Choose CISSP for comprehensive security expertise and CISM if you are pivoting specifically into security leadership and governance roles.

🧠

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