0
0
AWScloud~20 mins

VPC peering concept in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
VPC Peering Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding VPC Peering Connectivity

Which statement correctly describes how two VPCs communicate when connected by a VPC peering connection?

AVPC peering allows direct routing of traffic between VPCs using private IP addresses without traversing the internet.
BTraffic between VPCs flows through the internet gateway of each VPC.
CVPC peering requires a VPN connection to enable communication between VPCs.
DVPC peering automatically shares all resources like security groups and route tables between VPCs.
Attempts:
2 left
💡 Hint

Think about how private networks connect without using the public internet.

Architecture
intermediate
2:00remaining
VPC Peering Route Table Configuration

You have two VPCs peered: VPC-A (10.0.0.0/16) and VPC-B (10.1.0.0/16). To enable instances in VPC-A to reach instances in VPC-B, what must you do?

AAdd a route in VPC-A's route table pointing 10.1.0.0/16 to the NAT gateway.
BAdd a route in VPC-B's route table pointing 10.0.0.0/16 to the internet gateway.
CAdd a route in VPC-A's route table pointing 10.1.0.0/16 to the VPC peering connection.
DNo route changes are needed; peering automatically updates route tables.
Attempts:
2 left
💡 Hint

Think about how traffic knows where to go inside a network.

security
advanced
2:00remaining
Security Group Behavior with VPC Peering

After establishing a VPC peering connection, which security group rule is required to allow inbound traffic from the peered VPC?

ANo security group changes are needed because peering bypasses security groups.
BAllow inbound traffic only from the internet gateway IP in the security group.
CAllow inbound traffic from 0.0.0.0/0 in the security group of the receiving instance.
DAllow inbound traffic from the peered VPC's CIDR block in the security group of the receiving instance.
Attempts:
2 left
💡 Hint

Consider how security groups filter traffic based on IP ranges.

service_behavior
advanced
2:00remaining
Limitations of VPC Peering Connections

Which of the following is a true limitation of AWS VPC peering connections?

AVPC peering connections do not support transitive routing between peered VPCs.
BVPC peering connections allow automatic DNS resolution between VPCs without configuration.
CVPC peering connections can be created between any number of VPCs without limits.
DVPC peering connections automatically replicate security group rules across VPCs.
Attempts:
2 left
💡 Hint

Think about how traffic flows through multiple peered VPCs.

Best Practice
expert
3:00remaining
Designing Scalable VPC Peering Architecture

You have 5 VPCs that need to communicate with each other. What is the best approach to minimize complexity and maintain security?

AUse internet gateways in each VPC and communicate over the public internet.
BUse a central VPC as a hub and peer all other VPCs to it (hub-and-spoke).
CConnect all VPCs through a VPN gateway in one VPC.
DCreate peering connections between every pair of VPCs (full mesh).
Attempts:
2 left
💡 Hint

Consider how to reduce the number of connections while keeping control.