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?
It can connect to the AWS services, such as S3 and RDS by default
It will have all the inbound traffic by default
It will have all the outbound traffic by default
It will by default allow traffic to the internet gateway
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.