Exam trap: an architecture using a VGW that wants to "reduce latency/jitter for the VPN" → you must move the VPN to a Transit Gateway attachment and then enable Accelerated VPN. An answer that only says "enable acceleration on the VGW" is wrong.
Best for:
- Getting started with hybrid
- Lower bandwidth requirements (<1.25 Gbps)
- Quick setup needed
- Backup for Direct Connect
Limitations:
- Performance varies with internet
- Max ~1.25 Gbps per tunnel
Update 01/2024: Geoproximity used to be available only through Traffic Flow (traffic policy, paid). Since January 2024, geoproximity is a standard routing policy: you create it directly like a regular record in a public or private hosted zone, via console/API/CLI/CloudFormation. Traffic Flow is only needed when you want the visual editor or to combine multiple rules in one traffic policy. A question claiming "geoproximity requires Traffic Flow" reflects outdated knowledge.
1. Endpoint Health Checks:
- HTTP/HTTPS/TCP
- Check specific endpoint
- Configure threshold
2. Calculated Health Checks:
- Combine multiple health checks
- AND, OR logic
3. CloudWatch Alarm Health Checks:
- Based on CloudWatch alarm state
- For private resources
2 tunnels per VPN connection, active-active (BGP) or active-standby. The two tunnels terminate at 2 different AWS endpoints (different AZs) for HA. Each tunnel maxes out at 1.25 Gbps. Both tunnels should be configured on the Customer Gateway device. If you use only 1 tunnel, you have no redundancy on the AWS side. BGP prefers the tunnel with the best path; non-BGP (static routing) usually uses active-standby.
How does Accelerated VPN differ from regular VPN?
Show answer
Accelerated VPN (Accelerated Site-to-Site VPN) routes traffic through AWS Global Accelerator anycast IPs: traffic enters the AWS network at the nearest Edge Location, then traverses the AWS backbone. This reduces latency and jitter compared to routing everything over the public internet. Suitable for: global on-premises offices far from the AWS Region, latency-sensitive applications, gaming/VoIP over VPN. Requirement: the VPN connection must be attached to a Transit Gateway; a Virtual Private Gateway does not support accelerated VPN. It adds a Global Accelerator fee (~$0.025/hour + data fees).
Which authentication methods does Client VPN use?
Show answer
3 methods: (1) Active Directory (AWS Managed Microsoft AD or AD Connector, authenticating with corporate credentials), (2) Certificate-based (mutual TLS, where both client and server have certificates from a CA), (3) SAML-based federated authentication (Okta, Azure AD, Ping Identity). You can combine AD + Certificate. Client VPN uses the OpenVPN protocol, compatible with many VPN clients (AWS VPN Client, OpenVPN Connect).
What is VPN CloudHub used for?
Show answer
VPN CloudHub lets multiple on-premises sites communicate with each other through AWS as a hub. Each site has a Site-to-Site VPN connected to the same VGW (Virtual Private Gateway). Traffic flows Site A → AWS VGW → Site B, with AWS acting as the intermediary. It suits companies with many offices that need to connect to each other without a dedicated MPLS network. It is not a separate service, just an architecture pattern on top of existing VPNs.
How do you increase VPN bandwidth?
Show answer
(1) Multiple VPN connections + ECMP via Transit Gateway: many parallel connections, aggregate bandwidth. (2) Accelerated VPN reduces latency but does not increase per-tunnel throughput. (3) If you need > 10 Gbps: migrate to Direct Connect (1G, 10G, or 100G). With TGW + ECMP: N VPN connections × 2 tunnels/connection × 1.25 Gbps/tunnel = N × 2.5 Gbps. The Customer Gateway device must support ECMP and BGP.
What are the 8 Route 53 routing policies?
Show answer
(1) Simple: single resource, no health check, (2) Weighted: % of traffic by weight, A/B testing, (3) Latency-based: route to the Region with the lowest latency, (4) Failover: active-passive with health check, (5) Geolocation: route by the user's country/continent, (6) Geoproximity: route by geographic proximity with bias -99..+99 (since 01/2024 created directly in the hosted zone, no Traffic Flow needed), (7) Multivalue Answer: multiple healthy IPs, (8) IP-based: route by client IP CIDR prefix (launched 06/2022).
How does Geolocation differ from Latency routing?
Show answer
Geolocation: routes based on physical geography (country, continent, subdivision); a user from Vietnam always goes to the endpoint assigned to Vietnam/Asia, regardless of latency. Use it for compliance (data residency), localization (show Vietnamese content), content restrictions. Latency-based: routes to the Region with the lowest latency; a user from Vietnam may go to Singapore or Tokyo depending on which has better latency. Use it for performance optimization.
What are the health check types?
Show answer
3 types: (1) Endpoint health checks: monitor an HTTP/HTTPS/TCP endpoint directly (Route 53 health checkers from many Regions), (2) Calculated health checks: combine the status of multiple health checks (AND/OR logic), (3) CloudWatch alarm health checks: status based on the CloudWatch alarm state. Health check frequency: 30s (standard) or 10s (fast, extra cost). Evaluation: an endpoint is considered healthy when > 18% of health checkers (spread across many Regions) report healthy; the Failure Threshold (default 3) is the number of consecutive failed checks each checker must see before reporting unhealthy. These are two different concepts; do not confuse them.
What is Route 53 Resolver used for?
Show answer
Route 53 Resolver is the DNS resolver in a VPC (by default at 169.254.169.253). Resolver Endpoints for hybrid connectivity: Inbound Endpoint: on-premises DNS forwards queries to AWS to resolve Route 53 private zones; Outbound Endpoint: EC2 in the VPC forwards queries to on-premises DNS servers. Resolver Rules define which domains forward to which DNS servers. Needed for Split-horizon DNS (same domain, different IPs internal vs external).
How does an ALIAS record differ from a CNAME?
Show answer
CNAME: DNS standard, maps a hostname → another hostname, cannot be used at the apex domain (example.com bare domain), queries are charged. ALIAS: Route 53 extension, maps a hostname → AWS resources (ALB DNS name, CloudFront, S3 website, API GW, Elastic Beanstalk), can be used at the apex domain, no separate query charge, supports health checks, AWS auto-updates the IP if the resource IP changes. Always prefer ALIAS for AWS resources.