Which statement about AWS security groups is true?
Answer
They control inbound and outbound traffic for EC2 instances.
Explanation
Security groups act as virtual firewalls for EC2 instances, controlling inbound and outbound rules. They are associated with network interfaces (and thus instances) and evaluated at the instance level. S3 bucket policies are separate and control access to S3. Security groups do not replace IAM; both are used together to secure resources.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which AWS service can provide content delivery closer to users to reduce latency?
View question →
You want to deploy a highly available multi-tier web application. Which AWS architecture feature helps with availability?
View question →
In AWS, what is the primary purpose of Amazon S3?
View question →
Which AWS tool can be used to provision resources using infrastructure as code?
View question →
Which AWS service is best for hosting a static website (HTML/CSS/JS)?
View question →
Which feature helps protect access to your AWS resources?
View question →