AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 202

A company has a fleet of Amazon EC2 instances that run Linux in a single AWS account. The company is using an AWS Systems Manager Automation task across the EC2 instances.

During the most recent patch cycle, several EC2 instances went into an error state because of insufficient available disk space. A DevOps engineer needs to ensure that the EC2 instances have sufficient available disk space during the patching process in the future.

Which combination of steps will meet these requirements? (Choose two.)

Answer options

Correct answer: A, D

Explanation

Answer A is correct because installing the Amazon CloudWatch agent allows for real-time monitoring of disk space usage. Answer D is also correct as creating a CloudWatch alarm will proactively alert the team when disk space is low, allowing them to address it before patching. The other options do not provide a comprehensive solution for monitoring and ensuring available disk space during the patching process.