In AWS, what is the purpose of a Security Group?
Answer
Control inbound and outbound network traffic for instances
Explanation
A Security Group acts as a virtual firewall for your EC2 instances. It controls which inbound and outbound traffic is allowed. Rules are evaluated at the instance level, based on port/protocol and source/destination. It does not encrypt S3 objects or generate certificates.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which IAM concept allows fine-grained permissions to specific actions and resources?
View question ā
Which AWS service helps you centrally manage access permissions across multiple accounts using roles and policies?
View question ā
Which AWS feature helps you protect an internet-facing application from common web exploits?
View question ā
What does AWS KMS stand for, and what is its primary role?
View question ā
Which action is an example of using encryption to help protect data at rest?
View question ā
You want to log and monitor API calls to AWS services for security auditing. Which service should you use?
View question ā