AWS VPC Subnets Flashcards

1
Q

What is the main purpose of creating subnets within an AWS VPC?

A) To organize instances into groups for billing purposes
B) To separate resources for security and routing purposes
C) To define the VPC’s IP address range
D) To allocate separate AWS accounts within the VPC

A

Answer: B) To separate resources for security and routing purposes

Explanation: Subnets in an AWS VPC are used to logically separate resources, enabling fine-grained control over security and routing.

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

Can instances in different subnets within the same VPC communicate with each other by default?

A) Yes, they can always communicate without any additional configuration.
B) No, communication between subnets requires setting up VPC peering.
C) It depends on the route table and security group settings.
D) Only instances in public subnets can communicate within the VPC.

A

Answer: C) It depends on the route table and security group settings.

Explanation: By default, instances in different subnets within the same VPC can communicate if the route tables and security groups allow it. Configuration may be needed to enable or restrict communication.

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