How Should You Configure AWS Network Firewall Logging for Complete Traffic Metadata?
A company wants to use an AWS Network Firewall firewall to secure its workloads in the cloud through network traffic inspection. The company must record complete metadata information, such as source/destination IP addresses and protocol type. The company must also record all network traffic flows and any DROP or ALERT actions that the firewall takes for traffic that the firewall processes. The Network Firewall endpoints are placed in the correct subnets, and the VPC route tables direct traffic to the Network Firewall endpoints on the path to and from the internet. How should a network engineer configure the firewall to meet these requirements?
Community Votes
62% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
This question tests whether you know that Network Firewall logging is available only for traffic forwarded to the stateful rules engine, so the policy must send all traffic through that engine rather than just enabling log destinations.
To capture complete traffic metadata and all DROP/ALERT actions from AWS Network Firewall, you must forward all traffic to the stateful rules engine and enable both alert and flow logs. The community consensus favors option C because firewall logging is only available for traffic that reaches the stateful engine.
Option B is a common wrong answer because it correctly enables alert and flow logs but allows stateless rule actions to bypass the stateful engine, which means traffic would flow without generating the required Network Firewall logs.
Community Discussion (9 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why C Is Correct
AWS Network Firewall uses both a stateless engine and a stateful engine. Logging, including flow logs and alert logs, is generated only by the stateful engine. The official AWS Network Firewall logging documentation states that firewall logging is only available for traffic that you forward to the stateful rules engine. Therefore, to meet the requirement to record all network traffic flows and any DROP or ALERT actions, the firewall policy must ensure that all traffic is sent to the stateful engine. Option C does this by creating a policy where the stateful engine processes all traffic and by configuring both alert logs and flow logs with a destination.
Option A is incomplete because it only configures flow logs and selects CloudWatch Logs as the destination; it does not configure alert logs for DROP/ALERT actions. Option B configures alert and flow logs but allows traffic to be processed by stateless or stateful rules "according to needs." If stateless rules pass traffic without forwarding it to the stateful engine, that traffic will not be logged, violating the requirement. Option D uses VPC Flow Logs instead of Network Firewall logging. VPC Flow Logs can show IP traffic metadata, but they do not capture the firewall-specific DROP/ALERT actions taken by AWS Network Firewall rules.
Community comments also highlight this point. Several candidates noted that "Firewall logging is only available for traffic that you forward to the stateful rules engine." This is why the answer must include both the stateful-engine requirement and the correct log types. The most upvoted answer was C, and the AWS documentation supports that choice.
Official Reference
Exam Strategy
For AWS Network Firewall questions, remember that logs come from the stateful engine only. When a requirement asks for all flows and alert/drop actions, choose an answer that forces all traffic into the stateful engine and configures both flow and alert logs.
Related Analysis
Practice All ANS-C01 Questions
Access 137 questions with complete answers and detailed explanations.
View Full ANS-C01 Practice Test →