Centralized Monitoring and Analysis of VPC Flow Logs | AWS Exam Prep

Monitor and Analyze VPC Flow Logs with AWS Services

Question

In order to better monitor the traffic going to and from network interfaces in your VPC, you have enabled the VPC flow logs.

You need the following. Automatically deliver the logs to a central place for management. Perform SQL queries on the data. Visualized the logs using a Business Intelligence (BI) service on AWS. Which below services can help achieve this requirement?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer : C.

Option A is incorrect because DynamoDB does not satisfy the 1st requirement as it is not suitable to store the logs.

Option B is incorrect because AWS Glue is a fully managed extract, transform, and load (ETL) service and is not suitable to visualize the VPC flow logs.

Option C is CORRECT because using Amazon S3 can store the logs on a centralized location, Athena can perform the SQL queries on the data, and QuickSight can visualize the logs and provide BI services.

Option D is incorrect because AWS CloudSearch is a search solution for your application and is not ideal for data queries.

Also, AWS X-Ray is an application performance management service that enables a developer to analyze and debug applications in the Amazon Web Services but does not provide visualization and BI capabilities.

Reference:

https://aws.amazon.com/blogs/mt/analyzing-vpc-flow-logs-got-easier-with-support-for-s3-as-a-destination/
Authorizers

‘Authorizers enable you to control access to your APIs using Amazon Cognito User Pools or a Lambda function.

Create New Authc

Create Authorizer

Type* @
©@ Lambda Cognito
Lambda Function* @

us-east-2 ~

Lambda Invoke Role @

Lambda Event Payload * @

@ Token Request

Token Source’ @ ‘Token Validation @

Authorization Caching @
Enabled TTL (seconds)

300

Create Cancel

The correct answer is option C: Amazon S3 -> Amazon Athena -> Amazon QuickSight.

Explanation:

VPC flow logs capture metadata about the IP traffic going to and from network interfaces in a VPC. They can be used for security analysis, resource troubleshooting, and capacity planning. In order to better manage and analyze VPC flow logs, the logs need to be delivered to a central location, queried using SQL, and visualized using a Business Intelligence (BI) service on AWS.

Amazon S3 (Simple Storage Service) is a highly durable and scalable object storage service that can be used to store VPC flow logs. Once the logs are stored in S3, they can be analyzed using other AWS services such as Amazon Athena and Amazon QuickSight.

Amazon Athena is an interactive query service that makes it easy to analyze data in S3 using standard SQL. It can be used to run SQL queries on VPC flow logs stored in S3 and extract useful information. Athena is serverless, so there is no infrastructure to manage, and it scales automatically to handle any amount of data.

Amazon QuickSight is a fully managed Business Intelligence (BI) service that can be used to visualize and analyze data. It can be used to create dashboards and reports from the VPC flow logs queried using Amazon Athena. QuickSight supports a variety of data sources, including Amazon S3, and can be used to create rich visualizations that can help in identifying trends and anomalies in VPC flow logs.

Therefore, option C: Amazon S3 -> Amazon Athena -> Amazon QuickSight is the correct answer. Option A: Amazon DynamoDB -> Amazon Athena -> Amazon QuickSight is not the correct answer because DynamoDB is a NoSQL database service and is not suitable for storing and analyzing VPC flow logs. Option B: Amazon CloudWatch Logs -> Amazon Elasticsearch -> AWS Glue is not the correct answer because CloudWatch Logs is a log management service that is not suitable for VPC flow logs and AWS Glue is an ETL (Extract, Transform, Load) service that is not necessary for this use case. Option D: Amazon S3 -> AWS CloudSearch -> AWS X-Ray is not the correct answer because CloudSearch is a search and discovery service that is not suitable for VPC flow logs and AWS X-Ray is a service for debugging and analyzing distributed applications and is not necessary for this use case.