CLF-C02 Question 205
Select 3You are tasked with designing a new Virtual Private Cloud (VPC) for your company's AWS environment. Which of the following components must you configure to ensure that resources in the VPC can communicate with the internet and other AWS services?
- A
Internet Gateway
- B
NAT Gateway
- C
Subnet
- D
Route Table
- E
Elastic Load Balancer
Show answer and explanation
Correct answers: A, C, D
Explanation
To enable communication with the internet and other AWS services in a VPC, you must configure an Internet Gateway, subnets (for segmenting the VPC, such as public subnets), and route tables to define the traffic flow. While NAT Gateways and Elastic Load Balancers are useful for specific scenarios, they are not mandatory components for basic internet communication in a VPC.
- A. Correct.
An Internet Gateway is required to allow resources within the VPC to communicate with the internet. Without it, the VPC would be isolated from the internet.
- B. Incorrect.
A NAT Gateway is not strictly required to enable communication with the internet unless private subnets need to access the internet securely. It is optional depending on your design.
- C. Correct.
Subnets are essential components of a VPC and are used to divide the VPC into smaller network segments. Public subnets are required for internet-facing resources.
- D. Correct.
A route table is needed to define the network traffic paths within the VPC, including directing traffic to the internet via the Internet Gateway.
- E. Incorrect.
An Elastic Load Balancer is a service used to distribute traffic among instances but is not a required component for enabling communication with the internet or other AWS services.