Learn how to reduce networking monitoring costs on AWS by configuring VPC flow logs with custom metadata sent to durable yet low-cost S3 for long-term log retention.
Table of Contents
Question
A company uses multiple AWS accounts and VPCs in a single AWS Region. The company must log all network traffic for Amazon EC2 instances and Amazon RDS databases. The company will use the log information to monitor and identify traffic flows in the event of a security incident. The information must be retained for 12 months but will be accessed infrequently after the first 90 days. The company must be able to view metadata that includes the vpc-id, subnet-id: and tcp-flags fields.
Which solution will meet these requirements at the LOWEST cost?
A. Configure VPC flow logs with the default fields Store the logs in Amazon CloudWatch Logs.
B. Configure Traffic Mirroring on all AWS resources to point to a Network Load Balancer that will send the mirrored traffic to monitoring instances.
C. Configure VPC flow logs with additional custom format fields Store the logs in Amazon S3.
D. Configure VPC flow logs with additional custom format fields Store the logs in Amazon CloudWatch Logs.
Answer
C. Configure VPC flow logs with additional custom format fields Store the logs in Amazon S3.
Explanation
This is the most cost effective solution because:
- S3 provides low cost archival storage for 12+ months retention needed
- VPC flow logs contain needed metadata fields without extra processing
- Custom fields allow viewing vpc-id, subnet-id, tcp-flags as required
Compared to other options:
A – Cannot view required custom fields
B – Traffic Mirroring has network performance/cost overhead
D – CloudWatch Logs has higher costs for 12+ months retention needed
By leveraging VPC flow logs with custom fields to S3, all requirements are met at the lowest storage cost over the long retention period needed.
AWS Certified Advanced Networking – Specialty ANS-C01 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the AWS Certified Advanced Networking – Specialty ANS-C01 exam and earn AWS Certified Advanced Networking – Specialty ANS-C01 certification.