CertNote/ Commute Study Notes
Roadmap
KOEN
CLF-C02 · FoundationalCloud Practitioner - Foundational
DVA-C02 · AssociateDeveloper - Associate
SAA-C03 · AssociateSolutions Architect - Associate
SOA-C02 · AssociateCloudOps Engineer - Associate
SAP-C02 · ProfessionalSolutions Architect - Professional
  • Week 1
    • 1.The Game Called the SAP Exam: Hands-On Techniques for Decomposing Scenarios
    • 2.IAM, STS, and Federation: Splitting the Word "Permission" into Six Layers
    • 3.The Anatomy of a VPC: What Route Tables Really Decide
    • 4.Four Compute Pillars in Depth: Revisiting Nitro, EBS, ELB, and Auto Scaling Through a Pro Lens
    • 5.Week 1 Integration: When IAM, VPC, and EC2 Meet in a Single Scenario
  • Week 2
  • Week 3
    • 1.VPC Peering vs Transit Gateway: Network Topology Selection
    • 2.Direct Connect Architecture and Redundancy: Physics of Dedicated Lines
    • 3.Site-to-Site VPN and Client VPN: Everything About IPsec Tunnels
    • 4.PrivateLink and VPC Endpoint: Service-Oriented Networking
    • 5.Week 3 Review: Advanced Networking Architecture Synthesis
  • Week 4
  • Week 5
  • Week 6
  • Week 7
  • Week 8
  • Week 9
  • Week 10
  • Week 11
  • Week 12
  • Week 13
  • Week 14
  • Week 15
  • Week 16
DOP-C02 · ProfessionalDevOps Engineer - Professional
Linux Master 2 · 2급KAIT Linux Master - Level 2
SCS-C03 · SpecialtySecurity - Specialty
Linux Master 1 · 1급KAIT Linux Master - Level 1
MLA-C01 · AssociateMachine Learning Engineer - Associate
AIF-C01 · FoundationalAI Practitioner - Foundational
DEA-C01 · AssociateData Engineer - Associate
MLS-C01 · SpecialtyMachine Learning - Specialty
SQLD · 개발자SQL Developer (SQLD)

© CertNote · 주간랩스

  • About
  • Changelog
  • Contact
  • Terms
  • Privacy
← SAP-C02/Week 3/Day 5

Based on the SAP-C02 exam guide·Report an error

SAP-C02· ProWeek 3 · Day 5~44 min read

Day 5 - Week 3 Review: Advanced Networking Architecture Synthesis

Week 3 covered the entire spectrum of AWS advanced networking. Three axes—inter-VPC connectivity (Peering, TGW, Cloud WAN), on-premises connectivity (Direct Connect, Site-to-Site VPN, Client VPN), and service-level private access (PrivateLink, Gateway Endpoint)—and how they complement and substitute for each other was this week's core. Today's goal isn't re-memorizing individual services but developing the ability to instantly judge "why this service is correct in this scenario and why others aren't."

On SAP-C02, one keyword changes the entire networking answer. "CIDR overlap" = Peering and TGW immediately disqualified. "Unidirectional service exposure" = PrivateLink becomes strong candidate. "Sub-1-second failover" = BFD. "Circuit encryption" = MACsec. Today is mastering this keyword-to-answer mapping.


Connection Pattern Selection Tree

Mastering this decision tree makes 70% of exam networking questions clear direction in first 15 seconds.

Inter-VPC connectivity needed?
    ├── 2 VPCs, no CIDR overlap, simple connection → VPC Peering
    ├── 3+ VPCs, hub-spoke, on-premises included → Transit Gateway
    └── Global multi-region, single policy management → AWS Cloud WAN

On-premises connectivity needed?
    ├── Fast deployment (minutes), temporary, backup → Site-to-Site VPN
    │   └── Throughput expansion needed → TGW + ECMP (max 50Gbps theoretical)
    ├── High volume, consistent latency, regulated, long-term → Direct Connect
    │   ├── Single VPC → Private VIF + VGW
    │   ├── Multi-VPC/region → Transit VIF + DX Gateway + TGW
    │   ├── AWS public services (S3 public IPs) → Public VIF
    │   ├── 99.99% SLA → Maximum Resiliency (2 Locations × 2 circuits)
    │   ├── L2 encryption regulation → MACsec (10G/100G Dedicated)
    │   └── Sub-1-second failover → Enable BFD
    └── Individual employee terminals → Client VPN (OpenVPN, SAML/mTLS/AD auth)

