AWS Certified DevOps Engineer – Professional — Question 65

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 as it effectively combines the log data from both Amazon CloudWatch Logs and AWS CloudTrail, allowing for querying through CloudWatch Logs Insights. The other options either incorrectly direct logs to S3 or Kinesis, which do not provide the same querying capabilities that CloudWatch Logs Insights offers.