Font size
WorksheetsAWS VPC Peering Worksheet
Total questions: 35
Worksheet time: 20mins
What is VPC Peering used for in AWS?
To connect EC2 instances within the same subnet
To connect two VPCs privately using AWS backbone
To connect a VPC to the internet
To connect on-premises data centers to AWS
VPC Peering connections are established between:
Only VPCs within the same region
VPCs within or across AWS accounts and regions
Only VPCs belonging to the same account
Only public subnets
Which AWS service helps manage VPC Peering connections?
AWS Transit Gateway
AWS Direct Connect
Amazon VPC Console
Route 53
Can a single VPC have multiple peering connections?
No, only one
Yes, but only up to 3
Yes, multiple connections are allowed
Only within the same region
What is the major limitation of VPC Peering?
It supports broadcast traffic
It allows transitive routing between VPCs
It doesn’t support transitive routing
It cannot connect private subnets
Which of the following must not overlap for VPC Peering to be established?
Region names
CIDR blocks
Security groups
IAM policies
VPC Peering traffic is routed over:
The public internet
AWS private global backbone network
VPN tunnels
Direct Connect
After creating a VPC Peering connection, what must be configured next?
Which of the following can communicate using VPC Peering?
Instances with public IPs only
Instances in both public and private subnets
Only instances using NAT
Only EC2 instances using Elastic IPs
Which AWS service is an alternative to managing multiple VPC Peerings?
AWS PrivateLink
AWS Transit Gateway
AWS VPN
Direct Connect Gateway
Which of the following routing types is supported by VPC Peering?
Dynamic routing
Static routing only
BGP-based routing
Transitive routing
Can VPC Peering be used to connect VPCs across different AWS accounts?
Yes
No
To enable communication between two peered VPCs, what must be updated?
IAM roles
Network ACLs
Route tables
VPC Flow Logs
VPC Peering supports which type of communication?
One-way
Two-way (bidirectional)
VPC Peering is billed based on:
Number of connections
Data transfer between VPCs
Hourly connection uptime
Which of the following can’t be shared over VPC Peering?
EC2 instances
RDS snapshots
Route 53 private zones
S3 buckets
Which network CIDR overlap condition causes peering creation failure?
/24 overlap
Any CIDR overlap
Same region overlap only
/32 overlap only
Can VPC Peering connect IPv6-enabled VPCs?
Yes
No
How can you monitor traffic between peered VPCs?
CloudWatch Logs
VPC Flow Logs
CloudTrail
IAM Access Analyzer
Who must accept a VPC Peering request if it’s between different AWS accounts?
Requester VPC owner
Accepter VPC owner
AWS Administrator
IAM user automatically
You have two VPCs — one for production and one for testing. You want secure communication without internet exposure. What should you configure?
NAT Gateway
VPC Peering
Internet Gateway
VPN Connection
You created a VPC Peering connection but EC2 instances can’t communicate. What’s the likely cause?
Peering not accepted
Route tables not updated
What is a common issue when connecting VPCs using VPC Peering?
Security group misconfiguration
Route table misconfiguration
Overlapping CIDRs
All of the above
Two VPCs (A and B) are peered. You create a new VPC (C) and want it to access A via B. Will this work?
Yes, automatically
No, because VPC Peering is not transitive
A company needs full-mesh connectivity between four VPCs. What’s the best approach?
Create multiple VPC Peerings (6 total)
Use AWS Transit Gateway
Use a single VPN connection
A company has two departments, HR and Finance, each with its own VPC. HR needs to access the Finance department’s internal payroll API privately. What is the most cost-effective and secure way to achieve this?
Use Internet Gateway and security groups
Create a VPN tunnel between VPCs
Create a VPC Peering connection and update route tables
Use AWS Direct Connect
Your organization uses microservices hosted in different VPCs for scalability. To enable inter-service communication, which AWS feature should be used?
VPC Endpoints
VPC Peering
Elastic Load Balancer
AWS Shield
You have a VPC Peering connection between VPC-A (Production) and VPC-B (Analytics). The Analytics team can access the database in Production, but Production cannot access Analytics data. What’s the likely cause?
Route tables are configured only in VPC-B
VPC CIDR overlap
Security group in Analytics VPC is blocking traffic
Peering request not accepted
Your development team frequently launches temporary VPCs for testing. They need to access an internal API hosted in the main VPC securely and quickly. What’s the best approach?
Create new VPC Peering for each test VPC
Use Transit Gateway to connect all test VPCs to main VPC
Deploy the API publicly
Use AWS Site-to-Site VPN
Two VPCs have a peering connection, and an EC2 instance in VPC-A is unable to connect to an RDS instance in VPC-B using its private IP. What is the first thing you should check?
IAM Role permissions
Route table entries in both VPCs
EC2 key pair configuration
RDS storage type
You are tasked with connecting multiple VPCs for cross-region analytics processing. Which AWS option provides simplified management and optimized network performance?
Multiple VPC Peering connections
Transit Gateway
VPN over the Internet
AWS PrivateLink
You notice that a VPC Peering connection is active, but EC2 instances in both VPCs still can't communicate. What's the most probable cause?
DNS hostnames disabled
Security group or NACL blocking inbound traffic
Route table already configured
Peering expired automatically
A startup wants to share a private API hosted in their AWS account with a partner company securely over AWS backbone. Which service should they use?
VPC Peering
AWS Direct Connect
API Gateway Public Endpoint
Internet Gateway
After setting up inter-region VPC Peering between Mumbai and Singapore, the data transfer bill has unexpectedly increased. What could be the reason?
Peering uses internet data transfer rates
Inter-region VPC Peering incurs cross-region data transfer charges
Misconfigured NAT Gateway
Traffic flowing via public IPs
You are migrating applications to AWS and need to connect your legacy VPC network with new microservice-based VPCs. Your goal is high security, no single point of failure, and centralized management. Which approach fits best?
VPC Peering
Transit Gateway
VPN connection
Elastic IP communication
