🔥 3-day streak
AWS Certified DevOps Engineer - Professional158 / 204
Question 158 of 204

A DevOps team runs a fleet of Amazon EC2 Linux instances managed by AWS Systems Manager. Application logs occasionally fill the root volume, causing the application to crash. The CloudWatch agent already publishes a `disk_used_percent` metric per instance. The team wants a fully automated response: when disk usage on an instance exceeds 90%, a runbook should automatically SSH-free execute a cleanup script (rotate and compress old logs) on that specific instance, without manual intervention. Which approach implements this most directly?

Reviewed for accuracy · Report an issueNext question