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

A company is deploying a new application that uses Amazon EC2 instances. The company needs a solution to query application logs and AWS account API activity.

Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

Option B is correct because it integrates Amazon CloudWatch Logs and CloudWatch Logs Insights, allowing for seamless querying of both application logs and API activity logs. Options A and D do not provide a direct querying mechanism for both log types in a consolidated manner, while option C involves unnecessary complexity by introducing Kinesis and Redshift.