# AWS Transit Gateway

Cloud service · AWS. Updated 2026-11-12. Page: https://blowstack.com/tools/cloud-services-hub/aws-transit-gateway

> AWS Transit Gateway is a service that enables customers to connect their Amazon Virtual Private Clouds (VPCs) and their on-premises networks to a single gateway, simplifying their network architecture and enabling scalable, efficient routing among thousands of VPCs, AWS accounts, and on-premises environments.

Practice exams covering AWS Transit Gateway: [ANS-C01 AWS Certified Advanced Networking - Specialty](https://blowstack.com/practice-exams/aws-certified-advanced-networking-specialty), [CLF-C02 AWS Certified Cloud Practitioner](https://blowstack.com/practice-exams/aws-certified-cloud-practitioner), [SOA-C03 AWS Certified CloudOps Engineer - Associate](https://blowstack.com/practice-exams/aws-certified-cloudops-engineer-associate), [SCS-C03 AWS Certified Security - Specialty](https://blowstack.com/practice-exams/aws-certified-security-specialty), [SAA-C03 AWS Certified Solutions Architect - Associate](https://blowstack.com/practice-exams/aws-certified-solutions-architect-associate), [SAP-C03 AWS Certified Solutions Architect - Professional](https://blowstack.com/practice-exams/aws-certified-solutions-architect-professional).

## 8 key features of AWS Transit Gateway

AWS Transit Gateway simplifies network management by enabling scalable connectivity, centralized routing control, and integrated security features for thousands of VPCs and on-premises networks, while also being cost-effective and supporting multi-region architectures.

1. **Simplified Network Management**: AWS Transit Gateway allows for the interconnection of VPCs and on-premises networks through a central hub, simplifying the network management process by reducing the number of connections needed to be made and managed.
2. **Scalable Connectivity**: It supports scalable connectivity of thousands of Virtual Private Clouds (VPCs), enabling large-scale cloud infrastructure deployment without the complexity of managing a plethora of point-to-point connections.
3. **Centralized Routing Control**: With AWS Transit Gateway, you have centralized control over your network routing, allowing you to easily manage how traffic is directed between your VPCs, on-premises networks, and the Internet.
4. **Integrated Security Features**: It offers integrated security features such as network segmentation and traffic inspection, enhancing the overall security posture of your cloud network infrastructure.
5. **Cost-Effectiveness**: By consolidating multiple VPC and VPN connections into a single network transit hub, AWS Transit Gateway can reduce operational and connectivity costs.
6. **Multi-region Support**: AWS Transit Gateway provides multi-region support, enabling global networks to be interconnected efficiently, enhancing the performance of applications by lowering latency across different geographical locations.
7. **Cross-account Sharing with AWS RAM**: Share a transit gateway with other AWS accounts using AWS Resource Access Manager so those accounts can attach their VPCs; either account can delete an attachment.
8. **IPv4 and IPv6 Routing**: Transit gateway route tables support both IPv4 and IPv6 CIDRs and targets.

## Where AWS Transit Gateway is used

AWS Transit Gateway simplifies cloud network management by providing a centralized hub for connecting VPCs, on-premises networks, and other environments, facilitating hybrid cloud connectivity, enabling efficient multi-account network setups, and supporting advanced network segmentation and security configurations.

1. **Centralized Network Management**: AWS Transit Gateway acts as a cloud router, allowing organizations to connect their Amazon Virtual Private Clouds (VPCs), on-premises networks, and other networking environments through a central hub. This simplifies network management by reducing the complexity and number of route tables, network ACLs, and security groups that need to be manually configured.
2. **Hybrid Cloud Connectivity**: AWS Transit Gateway facilitates the seamless integration of on-premises networks with the AWS Cloud. By leveraging AWS Direct Connect or VPN connections, businesses can extend their existing infrastructure into the cloud, creating a cohesive hybrid environment that supports the dynamic nature of their workloads and data residency requirements.
3. **Multi-account AWS Environments**: For organizations utilizing AWS Organizations, AWS Transit Gateway enables the connection of VPCs across multiple AWS accounts without the need to establish peering connections individually between them. This allows for simplified network architecture and operational efficiency, particularly for large or evolving cloud environments.
4. **Network Segmentation and Security**: AWS Transit Gateway supports network segmentation, which is crucial for security and compliance. Users can isolate or segment network traffic based on workload or security posture, leveraging the Transit Gateway's ability to route traffic according to specific policies. This enables the enforcement of security policies and compliance standards more effectively across the network.

## How AWS Transit Gateway is priced

AWS Transit Gateway pricing includes charges for data processing, per-attachment fees, and extra costs for exceeding baseline route table propagations.

- **Data Processing Charges**: Per-gigabyte processing charges apply to data sent from VPC, Direct Connect, VPN, or Network Firewall attachments to Transit Gateway and to data received by each multicast receiver instance. Connect and Private IP VPN attachments have no additional processing charge beyond their underlying transport attachment. Data sent from a peering attachment to a Transit Gateway incurs no data processing charge.
- **Attachment Charges**: Hourly attachment charges apply to VPC, VPN, Direct Connect, Transit Gateway Connect, peering, and network function attachments. The billed account depends on the attachment type: the VPC owner, Transit Gateway owner for VPN and Connect, Direct Connect gateway owner, each peered Transit Gateway owner, or AWS Network Firewall owner, respectively.
- **Data Transfer Charges**: Standard AWS data transfer charges apply in addition to Transit Gateway charges.
- **Managed 1:1 NAT Add-on**: Managed 1:1 NAT on Transit Gateway is a paid add-on billed at standard Regional NAT Gateway hourly and data processing rates; the add-on data processing charges apply only to 1:1 NAT traffic.

## Services AWS Transit Gateway works with

- **[Amazon VPC](https://blowstack.com/tools/cloud-services-hub/amazon-vpc)**: Integrates multiple Amazon Virtual Private Clouds (VPCs) to enable communication between them via a central hub.
- **[AWS Direct Connect](https://blowstack.com/tools/cloud-services-hub/aws-direct-connect)**: Provides a dedicated network connection from on-premise environments to the AWS cloud for a more consistent network experience.
- **[AWS Site-to-Site VPN](https://blowstack.com/tools/cloud-services-hub/aws-site-to-site-vpn)**: Establishes secure VPN connections between on-premise sites and AWS, enabling communication with VPCs connected to the Transit Gateway.
- **[Amazon Athena](https://blowstack.com/tools/cloud-services-hub/amazon-athena)**: Transit Gateway flow logs delivered to Amazon S3 can be queried with Amazon Athena using tables defined for the transit gateway flow-log format. This lets you analyze traffic between attachments and investigate rejected traffic with SQL.
- **[Amazon CloudWatch](https://blowstack.com/tools/cloud-services-hub/amazon-cloudwatch)**: Transit Gateway publishes CloudWatch metrics for traffic volume, packet counts, and packet drops. You can also deliver transit gateway flow logs to CloudWatch Logs and create alarms to detect connectivity problems.
- **[Amazon Data Firehose](https://blowstack.com/tools/cloud-services-hub/amazon-kinesis-data-firehose)**: Transit Gateway flow logs can be delivered to Amazon Data Firehose. A delivery stream can forward these traffic records to supported storage and analytics destinations.
- **[Amazon EC2](https://blowstack.com/tools/cloud-services-hub/amazon-ec2)**: Transit Gateway Connect establishes GRE tunnels and BGP routing with network appliances running on EC2 instances. Transit Gateway multicast domains also use EC2 network interfaces to register multicast sources and receivers.
- **[Amazon EventBridge](https://blowstack.com/tools/cloud-services-hub/amazon-eventbridge)**: Transit Gateway API activity recorded by AWS CloudTrail can match EventBridge rules. For example, a rule can initiate an approval or notification workflow when someone creates a transit gateway VPC attachment.
- **[Amazon S3](https://blowstack.com/tools/cloud-services-hub/amazon-s3)**: Transit Gateway can publish flow logs to an S3 bucket for retention and traffic analysis. These logs record traffic traversing transit gateway attachments, including information useful for investigating routing problems and packet loss.
- **[AWS Client VPN](https://blowstack.com/tools/cloud-services-hub/aws-client-vpn)**: Transit Gateway supports attachments to Client VPN endpoints, allowing remote-access clients to reach networks connected to the transit gateway. Routing and authorization rules control which destinations those clients can access.
- **[AWS CloudFormation](https://blowstack.com/tools/cloud-services-hub/aws-cloudformation)**: Transit gateways, VPC attachments, route tables, routes, and related resources can be provisioned with CloudFormation resource types. This lets you deploy and update a transit network as infrastructure as code.
- **[AWS CloudTrail](https://blowstack.com/tools/cloud-services-hub/aws-cloudtrail)**: Transit Gateway API calls are recorded by CloudTrail, including calls that create gateways, modify route tables, or manage attachments. These records identify who changed the network configuration and when.
- **[AWS Config](https://blowstack.com/tools/cloud-services-hub/aws-config)**: AWS Config records supported Transit Gateway resource configurations and can evaluate them for compliance. For example, a managed rule can check that automatic acceptance of shared VPC attachments is disabled.
- **[AWS Control Tower](https://blowstack.com/tools/cloud-services-hub/aws-control-tower)**: AWS Control Tower provides proactive controls for Transit Gateway resources deployed through CloudFormation. These controls can require automatic acceptance of shared VPC attachments to be disabled.
- **[AWS Fault Injection Service](https://blowstack.com/tools/cloud-services-hub/aws-fault-injection-simulator-(aws-fis))**: Transit Gateway supports fault-injection experiments that disrupt cross-Region connectivity through peering attachments. These experiments help test how applications respond when communication between Regions becomes unavailable.
- **[AWS Firewall Manager](https://blowstack.com/tools/cloud-services-hub/aws-firewall-manager)**: Transit Gateway can route traffic through the inspection VPC used by an AWS Firewall Manager centralized Network Firewall policy. Firewall Manager manages the firewall deployment and policy, while transit gateway attachments and routes direct traffic through inspection.
- **[AWS Global Accelerator](https://blowstack.com/tools/cloud-services-hub/aws-global-accelerator)**: Transit Gateway supports accelerated Site-to-Site VPN connections, which use AWS Global Accelerator to bring VPN traffic onto the AWS global network near the customer gateway. This can improve connection performance for geographically distant on-premises networks.
- **[AWS Identity and Access Management (IAM)](https://blowstack.com/tools/cloud-services-hub/aws-identity-and-access-management-(iam))**: Transit Gateway uses IAM policies to control who can create gateways, manage attachments, and change routing. Permissions can be scoped to supported transit gateway resources and constrained with tags.
- **[AWS Marketplace](https://blowstack.com/tools/cloud-services-hub/aws-marketplace)**: Transit Gateway Connect works with compatible SD-WAN and network virtual appliances available through AWS Marketplace. After deploying an appliance, you can establish GRE and BGP connectivity to exchange traffic and routes with the transit gateway.
- **[AWS Network Firewall](https://blowstack.com/tools/cloud-services-hub/aws-network-firewall)**: Transit Gateway supports network function attachments for AWS Network Firewall, allowing traffic to be routed directly through firewall inspection. It also supports centralized inspection architectures that place Network Firewall endpoints in an attached inspection VPC.
- **[AWS Resource Access Manager (AWS RAM)](https://blowstack.com/tools/cloud-services-hub/aws-resource-access-manager-(aws-ram))**: Transit Gateway can be shared with other AWS accounts through AWS RAM. Participating accounts can attach their VPCs to a centrally owned transit gateway while the owner manages its route tables.
- **[AWS Resource Groups and Tag Editor](https://blowstack.com/tools/cloud-services-hub/aws-resource-groups-and-tag-editor)**: Supported Transit Gateway resources can be discovered and tagged through Resource Groups and Tag Editor. Tags help organize gateways and attachments by application, environment, or ownership.
- **[AWS Security Hub](https://blowstack.com/tools/cloud-services-hub/aws-security-hub)**: AWS Security Hub provides a control that checks whether transit gateways automatically accept shared VPC attachments. Findings flag gateways that permit attachments without explicit acceptance.
- **[Elastic Load Balancing (ELB)](https://blowstack.com/tools/cloud-services-hub/elastic-load-balancing-(elb))**: Transit Gateway can route traffic through Gateway Load Balancer endpoints in a centralized inspection VPC. Appliance mode on the inspection VPC attachment helps preserve symmetric routing through stateful security appliances.
- **[VMware Cloud on AWS](https://blowstack.com/tools/cloud-services-hub/vmware-cloud-on-aws)**: Transit Gateway can peer with VMware Transit Connect, which uses VMware-managed transit gateways for SDDC groups. This connects customer-managed AWS networks to VMware Cloud on AWS SDDCs through a routed hub architecture.

## What is AWS Transit Gateway

Amazon Web Services (AWS) Transit Gateway represents a pivotal advancement in how cloud architects and network engineers can design interconnectivity across AWS services, external connections, and on-premises networks. This service acts as a hub that simplifies the networking and management complexities typically associated with large-scale network architectures. By allowing different Virtual Private Clouds (VPCs), VPN connections, and AWS Direct Connect gateways to communicate through a single gateway, it streamlines the process of scaling network connectivity and ensures a more organized, easy-to-manage networking architecture.

A primary function of the AWS Transit Gateway is to route traffic across your AWS VPCs, office locations, and data centers. Before its introduction, managing interconnectivity across multiple VPCs and external connections required establishing multiple peering connections, which became exponentially complex as the number of VPCs grew. AWS Transit Gateway simplifies this architecture by acting as a central point through which all traffic is routed, enabling a hub-and-spoke model. This model significantly reduces the operational burden and the potential for configuration errors, which can enhance both network reliability and security.

In addition to reducing complexity, AWS Transit Gateway is designed for high availability and scalability. It allows for the connection of thousands of VPCs, which is crucial for large organizations or service providers dealing with extensive networks. This eliminates the need for a meshed network of VPC peering connections, simplifying architecture without sacrificing the capacity for growth.

Moreover, the AWS Transit Gateway supports multicast traffic, an essential feature for applications that need to send the same content to multiple destinations simultaneously, such as in media distribution or live broadcasting scenarios. This capability was challenging to manage in cloud environments prior to the introduction of this service.

Multicast must be enabled on the transit gateway and uses multicast domains to send traffic from sources to group members over the VPC attachments associated with each domain.

Security within the AWS Transit Gateway ecosystem is managed through the use of route tables and network segmentation. Administrators can define which networks or VPCs can communicate with one another, adding an extra layer of security by isolating resources and controlling traffic flow. Furthermore, by integrating with AWS Identity and Access Management (IAM), it provides granular control over who can make changes to the Transit Gateway, enhancing overall security posture.

Each VPC or VPN attachment is associated with a single route table, which determines the next hop for traffic arriving from that attachment.

For organizations that require connectivity across geographic boundaries, AWS Transit Gateway offers a Cross-Region Peering feature. This facilitates secure and efficient routing of traffic between AWS regions, optimizing latency and bandwidth by keeping traffic on the AWS global network.

Transit gateway peering attachments support static routing only; routes to a peered transit gateway must point to the peering attachment.

In summary, AWS Transit Gateway is a comprehensive solution designed to address the challenges of network interconnectivity and management at scale. Its introduction has helped simplify network architecture, improve operational efficiency, and provide the scalability required by today's dynamic cloud environments. Whether for multicasting, simplified network management, or efficient cross-region communication, AWS Transit Gateway offers a robust set of features to support complex networking scenarios.

## Concepts related to AWS Transit Gateway

- [IP Routing](https://blowstack.com/tools/cloud-concepts-hub/ip-routing): IP routing is the process of selecting paths and forwarding Internet Protocol packets between networks using destination addresses and routing information.
- [Hub-and-Spoke Topology](https://blowstack.com/tools/cloud-concepts-hub/hub-and-spoke-topology): Hub-and-spoke topology is a network design in which multiple peripheral networks connect to a central hub that controls connectivity between them and shared destinations.
- [Border Gateway Protocol](https://blowstack.com/tools/cloud-concepts-hub/border-gateway-protocol): Border Gateway Protocol is a policy-based routing protocol that exchanges network reachability information between routers and autonomous systems.
- [Network Segmentation](https://blowstack.com/tools/cloud-concepts-hub/network-segmentation): Network segmentation divides a network into distinct zones and controls communication between them according to security requirements.
- [Generic Routing Encapsulation](https://blowstack.com/tools/cloud-concepts-hub/generic-routing-encapsulation): Generic Routing Encapsulation is a tunneling protocol that wraps network packets inside another IP packet to create a logical connection across an underlying network.
- [Network Peering](https://blowstack.com/tools/cloud-concepts-hub/network-peering): Network peering connects independently managed networks so their resources can communicate through explicitly configured routes and access controls.
- [Equal-Cost Multipath Routing](https://blowstack.com/tools/cloud-concepts-hub/equal-cost-multipath-routing): Equal-Cost Multipath Routing distributes traffic across multiple eligible network paths that have equal routing preference to the same destination.
- [SD-WAN](https://blowstack.com/tools/cloud-concepts-hub/sd-wan): SD-WAN is a software-defined approach to managing wide-area connectivity that uses centralized policy and an overlay network to steer traffic across underlying transport networks.
- [Static Routing](https://blowstack.com/tools/cloud-concepts-hub/static-routing): Static routing directs network traffic using explicitly configured destination-to-next-hop mappings rather than routes learned through a dynamic routing protocol.
- [Longest Prefix Match](https://blowstack.com/tools/cloud-concepts-hub/longest-prefix-match): Longest Prefix Match is the routing rule that selects the matching destination prefix with the greatest number of network bits.
- [Multicast](https://blowstack.com/tools/cloud-concepts-hub/multicast): Multicast is a network delivery method that sends packets to a group address so the network can distribute copies to participating receivers.
- [Route Summarization](https://blowstack.com/tools/cloud-concepts-hub/route-summarization): Route summarization combines multiple more-specific IP routes into a broader CIDR prefix to reduce routing information while preserving intended reachability.
- [Asymmetric Routing](https://blowstack.com/tools/cloud-concepts-hub/asymmetric-routing): Asymmetric routing occurs when traffic traveling from a source to a destination follows a different network path from the return traffic.
- [Classless Inter-Domain Routing (CIDR)](https://blowstack.com/tools/cloud-concepts-hub/classless-inter-domain-routing-(cidr)): Classless Inter-Domain Routing (CIDR) represents IP address ranges using an address and prefix length, enabling flexible subnet allocation and route aggregation without fixed address classes.
- [IPsec](https://blowstack.com/tools/cloud-concepts-hub/ipsec): IPsec is a suite of network-layer protocols that authenticates and protects IP traffic between communicating hosts or security gateways.
- [Lateral Movement](https://blowstack.com/tools/cloud-concepts-hub/lateral-movement): Lateral movement is an attacker’s progression from an initial foothold to other systems, identities, or resources within an environment.
- [Path Diversity](https://blowstack.com/tools/cloud-concepts-hub/path-diversity): Path diversity is the use of multiple network routes with sufficiently independent infrastructure so that one failure does not interrupt all connectivity.
- [Transitive Routing](https://blowstack.com/tools/cloud-concepts-hub/transitive-routing): Transitive routing allows traffic between two networks to pass through an intermediate network or routing hub rather than requiring a direct connection.
- [Virtual Private Networks](https://blowstack.com/tools/cloud-concepts-hub/virtual-private-networks): Virtual private networks (VPNs) create logically private connections across an underlying network, commonly using encrypted tunnels to protect traffic.
- [IGMP](https://blowstack.com/tools/cloud-concepts-hub/igmp): IGMP is the IPv4 control protocol that hosts and adjacent multicast routers use to manage multicast group membership.
- [Jumbo Frames](https://blowstack.com/tools/cloud-concepts-hub/jumbo-frames): Jumbo frames are Ethernet frames that carry an IP packet larger than the conventional 1,500-byte maximum transmission unit.
- [Maximum Transmission Unit](https://blowstack.com/tools/cloud-concepts-hub/maximum-transmission-unit): Maximum Transmission Unit (MTU) is the largest network-layer packet, measured in bytes, that a link or interface can carry without fragmentation.
- [Multicast Tunneling](https://blowstack.com/tools/cloud-concepts-hub/multicast-tunneling): Multicast tunneling encapsulates multicast packets inside unicast traffic so they can cross networks that do not natively forward multicast.
- [Packet Loss](https://blowstack.com/tools/cloud-concepts-hub/packet-loss): Packet loss is the failure of transmitted network packets to reach their intended destination.
- [Unicast](https://blowstack.com/tools/cloud-concepts-hub/unicast): Unicast is a network delivery method in which a sender addresses each packet to one destination rather than to a group of receivers.
- [DNS Tunneling](https://blowstack.com/tools/cloud-concepts-hub/dns-tunneling): DNS tunneling carries non-DNS data inside DNS queries and responses, creating a communication channel through name-resolution infrastructure.
- [Ethernet Switching](https://blowstack.com/tools/cloud-concepts-hub/ethernet-switching): Ethernet switching forwards Ethernet frames within a Layer 2 network using destination MAC addresses and VLAN membership.
- [IP Fragmentation](https://blowstack.com/tools/cloud-concepts-hub/ip-fragmentation): IP fragmentation divides an IP datagram into smaller fragments so it can traverse a link whose maximum transmission unit is smaller than the original datagram.
- [Multiprotocol Label Switching (MPLS)](https://blowstack.com/tools/cloud-concepts-hub/multiprotocol-label-switching-(mpls)): Multiprotocol Label Switching (MPLS) is a packet-forwarding technology that uses labels to carry traffic along established paths through a network.
- [Path MTU Discovery](https://blowstack.com/tools/cloud-concepts-hub/path-mtu-discovery): Path MTU Discovery determines the largest IP packet that can traverse a network path without fragmentation.
- [Subnetting](https://blowstack.com/tools/cloud-concepts-hub/subnetting): Subnetting divides an IP address block into smaller, non-overlapping networks to organize address allocation, routing, and connectivity boundaries.
- [TCP MSS Clamping](https://blowstack.com/tools/cloud-concepts-hub/tcp-mss-clamping): TCP MSS clamping limits the Maximum Segment Size advertised during TCP connection establishment so that subsequent packets fit the network path’s effective MTU.

## AWS Transit Gateway exam questions

Real practice exam questions on AWS Transit Gateway, with the correct answer and its explanation.

### Question 1 (SOA-C03)

**Question:**

A company has six application accounts and one networking account in an AWS Organization. Each application account has two VPCs attached to its own transit gateway. Each of these six transit gateways has a peering connection to a transit gateway in the networking account, which provides access to an existing corporate VPN connection.

The VPC CIDR blocks do not overlap. Applications require connectivity to the corporate network but must not communicate with VPCs in other application accounts. Each VPC attachment currently includes subnets in two Availability Zones, and this resilience must be retained.

A billing review identifies recurring hourly charges for both sides of the transit gateway peering connections. The company wants to eliminate these charges while retaining private connectivity and account isolation.

Which solution should a CloudOps engineer implement?

**Correct answer:** Share the networking account's transit gateway through AWS Resource Access Manager. Replace the application VPCs' existing attachments with attachments to this gateway, using both Availability Zones. Configure separate transit gateway route tables to permit corporate connectivity without inter-account VPC connectivity, and delete the obsolete peering connections and application-account gateways.

**Explanation:** A shared transit gateway supports VPC attachments from multiple accounts. Consolidating the VPC attachments onto the networking account's gateway removes the need for the six peering connections and their attachment-hour charges. Separate route tables with controlled associations, propagation, and return routes preserve isolation while allowing corporate access. Selecting attachment subnets in both Availability Zones retains resilience.

### Question 2 (SAP-C03)

**Question:**

A company has a network account and a connectivity tooling account in AWS Organizations. The network account owns a transit gateway and shares it with the tooling account through AWS RAM. An onboarding workflow runs in the tooling account.

The workflow must give selected vendor accounts outside the company's organization access to the same transit gateway so that the vendors can request VPC attachments. The vendor accounts must remain outside the organization. Governance requires the network account to retain ownership of the gateway. The workflow may assume a narrowly scoped role in the network account, but it must not receive general network administration permissions. The vendors will accept any required sharing invitations.

Which solution should a solutions architect recommend?

**Correct answer:** Have the workflow assume a role in the network account with permissions limited to managing the required AWS RAM share. Create an external-enabled resource share there for the transit gateway and associate the approved vendor account IDs.

**Explanation:** Only the resource-owning account can share the transit gateway through AWS RAM. Assuming a narrowly scoped role in the network account lets the centralized workflow create and manage the share in the owner's account without transferring ownership or granting general network administration access. The external vendors accept their invitations before using the shared gateway.

### Question 3 (SAA-C03)

**Question:**

A company runs IPv4-only EC2 workers in private subnets in one Availability Zone. The workers use an existing zonal public NAT gateway in the same Availability Zone to access internet repositories. The NAT gateway must remain in place for this access.

The VPC also has an existing AWS Transit Gateway connection to an on-premises data center. The workers must now initiate connections to an on-premises licensing server. The data center requires all worker connections to appear to originate from one private IPv4 address from the VPC's CIDR block. The VPC and data center address ranges do not overlap. Existing transit gateway and data center routes support return traffic to the VPC CIDR block.

Which solution meets these requirements with the LOWEST additional recurring networking cost?

**Correct answer:** Route licensing-server traffic from the worker subnets through the existing public NAT gateway. In the NAT gateway's subnet route table, route the licensing-server destination through the transit gateway. Allowlist the NAT gateway's private IPv4 address.

**Explanation:** A public NAT gateway can translate traffic destined for a private network through a transit gateway. The licensing server sees the NAT gateway's private IPv4 address because the traffic does not traverse an internet gateway. Reusing the required gateway avoids additional NAT gateway hourly charges while preserving internet access.

### Question 4 (SCS-C03)

**Question:**

A company connects several production VPCs and a dedicated forensic-analysis VPC to an AWS Transit Gateway. Every production VPC attachment is associated with a Production transit gateway route table. The forensic-analysis VPC attachment is associated with an Investigation transit gateway route table. All attachments propagate their nonoverlapping VPC CIDRs into both tables.

A security engineer identifies a potentially compromised production VPC. During containment, the transit gateway must drop all packets between this VPC and every other production VPC, in both directions. Investigators must still be able to establish connections from the forensic-analysis VPC to the compromised VPC and receive responses. Connectivity among unaffected VPCs must remain unchanged.

VPC routes and resource-level controls already permit the required investigation traffic. There are no alternative connectivity paths, default routes, or forwarding appliances in the attached VPCs. The engineer must implement containment by changing only transit gateway routing.

Which configuration meets these requirements?

**Correct answer:** Create a Quarantine route table containing only a route to the forensic-analysis VPC attachment, and associate the compromised VPC attachment with it. Disable the compromised attachment's propagation into the Production table and verify that no route to its CIDR remains there. Retain its propagation into the Investigation table.

**Explanation:** The association with the Quarantine table restricts packets arriving from the compromised VPC to the forensic-analysis destination. Removing its route from the Production table prevents other production VPCs from sending packets to it. The Investigation table still routes investigator traffic to the compromised VPC, and the Quarantine table provides the response path. Routes used by unaffected VPCs remain unchanged.

### Question 5 (ANS-C01)

**Question:**

A company runs two independent market-data processing environments in the same AWS Region. Each environment has a Nitro-based EC2 publisher in one VPC and Nitro-based EC2 receivers in another VPC. All four VPCs are attached to a multicast-enabled AWS Transit Gateway, and their workload subnets are associated with a single multicast domain that uses static source and group-member registration.

Both publishers send different proprietary feeds to the same hardcoded IPv4 multicast group address and UDP port. All receiver network interfaces are registered as members of that group. As a result, receivers in each environment receive both feeds. Each receiver must receive only its own environment's feed, and each publisher must continue transmitting only one copy of each datagram.

The company cannot change the applications, multicast addresses, security groups, or network ACLs, and it cannot deploy forwarding appliances. The environments use separate subnets, and existing unicast connectivity must remain unchanged.

Which change meets these requirements?

**Correct answer:** Use a separate multicast domain for each environment, with static source support enabled. Associate each environment's publisher and receiver subnets with its domain, and register only that environment's source and member network interfaces there.

**Explanation:** Multicast domains provide independent multicast distribution boundaries. The same multicast group address can be used in both domains without combining their traffic. Separating subnet associations and source/member registrations isolates the feeds while preserving single-copy transmission by each publisher and leaving unicast routing unchanged.

## Practice AWS Transit Gateway in a full exam

Questions on AWS Transit Gateway in each practice exam, with every answer option and an explanation for each:

- [ANS-C01](https://blowstack.com/practice-exams/aws-certified-advanced-networking-specialty): 111 questions
- [SAA-C03](https://blowstack.com/practice-exams/aws-certified-solutions-architect-associate): 20 questions
- [SAP-C03](https://blowstack.com/practice-exams/aws-certified-solutions-architect-professional): 16 questions
- [SCS-C03](https://blowstack.com/practice-exams/aws-certified-security-specialty): 7 questions
- [SOA-C03](https://blowstack.com/practice-exams/aws-certified-cloudops-engineer-associate): 6 questions
- [CLF-C02](https://blowstack.com/practice-exams/aws-certified-cloud-practitioner): 1 question

## Learn AWS Transit Gateway in lessons

9 short lessons on AWS Transit Gateway in 5 certification courses.

- CLF-C02: AWS Transit Gateway: a central hub for connected networks (Premium), https://app.blowstack.com/lessons/aws-transit-gateway-a-central-hub-for-connected-networks-clf-c02
- SOA-C03: AWS Transit Gateway: attachment routing and route tables (Premium), https://app.blowstack.com/lessons/aws-transit-gateway-attachment-routing-and-route-tables-soa-c03
- SAP-C03: AWS PrivateLink vs AWS Transit Gateway: service access or routed connectivity (Premium), https://app.blowstack.com/lessons/aws-privatelink-vs-aws-transit-gateway-service-access-or-routed-connectivity-sap-c03
- SAA-C03: AWS Transit Gateway: hub-and-spoke routing (Premium), https://app.blowstack.com/lessons/aws-transit-gateway-hub-and-spoke-routing-saa-c03
- SCS-C03: AWS Transit Gateway: flow logs (Premium), https://app.blowstack.com/lessons/aws-transit-gateway-flow-logs-scs-c03
- SAP-C03: AWS Transit Gateway: hybrid route selection and failover (Premium), https://app.blowstack.com/lessons/aws-transit-gateway-hybrid-route-selection-and-failover-sap-c03
