AWS Certified Solutions Architect – Professional (SAP-C02) — Question 126

A software company hosts an application on AWS with resources in multiple AWS accounts and Regions. The application runs on a group of Amazon EC2 instances in an application VPC located in the us-east-1 Region with an IPv4 CIDR block of 10.10.0.0/16. In a different AWS account, a shared services VPC is located in the us-east-2 Region with an IPv4 CIDR block of 10.10.10.0/24. When a cloud engineer uses AWS CloudFormation to attempt to peer the application VPC with the shared services VPC, an error message indicates a peering failure.

Which factors could cause this error? (Choose two.)

Answer options

Correct answer: A, E

Explanation

The correct answer is A because overlapping IPv4 CIDR blocks prevent VPC peering from being established. E is also correct since the IAM role in the peer accepter account must have the appropriate permissions to allow the peering connection. Options B, C, and D are incorrect because the regions do not affect the peering when the proper configurations and permissions are in place.