AWS Transit Gateway Flashcards

1
Q

What is the primary function of AWS Transit Gateway?

A) Providing a centralized hub to connect multiple VPCs and on-premises networks
B) Encrypting data at rest in AWS services
C) Managing IAM users and roles
D) Hosting web applications on AWS

A

Answer: A) Providing a centralized hub to connect multiple VPCs and on-premises networks

Explanation: AWS Transit Gateway acts as a central router that simplifies network management by connecting multiple VPCs and on-premises networks through a single gateway.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of the following is an advantage of AWS Transit Gateway compared to VPC peering?

A) Supports transitive routing between VPCs
B) Requires less configuration than Transit Gateway
C) Is only applicable within the same region
D) Uses a flat network topology

A

Answer: A) Supports transitive routing between VPCs

Explanation: Unlike VPC peering, AWS Transit Gateway enables transitive routing, allowing traffic to flow between multiple VPCs and on-premises networks without needing individual peering connections.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How can traffic segmentation be achieved in AWS Transit Gateway?

A) By using separate Transit Gateway route tables for different workloads
B) By assigning unique IAM roles to each VPC
C) By enabling Auto Scaling in AWS Transit Gateway
D) By deploying a dedicated Transit Gateway per VPC

A

Answer: A) By using separate Transit Gateway route tables for different workloads

Explanation: AWS Transit Gateway allows traffic segmentation by using multiple route tables, enabling separation of traffic between different VPCs, applications, or business units.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which AWS feature is commonly used alongside AWS Transit Gateway to enforce security policies in segmented traffic?

A) AWS Security Groups
B) AWS Network Firewall
C) AWS Lambda
D) AWS CloudFormation

A

Answer: B) AWS Network Firewall

Explanation: AWS Network Firewall can be used with Transit Gateway to enforce security policies, inspect traffic, and create segmentation rules for different workloads.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the main difference between AWS PrivateLink and AWS Transit Gateway?

A) PrivateLink is used for connecting services within AWS without exposing traffic to the internet, while Transit Gateway is used for interconnecting multiple VPCs and on-premises networks
B) PrivateLink supports transitive routing, while Transit Gateway does not
C) Transit Gateway is designed for service discovery, while PrivateLink handles network security
D) PrivateLink replaces Transit Gateway for all networking use cases

A

Answer: A) PrivateLink is used for connecting services within AWS without exposing traffic to the internet, while Transit Gateway is used for interconnecting multiple VPCs and on-premises networks

Explanation: AWS PrivateLink provides a way to securely access AWS services or third-party services without exposing them to the internet, whereas AWS Transit Gateway connects multiple VPCs and on-premises networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When would AWS PrivateLink be a better choice than AWS Transit Gateway?

A) When needing to access AWS services privately without transitive routing
B) When managing a large-scale multi-VPC architecture requiring centralized routing
C) When requiring site-to-site VPN connectivity
D) When implementing AWS Lambda functions

A

Answer: A) When needing to access AWS services privately without transitive routing

Explanation: AWS PrivateLink is ideal for securely accessing AWS services without traversing the internet, while Transit Gateway is better suited for interconnecting multiple VPCs and on-premises networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is AWS Transit Gateway primarily used for?

A) Hosting static websites on AWS
B) Providing a centralized routing hub for multiple VPCs and on-premises networks
C) Encrypting network traffic between AWS regions
D) Replacing AWS Direct Connect for hybrid cloud connections

A

Answer: B) Providing a centralized routing hub for multiple VPCs and on-premises networks

Explanation: AWS Transit Gateway allows customers to connect multiple VPCs, on-premises networks, and Direct Connect connections through a single routing hub, simplifying network management.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which AWS feature allows AWS Transit Gateway to connect to an on-premises data center?

A) AWS Site-to-Site VPN or AWS Direct Connect
B) AWS Security Groups
C) AWS CloudFormation
D) AWS Lambda

A

