Looking to strengthen your skills in AWS VPC networking? This collection of AWS Amazon VPC MCQ questions and answers covers essential topics such as VPC Peering, Transit Gateway, and IPv6 in VPC. Perfect for those looking to enhance their knowledge of advanced networking features in Amazon Web Services.
MCQs on VPC Peering
What is the purpose of VPC Peering in AWS? a) To allow communication between VPCs in different regions b) To enable private IP communication between two VPCs c) To connect VPCs with on-premises networks d) To enhance VPN performance
Which of the following is true about VPC Peering connections? a) VPC Peering can only be established between VPCs in the same region b) VPC Peering supports transitive routing c) VPC Peering requires a public IP address for each VPC d) VPC Peering does not support security groups
Can VPC Peering connections be established between VPCs in different AWS accounts? a) No, only within the same AWS account b) Yes, but only if they are in the same region c) Yes, VPC Peering can span across AWS accounts and regions d) No, VPC Peering requires both VPCs to be in the same region and account
Which of the following must be manually configured in a VPC Peering connection? a) IP address ranges b) Security group rules c) Route tables d) Availability zones
Can you have overlapping CIDR blocks in VPC Peering connections? a) Yes, it is allowed b) No, it is not allowed c) Yes, but only for IPv6 addresses d) Yes, but only in the same region
MCQs on Transit Gateway
What is an AWS Transit Gateway used for? a) To connect multiple VPCs across different regions b) To route traffic between Amazon S3 and EC2 instances c) To manage private connections between on-premises networks and VPCs d) To provide high availability for EC2 instances
How does a Transit Gateway differ from VPC Peering? a) A Transit Gateway allows transitive routing, whereas VPC Peering does not b) A Transit Gateway can connect multiple VPCs at once, while VPC Peering is limited to two c) A Transit Gateway is used for VPN connections, VPC Peering is used for direct VPC communication d) A Transit Gateway is cheaper than VPC Peering
Can AWS Transit Gateway connect VPCs in different regions? a) No, it can only connect VPCs within the same region b) Yes, it can connect VPCs across regions using inter-region peering c) Yes, but only for IPv6 traffic d) No, it only supports VPNs
Which of the following is required to set up a Transit Gateway in AWS? a) Elastic IP b) Route tables c) A CloudFormation template d) A VPN gateway
How many VPCs can an AWS Transit Gateway connect? a) 50 b) 100 c) 1000 d) Unlimited
MCQs on IPv6 in VPC
What is the main advantage of using IPv6 in a VPC? a) Improved performance for IPv4 traffic b) Access to a larger address space c) Faster connection speeds d) Better security features
Can you assign an IPv6 address to an Amazon EC2 instance in a VPC? a) No, only IPv4 is supported b) Yes, IPv6 can be assigned manually or automatically c) Yes, but only in specific regions d) Yes, but only to instances running on dedicated hosts
How do you enable IPv6 in an AWS VPC? a) By configuring an Elastic IP address b) By modifying the VPC’s route table c) By assigning an IPv6 CIDR block to the VPC d) By creating a Transit Gateway
When enabling IPv6 for a VPC, what does AWS automatically allocate? a) An IPv6 public IP address b) An IPv6 CIDR block c) A set of security groups d) A network ACL
Can you use both IPv4 and IPv6 addresses in the same VPC? a) No, you must choose between one or the other b) Yes, you can use both IPv4 and IPv6 within the same VPC c) Yes, but only for EC2 instances d) No, IPv6 is not supported in AWS VPC
Answers
QNo
Answer (Option with Text)
1
b) To enable private IP communication between two VPCs
2
a) VPC Peering can only be established between VPCs in the same region
3
c) Yes, VPC Peering can span across AWS accounts and regions
4
c) Route tables
5
b) No, it is not allowed
6
a) To connect multiple VPCs across different regions
7
a) A Transit Gateway allows transitive routing, whereas VPC Peering does not
8
b) Yes, it can connect VPCs across regions using inter-region peering
9
b) Route tables
10
c) 1000
11
b) Access to a larger address space
12
b) Yes, IPv6 can be assigned manually or automatically
13
c) By assigning an IPv6 CIDR block to the VPC
14
b) An IPv6 CIDR block
15
b) Yes, you can use both IPv4 and IPv6 within the same VPC