Which of the below mentioned statements is true when a security group is created?

A user has created a VPC with the public subnet. The user has created a security group for that VPC.

Which of the below mentioned statements is true when a security group is created?
A . It can connect to the AWS services, such as S3 and RDS by default
B . It will have all the inbound traffic by default
C . It will have all the outbound traffic by default
D . It will allow by default traffic to the internet gateway

Answer: C

Explanation:

A Virtual Private Cloud (VPC) is a virtual network dedicated to the user’s AWS account. AWS provides two features the user can use to increase security in VPC: security groups and network ACLs. Security groups work at the instance level while ACLs work at the subnet level. When a user creates a security group with AWS VPC, by default it will allow all the outbound traffic but block all inbound traffic.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments