Question 350

A review requires full HTTP request headers and response codes for an ALB-backed application. Which logs should be selected?

  1. Configure AWS WAF logging to an appropriate supported destination
  2. Create an AWS Config compliance check for supported ALB access-log settings
  3. Enable the ALB access logs and complement them with application logging where full headers are required
  4. Use request-level application or load-balancer logs because VPC Flow Logs are flow metadata

Explanation

Correct Answer

C:

ALB access logging contains structured HTTP request details, while complete custom header capture may require application-level instrumentation.

Incorrect Answers

A:

WAF request logs show rule evaluation and final actions, providing decision evidence beyond CloudFront's general access response; that addresses rule-level web firewall decision evidence, rather than web request forensic evidence beyond network metadata.

B:

Configuration assessment can flag resources that violate the required monitoring policy without sampling their live traffic; this belongs to automated verification of load-balancer logging posture, while the problem is web request forensic evidence beyond network metadata.

D:

In the selecting the right logging layer for HTTP investigation workflow, network flow summaries do not include HTTP payload and URI content, so a different telemetry layer is required; the current case needs web request forensic evidence beyond network metadata.

Question 351

A compliance engineer needs to prove AWS WAF blocked a malicious user-agent string. Which logging mechanism captures evaluated request actions?

  1. Enable the ALB access logs and complement them with application logging where full headers are required
  2. Enable VPC Flow Logs and query their action fields for the affected network resources
  3. Use AWS WAF CloudWatch metrics and alarms for rule match or blocked-request activity
  4. Configure AWS WAF logging to an appropriate supported destination
  5. Enable and inspect Network Firewall alert or flow logs with the matched policy context

Explanation

Correct Answer

D:

WAF request logs show rule evaluation and final actions, providing decision evidence beyond CloudFront's general access response.

Incorrect Answers

A:

ALB access logging contains structured HTTP request details, while complete custom header capture may require application-level instrumentation; that addresses web request forensic evidence beyond network metadata, rather than rule-level web firewall decision evidence.

B:

Flow logs record accept/reject decisions and packet metadata at the chosen aggregation scope; this belongs to rejected flow evidence across VPC environments, while the problem is rule-level web firewall decision evidence.

C:

WAF publishes rule-level metrics that can drive alarm thresholds without independently parsing every raw web request log; this changes quantitative monitoring of web firewall rule activity, not the necessary rule-level web firewall decision evidence.

E:

This produces detailed managed firewall policy outcome evidence: Firewall event logs provide inspection decisions and flow state that ordinary VPC flow logs cannot fully describe; the stem instead tests rule-level web firewall decision evidence.

Question 352

Route 53 Resolver DNS Firewall is associated with a workload VPC and Resolver query logging is already enabled. An incident responder needs to identify which blocked DNS request matched which firewall rule group and domain list. Which fields in the existing logs supply that match?

  1. CloudTrail eventName and userIdentity on the most recent EC2 API calls
  2. The srcport and action values in ordinary VPC Flow Logs
  3. The firewall_rule_action, firewall_rule_group_id and firewall_domain_list_id fields in Route 53 Resolver query logs
  4. CloudWatch ALB access-log fields for the client TLS cipher and target response

Explanation

Correct Answer

C:

For DNS Firewall ALERT or BLOCK matches, Resolver query logs can include the applied rule action, matched rule-group ID and domain-list ID. Correlate those values with query_name and source information.

Incorrect Answers

A:

CloudTrail management events identify callers of AWS APIs; they are not per-DNS-query DNS Firewall matches, so they do not carry the matching domain-list and firewall action fields.

B:

Flow Logs contain network flow addresses, ports and disposition, not the Resolver DNS Firewall rule group, domain list and rule action that matched a queried hostname.

D:

ALB access logs describe HTTP(S) requests and target processing. They cannot attribute DNS Firewall decisions on VPC Resolver queries to the matching rule group.

Question 353

A blue team suspects C2 connections but needs captured payload samples, not flow counters. Which telemetry method should be chosen?

  1. Use AWS Config or approved inventory automation to track Traffic Mirroring session configuration
  2. Create a CloudWatch alarm on the Direct Connect ConnectionState metric
  3. Mirror eligible EC2 network traffic to an approved packet inspection appliance
  4. Enable VPC Flow Logs and query their action fields for the affected network resources

Explanation

Correct Answer

C:

VPC Traffic Mirroring copies packets for authorized deep inspection, while aggregated flows omit payload contents.

Incorrect Answers

A:

