Mike is appointed as Cloud Consultant in ExamKiller.com. ExamKiller has the following VPCs setup in the US East Region:
A VPC with CIDR block 10.10.0.0/16, a subnet in that VPC with CIDR block 10.10.1.0/24 A VPC
with CIDR block 10.40.0.0/16, a subnet in that VPC with CIDR block 10.40.1.0/24 ExamKiller.com
is trying to establish network connection between two subnets, a subnet with CIDR block
10.10.1.0/24 and another subnet with CIDR block 10.40.1.0/24. Which one of the following
solutions should Mike recommend to ExamKiller.com?
A.
Create 2 Virtual Private Gateways and configure one with each VPC.
B.
Create 2 Internet Gateways, and attach one to each VPC.
C.
Create a VPC Peering connection between both VPCs.
D.
Create one EC2 instance in each subnet, assign Elastic IPs to both instances, and configure a set
up Site-to-Site VPN connection between both EC2 instances.
Explanation:
A VPC peering connection is a networking connection between two VPCs that enables you to
route traffic between them using private IP addresses. EC2 instances in either VPC can
communicate with each other as if they are within the same network. You can create a VPC
peering connection between your own VPCs, or with a VPC in another AWS account within a
single region. AWS uses the existing infrastructure of a VPC to create a VPC peering connection;
it is neither a gateway nor a VPN connection, and does not rely on a separate piece of physical
hardware.
http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-peering.html
C