ANS-C01 Question 380
Select 2Your organization is experiencing intermittent connectivity issues between two EC2 instances in the same VPC. You need to identify the root cause by analyzing traffic patterns and network behavior in real-time. Which combination of AWS services can you use to effectively troubleshoot and analyze this issue?
- A
Amazon VPC Flow Logs
- B
Amazon CloudWatch Logs
- C
Amazon VPC Traffic Mirroring
- D
AWS Trusted Advisor
- E
AWS CloudTrail
Show answer and explanation
Correct answers: A, C
Explanation
To troubleshoot intermittent connectivity issues between two EC2 instances, you need tools that allow you to analyze network traffic both historically and in real-time. Amazon VPC Flow Logs provides historical data on IP traffic flow, while Amazon VPC Traffic Mirroring allows for real-time network traffic capture and analysis. These tools together enable a comprehensive approach to diagnosing and resolving the connectivity issue.
- A. Correct.
Amazon VPC Flow Logs captures IP traffic flow information for network interfaces, which can help analyze network traffic patterns between the EC2 instances.
- B. Incorrect.
Amazon CloudWatch Logs is used to store and monitor log data, but it cannot directly capture or analyze network traffic in real-time.
- C. Correct.
Amazon VPC Traffic Mirroring enables real-time capture of network traffic for detailed analysis, making it a powerful tool for troubleshooting connectivity issues between EC2 instances.
- D. Incorrect.
AWS Trusted Advisor provides recommendations for optimizing costs, performance, and security but is not designed for network traffic analysis.
- E. Incorrect.
AWS CloudTrail logs API activity and resource changes but does not capture network traffic data for troubleshooting connectivity issues.