This collection of AWS Amazon VPC MCQ questions and answers will enhance your understanding of Amazon Virtual Private Cloud (VPC). Learn about the overview of VPC, key components such as subnets, route tables, and gateways, and its benefits like enhanced security, network isolation, and scalability. Perfect for AWS certification preparation and interviews.
AWS VPC MCQs
Overview of VPC
What does Amazon VPC stand for? a) Virtual Private Cloud b) Virtual Public Cloud c) Virtual Provisioned Cluster d) Verified Private Computing
What is the primary purpose of Amazon VPC? a) Host databases securely b) Provide an isolated network environment c) Store large datasets d) Manage user access policies
By default, how many VPCs are created in each AWS region? a) 0 b) 1 c) 2 d) 3
A VPC allows you to define your: a) Application deployment strategies b) Logical data center in the cloud c) Security groups only d) Machine learning workflows
What is the size of the default CIDR block for a newly created VPC? a) /16 b) /24 c) /20 d) /28
Key Components of Amazon VPC
Which component in VPC controls inbound and outbound traffic at the instance level? a) Security Group b) Network Access Control List (NACL) c) Route Table d) Subnet
What is an internet gateway in a VPC? a) A device to block internet access b) A way to connect the VPC to the internet c) A storage solution for network logs d) A DNS resolver
How many subnets can a single VPC have? a) 50 b) 100 c) 200 d) Unlimited
What is the purpose of a route table in a VPC? a) To specify IP ranges for instances b) To direct traffic between subnets and gateways c) To monitor network traffic d) To manage encryption settings
Network ACLs in a VPC apply to: a) Specific instances only b) Subnets within the VPC c) Entire VPCs d) Regional traffic monitoring
Benefits of Amazon VPC
Which of the following is a primary benefit of using a VPC? a) Automated database backups b) Enhanced network isolation c) Reduced compute costs d) Faster machine learning workflows
Amazon VPC ensures security by providing: a) Built-in antivirus software b) Firewall rules for network traffic c) Automatic data encryption d) Pre-configured IAM policies
What type of IP address can be assigned to resources in a VPC? a) Static only b) Private and public IP addresses c) IPv6 only d) Virtual MAC addresses
Which VPC feature enables private communication between different AWS services? a) VPC Endpoint b) Security Group c) NAT Gateway d) Transit Gateway
Can VPCs from different AWS regions communicate directly? a) Yes, using VPC peering b) No, it’s not possible c) Only through VPN connections d) Only using Elastic IP addresses
Miscellaneous
How many internet gateways can be attached to a single VPC? a) One b) Two c) Five d) Unlimited
What is the function of a NAT gateway? a) Encrypt network traffic b) Allow private subnet resources to access the internet c) Block public subnet access d) Monitor traffic logs
What is the default limit of VPCs per AWS account in a region? a) 2 b) 5 c) 10 d) 20
What is an Elastic IP in the context of VPC? a) A flexible storage volume b) A static public IP address c) An IP address assigned to private resources d) A reserved DNS name
Which AWS service can integrate with VPC for centralized traffic monitoring? a) Amazon CloudWatch b) AWS Config c) AWS Lambda d) AWS GuardDuty
Advanced Topics
Which service can be used to connect on-premises networks to a VPC? a) AWS VPN b) VPC Endpoint c) Elastic Beanstalk d) AWS DataSync
What is the maximum CIDR block size for a VPC? a) /16 b) /20 c) /22 d) /24
Which DNS feature is enabled by default in every VPC? a) Route 53 integration b) Dynamic DNS updates c) DNS hostname resolution d) DNSSEC validation
What is VPC Flow Logs used for? a) Encrypting traffic between instances b) Monitoring and troubleshooting network traffic c) Automating backup processes d) Configuring subnet routes
Can VPC Endpoints be used for public internet access? a) Yes, by configuring route tables b) No, they are only for private connectivity c) Only with a NAT gateway d) Yes, with internet gateway attachment
Practical Applications
Which command-line tool can be used to create a VPC? a) AWS CLI b) AWS IAM c) AWS SDK d) CloudFormation
How is a public subnet defined in a VPC? a) By attaching an internet gateway b) By enabling encryption c) By assigning Elastic IPs d) By removing all route table rules
Which service allows multiple VPCs to share a single internet connection? a) Transit Gateway b) VPC Endpoint c) Elastic Load Balancer d) AWS Direct Connect
What is the purpose of the DHCP options set in a VPC? a) Configuring default routing b) Managing dynamic IP configuration c) Assigning firewall rules d) Monitoring network traffic
Which tool can automate the creation of a VPC and its resources? a) AWS CloudFormation b) AWS GuardDuty c) Amazon QuickSight d) AWS Inspector
Answers
QNo
Answer (Option with Text)
1
a) Virtual Private Cloud
2
b) Provide an isolated network environment
3
a) 0
4
b) Logical data center in the cloud
5
a) /16
6
a) Security Group
7
b) A way to connect the VPC to the internet
8
c) 200
9
b) To direct traffic between subnets and gateways
10
b) Subnets within the VPC
11
b) Enhanced network isolation
12
b) Firewall rules for network traffic
13
b) Private and public IP addresses
14
a) VPC Endpoint
15
a) Yes, using VPC peering
16
a) One
17
b) Allow private subnet resources to access the internet