Third-party/internal service private access?
    ├── CIDR overlap or unidirectional service exposure → PrivateLink (Interface Endpoint)
    ├── S3, DynamoDB only (cost minimal) → Gateway Endpoint (free)
    └── Security appliance traffic chaining → Gateway Load Balancer Endpoint

💡 OSI Layer Service Mapping: Topology theory perspective, these services handle different abstraction levels. VPC Peering and TGW handle L3 network level connection (IP routing). PrivateLink handles service level connection (DNS + ENI, L4-L7). DX handles L1/L2 physical-datalink level with L3 BGP on top. MACsec is L2 (ethernet frame) encryption. Abstraction level differences determine each service's characteristics (CIDR requirements, directionality, scalability). For example, PrivateLink allows CIDR overlap because connecting at service unit (ENI) level, not IP routing. L3 bypass with L4 connection means CIDR collision doesn't cause routing problems.


Service-by-Service Comparison Table

All Connectivity Services

ServiceDirectionCIDR OverlapTransitive RoutingMulti-RegionCost
VPC PeeringBidirectionalNot allowedNot allowedPossible (separate Peering)Free (same AZ) / $0.01/GB (cross-AZ)
TGWBidirectionalNot allowedPossible (within TGW)TGW Inter-Region Peering$0.05/hr + $0.02/GB
Cloud WANBidirectionalNot allowedPossible (via policy)Native globalCore Network Edge hourly
DXBidirectionalNot allowedDXGW+TGWVia DXGWPort + hourly + GB
Site-to-Site VPNBidirectionalNot allowedPossible via TGWRegional separate$0.05/hr + $0.09/GB
PrivateLinkUnidirectionalAllowedN/ACross-Region support (2024)ENI $0.01/hr + $0.01/GB
Gateway EndpointUnidirectional (VPC→service)N/ANot possible (VPC internal only)Not possibleFree

🔍 Cost Pitfall: VPC Peering "free" means no charge for Peering connection itself. Actually cross-AZ data transfer charges ($0.01/GB) apply. Same-AZ Peering communication is free but crossing AZs incurs charge. TGW charges processing cost ($0.02/GB) plus hourly Attachment charge ($0.05/hour). Connecting 10 VPCs full-mesh Peering requires 45 Peerings but no connection cost. Switching to TGW adds 10 Attachments ($0.50/hr) plus throughput charges. However, operational burden drops 45→1. On SAP-C02, "cost minimization + few VPCs + simple connection" → Peering, "minimize operational burden + many VPCs" → TGW is correct.


Direct Connect Advanced

DX Redundancy SLA Comparison

Redundancy ModeConfigurationSLAUse Scenario
Maximum Resiliency2 Locations × 2 circuits = 4 circuits99.99%Mission-critical, finance, factory automation
High Resiliency2 Locations × 1 circuit = 2 circuits99.9%General enterprise
Development1 Location × 1 circuit + VPN backup99%Non-production, POC

💡 SLA Math: AWS DX SLA "99.99%" allows approximately 52.6 minutes downtime annually. "99.9%" allows 8.76 hours. "99%" allows 87.6 hours. Maximum Resiliency probability of two DX Locations failing simultaneously is product of each location's failure probability. Single Location SLA 99.9% = 0.1% failure = 0.001; two locations failing simultaneously = 0.001 × 0.001 = 0.000001 = 99.9999% availability. This is mathematical basis for AWS defining Maximum Resiliency as "2 Locations × 2 circuits." LAG (Link Aggregation Group) bundles ports within same location, powerless against location-wide failure. Even 4 circuits in same location can't achieve 99.99%.

VIF Selection Quick Reference

ScenarioCorrect VIFReason
Single small VPCPrivate VIF + VGWSimple, low cost
Multi-VPC, multi-regionTransit VIF + DXGW + TGWScalability
On-premises ↔ on-premises DX backboneSiteLinkBypasses AWS regions
AWS public services (S3 public IPs)Public VIFBGP advertise public IP range
L2 encryption regulationMACsec (10G/100G Dedicated)Ethernet frame encryption
Hosted ConnectionPrivate or Public VIFTransit VIF not supported

⚠️ Hosted Connection Pitfall: Hosted Connection (partner-provided) doesn't support Transit VIF. Only Dedicated Connection (AWS direct) enables Transit VIF creation. If connecting via partner and accessing multiple VPCs, either create Private VIF per VPC (complex) or request Dedicated Connection from partner. Exam with "partner DX + multiple VPCs" requires remembering this constraint. Also, Hosted Connection bandwidth (50Mbps~10Gbps) differs from Dedicated Connection (1G/10G/100G) options.

