CV0-004 Security Practice Question
A cloud architect is designing a multi-tier application. The application tier needs to access a database, but the database should not be reachable from the internet. Which network security control should be used?
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
✓
Place the database in a private subnet and use a security group to allow traffic only from the application tier
Placing the database in a private subnet with no direct internet route ensures it is not reachable from the internet. Security groups can then allow inbound traffic only from the application tier's security group.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Place the database in a private subnet and use a security group to allow traffic only from the application tier
Why this is correct
Private subnets have no internet gateway, and security groups can restrict access to only the application tier.
- ✗
Encrypt the database connection using TLS
Why it's wrong here
Encryption protects data in transit but does not restrict network access.
- ✗
Use a VPN to connect the application tier to the database
Why it's wrong here
A VPN is not necessary within the same VPC.
- ✗
Place the database in a public subnet with restrictive security groups
Why it's wrong here
A public subnet has a route to the internet, which is not desired.
Visual reference
Go deeper
Related to this question
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 →
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.