VPC Flashcards

1
Q

What is VPC?

A

Virtual Data Center in the cloud. Lets you provision a logically isolated section of the AWS Cloud where you can launch AWS resources in a virtual network that you define.

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

True or False. You cannot set your own IP ranges on a VPC.

A

False, you can.

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

What is a bastion host?

A

A special-purpose computer on a network specifically designed and configured to withstand attacks. The computer generally hosts a single application, for example, a proxy server, and all other services are removed or limited to reduce the threat to the computer.

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

What can you do with VPC?

A
  • Launch instances into a subnet of your choosing
  • Configure route tables between subnets
  • Create an internet gateway and attach it to your VPC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is VPC Peerings? List 4 qualities.

A
  • Allows you to connect one VPC with another via a direct network route using private IP addresses
  • Instances behave as if they were on the same private network
  • Peering is in a star configuration ie 1 VPC peers with 4 others
  • You can peer between regions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is transitive peering and how can you implement it?

A

The transitive property states that: If a = b and b = c, then a = c. However, you CANNOT perform transitive peering in VPC. You need to set up a new peering relationship for a to peer to c.

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

True or False. You can have multiple subnets in one availability zone.

A

True.

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

True or False. You can have a subnet that spans multiple availability zones.

A

False, you can only have a subnet span 1 availability zone.

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

True or False. You can only have one internet gateway linked to a VPC.

A

True.

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

True or False. When you create a VPC a default Route Table is the only thing created.

A

False. You create a Route Table, network Access Control List (NACL) and a default Security Group.

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

True or False. Creating a VPC won’t create any subnets nor will it create a default internet gateway.

A

True.

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

True or False. US-East-1A in your account is the same availability zone to US-East-1A on someone else’s account.

A

False. The availability zones are randomized.

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

True or False. Amazon always reserves 2 IP addresses within your subnets.

A

False. They reserve 5.

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

True or False. You can have at max 2 gateways per VPC.

A

False. You can only have 1 internet gateway per VPC.

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

True or False. Security Groups can’t span VPCs.

A

True.

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

What are NAT Gateways?

A

A group of EC2 instances that allows your private subnet to communicate out to the internet without becoming public.

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

What are NAT instances?

A

Individual EC2 instances that allow you to connect to the internet without exposing your private subnet.

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

Difference between NAT instances and NAT gateway

A

NAT Instances - single EC2 instance

NAT Gateway - a highly available gateway that allows you to have private subnets communicate out to the internet without becoming public.

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

True or False. When you create a NAT instance, you must disable source/destination check on the instance.

A

True.

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

True or False. NAT instances does not have to be on a public subnet.

A

False. NAT instances MUST be on a public subnet.

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

True or False. There must a route out of the private subnet to the NAT instance, in order for the private subnet to have access to the internet.

A

True. You would configure this in the route tables.

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

What does the amount of traffic a NAT instance can support depend on? What should you do if you’re bottlenecking?

A

The size fo the EC2 instance. If you are bottlenecking, increase the instance size.

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

True or False. NAT Gateways are redundant inside the Availability zone.

A

True.

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

True or False. NAT gateways need to be associated with a security group.

A

False. They are not associated with any security group.

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

True or False. NAT gateways are automatically assigned to a public IP.

A

True.

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

What rules are set up when you create a new Network ACL?

A

All traffic is denied.

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

What is an ephemeral port?

A

short-lived transport protocol port for IP communications

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

What order do inbound/outbound rules occur in?

A

Numerical order. If you have a deny, you want to make sure that you do it before an allow, because if the allow the is before the deny, the rule will not work.

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

True or False. Network ACL act first before Security Groups.

A

True. If you deny an IP address in Network ACL, it will never even make it to the Security Groups

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

True or False. Network ACLs are stateless.

A

True. You need to add inbound and outbound traffic rules separately.

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

True or False. Just like Security Groups, Network ACLs are stateful.

A

False. Security Groups are stateful (you inbound rules will be mimicked over to outbound rules) whereas Network ACLs are stateless - you need to explicitly state the rules for both inbound and outbound.

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

True or False. When provisioning a load balancer you need a minimum of one public subnet.

A

False. You need at least two public subnets.

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

What is a VPC flow log?

A

A feature that enables you to capture information about the IP traffic going to and from network interfaces in your VPC.

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

