DOP-C02 · Question #315
DOP-C02 Question #315: Real Exam Question with Answer & Explanation
The correct answer is C: Use Amazon CloudWatch detailed monitoring to collect the NetworkIn metric. Install the. Detailed monitoring in Amazon CloudWatch provides system-level metrics (such as NetworkIn) at a 1-minute interval, which is the requirement for tracking data every 60 seconds. By enabling detailed monitoring, you can collect the NetworkIn metric with the desired granularity. By d
Question
A DevOps engineer deploys an application to a fleet of Amazon Linux EC2 instances. The DevOps engineer needs to monitor system metrics across the fleet. The DevOps engineer wants to monitor the relationship between network traffic and memory utilization for the application code. The DevOps engineer wants to track the data on a 60 second interval. Which solution will meet these requirements?
Options
- AUse Amazon CloudWatch basic monitoring to collect the NetworkIn metric and the
- BUse Amazon CloudWatch detailed monitoring to collect the NetworkIn metric and the
- CUse Amazon CloudWatch detailed monitoring to collect the NetworkIn metric. Install the
- DUse Amazon CloudWatch basic monitoring to collect the built-in NetworkIn metric. Install the
Explanation
Detailed monitoring in Amazon CloudWatch provides system-level metrics (such as NetworkIn) at a 1-minute interval, which is the requirement for tracking data every 60 seconds. By enabling detailed monitoring, you can collect the NetworkIn metric with the desired granularity. By default, Amazon CloudWatch does not collect memory-related metrics (such as MemoryBytesUsed) for EC2 instances. You need to install the CloudWatch agent on the EC2 instances to gather memory utilization metrics, such as mem_used (the memory used by the system), which provides more detailed insights into memory consumption for your application. Once both the NetworkIn and memory (mem_used) metrics are being collected, you can graph them in CloudWatch to monitor the relationship between network traffic and memory utilization. This allows you to visualize the impact of network traffic on memory usage at the 60-second By enabling detailed monitoring for NetworkIn and using the CloudWatch agent for memory metrics, this solution meets the requirement of monitoring network traffic and memory utilization at a 60-second interval efficiently.
Topics
Community Discussion
No community discussion yet for this question.