Courseiva
Network Security, Compliance and GovernancehardMultiple SelectObjective-mapped

ANS-C01 Network Security, Compliance and Governance Practice Question

A company has a VPC with a CIDR of 10.0.0.0/16. They have two subnets: subnet A (10.0.1.0/24) and subnet B (10.0.2.0/24). They have an AWS Network Firewall deployed in a firewall subnet. They want to inspect all traffic between subnet A and subnet B. Which TWO actions are required? (Choose two.)

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 Network Firewall rule group to allow the desired traffic between subnets.

To inspect traffic between subnet A and subnet B, the traffic must be routed through the Network Firewall endpoint. This is achieved by adding a route in subnet A's route table that points to the firewall endpoint's elastic network interface (ENI) for the destination subnet B (10.0.2.0/24), and similarly for subnet B's route table for subnet A (10.0.1.0/24). Additionally, the Network Firewall rule groups must be configured to allow the desired traffic; otherwise, the firewall will block it by default. Options A, D, and E are incorrect: A (transit gateway) is not needed because both subnets are in the same VPC; D (VPC peering) is unnecessary for intra-VPC traffic; E (security group rule) does not route traffic—security groups are applied at the instance level, not to control traffic between 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.

  • Attach a transit gateway to the VPC and route traffic through it.

    Why it's wrong here

    Network Firewall can be used without a transit gateway for intra-VPC traffic.

  • Configure the Network Firewall rule group to allow the desired traffic between subnets.

    Why this is correct

    The firewall must have rules to allow the traffic after routing it through.

  • Add a route in subnet A's route table that sends traffic to subnet B via the Network Firewall endpoint's elastic network interface.

    Why this is correct

    This forces traffic from subnet A to subnet B through the firewall.

  • Create a VPC peering connection between subnet A and subnet B.

    Why it's wrong here

    Subnets within the same VPC do not need peering.

  • Create a security group rule that allows traffic between subnet A and subnet B.

    Why it's wrong here

    Security groups allow or deny traffic but do not route traffic through a firewall.

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

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 →

How Courseiva writes practice questions · Editorial policy

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.