Question 673 of 1,746
Continuous Improvement for Existing SolutionsmediumMultiple ChoiceObjective-mapped

SAP-C02 Dead-letter queue (DLQ) Practice Question

This SAP-C02 practice question tests your understanding of continuous improvement for existing solutions. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. A key principle to apply: dead-letter queue (DLQ). Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company uses AWS Lambda functions to process orders. Recently, some orders have been lost due to Lambda throttling. The operations team wants to implement a solution to capture failed invocations and retry them. What is the MOST reliable approach?

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

Configure an SQS queue as the Lambda event source with a dead-letter queue for failed messages.

Option C is correct because an SQS queue configured as a Lambda event source provides reliable invocation with retry logic, and a dead-letter queue (DLQ) captures messages that fail after all retries, preventing loss. Option A is wrong because CloudWatch Logs capture logs but do not capture or retry failed invocations. Option B is wrong because EventBridge can capture errors but does not provide built-in retry or a DLQ for Lambda throttling. Option D is wrong because SNS publishes messages but does not store them for retry; if the subscriber fails, the message is lost unless additional mechanisms are implemented.

Key principle: Dead-letter queue (DLQ)

Answer analysis

Option-by-option breakdown

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

  • Enable CloudWatch Logs for Lambda and create a metric filter to trigger an alarm.

    Why it's wrong here

    CloudWatch Logs only captures logs, not the failed invocations themselves.

  • Use Amazon EventBridge to capture Lambda errors and route them to a recovery function.

    Why it's wrong here

    EventBridge does not automatically retry failed Lambda invocations.

  • Configure an SQS queue as the Lambda event source with a dead-letter queue for failed messages.

    Why this is correct

    SQS provides reliable message delivery and retries; dead-letter queue captures messages that exceed retry attempts.

    Related concept

    Dead-letter queue (DLQ)

  • Publish failed invocation details to an SNS topic and subscribe a Lambda function to process them.

    Why it's wrong here

    SNS does not store messages; if the subscriber fails, messages are lost.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Candidates often confuse EventBridge with SQS for managing retries, but SQS with a DLQ is the standard pattern for reliable invocation and failure handling in Lambda.

Detailed technical explanation

How to think about this question

Treat this as a scenario question. Identify the problem, the constraint, and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Dead-letter queue (DLQ)
  • Lambda throttling
  • Amazon SQS as an event source

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Dead-letter queue (DLQ)

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Dead-letter queue (DLQ) Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

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

What to study next

Got this wrong? Here's your next step.

Review dead-letter queue (DLQ), then practise related SAP-C02 questions on the same topic to reinforce the concept.

Related practice questions

Related SAP-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SAP-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SAP-C02 question test?

Continuous Improvement for Existing Solutions — This question tests Continuous Improvement for Existing Solutions — Dead-letter queue (DLQ).

What is the correct answer to this question?

The correct answer is: Configure an SQS queue as the Lambda event source with a dead-letter queue for failed messages. — Option C is correct because an SQS queue configured as a Lambda event source provides reliable invocation with retry logic, and a dead-letter queue (DLQ) captures messages that fail after all retries, preventing loss. Option A is wrong because CloudWatch Logs capture logs but do not capture or retry failed invocations. Option B is wrong because EventBridge can capture errors but does not provide built-in retry or a DLQ for Lambda throttling. Option D is wrong because SNS publishes messages but does not store them for retry; if the subscriber fails, the message is lost unless additional mechanisms are implemented.

What should I do if I get this SAP-C02 question wrong?

Review dead-letter queue (DLQ), then practise related SAP-C02 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

Dead-letter queue (DLQ)

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

Keep practising

More SAP-C02 practice questions

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 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.