🔍 MACsec Deep Dive: MACsec (IEEE 802.1AE) encrypts per ethernet frame. DX places L2 ethernet on L1 fiber; MACsec encrypts entire L2 frame with AES-256. AWS supports MACsec only on 10Gbps and 100Gbps Dedicated Connections. 1Gbps Dedicated Connection and all Hosted Connections don't support MACsec. Distinguishing MACsec from IPsec (L3) and TLS (L7) is key when "circuit encryption" is regulated. MACsec encrypts link between AWS and DX Location; on-premises to DX Location requires separate MACsec equipment.


BGP Path Control Advanced

BGP Manipulation by Direction

On-premises → AWS direction (outbound from on-premises):
  Set high Local Preference on DX neighbor in on-premises BGP
  → On-premises BGP prefers DX path, sends via DX

AWS → On-premises direction (inbound to on-premises):
  Apply AS Path Prepending to VPN neighbor in on-premises BGP
  → AWS BGP prefers DX path with shorter AS Path
  → On DX failure, AWS selects only VPN path

🔍 BGP Attribute Propagation Scope: Understanding propagation scope reduces confusion. Local Preference exchanges only within iBGP (same AS) and doesn't transmit to eBGP peers. On-premises Local Preference doesn't transmit to AWS and only affects on-premises internal path selection. AS Path and MED (Multi-Exit Discriminator) transmit via eBGP to peers, so AWS router receives these values for path selection. Propagation scope difference explains directional BGP manipulation methods. RFC 4271 defines Local Preference as OPTIONAL NON-TRANSITIVE and AS Path as WELL-KNOWN MANDATORY, so AS Path always propagates across eBGP boundary.

⚠️ Exam Pitfall: "AWS → on-premises direction priority control" = AS Path Prepending. "On-premises → AWS direction priority control" = Local Preference. Confusing direction guarantees wrong answer. Another pitfall: "BFD speeds up DX failover" is correct, but BFD itself doesn't select paths—it detects failure and notifies BGP. BGP recalculates paths after BFD detection.

BGP Community and Routing Control

DX also features exam-appearing BGP Community fine-grained routing control.

AWS-advertised BGP Communities (to on-premises):
  7224:7100 - Local route within region
  7224:7200 - Global route within region
  7224:8100 - Same continent
  7224:9100 - Global

On-premises advertising with MED:
  Lower MED value → AWS prefers
  MED used when multiple paths from same AS; selects lower MED

TGW Route Table Isolation Patterns Advanced

Basic Isolation Model

[Dev VPC] ─Association→ RT-Workload
[Prod VPC] ─Association→ RT-Workload
[Stage VPC] ─Association→ RT-Workload
[Shared VPC] ─Association→ RT-Shared

Propagation settings:
Dev VPC → Propagate to RT-Shared (Shared VPC learns Dev CIDR)
Prod VPC → Propagate to RT-Shared (Shared VPC learns Prod CIDR)
Shared VPC → Propagate to RT-Workload (Dev/Prod learn Shared CIDR)

Result:
Dev→Prod: RT-Workload lacks Prod CIDR → blocked
Prod→Dev: RT-Workload lacks Dev CIDR → blocked
Dev→Shared: RT-Workload has Shared CIDR → allowed
Shared→Dev: RT-Shared has Dev CIDR → allowed

💡 Association vs Propagation Memorization: Association = "I follow this RT's decisions." Propagation = "I advertise my CIDR to this RT." Dev associates to RT-Workload, and Prod CIDR doesn't propagate to RT-Workload, then Dev→Prod packets blackhole. TGW Blackhole routes can be added as explicit static routes for "force-block even if CIDR accidentally propagates" defense purpose.

🎯 5-Environment Isolation Scenario: Large financial group operates dev, staging, production, shared, security across TGW. Needs dev↔prod, stage↔prod, dev↔stage isolation but all environments must access Shared and Security. Design: RT-Workload (Dev/Stage/Prod Association, only Shared+Security CIDR propagation), RT-Shared (Shared Association, all CIDR propagation), RT-Security (Security Association, all CIDR propagation). Security VPC's IDS/IPS sees all traffic and Security isn't just "read-only" observer but can intervene (traffic injection) via RT-Security knowing all CIDRs.


PrivateLink Advanced

