Q52 — AWS DOP-C02 Ch.2
Question 52 of 100 | ← Chapter 2
A company runs an application on current-generation Amazon EC2 instances in a VPC. The EC2 instances run Amazon Linux and launch within an Amazon EC2 Auto Scaling group. The application retrieves data from an Amazon S3 bucket, processes it, and uploads results to a different S3 bucket. Recently, application performance degraded. Manual investigation revealed that outbound network bandwidth utilization is excessively high relative to the EC2 instance type. The company upgraded the EC2 instances to a newer generation. The DevOps team now needs to receive notifications via Amazon CloudWatch alarms when the application attempts to use more outbound network bandwidth than the new EC2 instance type allows.
- A. Configure EC2 detailed monitoring for the instances. Create an AWS Lambda function that creates CloudWatch alarms for the Bw_out_allowance_exceeded metric for each EC2 instance. Configure the alarms to notify the DevOps team.
- B. Install the unified CloudWatch agent on the EC2 instances to export the bw_out_allowance_exceeded metric to CloudWatch. Create a CloudWatch composite alarm monitoring all bw_out_allowance_exceeded metrics. Configure the alarm to notify the DevOps team. ✓
- C. Configure VPC Flow Logs to Amazon CloudWatch Logs for the EC2 instances. Create a CloudWatch Logs metric filter matching events where bandwidth allowance is exceeded. Create a CloudWatch composite alarm monitoring all bw_out_allowance_exceeded metrics. Configure the alarm to notify the DevOps team.
- D. Install the unified CloudWatch agent on the EC2 instances to export the Bw_out_allowance_exceeded metric to CloudWatch. Create an AWS Lambda function that creates CloudWatch alarms for the bw_out_allowance_exceeded metric for each EC2 instance. Configure the alarms to notify the DevOps team.
Correct Answer: B. Install the unified CloudWatch agent on the EC2 instances to export the bw_out_allowance_exceeded metric to CloudWatch. Create a CloudWatch composite alarm monitoring all bw_out_allowance_exceeded metrics. Configure the alarm to notify the DevOps team.
Explanation
https://aws.amazon.com/blogs/networking-and-content-delivery/amazon-ec2-instance-level-network-Performance-metrics-uncover-new-insights/