For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeAWS Solutions Architect Professional (SAP-C02)AWS Solutions Architect Professional SAP-C02 Practice Exam 7Question 35
    Medium1 markMultiple Choice
    Domain 2.4: ReliabilityServerlessSQSReliability

    AWS SAP-C02 · Question 35 · Domain 2.4: Reliability

    A company is designing an event-driven architecture. An Amazon API Gateway receives orders and places them in an Amazon SQS queue. An AWS Lambda function processes the orders. The company wants to ensure that if the Lambda function fails to process an order after multiple retries, the order data is not lost and can be analyzed later. Which combination of steps should be taken? (Select TWO)

    Answer options:

    A.

    Configure a Dead Letter Queue (DLQ) on the SQS queue.

    B.

    Configure a Dead Letter Queue (DLQ) on the API Gateway.

    C.

    Set the maxReceiveCount on the SQS queue to a value greater than 1.

    D.

    Enable AWS X-Ray on the Lambda function to store the failed messages.

    E.

    Configure the Lambda function to write failed messages to Amazon ElastiCache.

    F.

    Use Amazon SNS instead of SQS to ensure message delivery.

    How to approach this question

    Identify the SQS feature for handling failed messages.

    Full Answer

    To prevent data loss from failed processing, configure an SQS Dead Letter Queue (DLQ). The `maxReceiveCount` parameter determines how many times the consumer (Lambda) can attempt to process the message before it is moved to the DLQ.

    Common mistakes

    Thinking Lambda needs a DLQ configured directly when consuming from SQS (the DLQ should be on the SQS queue itself).
    Question 34All questionsQuestion 36

    Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 7

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A global enterprise is designing a multi-region network architecture connecting 50 AWS accounts a...HardQ02A company is migrating its hybrid network to AWS. They have two 10 Gbps AWS Direct Connect connec...HardQ03An enterprise has 100 AWS accounts in AWS Organizations. The security team mandates that all Amaz...MediumQ04A financial company requires that all EBS volumes, S3 buckets, and RDS databases be encrypted usi...EasyQ05An enterprise is designing a disaster recovery strategy for a critical application running on Ama...Hard
    View all 75 questions →