Three Situations Where PrivateLink Is Correct Answer

  1. CIDR-overlapping VPCs or accounts sharing services: Peering and TGW impossible due to CIDR overlap.
  2. Unidirectional service exposure: Consumer calls only API, can't access Producer's internal network.
  3. SaaS/third-party services with private access without internet: Snowflake, Datadog, MongoDB Atlas provide PrivateLink Endpoint Service.

Endpoint Type Comparison

Endpoint TypeSupported ServicesCIDR ImpactCostDNS
Interface EndpointMost AWS services, PrivateLink customCreates ENI in VPC$0.01/hr + GBPrivate DNS name
Gateway EndpointS3, DynamoDB onlyRoute table changeFreeNo change
GWLB EndpointSecurity appliancesGENEVE tunnelPer GBNone

📚 Real Case: 2023 Korean fintech connecting to overseas payment processing SaaS faced regulatory requirement "data must not traverse public internet." SaaS vendor provided AWS PrivateLink Endpoint Service; fintech created Interface Endpoint in VPC and completed private connection despite CIDR overlap (10.0.0.0/8). Implementation 4x faster than VPN tunnel design with reduced operational staff. 2024 Cross-Region PrivateLink GA'd, enabling Interface Endpoints to other-region Endpoint Services—also exam scope.

⚠️ Gateway Endpoint Pitfall: Gateway Endpoint unusable from on-premises (DX/VPN). Gateway Endpoint adds prefix-list-form routes to VPC route table. Routes apply only to VPC-internal traffic; on-premises traffic via DX/VPN doesn't use these routes. For on-premises private S3 access without internet, use S3 Interface Endpoint or Public VIF. Exams with "on-premises + S3 + no internet" select Interface Endpoint or Public VIF, not Gateway Endpoint.


SAP-C02 Scenario Decoding Methodology

Five-step analysis decodes networking questions quickly.

1. WHO: Who accesses? (Employee laptop → Client VPN, on-premises server → DX/VPN, VPC→VPC → Peering/TGW)
2. WHAT: Access what? (S3 → Gateway Endpoint, AWS service → Interface Endpoint, custom service → PrivateLink)
3. WHY: Why private access? (Regulation, security, latency, cost)
4. CONSTRAINTS: What constraints? (CIDR overlap, SLA, encryption, bandwidth, time)
5. KEYWORD: Decisive keyword?
   - "CIDR overlap" → PrivateLink
   - "Transitive routing" → TGW (not Peering)
   - "Circuit encryption" → MACsec
   - "1-second failover" → BFD
   - "99.99% SLA" → Maximum Resiliency
   - "On-premises ↔ on-premises without AWS transit" → SiteLink
   - "Unidirectional" → PrivateLink
   - "Operational minimization + global" → Cloud WAN

🎯 Exam Strategy: SAP-C02 networking questions usually have 2-3 answer candidates; 1-2 constraints narrow to one. "DX + VPN concurrent + AWS→on-premises DX priority" = AS Path Prepending keyword. "DX + sub-1-second failover" = BFD keyword. "50 VPCs + central API access + CIDR overlap possible" = PrivateLink Endpoint Service keyword. Repeating pattern mapping reduces reading time and speeds judgment.


Closing: Week 3 Core Keywords Compilation

KeywordInstant Service Association
CIDR overlapPrivateLink (Interface Endpoint)
Transitive routing neededTGW (Peering excluded)
Global single policyCloud WAN
Circuit L2 encryptionMACsec
DX 1-second failoverBFD
DX 99.99% SLAMaximum Resiliency (2 Locations × 2 circuits)
On-premises→AWS priorityLocal Preference
AWS→on-premises priorityAS Path Prepending
S3/DynamoDB free accessGateway Endpoint
On-premises private S3 accessInterface Endpoint or Public VIF
Unidirectional service exposurePrivateLink Endpoint Service + NLB
Stateful appliance chainingGWLB + GWLB Endpoint
Individual employee VPC accessClient VPN (SAML/mTLS/AD)
Multi-VPC on-premises DXTransit VIF + DXGW + TGW
On-premises ↔ on-premises without AWS transitDX SiteLink
Hosted DX + multi-VPCTransit VIF impossible → Dedicated required

📝 Practice Questions

Click a choice to reveal the answer and explanation.

Question 1

Global logistics company operates 60 VPCs across 3 regions (us-east-1, eu-west-1, ap-northeast-1) via AWS Organizations. Seoul headquarters must privately access all-region VPCs; VPCs segmented into dev/staging/production isolation while all environments access shared service VPC (DNS, LDAP). Minimize operational burden:

