Courseiva
Cloud Architecture and DesignmediumMultiple ChoiceObjective-mapped

CV0-004 Cloud Architecture and Design Practice Question

A cloud engineer is designing a VPC in AWS for a three-tier web application. The web servers must be accessible from the internet, the application servers must be isolated from the internet but reachable by web servers, and the database servers must be isolated from both. How many subnets should be created, and which type should each be?

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

Three subnets: public for web, private for app, and private for database with stricter security groups

A three-tier architecture typically uses three subnets: public for web servers, private for application servers, and a database subnet (often private with additional restrictions). The database subnet is typically private, but the question asks for isolation, implying a separate subnet tier. A single subnet cannot provide isolation. Two subnets would combine two tiers, violating isolation.

Answer analysis

Option-by-option breakdown

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

  • Two subnets: public for web, private for app and database together

    Why it's wrong here

    App and database would not be isolated from each other.

  • Three subnets: public for web, private for app, and private for database with stricter security groups

    Why this is correct

    This provides proper isolation: web in public, app in private, database in isolated private subnet.

  • One public subnet for all tiers

    Why it's wrong here

    This would expose all tiers to the internet, violating security.

  • Four subnets: two public for redundancy, two private for app and database

    Why it's wrong here

    Redundant public subnets are common, but four subnets are not necessary for the isolation requirement; three is sufficient.

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 977 original CV0-004 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 CV0-004 practice question is part of Courseiva's free CompTIA 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 CV0-004 exam.