ANS-C01 Network Security, Compliance and Governance Practice Question
A company is deploying a web application that must be accessible over HTTPS only. They are using an Application Load Balancer (ALB) with an SSL certificate from AWS Certificate Manager (ACM). Which TWO configurations are necessary to ensure that only HTTPS traffic reaches the application?
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
✓
Configure the security group for the ALB to allow inbound traffic on port 443 from 0.0.0.0/0.
To ensure only HTTPS traffic reaches the application, the security group for the ALB should allow inbound traffic on port 443 from anywhere (option C), and the ALB listener must be configured to accept traffic on port 443 using the SSL certificate from ACM (option E). Option A is incorrect because allowing port 80 would permit HTTP traffic. Option B is incorrect because an HTTP listener would accept unencrypted traffic. Option D is incorrect because redirecting HTTP to HTTPS still allows HTTP traffic to reach the ALB initially; the proper approach is to not accept HTTP at all.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Configure the security group for the ALB to allow inbound traffic on port 80 from 0.0.0.0/0.
Why it's wrong here
Allowing HTTP inbound is not allowed.
- ✗
Configure the ALB listener to accept traffic on port 80.
Why it's wrong here
Accepting HTTP traffic violates the requirement.
- ✓
Configure the security group for the ALB to allow inbound traffic on port 443 from 0.0.0.0/0.
Why this is correct
This allows HTTPS traffic from the internet.
- ✗
Configure the ALB to redirect HTTP traffic to HTTPS.
Why it's wrong here
This still accepts HTTP traffic initially, which may not be acceptable.
- ✓
Configure the ALB listener to accept traffic on port 443 using the SSL certificate.
Why this is correct
This enables HTTPS termination.
Go deeper
Related to this question
About these practice questions
One of 1,621 original ANS-C01 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 ANS-C01 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 ANS-C01 exam.