AWS Certified Cloud Practitioner (CLF-C02) — Question 282

Which task can a company perform by using security groups in the AWS Cloud?

Answer options

Correct answer: A

Explanation

Security groups function as stateful firewalls for Amazon EC2 instances, enabling users to permit traffic on specific ports, making Option A correct. Subnet-level filtering and stateless firewalling are functions of Network Access Control Lists (NACLs), which rules out Options B and D. Amazon CloudFront protection is managed through other services like AWS WAF rather than EC2 security groups, eliminating Option C.