Configuration history and periodic verification detect changed mirror targets or filters even when captured traffic volume seems normal; that addresses accountability for packet capture destination changes, rather than payload-level packet collection for network investigations.

B:

CloudWatch evaluates connection-health metrics over specified periods and can notify operators of outages; this belongs to physical hybrid link failure alerting, while the problem is payload-level packet collection for network investigations.

D:

In the rejected flow evidence across VPC environments workflow, flow logs record accept/reject decisions and packet metadata at the chosen aggregation scope; the current case needs payload-level packet collection for network investigations.

Question 354

An encrypted hybrid VPN repeatedly loses its IKE negotiations. TunnelState alarms show outages but not their negotiation causes. Which evidence source should the security team enable?

  1. Use only VPC Flow Logs to recover the individual IKE negotiation error messages
  2. Send Site-to-Site VPN tunnel activity logs to Amazon CloudWatch Logs for IKE/IPsec diagnosis
  3. Create a second TunnelState alarm with a shorter period
  4. Enable AWS WAF logs for the VPN tunnel endpoints

Explanation

Correct Answer

B:

Site-to-Site VPN tunnel logging captures negotiation and tunnel events in CloudWatch Logs. These details provide context for IKE failures that cannot be inferred from a binary TunnelState metric alone.

Incorrect Answers

A:

VPC Flow Logs show connection-level metadata, not VPN service negotiation diagnostics such as proposals and authentication failures.

C:

A second state metric alarm may detect an outage sooner but cannot explain which IKE proposal or handshake stage failed.

D:

WAF handles supported HTTP requests; it has no visibility into Site-to-Site VPN IKE/IPsec negotiations. VPN service logs, not layer-7 WAF logs, capture tunnel negotiation diagnostics.

Question 355

An organization needs to alert when AWS VPN tunnel state drops below healthy for several periods. What AWS monitoring construct applies?

  1. Configure an organization-wide CloudTrail trail or supported organization event collection
  2. Create a CloudWatch alarm on the Direct Connect ConnectionState metric
  3. Alarm on Site-to-Site VPN TunnelState with an appropriate evaluation window
  4. Deliver VPC Flow Logs to centrally governed storage with restrictive write/delete controls and retention

Explanation

Correct Answer

C:

TunnelState metrics allow automated assessment of link status; aggregation periods reduce noise from transient samples.

Incorrect Answers

A:

Organization trails consolidate eligible management events across participating accounts for common security analysis; that addresses centralized administrative event collection across accounts, rather than VPN tunnel state-based incident alarms.

B:

CloudWatch evaluates connection-health metrics over specified periods and can notify operators of outages; this belongs to physical hybrid link failure alerting, while the problem is VPN tunnel state-based incident alarms.

D:

In the tamper-resistant multi-account network flow retention workflow, centralized log custody and controlled permissions reduce risk that workload operators can erase records of network activity; the current case needs VPN tunnel state-based incident alarms.

Question 356

AWS Config records each network resource inside individual accounts, but auditors need one cross-Region, cross-account view of security-group configuration and compliance. Which Config feature satisfies this?

  1. Query VPC Flow Logs from all accounts and use their action fields as configuration inventory
  2. Create an AWS Config configuration aggregator for the organization and relevant AWS Regions
  3. Enable an AWS Config recorder only in the central audit account
  4. Deploy a CloudTrail organization trail and assume it is an AWS Config aggregation view

Explanation

Correct Answer

B:

An AWS Config aggregator consolidates configuration and compliance data from authorized accounts and Regions into a central read-only view. It supplements, rather than replaces, the source accounts’ recording configurations.

Incorrect Answers

A:

Flow Logs record traffic metadata, not versioned security-group configuration and Config rule compliance. AWS Config tracks resource configurations and compliance evaluations across recorders.

C:

A central recorder does not automatically capture member-account resources in other Regions. Source recorders and aggregation are distinct.

D:

CloudTrail captures API events and principals. It does not directly consolidate Config resource snapshots and compliance evaluations into a Config aggregator.

Question 357

A suspicious data transfer appears in CloudWatch network bytes but investigators need source and destination IP tuples. Which records supplement the metric?

  1. Enable and inspect Network Firewall alert or flow logs with the matched policy context
  2. Grant the flow-log delivery role the required CloudWatch Logs write permissions
  3. Analyze VPC Flow Logs with the relevant source, destination, port and byte fields
  4. Enable VPC Flow Logs and query their action fields for the affected network resources
  5. Create a CloudWatch alarm on the Direct Connect ConnectionState metric

Explanation

Correct Answer

C:

