ANS-C01 Network Security, Compliance and Governance Practice Question
A company has a VPC with public and private subnets. The security team wants to implement a web application firewall to protect against common web exploits. Which TWO AWS services can be used together to achieve this?
⚠ Common exam trap
AWS often tests the misconception that any load balancer can integrate with AWS WAF, but only Layer 7 load balancers (ALB) support this integration, not Layer 4 (NLB).
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
✓
Application Load Balancer (ALB)
An Application Load Balancer (ALB) operates at Layer 7 and can be associated with AWS WAF to inspect HTTP/HTTPS traffic for common web exploits. AWS WAF provides a managed rule set that blocks SQL injection, cross-site scripting (XSS), and other OWASP Top 10 threats. Together, they form a web application firewall (WAF) solution that protects resources in the VPC's private subnets.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Application Load Balancer (ALB)
Why this is correct
ALB can be associated with AWS WAF to inspect HTTP/HTTPS traffic.
- ✗
Network Load Balancer (NLB)
Why it's wrong here
NLB operates at layer 4 and does not support AWS WAF.
- ✓
AWS WAF
Why this is correct
AWS WAF provides web application firewall capabilities.
- ✗
NAT Gateway
Why it's wrong here
NAT Gateway is for outbound internet access, not web application firewall.
- ✗
Amazon CloudFront
Why it's wrong here
CloudFront can be used with WAF, but the question asks for two services that work together; ALB+WAF is a direct combination.
Visual reference
Go deeper
Related to this question
About these practice questions
This ANS-C01 question is part of Courseiva's 1,621-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.