What are the three levels at which you can configure a VPC flow log?

A
  • VPC
  • Subnet
  • Network interface level
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

True or False. You cannot enable flow logs for VPCs that are peered with your VPC unless the peer VPC is in your account.

A

True.

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

Is all traffic monitored on a VPC flow log?

A

No. The following is not:

  • Traffic generated by instances when they contact the Amazon DNS server (not monitored). If you use your own DNS server, then all traffic to that DNS is logged
  • Traffic generated by a Windows instance for Amazon Windows license activation is not monitored
  • Traffic to and from 169.254.2169.254 for instance metadata
  • DHCP traffic
  • Traffic to the reserved IP address for the default VPC Router
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

What is a bastion host?

A

A special-purpose computer on a network specifically designed and configured to withstand attacks. Generally hosts a single application, for example, a proxy server, and all other services are removed or limited to reduce the threat to the computer.

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

True or False. A NAT Gateway or NAT Instance is used to provide internet traffic to EC2 instances in a private subnet.

A

True.

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

True or False. A Bastion is used to securely administer EC2 instances (using SSH or RDP).

A

True.

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

True or False. You can use a NAT Gateway as a Bastion Host.

A

False. You can NOT use a NAT Gateway as a Bastion Host.

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

What is direct connect useful for?

A
  • Useful for high throughput workloads (lots of network traffic)
  • when a high and reliable connection is needed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

How do you configure a VPN over AWS Direct Connect?

A
  • Create a virtual interface in the Direct Connect console. This is a PUBLIC Virtual Interface
  • Select Public option
  • Select VLAN, not in your current network
  • Go to the VPC console and then to VPN connections. Create a Customer Gateway.
  • Create a Virtual Private Gateway
  • Attach the Virtual Private Gateway to the desired VPC.
  • Select VPN connections and create new VPN Connection
  • Select the virtual private gateway and the customer gateway
  • Once the VPN is available, set up the VPN on the customer gateway or firewall
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

What is AWS global accelerator?

A

A service in which you create accelerators to improve the availability and performance of your applications for local and global users.

44
Q

True or False. By default Global Accelerator provides you with two static IP addresses that you associate with your accelerator.

A

True.

45
Q

True or False. You cannot bring your own IPs to the global accelerator.

A

False. You can bring your own.

46
Q

What is the accelerator component of the global accelerator?

A

An accelerator directs traffic to optimal endpoints over the AWS global net3work to improve the availability and performance of your internet applications. Each accelerator has one or more listeners.

47
Q

True or False. The DNS name aspect is global accelerator assigning each accelerator a default DNS that points to the static IP addresses that Global Accelerator assigns to you.

A

True

48
Q

What is the network zone of the Global Accelerator program?

A

A network zone services the static IP addresses for your accelerator from a unique IP subnet. Similar to an AWS Availability Zone, a network zone is an isolated unit with its own set of physical infrastructure.

49
Q

What is the listener of the Global Accelerator program?

A

A listener processes inbound connections from clients to Global Accelerator, based on the port (or port range) and protocol that you configure.

50
Q

What is the endpoint group of the Global Accelerator program?

A
  • Each endpoint group is associated with a specific AWS Region.
  • Endpoint groups include one or more endpoints int eh Region
  • You can increase or reduce the percentage of traffic that would be otherwise directed to an endpoint group by adjusting a setting called a traffic dial
  • traffic dial lets you easily do performance testing or blue/green deployment testing for new releases across different AWS Regions, for example
51
Q

What can endpoints of the Global Accelerator program be?

A

Endpoints can be network load balancers, application load balancers, ec2 instances or Elastic IP Addresses.

52
Q

What are two types of VPC Endpoints?

A
  • Interface Endpoints
  • Gateway Endpoints
53
Q

What is an interface endpoint?

A

An elastic network interface with a private IP address that serves as an entry point for traffic destined to be a supported service.

54
Q

How do you set up an interface endpoint?

A

Attach an ENI to an EC2, you no longer need the internet to traverse the network.

55
Q

True or False. When using a VPC endpoint and requesting s3, you need to include region.

A

True.

56
Q

What gateway endpoints are supported by VPC Endpoints?

A
  • S3
  • Dynamo DB
57
Q

