AWS Certified Solutions Architect – Associate (SAA-C02) — Question 170

A company operates a website on Amazon EC2 Linux instances. Some of the instances are failing. Troubleshooting points to insufficient swap space on the failed instances. The operations team lead needs a solution to monitor this.
What should a solutions architect recommend?

Answer options

Correct answer: C

Explanation

The correct answer is C because installing the Amazon CloudWatch agent allows for more detailed monitoring of system metrics, including SwapUtilization. This option not only provides better visibility into the swap space usage but also enables scheduling for regular data collection. The other options either do not provide comprehensive monitoring or rely on methods that are less efficient for tracking swap metrics.