Courseiva
Network Security, Compliance and GovernanceeasyMultiple ChoiceObjective-mapped

ANS-C01 Network Security, Compliance and Governance Practice Question

A company wants to block inbound traffic from a specific IP address range (203.0.113.0/24) at the VPC level using AWS WAF. Which resource should the AWS WAF web ACL be associated with?

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

AWS WAF can be associated with an Application Load Balancer to filter HTTP/HTTPS traffic. Option B is wrong because NLB does not support AWS WAF. Option C is wrong because VPC peering does not have a web ACL. Option D is wrong because a security group is used for stateful filtering, but AWS WAF is a separate service for web traffic.

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

    Why this is correct

    AWS WAF can be associated with ALB to filter web traffic.

  • Network Load Balancer

    Why it's wrong here

    NLB does not support AWS WAF.

  • VPC peering connection

    Why it's wrong here

    VPC peering cannot have a web ACL.

  • Security group

    Why it's wrong here

    Security groups are stateful but not used for AWS WAF.

Visual reference

Source Router + ACL permit 10.0.0.0/8 deny any Server 10.0.0.5 ✓ 192.168.1.1 ✗ dropped ACLs evaluate top-down; first match wins — implicit deny all at end

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 →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on ANS-C01

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A company wants to block incoming traffic from specific IP addresses at the edge of the AWS network before it reaches the application load balancer. Which AWS service should be used?

easy
  • A.AWS WAF web ACL associated with the ALB
  • B.Network ACLs on the VPC subnet containing the ALB
  • C.Security Groups attached to the ALB
  • D.Amazon CloudFront with origin access identity

Why A: AWS WAF can be associated with an Application Load Balancer to filter incoming traffic based on IP addresses at the edge (before reaching the ALB). Option B is wrong because Network ACLs operate at the subnet level and do not inspect HTTP traffic or block at the edge. Option C is wrong because Security Groups are stateful firewalls that operate at the instance or ENI level, not at the edge, and they cannot block traffic before the ALB. Option D is wrong because CloudFront is a CDN that can be used with WAF, but the question specifically asks for blocking at the edge before the ALB, and CloudFront alone does not provide IP filtering for an ALB without WAF.

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.