AWS - VPC - Study Group 1 Flashcards
How many internet gateways can I attach to my custom VPC
1
Security groups act like a firewall at the instance level, whereas _________ are an additional layer of security that act at the subnet level
Network ACL’s
By default, how many VPCs am I allowed in each AWS Region?
5
The limit for internet gateways per region is directly correlated to this one. Increasing this limit increases the limit on internet gateways per region by the same amount.
The number of VPCs in the region multiplied by the number of security groups per VPC cannot exceed 5000.
VPC stands for
Virtual Private Cloud
Select the incorrect statement below.
- In Amazon VPC, an instance retains its private IP.
- It is possible to have private subnets in VPC.
- In Amazon VPC, an instance does NOT retain its private IP.
- You may have only 1 internet gateway per VPC.
In Amazon VPC, an instance does NOT retain its private IP.
You are setting up a VPC and you need to set up a public subnet within that VPC. Which following
requirement must be met for this subnet to be considered a public subnet?
A. Subnet’s traffic is not routed to an internet gateway but has its traffic routed to a virtual private gateway.
B. Subnet’s traffic is routed to an internet gateway.
C. Subnet’s traffic is not routed to an internet gateway.
D. None of these answers can be considered a public subnet.
B. Subnet’s traffic is routed to an internet gateway.
Explanation:
A virtual private cloud (VPC) is a virtual network dedicated to your AWS account. It is logically isolated from
other virtual networks in the AWS cloud. You can launch your AWS resources, such as Amazon EC2
instances, into your VPC. You can configure your VPC: you can select its IP address range, create subnets,
and configure route tables, network gateways, and security settings.
A subnet is a range of IP addresses in your VPC. You can launch AWS resources into a subnet that you
select. Use a public subnet for resources that must be connected to the internet, and a private subnet for
resources that won’t be connected to the Internet.
If a subnet’s traffic is routed to an internet gateway, the subnet is known as a public subnet.
If a subnet doesn’t have a route to the internet gateway, the subnet is known as a private subnet.
If a subnet doesn’t have a route to the internet gateway, but has its traffic routed to a virtual private gateway,
the subnet is known as a VPN-only subnet.
What aspect of an Amazon VPC is stateful?
- Network ACLs
- Security groups
- Amazon DynamoDB
- Amazon S3
Security groups
Which of the following is the security protocol supported by Amazon VPC?
- SSH
- Advanced Encryption Standard (AES)
- Point-to-point Tunneling Protocol (PPTP)
- IPsec
IPSec is the security protocol supported by Amazon VPC.
What properties of am Amazon VPC must be specified at the time of creation? (Choose 2)
- The CIDR block representing the IP address range
- One of more subnets for the Amazon VPC
- The region for the Amazon VPC
- Amazon VPC Peering relationships
A, C
The CIDR block is specified upon creation and cannot be changed. An Amazon VPC is associated with exactly one region which must be specified upon creation. You can add a subnet to an Amazon VPC any time after it has been created, provided its address range falls within the Amazon VPC CIDR block and does not overlap with the address range of any existing CIDR block. You can set up peering relationships between Amazon VPCs after they have been created.
What is the minimum sized subnet you can have in a Amazon VPC?
- /24
- /26
- /28
- /30
/28
List 5 Main Components of a VPC
Internet Gateways (or Virtual Private Gateways) Route Tables NACLs Subnets Security Groups
Are NACLs Stateless?
Yes or No?
yes
When you create a VPC, what things are automatically created?
Default Route Table
Default NACL
Default VPC Security Group
no IGW
no Subnets
What’s the difference between
Egress Only Internet Gateway and NAT Gateway?
Egress only is for IPv6
NAT Gateway is for IPv4
How many public subnets do you need in order to deploy an application load balancer?
at least 2