SAP-C02 · Question #11
A company hosts a web application that tuns on a group of Amazon EC2 instances that ate behind an Application Load Balancer (ALB) in a VPC. The company wants to analyze the network payloads lo…
The correct answer is A. Enable VPC Flow Logs. Store the flow logs in an Amazon S3 bucket for analysis. To analyze network activity and patterns to reverse-engineer a sophisticated attack, VPC Flow Logs provide essential metadata about IP traffic, including source/destination, ports, and data transfer volumes. This information is crucial for understanding network-level attack…
Question
A company hosts a web application that tuns on a group of Amazon EC2 instances that ate behind an Application Load Balancer (ALB) in a VPC. The company wants to analyze the network payloads lo reverse-engineer a sophisticated attack of the application. Which approach should the company take to achieve this goal?
Options
- AEnable VPC Flow Logs. Store the flow logs in an Amazon S3 bucket for analysis.
- BEnable Traffic Mirroring on the network interface of the EC2 instances. Send the mirrored traffic lo
- CCreate an AWS WAF web ACL. and associate it with the ALB. Configure AWS WAF logging.
- DEnable logging for the ALB. Store the logs in an Amazon S3 bucket for analysis.
How the community answered
(20 responses)- A80% (16)
- C5% (1)
- D15% (3)
Why each option
To analyze network activity and patterns to reverse-engineer a sophisticated attack, VPC Flow Logs provide essential metadata about IP traffic, including source/destination, ports, and data transfer volumes. This information is crucial for understanding network-level attack vectors and behavior.
VPC Flow Logs capture metadata about all IP traffic going to and from network interfaces in a VPC, providing crucial information like source/destination IPs, ports, protocols, and byte counts that are essential for analyzing network activity and patterns to reverse-engineer an attack. This granular flow data allows security teams to identify suspicious connections and traffic anomalies.
While Traffic Mirroring captures full network packet payloads, it is typically used for real-time deep packet inspection and intrusion detection, rather than historical analysis of network metadata across an entire VPC for general attack reverse-engineering.
AWS WAF provides web application firewall logs for HTTP/S requests at Layer 7, which are useful for web application attacks but do not capture general network payloads or lower-level network traffic details necessary for broader attack analysis.
ALB access logs provide information about requests routed through the Application Load Balancer at Layer 7 (HTTP/S), focusing on web traffic details, but they do not capture raw network payloads or detailed flow information for all network traffic within the VPC.
Concept tested: Network traffic logging and analysis
Source: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html
Community Discussion
No community discussion yet for this question.