Question 490
During a security and availability review at a digital payments provider, the DevOps team discovers that an instance application writes structured error logs only to the local disk with no central collection. The affected workload supports transaction authorization and reconciliation; availability and integrity are both required for financial settlement. Which automation approach BEST satisfies this operational requirement?
Explanation
Correct Answer
Correct. Deploy the Amazon CloudWatch Agent on managed EC2 instances with appropriate instance role permissions to collect memory, disk and selected application logs. The reported condition is that an instance application writes structured error logs only to the local disk with no central collection. The design addresses the corresponding exposure: Basic EC2 metrics alone may omit memory pressure or application errors and prevent diagnosis of customer-visible degradation. Its effectiveness must be demonstrated by this result: A test host emits a known application error and memory metric, both arrive in the intended CloudWatch destination with host identifiers.
Incorrect Answers
Route selected AWS service or custom application events through Amazon EventBridge rules to appropriate automated responders or notification targets. That change would not implement cloudwatch agent host observability.
Use CloudWatch composite alarms to combine relevant metric alarm states and send actionable notifications only when meaningful joint conditions are met. The configuration must instead establish cloudwatch agent host observability.
Use AWS Config recording and aggregators to evaluate approved resource compliance across accounts and Regions with clearly scoped rules. The cloudwatch agent host observability prerequisite remains unaddressed.