AWS Certified Developer – Associate (DVA-C02) — Question 68

A company runs an application on AWS. The company deployed the application on Amazon EC2 instances. The application stores data on Amazon Aurora.

The application recently logged multiple application-specific custom DECRYP_ERROR errors to Amazon CloudWatch logs. The company did not detect the issue until the automated tests that run every 30 minutes failed. A developer must implement a solution that will monitor for the custom errors and alert a development team in real time when these errors occur in the production environment.

Which solution will meet these requirements with the LEAST operational overhead?

Answer options

Correct answer: C

Explanation

Option C is the best choice because it makes use of a CloudWatch Logs metric filter that directly monitors for the specific error in real-time, minimizing manual intervention. The other options involve either unnecessary complexity (A and D) or a delayed approach (B) that increases operational overhead.