4 of the 7 questions we have for this objective, shown with the answer and the reasoning.
Design network architectures
Halvorsen Freight runs 60 VPCs in 14 AWS accounts in us-east-1, all with non-overlapping CIDR ranges. Today the VPCs are connected by a growing full mesh of VPC peering connections, and every new VPC requires updates to route tables in dozens of other VPCs. The network team also needs to route all traffic between the production OU's VPCs and the development OU's VPCs through a central inspection VPC that runs AWS Network Firewall. The company wants the design with the least ongoing operational overhead as the VPC count grows to 150.
Which solution should the solutions architect recommend?
- AUse a single shared VPC from the network account, share its subnets to all 14 accounts with AWS RAM, and place Network Firewall endpoints in the routes between the subnets.VPC sharing can consolidate workloads, but it would require re-deploying all 60 VPCs' resources into shared subnets, which is a large migration. Mixing production and development in one VPC also weakens the environment boundary the company is trying to enforce.
- BKeep VPC peering, add peering connections from every VPC to the inspection VPC, and point each VPC's routes for the other environment at its peering connection to the inspection VPC.VPC peering is not transitive, so traffic cannot enter the inspection VPC on one peering connection and leave on another toward a third VPC. The mesh would also keep growing quadratically.
- CShare a transit gateway from a network account with AWS RAM, attach every VPC, and use per-environment route tables that send cross-environment traffic to the inspection VPC.A transit gateway is a regional hub that scales to thousands of attachments. Separate route tables for production, development and inspection, with association and propagation, give segmentation, and routing each environment's cross-environment traffic to the inspection VPC attachment (with appliance mode enabled) forces inspection between environments.
- DCreate an AWS PrivateLink endpoint service in each VPC and interface endpoints in every other VPC that needs to reach it.PrivateLink exposes specific services behind a Network Load Balancer, not full bidirectional IP routing between VPCs. Building endpoints for every pair would increase, not reduce, overhead and cannot be steered through Network Firewall as a routing hop.
Why: When the number of VPCs grows beyond a handful and traffic must pass through a central inspection point, a transit gateway is the standard hub. It replaces N*(N-1)/2 peering connections with one attachment per VPC and supports multiple route tables for segmentation. VPC peering is non-transitive, so it cannot implement a bump-in-the-wire inspection VPC. Enable appliance mode on the inspection VPC attachment so that both directions of a flow use the same firewall endpoint Availability Zone.
Design network architectures
Corriemont Films streams licensed content that, by contract, must be served to viewers in Europe only from its stack in eu-west-1 and to all other viewers from its stack in us-east-1. Some viewers connect from IP addresses that Amazon Route 53 cannot map to any geographic location. Every viewer must receive a DNS answer for watch.corriemont.example.
How should the solutions architect configure Route 53?
- ACreate geolocation records for the continent Europe pointing to eu-west-1 and for North America pointing to us-east-1 only.Without a Default record, viewers from other continents or from unmapped IP addresses receive no answer.
- BCreate weighted records that send 50 percent of queries to each Region, with health checks for failover.Weighted routing distributes queries by ratio without regard to viewer location, so it cannot enforce the regional licensing rule.
- CCreate latency-based records for eu-west-1 and us-east-1 with health checks on each Regional stack.Latency routing chooses the Region with the lowest network latency, which can send European viewers to us-east-1, breaking the licensing contract.
- DCreate geolocation records for Europe pointing to eu-west-1 and for the Default location pointing to us-east-1.Geolocation routing answers based on where the viewer's DNS query originates. A record for the continent Europe sends European viewers to eu-west-1, and the Default record catches all locations not explicitly configured, including addresses that cannot be mapped, so every viewer gets an answer.
Why: Geolocation routing is the Route 53 policy for location-based requirements such as content licensing, localization or data restrictions. Records can target a continent, country or US state, and a Default record answers for any location without a specific record and for addresses that cannot be geolocated. Latency and weighted routing optimize for performance or distribution, not for where the user is. Forgetting the Default record is the most common mistake with geolocation routing.
Design network architectures
Corvalis Energy has an EC2 instance in a VPC in the workloads-prod account that cannot open a TCP 5432 connection to an Amazon RDS for PostgreSQL instance in a VPC in the data-prod account. The VPCs are connected through a shared transit gateway in us-east-1. The network team has many security groups, network ACLs and transit gateway route tables to check and wants to find the blocking component without sending test traffic.
Which AWS tool should the team use?
- AVPC Reachability Analyzer, with a path from the instance's network interface to the RDS network interface on TCP 5432.Reachability Analyzer performs static configuration analysis across security groups, network ACLs, route tables and transit gateways, and reports the exact component that blocks the path. It supports cross-account analysis within an organization.
- BVPC Flow Logs on both VPCs and the transit gateway attachments, queried in Amazon CloudWatch Logs Insights for REJECT records on port 5432.VPC and transit gateway flow logs show traffic that was accepted or rejected after it is sent, so they require test traffic and do not identify missing routes, which produce no REJECT record.
- CAmazon Inspector network reachability findings for the EC2 instance.Inspector network reachability looks at exposure of EC2 instances to the internet and other networks, not at a specific path to a database in another account.
- DAWS CloudTrail Lake queries for AuthorizeSecurityGroupIngress events in both accounts.CloudTrail shows who changed configurations and when, but it does not evaluate whether the current configuration allows the path.
Why: Reachability Analyzer models a network path from a source to a destination using the current configuration and returns either a reachable path with every hop or the specific component that blocks it, such as a security group rule, network ACL or missing transit gateway route. Because it is a static analysis, no packets are sent. Flow logs complement it for observing real traffic, but they cannot explain routes that do not exist. With a delegated administrator account, the analysis can cover resources across accounts in the organization.
Design network architectures
Quillon Payments provides a tokenization API that runs on Amazon EC2 behind a Network Load Balancer in its own account, quillon-tokens, in eu-west-1. Forty customer AWS accounts, each owned by a different external company, need to call the API privately. Many customer VPCs use 10.0.0.0/16, which overlaps with Quillon's VPC and with each other. Quillon must not gain any network route into customer VPCs.
Which connectivity option meets these requirements?
- AExpose the API through an internet-facing Application Load Balancer and restrict the security group to the customers' NAT gateway Elastic IP addresses.This sends traffic over the public internet, which does not meet the requirement for private connectivity, and maintaining a list of customer IP addresses adds operational burden.
- BCreate a VPC peering connection from each customer VPC to the Quillon VPC and restrict the route tables to the NLB subnets.VPC peering cannot be established between VPCs with overlapping CIDR blocks, and it creates a bidirectional route between the two networks.
- CAttach every customer VPC to a transit gateway owned by quillon-tokens and shared through AWS RAM, and use separate transit gateway route tables to isolate customers from each other.Transit gateway routing is IP based and cannot handle identical overlapping CIDRs without NAT appliances. It also gives Quillon a routed path into customer networks.
- DPublish the NLB as an AWS PrivateLink endpoint service, allow each customer's account principal, and have customers create interface VPC endpoints.PrivateLink delivers traffic one way from consumer interface endpoints to the provider's NLB using elastic network interfaces in the consumer VPC, so overlapping CIDRs do not matter and the provider has no route into consumer VPCs.
Why: AWS PrivateLink is the service-oriented connectivity option: a provider publishes an endpoint service behind a Network Load Balancer, and consumers reach it through interface endpoints that receive IP addresses from their own subnets. Because no routes are exchanged, overlapping CIDRs are irrelevant and connections can only be initiated from consumer to provider. Peering and transit gateway both need unique address space and create routed network adjacency, which the scenario forbids. Requiring acceptance or using an allowed principals list lets the provider control which accounts can connect.