AWS Certified SysOps Administrator – Associate — Question 185

A company recently moved its server infrastructure to Amazon EC2 instances. The company wants to use Amazon CloudWatch metrics to track instance memory utilization and available disk space.

What should a SysOps administrator do to meet these requirements?

Answer options

Correct answer: B

Explanation

The correct answer is B because it specifies the installation of the CloudWatch agent and the attachment of an IAM role, which is necessary for instances to send logs to CloudWatch. Option A is incorrect as it implies CloudWatch can manage the agent automatically, which is not the case for memory and disk metrics. Option C is wrong because IAM users cannot be attached to instances, and option D fails to address the need for the correct IAM role to allow logging.