Courseiva
Question 1,405 of 418
Incident and Event ResponsemediumMultiple ChoiceObjective-mapped

DOP-C02 Incident and Event Response Practice Question

Exhibit

Refer to the exhibit.

CloudWatch Logs Log Group:
- Log Group Name: /aws/lambda/my-function
- Metric Filter: [timestamp, requestID, statusCode=500, ...]
- Metric: ErrorCount
- Alarm: AlarmName: HighErrorRate, Statistic: Sum, Period: 300, Threshold: 10, Evaluation Periods: 1
- The alarm triggers when ErrorCount >= 10 in a 5-minute period.

Refer to the exhibit. A DevOps engineer set up a CloudWatch alarm for a Lambda function. The alarm fires when the error count metric exceeds 10 in 5 minutes. The engineer receives an alarm notification, but when checking the Lambda logs, only 3 errors are found in that 5-minute window. What is the MOST likely reason for the discrepancy?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The metric filter is counting errors from other log groups or sources that use the same metric name.

The metric filter might be capturing errors from other log groups that share the same metric name (ErrorCount). If multiple Lambda functions or other services publish to the same metric, the alarm could be summing across all of them. Option A is wrong because CloudWatch Logs metric filters are near real-time. Option C is wrong because Lambda errors are counted correctly. Option D is wrong because the metric filter is correctly defined.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The metric filter is not processing logs in real time, causing a delay.

    Why it's wrong here

    Metric filters process logs in near real-time.

  • The metric filter is counting errors from other log groups or sources that use the same metric name.

    Why this is correct

    If multiple sources publish to the same metric, the alarm sums them.

  • The metric filter pattern is incorrect and is matching non-error entries.

    Why it's wrong here

    The pattern is correctly set to statusCode=500.

  • The Lambda function is generating more errors than shown in the logs.

    Why it's wrong here

    The logs show only 3 errors.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 20, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This DOP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DOP-C02 exam.