In AWS, what is the purpose of a security group?
Answer
To control inbound and outbound traffic for EC2 instances
Explanation
Security groups act as virtual firewalls for EC2 instances, controlling inbound and outbound traffic rules. They are stateful, meaning return traffic is allowed automatically when inbound requests are permitted. They do not encrypt data, store objects, or handle database backup scheduling.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
What does the AWS term “IAM” stand for?
View question →
Which option best describes an “Elastic Load Balancer” (ELB)?
View question →
Which logging and monitoring service is commonly used to collect metrics and set alarms for AWS resources?
View question →
What does the abbreviation “AMI” stand for in AWS?
View question →
Which AWS service is used for managed relational database instances such as MySQL, PostgreSQL, and Oracle?
View question →
Which AWS service provides scalable object storage for files in “buckets”?
View question →