Having just created a new VPC and launching an instance into its public subnet, you realise that you have forgotten to assign a public IP to the instance during creation. What is the simplest way to make your instance reachable from the outside world?

  • Create an Elastic IP and new network interface. Associate the elastic IP to the new network interface, and the new network interface to your instance.
  • Associate the private IP of your instance to other public IP of the internet gateway
  • Create an Elastic IP address and associate it with your instance
  • Nothin - by default all instances deployed into any public subnet will automatically receive a public IP
A

Create an Elastic IP address and associate it with your instance.

Although creating a new NIC & associating an EIP also results in your instance being accessible from the internet, it leaves your instance with 2 NICs & 2 private IPs as well as the public address and is therefore not the simplest solution. By default, any user-created VPC subnet WILL NOT automatically assign public IPv4 addresses to instances – the only subnet that does this is the “default” VPC subnets automatically created by AWS in your account.

58
Q

True or False: A subnet can span multiple Availability Zones.

A

False. Each subnet must reside entirely within one Availability Zone and cannot span zones.

59
Q

Are you permitted to conduct your own vulnerability scans on your own VPC without alerting AWS first?

A

Depends on the type of scan and the service being scanned. Some scans can be performed without alerting AWS, some require you to alert them.

Until recently customers were not permitted to conduct penetration testing without AWS engagement. However that has changed. There are still conditions though.

60
Q

True or False. By default, instances in new subnets in a custom VPC can communicate with each other across Availability Zones.

A

True. In a custom VPC with new subnets in each AZ, there is a route that supports communication across all subnets/AZs. Plus a default SG with an allow rule ‘All traffic, all protocols, all ports, from anything using this default SG’.

61
Q

True or False: You can accelerate your application by adding a second internet gateway to your VPC.

A

False. You may have only one internet gateway per VPC.

62
Q

When peering VPCs, you may peer your VPC only with another VPC in your same AWS account.

A

False. You may peer a VPC to another VPC that’s in your same account, or to any VPC in any other account.

63
Q

Which of the following is a chief advantage of using VPC endpoints to connect your VPC to services such as S3?

  • Traffic between your VPC and the other service does not leave the Amazon network
  • VPC Endpoints offer a faster path through the public internet than you can realize with a NAT instance
  • VPC ENdpoints require public IP addresses, offering rapid connectivity from the public internet
  • VPC endpoints are dedicated hardware devices that cannot be accessed without the correct IAM credentials
A

Traffic between your VPC and the other service does not leave the Amazon network.

In contrast to a NAT gateway, traffic between your VPC and the other service does not leave the Amazon network when using VPC endpoints.

64
Q

Which of the following allows you to SSH or RDP into an EC2 instance located in a private subnet?

  • Bastion Host
  • NAT instance
  • NAT gateway
  • Internet Gateway
A

Bastion Host.

A Bastion host allows you to securely administer (via SSH or RDP) an EC2 instance located in a private subnet. Don’t confuse Bastions and NATs, which allow outside traffic to reach an instance in a private subnet.

65
Q

Which of the following is true?

  • Security Groups are stateful and Network Access Control Lists are stateless
  • Security Groups are stateless and Network Access Control Lists are stateful
A

Security Groups are stateful and Network Access Control Lists are stateless.

stateless: This means any changes applied to an incoming rule will not be applied to the outgoing rule. e.g. If you allow an incoming port 80, you would also need to apply the rule for outgoing traffic

Security groups are stateful — if you send a request from your instance, the response traffic for that request is allowed to flow in regardless of inbound security group rules. For VPC security groups, this also means that responses to allowed inbound traffic are allowed to flow out, regardless of outbound rules.

66
Q

True or False. When I create a new security group, all outbound traffic is allowed by default.

A

True.

67
Q

By default, how many VPCs am I allowed in each AWS region?

  • 1
  • 2
  • 6
  • 5
A

5

68
Q

True or False. In Amazon VPC, an amazon instance does not retain its private IP?

A

False. It does retain its private IP.

69
Q

To save administration headaches, a consultant advises that you leave all security groups in web-facing subnets open on port 22 to 0.0.0.0/0 CIDR. That way, you can connect wherever you are in the world. Is this a good security design?

  • Yes
  • No
A

No.

