Section 1 - Instruction

You've learned about Route Tables, Internet Gateways, and public versus private subnets. These components work together to control traffic flow in your VPC. Let's practice applying these concepts.

Engagement Message

Ready to master VPC design patterns?

Section 2 - Practice

Type

Multiple Choice

Practice Question

A company wants to host a web application with the following architecture: web servers that users can access from the internet, and database servers that should be completely isolated from public access. How should they configure their subnets?

A. Put both web servers and databases in public subnets B. Put web servers in a public subnet and databases in a private subnet C. Put both web servers and databases in private subnets D. Create one subnet and use security groups to control access

Suggested Answers

  • A
  • B - Correct
  • C
  • D
Section 3 - Practice

Type

Fill In The Blanks

Markdown With Blanks

Fill in the blanks to complete this VPC security pattern:

Web servers are placed in a [[blank:public]] subnet with a route table pointing to an [[blank:Internet Gateway]]. Databases are placed in a [[blank:private]] subnet with no route to the internet.

Suggested Answers

  • public
  • Internet Gateway
  • private
Section 4 - Practice

Type

Sort Into Boxes

Practice Question

Sort these VPC components based on what they control:

Labels

  • First Box Label: Network Access
  • Second Box Label: Traffic Direction

First Box Items

  • Internet Gateway
Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal