Courseiva
Continuous Improvement for Existing SolutionshardMultiple ChoiceObjective-mapped

SAP-C02 Continuous Improvement for Existing Solutions Practice Question

Network Topology
$ aws cloudwatch get-metric-statisticsnamespace AWS/Lambdametric-name Errorsstart-time 2023-10-01T00:00:00Zend-time 2023-10-01T01:00:00Zperiod 300statistics SumRefer to the exhibit."Label": "Errors","Datapoints": ["Timestamp": "2023-10-01T00:00:00Z","Sum": 0.0},"Timestamp": "2023-10-01T00:05:00Z","Timestamp": "2023-10-01T00:10:00Z","Sum": 5.0"Timestamp": "2023-10-01T00:15:00Z","Timestamp": "2023-10-01T00:20:00Z","Timestamp": "2023-10-01T00:25:00Z","Timestamp": "2023-10-01T00:30:00Z","Timestamp": "2023-10-01T00:35:00Z","Timestamp": "2023-10-01T00:40:00Z","Timestamp": "2023-10-01T00:45:00Z","Timestamp": "2023-10-01T00:50:00Z","Timestamp": "2023-10-01T00:55:00Z",

A solutions architect sees the above CloudWatch metric data for a Lambda function. The function is triggered by an SQS queue. The errors occur in a pattern: exactly 5 errors at 00:10, 00:30, and 00:50. What is the MOST likely cause?

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 Lambda function is timing out due to long-running processing, and the SQS visibility timeout is set to 20 minutes, causing the same messages to be retried.

The pattern of errors occurring exactly at 00:10, 00:30, and 00:50 (20-minute intervals) indicates that the Lambda function is timing out after processing for a long duration, and the SQS visibility timeout is set to 20 minutes. When the function times out, the message becomes visible again in the queue after the visibility timeout, leading to a retry. This results in errors at regular intervals. Option A is incorrect because memory exhaustion would cause out-of-memory errors, not timeouts. Option C is incorrect because hitting reserved concurrency would cause throttles (e.g., 429 errors), not function errors. Option D is incorrect because an incompatible runtime would cause all invocations to fail immediately, not in a pattern.

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 Lambda function is running out of memory.

    Why it's wrong here

    Would cause out-of-memory errors, not timeouts.

  • The Lambda function is timing out due to long-running processing, and the SQS visibility timeout is set to 20 minutes, causing the same messages to be retried.

    Why this is correct

    The pattern matches a timeout and retry cycle.

  • The Lambda function is hitting the reserved concurrency limit.

    Why it's wrong here

    Would cause throttling, not errors.

  • The Lambda function is using an incompatible runtime.

    Why it's wrong here

    Would cause all invocations to fail.

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 writes every SAP-C02 question from scratch — 1,660 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SAP-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 SAP-C02 exam.