0.0.0.0/0 would allow ANYONE from ANYWHERE to connect to your instances. This is generally a bad plan. The phrase ‘web-facing subnets’ does not mean just web servers. It would include any instances in that subnet some of which you may not strangers attacking. You would only allow 0.0.0.0/0 on port 80 or 443 to to connect to your public facing Web Servers, or preferably only to an ELB. Good security starts by limiting public access to only what the customer needs. Please see the AWS Security whitepaper for complete details.

70
Q

True or False. A security group acts as a virtual firewall for your instance to control inbound and outbound traffic. Security groups act at the instance level, not the subnet level.

A

True.

71
Q

True or False. Network ACL’s function at the instance level.

A

False. Network ACL’s function at the subnet level.

72
Q

What is AWS Global Accelerator?

A

AWS Global Accelerator is:

  • networking service that helps you improve the availability and performance of the applications that you offer to your global users
  • provides static IP addresses that provide a fixed entry point to your applications and eliminate the complexity of managing specific IP addresses for different AWS Regions and Availability Zones
  • always routes user traffic to the optimal endpoint based on performance, reacting instantly to changes in application health, your user’s location, and policies that you configure.
73
Q

True or False. You can use Global Accelerator to associate the static IP addresses provided by AWS Global Accelerator to regional AWS resources or endpoints, such as Network Load Balancers, Application Load Balancers, EC2 Instances, and Elastic IP addresses.

A

True.

74
Q

True or False. With AWS Global Accelerator you cannot easily move endpoints between Availability Zones or AWS Regions. If wanted, you would need to update your DNS configuration or change client-facing applications.

A

False. You can easily move endpoints between Availability Zones or AWS Regions without needing to update your DNS configuration or change client-facing applications.

75
Q

What is a global accelerator traffic dial?

A

Dial traffic up or down for a specific AWS Region by configuring a traffic dial percentage for your endpoint groups. This is especially useful for testing performance and releasing updates.

76
Q

True or False. Using AWS Global Accelerator, you can control the proportion of traffic directed to each endpoint within an endpoint group by assigning weights across the endpoints.

A

True.

77
Q

What is AWS VPC?

A

A Virtual Private Cloud (VPC) is a virtual network dedicated to a single AWS account. It is logically isolated from other virtual networks in the AWS cloud, providing compute resources with security and robust networking functionality

78
Q

True or False. An Interface endpoint uses AWS PrivateLink and is an elastic network interface (ENI) with a private IP address that serves as an entry point for traffic destined to a supported service.

A

True.

79
Q

True or False. You can’t use PrivateLink to connect your VPC to supported AWS services, services hosted by other AWS accounts (VPC endpoint services), and supported AWS Marketplace partner services.

A

False. Using PrivateLink you can connect your VPC to supported AWS services, services hosted by other AWS accounts (VPC endpoint services), and supported AWS Marketplace partner services.

80
Q

An organization is extending a secure development environment into AWS. They have already secured the VPC including removing the Internet Gateway and setting up a Direct Connect connection. What else needs to be done to add encryption?

  • Configure an AWS Direct Connect Gateway
  • Setup a Virtual Private Gateway (VPG)
  • Enable IPSec encryption on the Direct Connect connection
  • Setup the Border Gateway Protocol (BGP) with encryption
A

CORRECT: “Setup a Virtual Private Gateway (VPG)” is the correct answer.

A VPG is used to setup an AWS VPN which you can use in combination with Direct Connect to encrypt all data that traverses the Direct Connect link. This combination provides an IPsec-encrypted private connection that also reduces network costs, increases bandwidth throughput, and provides a more consistent network experience than internet-based VPN connections.

INCORRECT: “Enable IPSec encryption on the Direct Connect connection” is incorrect. There is no option to enable IPSec encryption on the Direct Connect connection.

INCORRECT: “Setup the Border Gateway Protocol (BGP) with encryption” is incorrect. The BGP protocol is not used to enable encryption for Direct Connect, it is used for routing.

INCORRECT: “Configure an AWS Direct Connect Gateway” is incorrect. An AWS Direct Connect Gateway is used to connect to VPCs across multiple AWS regions. It is not involved with encryption.

81
Q

A Solutions Architect is determining the best method for provisioning Internet connectivity for a data-processing application that will pull large amounts of data from an object storage system via the Internet. The solution must be redundant and have no constraints on bandwidth.

