nerdexam
AmazonAmazon

DOP-C02 · Question #218

DOP-C02 Question #218: Real Exam Question with Answer & Explanation

Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #218. The question stem and answer options stay visible for context.

Submitted by certguy· Mar 6, 2026Monitoring & Logging

Question

A company's application runs on Amazon EC2 instances. The application writes to a log file that records the username, date, time, and source IP address of the login. The log is published to a log group in Amazon CloudWatch Logs. The company is performing a root cause analysis for an event that occurred on the previous day. The company needs to know the number of logins for a specific user from the past 7 days. Which solution will provide this information?

Options

  • ACreate a CloudWatch Logs metric filter on the log group. Use a filter pattern that matches the
  • BCreate a CloudWatch Logs subscription on the log group. Use a filter pattern that matches the
  • CCreate a CloudWatch Logs Insights query that uses an aggregation function to count the number
  • DCreate a CloudWatch dashboard. Add a number widget that has a filter pattern that counts the

Unlock DOP-C02 to see the answer

You've previewed enough free DOP-C02 questions. Unlock DOP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#CloudWatch Logs#Log Analysis#CloudWatch Logs Insights#Log Querying
Full DOP-C02 PracticeBrowse All DOP-C02 Questions