passdrill
AWS SAA-C03 · VPC & Networking · Card 030/038 hard

A company has two VPCs peered across two different AWS Regions via an active VPC peering connection. An engineer tries to add an inbound security group rule in the first VPC that references the security group ID of an instance in the second VPC — the same pattern they already use successfully for VPCs peered within a single Region. What happens?

  1. It works identically to the same-Region case, because VPC peering fully supports security group referencing regardless of whether the peered VPCs are in the same or different Regions
  2. It fails to reference the peer security group; AWS does not support referencing a security group across a VPC peering connection when the peered VPCs are in different Regions, so the engineer must reference the peer VPC's CIDR block instead
  3. It works, but only for outbound rules; inbound rules can never reference a security group across any VPC peering connection, same-Region or cross-Region
  4. It fails because VPC peering itself does not support connections between VPCs in different Regions at all
Next card → Shuffle