VPC Peering

Description: Test your knowledge on VPC Peering.
Number of Questions: 15
Created by:
Tags: vpc peering networking cloud computing
Attempted 0/15 Correct 0 Score 0

What is VPC Peering?

  1. A method of connecting two VPCs within the same region

  2. A method of connecting two VPCs across different regions

  3. A method of connecting two VPCs across different accounts

  4. A method of connecting two VPCs across different clouds


Correct Option: A
Explanation:

VPC Peering allows you to connect two VPCs within the same region to each other, enabling communication between resources in both VPCs.

What are the prerequisites for VPC Peering?

  1. Both VPCs must be in the same region

  2. Both VPCs must have the same CIDR block

  3. Both VPCs must be owned by the same account

  4. Both VPCs must be in the same project


Correct Option: A
Explanation:

The only prerequisite for VPC Peering is that both VPCs must be in the same region.

What is the maximum number of VPCs that can be peered with a single VPC?

  1. 5

  2. 10

  3. 20

  4. Unlimited


Correct Option: D
Explanation:

There is no limit to the number of VPCs that can be peered with a single VPC.

What are the benefits of VPC Peering?

  1. Increased bandwidth

  2. Reduced latency

  3. Improved security

  4. All of the above


Correct Option: D
Explanation:

VPC Peering offers increased bandwidth, reduced latency, and improved security by allowing resources in different VPCs to communicate directly with each other.

What is the difference between VPC Peering and Transit Gateway?

  1. VPC Peering is limited to two VPCs, while Transit Gateway can connect multiple VPCs

  2. VPC Peering is more secure than Transit Gateway

  3. VPC Peering is easier to configure than Transit Gateway

  4. VPC Peering is less expensive than Transit Gateway


Correct Option: A
Explanation:

The main difference between VPC Peering and Transit Gateway is that VPC Peering is limited to two VPCs, while Transit Gateway can connect multiple VPCs.

What is the difference between VPC Peering and Direct Connect?

  1. VPC Peering is used to connect VPCs within the same region, while Direct Connect is used to connect VPCs to on-premises networks

  2. VPC Peering is more secure than Direct Connect

  3. VPC Peering is easier to configure than Direct Connect

  4. VPC Peering is less expensive than Direct Connect


Correct Option: A
Explanation:

The main difference between VPC Peering and Direct Connect is that VPC Peering is used to connect VPCs within the same region, while Direct Connect is used to connect VPCs to on-premises networks.

How do you create a VPC Peering connection?

  1. From the VPC console, select the VPC you want to peer with and click on the 'Peering' tab

  2. From the VPC console, select the VPC you want to peer with and click on the 'Connections' tab

  3. From the VPC console, select the VPC you want to peer with and click on the 'Settings' tab

  4. From the VPC console, select the VPC you want to peer with and click on the 'Actions' tab


Correct Option: A
Explanation:

To create a VPC Peering connection, you need to go to the VPC console, select the VPC you want to peer with, and click on the 'Peering' tab.

What is the default state of a VPC Peering connection?

  1. Pending

  2. Active

  3. Rejected

  4. Expired


Correct Option: A
Explanation:

The default state of a VPC Peering connection is 'Pending'. Once the connection is accepted by the other VPC, it will become 'Active'.

How do you accept a VPC Peering connection request?

  1. From the VPC console, select the VPC you want to peer with and click on the 'Peering' tab

  2. From the VPC console, select the VPC you want to peer with and click on the 'Connections' tab

  3. From the VPC console, select the VPC you want to peer with and click on the 'Settings' tab

  4. From the VPC console, select the VPC you want to peer with and click on the 'Actions' tab


Correct Option: A
Explanation:

To accept a VPC Peering connection request, you need to go to the VPC console, select the VPC you want to peer with, and click on the 'Peering' tab.

What is the maximum size of a CIDR block that can be used for VPC Peering?

  1. /16

  2. /24

  3. /28

  4. /32


Correct Option: A
Explanation:

The maximum size of a CIDR block that can be used for VPC Peering is /16.

Can VPC Peering be used to connect VPCs across different accounts?

  1. Yes

  2. No


Correct Option: A
Explanation:

VPC Peering can be used to connect VPCs across different accounts, but both accounts must be in the same organization.

Can VPC Peering be used to connect VPCs across different regions?

  1. Yes

  2. No


Correct Option: B
Explanation:

VPC Peering can only be used to connect VPCs within the same region.

Can VPC Peering be used to connect VPCs across different clouds?

  1. Yes

  2. No


Correct Option: B
Explanation:

VPC Peering can only be used to connect VPCs within the same cloud.

What is the difference between VPC Peering and VPN?

  1. VPC Peering is used to connect VPCs within the same region, while VPN is used to connect VPCs across different regions

  2. VPC Peering is more secure than VPN

  3. VPC Peering is easier to configure than VPN

  4. VPC Peering is less expensive than VPN


Correct Option: A
Explanation:

The main difference between VPC Peering and VPN is that VPC Peering is used to connect VPCs within the same region, while VPN is used to connect VPCs across different regions.

What is the difference between VPC Peering and NAT Gateway?

  1. VPC Peering is used to connect VPCs within the same region, while NAT Gateway is used to connect VPCs to the internet

  2. VPC Peering is more secure than NAT Gateway

  3. VPC Peering is easier to configure than NAT Gateway

  4. VPC Peering is less expensive than NAT Gateway


Correct Option: A
Explanation:

The main difference between VPC Peering and NAT Gateway is that VPC Peering is used to connect VPCs within the same region, while NAT Gateway is used to connect VPCs to the internet.

- Hide questions