A company runs a production EC2 instance that experiences intermittent connectivity issues. The instance is part of an Auto Scaling group behind an Application Load Balancer. Which step should be taken FIRST to diagnose the issue?
Trap 1: Modify the security group to allow all traffic temporarily
Opening security groups blindly reduces security and does not diagnose the issue.
Trap 2: Terminate the instance and let Auto Scaling launch a new one
Terminating without investigation does not identify root cause.
Trap 3: Attach an additional Elastic Network Interface (ENI) to the instance
Adding an ENI does not diagnose intermittent connectivity and may complicate the setup.
- A
Modify the security group to allow all traffic temporarily
Why wrong: Opening security groups blindly reduces security and does not diagnose the issue.
- B
Review CloudWatch metrics for the instance and the ALB target group
CloudWatch metrics provide baseline data for troubleshooting connectivity issues.
- C
Terminate the instance and let Auto Scaling launch a new one
Why wrong: Terminating without investigation does not identify root cause.
- D
Attach an additional Elastic Network Interface (ENI) to the instance
Why wrong: Adding an ENI does not diagnose intermittent connectivity and may complicate the setup.