Question 2

Financial company connects Seoul datacenter ↔ us-east-1 via DX. Audit requires "DX circuit itself encrypted." Also DX port failure sub-1-second auto-failover required. Currently 10Gbps Dedicated Connection. Appropriate technology combination:

Question 3

Healthcare company multi-account (HIPAA) environment. 50 hospital VPCs must access central medical data analysis VPC API only; hospital ↔ hospital communication absolutely prohibited; analysis VPC internal IP structure unexposed to hospitals. CIDR overlap possible. Most appropriate configuration:

Question 4

E-commerce company pre-Black Friday needs on-premises inventory ↔ AWS Lambda order processing bandwidth expansion. Currently single Site-to-Site VPN (VGW). DX installation 6 months. Immediately expand throughput next week:

Question 5

Security team inspects all VPC internet outbound via central Palo Alto Networks firewall. Appliance must maintain stateful inspection with original source IP. Firewall operates separate Security account; workload VPCs many dozens. Most appropriate architecture:

Question 6

Fintech operates DX + VPN dual connection to on-premises. AWS→on-premises traffic (inbound) must prioritize DX via BGP. Correct method:

Question 7

Global media company accesses us-east-1 S3 (rendering results), Secrets Manager (API keys), ECR (container images) from batch EC2 fleet. All access without internet; optimize cost. Optimal configuration:

Question 8

Insurance company operates DX from 2 on-premises datacenters (Seoul Gangnam, Seoul Gasan). Current: Gangnam DC → DX Location A (1G 1 circuit), Gasan DC → DX Location B (1G 1 circuit). Single Location failure causes outage. Achieve 99.99% SLA:

Question 9

Company provides payment processing microservice to 20 customer VPCs. Customer CIDR unknown, may overlap. Customers call payment API only; no internal resource access. Minimize new customer onboarding operational burden:

Question 10

Multinational pharma company analyzes clinical data AWS. 200 researchers access AWS analysis (JupyterHub, RStudio) from laptops. Company uses Azure AD IdP with SAML 2.0. Works from office/home/travel. Data VPC-internal, no internet exposure. Optimal configuration:

Question 11

Which correctly describes AWS TGW ECMP (Equal-Cost Multi-Path)?

Question 12

Company connects datacenter A (New York) and datacenter B (London) via DX each. Direct inter-datacenter communication required; currently via internet on-premises routers. Use AWS backbone for stable low-latency but don't traverse AWS region resources. Most appropriate configuration:

Next Week Preview: Week 4 Hybrid Cloud

Week 4 covers AWS boundary-extension services. Outposts (AWS infrastructure at customer datacenters), Local Zones (city-level latency minimization), Wavelength (telecom 5G edge), Storage Gateway (on-premises storage integration), Snow Family (massive data physical movement), EKS/ECS Anywhere (container on-prem extension) are topics. Two common keywords: "run AWS APIs from on-premises" and "datacenter↔AWS data transfer bandwidth/time problem." Classifying Week 4 services by these two axes solves half already.


PreviousPrivateLink and VPC Endpoint: Service-Oriented NetworkingWeek 3 · Day 4Next AWS Outposts, Local Zones, Wavelength: Extending the Cloud at the BoundaryWeek 4 · Day 1

Official references

  • SAP-C02 official exam page(opens in a new tab)
  • Amazon VPC documentation(opens in a new tab)
  • Amazon S3 documentation(opens in a new tab)
  • Elastic Load Balancing documentation(opens in a new tab)
  • AWS Lambda documentation(opens in a new tab)
  • AWS Organizations documentation(opens in a new tab)

On this page

  • Connection Pattern Selection Tree
  • Service-by-Service Comparison Table
  • All Connectivity Services
  • Direct Connect Advanced
  • DX Redundancy SLA Comparison
  • VIF Selection Quick Reference
  • BGP Path Control Advanced
  • BGP Manipulation by Direction
  • BGP Community and Routing Control
  • TGW Route Table Isolation Patterns Advanced
  • Basic Isolation Model
  • PrivateLink Advanced
  • Three Situations Where PrivateLink Is Correct Answer
  • Endpoint Type Comparison
  • SAP-C02 Scenario Decoding Methodology
  • Closing: Week 3 Core Keywords Compilation
  • Practice Questions
  • Next Week Preview: Week 4 Hybrid Cloud