Courseiva
Billing, Pricing, and SupportmediumDrag & DropObjective-mapped

CLF-C02 Billing, Pricing, and Support Practice Question

Drag and drop the steps to set up a VPC with a public subnet and an internet gateway in the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Create VPC, Create subnet, Create Internet Gateway, Attach Internet Gateway to VPC, Create route table, Add route to Internet Gateway, Associate route table with subnet

VPC creation, subnet, internet gateway, routing, and association are the standard steps for a public subnet.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create VPC, Create subnet, Create Internet Gateway, Attach Internet Gateway to VPC, Create route table, Add route to Internet Gateway, Associate route table with subnet

    Why this is correct

    This is the correct order because you must first create the VPC, then a subnet within it. Next, create an Internet Gateway and attach it to the VPC. Then create a route table, add a default route pointing to the Internet Gateway, and finally associate the route table with the subnet to make it public.

  • Create VPC, Create Internet Gateway, Attach Internet Gateway to VPC, Create subnet, Create route table, Add route to Internet Gateway, Associate route table with subnet

    Why it's wrong here

    This order is incorrect because the subnet must be created within the VPC before configuring routing. Creating the Internet Gateway and attaching it before the subnet is possible but placing subnet creation after routing setup is wrong; routing steps should occur after subnet creation.

  • Create subnet, Create VPC, Create Internet Gateway, Attach Internet Gateway to VPC, Create route table, Add route to Internet Gateway, Associate route table with subnet

    Why it's wrong here

    This order is invalid because a subnet is a regional resource that must be created inside an existing VPC, so placing Create subnet before Create VPC makes the first step impossible. AWS will reject the call with a VpcIdNotFound error since the VPC does not yet exist to define the subnet's CIDR and availability zone. Even though the later steps correctly create and attach the Internet Gateway and configure the route table, the dependency violation at the start invalidates the entire sequence.

  • Create VPC, Create subnet, Create route table, Associate route table with subnet, Create Internet Gateway, Attach Internet Gateway to VPC, Add route to Internet Gateway

    Why it's wrong here

    This order is incorrect because the route table association and route addition should happen after the Internet Gateway is created and attached. Adding a route to the Internet Gateway before it exists is invalid, and associating the route table with the subnet before configuring the route is premature.

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

About these practice questions

One of 988 original CLF-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CLF-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CLF-C02 exam.