What is the primary security benefit of using security group rules that reference other security groups (rather than broad CIDR ranges) in a VPC?
Answer
It provides tighter, identity-based control of allowed traffic between resources and improves maintainability
Explanation
Security group-to-security group references scope rules to specific sets of resources. This reduces accidental exposure compared to wide CIDRs and simplifies updates.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which scenario most strongly indicates using AWS WAF managed rules rather than creating only custom rules from scratch?
View question →
A workload must store secrets used by applications and rotate them automatically. It must avoid plaintext secrets in code and support fine-grained access control. What should you use?
View question →
A security engineer reads: “An organization enables AWS Organizations and centralizes accounts under a management account. They configure service control policies (SCPs) to prevent member accounts from creating certain resource types and from allowing public access to storage. They also delegate permissions to teams using IAM roles in each member account. However, they want to ensure no team can override the top-level restrictions.” Based on this, which statement is correct?
View question →
A team is investigating a suspected IAM abuse attempt. They want evidence of what permissions were actually used to evaluate access decisions at the time of events. What should they review?
View question →
Which AWS feature helps encrypt data at rest automatically across many services without requiring application changes, while still allowing you to manage keys?
View question →
You need to detect suspicious activity across multiple AWS accounts and regions and alert on configuration and identity issues. Which combination is most appropriate?
View question →