Answer: A) AWS Site-to-Site VPN or AWS Direct Connect

Explanation: AWS Transit Gateway can integrate on-premises data centers using AWS Site-to-Site VPN (public internet-based connection) or AWS Direct Connect (private, dedicated network link).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does AWS Transit Gateway differ from VPC Peering?

A) Transit Gateway supports transitive routing, while VPC Peering does not
B) Transit Gateway is only for AWS services, while VPC Peering supports hybrid cloud connections
C) VPC Peering can connect more VPCs than Transit Gateway
D) Transit Gateway requires overlapping CIDR blocks, while VPC Peering does not

A

Answer: A) Transit Gateway supports transitive routing, while VPC Peering does not

Explanation: AWS Transit Gateway supports transitive routing, meaning traffic can flow through the gateway between multiple VPCs. VPC Peering only allows direct connections between two VPCs and does not support transitive routing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which component is required to configure routing in AWS Transit Gateway?

A) Transit Gateway Route Tables
B) AWS Elastic Load Balancer
C) AWS Security Groups
D) Amazon Route 53

A

Answer: A) Transit Gateway Route Tables

Explanation: Transit Gateway Route Tables define how traffic is routed between VPCs, AWS Direct Connect, and on-premises networks in AWS Transit Gateway.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which of the following AWS networking services is required for AWS Transit Gateway to communicate with an on-premises network?

A) AWS Internet Gateway
B) AWS Site-to-Site VPN or AWS Direct Connect
C) AWS Elastic Load Balancer
D) AWS Network Firewall

A

Answer: B) AWS Site-to-Site VPN or AWS Direct Connect

Explanation: AWS Transit Gateway enables hybrid cloud connectivity by linking AWS resources to on-premises networks via Site-to-Site VPN or Direct Connect.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a key advantage of using AWS Transit Gateway over traditional VPC peering?

A) AWS Transit Gateway supports transitive routing
B) AWS Transit Gateway is cheaper than VPC Peering
C) AWS Transit Gateway encrypts traffic by default
D) AWS Transit Gateway automatically provisions all AWS networking services

A

Answer: A) AWS Transit Gateway supports transitive routing

Explanation: AWS Transit Gateway allows multiple VPCs to communicate with each other through a single connection, unlike VPC Peering, which requires direct peer-to-peer connections.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which of the following best describes AWS Transit Gateway route tables?

A) They define which traffic is allowed or denied within AWS Security Groups
B) They store DNS records for routing between AWS resources
C) They determine how traffic flows between connected VPCs, AWS Direct Connect, and Site-to-Site VPN connections
D) They manage IAM roles and permissions for networking services

A

Answer: C) They determine how traffic flows between connected VPCs, AWS Direct Connect, and Site-to-Site VPN connections

Explanation: AWS Transit Gateway route tables control how traffic is routed between VPCs, Direct Connect, and on-premises networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the default behavior of AWS Transit Gateway when a new VPC attachment is created?

A) It automatically learns routes and enables communication
B) It requires explicit route configuration in a Transit Gateway route table
C) It creates a default internet route for the VPC
D) It automatically peered with all VPCs within the AWS region

A

Answer: B) It requires explicit route configuration in a Transit Gateway route table

Explanation: When a VPC is attached to AWS Transit Gateway, it does not automatically propagate routes; the administrator must manually configure route tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the maximum number of AWS Transit Gateways that can be attached to a single VPC?

A) One
B) Two
C) Three
D) Unlimited

A

Answer: A) One

Explanation: A VPC can only be attached to one AWS Transit Gateway at a time, but a single Transit Gateway can connect to multiple VPCs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which of the following cannot be connected directly to AWS Transit Gateway?

A) AWS Direct Connect
B) AWS Site-to-Site VPN
C) Amazon Route 53
D) Amazon VPC

A

Answer: C) Amazon Route 53

Explanation: Amazon Route 53 is a DNS service and does not interact with AWS Transit Gateway, which is used for network routing.