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 b
y default
C. It will have all the outbound traffic by default
D. It will by default allow traffic to the internet gateway
Explanation:
A Virtual Private Cloud (VPC) is a virtual network dedicated to the user-s AWS account. AWS provides two fe
atures 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 outbo
und traffic but block all inbound traffic.