Which option satisfies these requirements?

  • Create a VPC endpoint
  • Deploy NAT Instances in a public subnet
  • Use a NAT Gateway
  • Attach an Internet Gateway
A

CORRECT: “Attach an Internet Gateway” is the correct answer.

An internet gateway is a horizontally scaled, redundant, and highly available VPC component that allows communication between your VPC and the internet.

An internet gateway serves two purposes: to provide a target in your VPC route tables for internet-routable traffic, and to perform network address translation (NAT) for instances that have been assigned public IPv4 addresses.

An internet gateway supports IPv4 and IPv6 traffic. It does not cause availability risks or bandwidth constraints on your network traffic.

INCORRECT: “Deploy NAT Instances in a public subnet” is incorrect. NAT instances are EC2 instances that are used, in a similar way to NAT gateways, by instances in private subnets to access the Internet. However they are not redundant and are limited in bandwidth.

INCORRECT: “Use a NAT Gateway” is incorrect as a NAT gateway does impose a limit of 45 Gbps.

INCORRECT: “Create a VPC endpoint” is incorrect. A VPC endpoint is used to access public services from a VPC without traversing the Internet.

82
Q

True or False. AWS Direct Connect has two separate charges: port-hours and Data Transfer. Pricing is per port-hour consumed for each port type. Partial port-hours consumed are billed as full hours. The account that owns the port will be charged the port-hour charges.

Data Transfer via AWS Direct Connect will be billed in the same month in which the usage occurred.

A

True.

83
Q

True or False. You can advertise up to 1000 routes over each Border Gateway Protocol session using AWS Direct Connect.

A

False. You can advertise up to 100 routes over each Border Gateway Protocol session using AWS Direct Connect.

84
Q

What happens if I advertise more than 100 routes over a Border Gateway Protocol session?

A

Your Border Gateway Protocol session will go down if you advertise more than 100 routes over a Border Gateway Protocol session. This will prevent all network traffic flowing over that virtual interface until you reduce the number of routes to less than 100.

85
Q

What are the three main functions of the Direct Connect gateway?

A

First; Direct Connect gateway will enable you to interface with VPCs in any AWS Region (except AWS China Region), enabling you to use your AWS Direct Connect connections to interface with more than one AWS Regions.

Second; you can share a private virtual interface to interface with up to ten Virtual Private Clouds (VPCs), enabling you to reduce the number of Border gateway Protocol sessions between your on-premises network and AWS deployments.

Third: By attaching transit virtual interface(s) to a Direct Connect gateway and associating Transit Gateway(s) with the Direct Connect gateway, you can share transit virtual interface(s) to interface with up to three Transit Gateways, enabling you to reduce the number of Border Gateway Protocol sessions between your on-premises network and AWS deployments.

86
Q

If I use Direct Connect gateway, does my traffic to the desired AWS Region go via the associated home AWS Region?

A

No. When using Direct Connect gateway, your traffic will take the shortest path from your Direct Connect location to the destination AWS Region and vice versa regardless of the associated home AWS Region of the Direct Connect location that you are connected at.

87
Q

Can a VGW (associated with a VPC) be part of more than one Direct Connect gateway?

A

No, a VGW-VPC pair cannot be part of more than one Direct Connect gateway.

88
Q

Can I associate multiple VGWs (each associated with a VPC) to a Direct Connect gateway?

A

Yes, as long as the IP CIDR blocks of the Amazon VPC associated with the Virtual Private Gateway do not overlap.

89
Q

True or False. Direct Connect gateway enables connectivity between on-premises networks and any AWS region’s VPC.

A

True.

90
Q

True or False. CloudHub does not enable connectivity between on-premise network using Direct Connect or VPN within the same region the VIF is associated with the VGW directly.

A

False. CloudHub enables connectivity between on-premise network using Direct Connect or VPN within the same region the VIF is associated with the VGW directly.

91
Q

Does Direct Connect gateway break existing CloudHub functionality for customers?

A

No, Direct Connect gateway does not break existing CloudHub for customers. Direct Connect gateway enables connectivity between on-premise networks and any AWS region’s VPC. CloudHub enables connectivity between on-premise network using Direct Connect or VPN within the same region the VIF is associated with the VGW directly. Existing CloudHub functionality will continue to be supported.

92
Q

I have an existing private virtual interface associated with VGW, can I associate my existing private virtual interface with Direct Connect gateway?

