CCOA Securing Assets Practice Question
You are configuring AWS Security Groups for a web server. Which rule set follows the 'Principle of Least Privilege' best?
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
✓
Inbound: TCP 80, 443 from 0.0.0.0/0; Outbound: TCP 443 to internal database subnet only.
Least privilege dictates allowing only the specific ports required (80/443) from the necessary source (anywhere or a load balancer) and nothing else.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Inbound: TCP 80, 443 from 0.0.0.0/0; Outbound: TCP 443 to internal database subnet only.
Why this is correct
This limits ingress to standard web ports and egress to only what the server needs to function.
- ✗
Inbound: TCP 80, 443 from 0.0.0.0/0; Outbound: All traffic.
Why it's wrong here
'All traffic' outbound is generally too broad for a hardened web server.
- ✗
Inbound: All TCP from 0.0.0.0/0; Outbound: All traffic.
Why it's wrong here
This is essentially no security at all.
- ✗
Inbound: TCP 22, 80, 443 from 0.0.0.0/0; Outbound: All traffic.
Why it's wrong here
Opening SSH (22) to the world is a major security risk.
About these practice questions
Courseiva writes every CCOA question from scratch — 203 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official ISACA exam blueprint
This CCOA practice question is part of Courseiva's free ISACA 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 CCOA exam.