Aggregate bytes reveal load but not communicating endpoints; flow records provide connection-oriented metadata.

Incorrect Answers

A:

Firewall event logs provide inspection decisions and flow state that ordinary VPC flow logs cannot fully describe; that addresses detailed managed firewall policy outcome evidence, rather than network endpoint attribution for data movement.

B:

Delivery configuration and IAM authorization must both allow log-stream creation and event publication; this belongs to authorized publication of VPC flow telemetry, while the problem is network endpoint attribution for data movement.

D:

In the rejected flow evidence across VPC environments workflow, flow logs record accept/reject decisions and packet metadata at the chosen aggregation scope; the current case needs network endpoint attribution for data movement.

E:

This produces physical hybrid link failure alerting: CloudWatch evaluates connection-health metrics over specified periods and can notify operators of outages; the stem instead tests network endpoint attribution for data movement.

Question 358

A forensic team wants to see whether an AWS Network Firewall stateful rule blocked a connection. Which evidence source is best?

  1. Enable and inspect Network Firewall alert or flow logs with the matched policy context
  2. Enable VPC Flow Logs and query their action fields for the affected network resources
  3. Grant the flow-log delivery role the required CloudWatch Logs write permissions
  4. Analyze VPC Flow Logs with the relevant source, destination, port and byte fields

Explanation

Correct Answer

A:

Firewall event logs provide inspection decisions and flow state that ordinary VPC flow logs cannot fully describe.

Incorrect Answers

B:

Flow logs record accept/reject decisions and packet metadata at the chosen aggregation scope; this belongs to rejected flow evidence across VPC environments, while the problem is detailed managed firewall policy outcome evidence.

C:

Delivery configuration and IAM authorization must both allow log-stream creation and event publication; this changes authorized publication of VPC flow telemetry, not the necessary detailed managed firewall policy outcome evidence.

D:

In the network endpoint attribution for data movement workflow, aggregate bytes reveal load but not communicating endpoints; flow records provide connection-oriented metadata; the current case needs detailed managed firewall policy outcome evidence.

Question 359

An account-level logging rule forwards VPC Flow Logs to CloudWatch Logs, but the log group receives no data because the delivery role lacks permissions. What should be corrected?

  1. Grant the flow-log delivery role the required CloudWatch Logs write permissions
  2. Deliver VPC Flow Logs to centrally governed storage with restrictive write/delete controls and retention
  3. Examine CloudTrail events for the delete or update flow-log API action and its principal
  4. Use request-level application or load-balancer logs because VPC Flow Logs are flow metadata

Explanation

Correct Answer

A:

Delivery configuration and IAM authorization must both allow log-stream creation and event publication. The delivery role or publishing principal must have the relevant CloudWatch Logs create-stream and put-log-events permissions.

Incorrect Answers

B:

Centralized log custody and controlled permissions reduce risk that workload operators can erase records of network activity; this belongs to tamper-resistant multi-account network flow retention, while the problem is authorized publication of VPC flow telemetry.

C:

Administrative deletion is a control-plane operation and appears in audit events, not inside the removed flow-log stream itself; this changes investigation of log-tampering administration events, not the necessary authorized publication of VPC flow telemetry.

D:

In the selecting the right logging layer for HTTP investigation workflow, network flow summaries do not include HTTP payload and URI content, so a different telemetry layer is required; the current case needs authorized publication of VPC flow telemetry.

Question 360

A network auditor asks how to detect ALBs created without access logging. Which continuous control is useful?

  1. Create an AWS Config compliance check for supported ALB access-log settings
  2. Grant the flow-log delivery role the required CloudWatch Logs write permissions
  3. Use request-level application or load-balancer logs because VPC Flow Logs are flow metadata
  4. Enable the ALB access logs and complement them with application logging where full headers are required

Explanation

Correct Answer

A:

Configuration assessment can flag resources that violate the required monitoring policy without sampling their live traffic.

Incorrect Answers

B:

Delivery configuration and IAM authorization must both allow log-stream creation and event publication; this belongs to authorized publication of VPC flow telemetry, while the problem is automated verification of load-balancer logging posture.

C:

Network flow summaries do not include HTTP payload and URI content, so a different telemetry layer is required; this changes selecting the right logging layer for HTTP investigation, not the necessary automated verification of load-balancer logging posture.

D:

In the web request forensic evidence beyond network metadata workflow, ALB access logging contains structured HTTP request details, while complete custom header capture may require application-level instrumentation; the current case needs automated verification of load-balancer logging posture.

AWS Certified Advanced Networking - Specialty ANS-C01 Practice Tests