A

No, an existing private virtual interface associated with VGW cannot be associated with the Direct Connect gateway. Please create a new private virtual interface, and at the time of creation, associate with your Direct Connect gateway.

93
Q

I have created a Direct Connect gateway with one Direct Connect Private , and three non-overlapping VGWs (each associated with a VPC), what happens if I detach one of the VGW from the VPC?

A

Traffic from your on-premise network to the detached VPC will stop, and VGW’s association with the Direct Connect gateway will be deleted.

94
Q

Can I send traffic from one VPC associated with a Direct Connect gateway to another VPC associated with the same Direct Connect gateway?

A

No, Direct Connect gateway only supports routing traffic from Direct Connect VIFs to VGW (associated with VPC). In order to send traffic between 2 VPCs, you would configure a VPC peering connection, the same as you do today.

95
Q

I currently have a VPN in us-east-1 attached to a VGW. If I associate this VGW to a Direct Connect gateway, can I send traffic from that VPN to a VIF attached to the Direct Connect gateway in a different region?

A

No, a Direct Connect gateway will not route traffic between a VPN and a Direct Connect VIF. To enable this use case, you would create a VPN in the region of the VIF and attach the VIF and the VPN to the same VGW.

96
Q

Can I associate multiple AWS Transit Gateways to a Direct Connect gateway?

A

Yes, you can associate up to three AWS Transit Gateways to a Direct Connect gateway as long as the IP CIDR blocks announced from your AWS Transit Gateways do not overlap.

97
Q

What is Bring your own Private ASN feature?

A

Configurable Private Autonomous System Number (ASN). This allows customers to set the ASN on the Amazon side of the BGP session for private VIFs on any newly created Direct Connect Gateway.

98
Q

Why can’t I assign a public ASN for the Amazon half of the BGP session?

A

Amazon is not validating ownership of the ASNs, therefore we’re limiting the Amazon-side ASN to private ASNs. We want to protect customers from BGP spoofing.

99
Q

What is transit virtual interface?

A

Transit virtual interface is a type of virtual interface you can create on any AWS Direct Connect 1/2/5/10 Gbps connection. Transit virtual interface can only be attached to a Direct Connect gateway. You can use the AWS Direct Connect gateway attached with one or more transit virtual interface to interface with up to three AWS Transit Gateways in any supported AWS Regions.

Similar to the private virtual interface, you can establish one IPv4 BGP session and one IPv6 BGP session over a single transit virtual interface.

100
Q

True or False. Transit virtual interface is a type of virtual interface you can create on any AWS Direct Connect 1/2/5/10 Gbps connection. Transit virtual interface can only be attached to a Direct Connect gateway. You can use the AWS Direct Connect gateway attached with one or more transit virtual interface to interface with up to three AWS Transit Gateways in any supported AWS Regions.

A

True.

101
Q

True or False. Similar to the private virtual interface, you can establish one IPv4 BGP session and one IPv6 BGP session over a single transit virtual interface.

A

True.

102
Q

What is a local zone in reference to VPCs?

A

A Local Zone enables your end-users to run applications that require single-digit millisecond latencies. A VPC spans all of the Availability Zones in the Region. After creating a VPC, you can add one or more subnets in each Availability Zone. You can optionally add subnets in a Local Zone, which is an AWS infrastructure deployment that places compute, storage, database, and other select services closer to your end users. It only works in certain Regions however.

103
Q

True or False. If you want your instance in a public subnet to communicate with the internet over IPv4, it must have a public IPv4 address or an Elastic IP address (IPv4)

A

True.

104
Q

True or False. If a subnet’s traffic is routed to an internet gateway, the subnet is known as a internet-only subnet.

A

False. If a subnet’s traffic is routed to an internet gateway, the subnet is known as a public subnet.

105
Q

True or False. If a subnet doesn’t have a route to the internet gateway, the subnet is known as a private subnet.

A

True.

106
Q

True or False. If a subnet doesn’t have a route to the internet gateway, but has its traffic routed to a virtual private gateway for a Site-to-Site VPN connection, the subnet is known as a private subnet.

A

False. If a subnet doesn’t have a route to the internet gateway, but has its traffic routed to a virtual private gateway for a Site-to-Site VPN connection, the subnet is known as a VPN-only subnet.