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 Associate (SAA-C03)AWS SAA-C03 Practice Exam 4Question 34
    Easy1 markMultiple Choice
    Domain 2.3: DecouplingResilienceSQSDLQ

    AWS SAA-C03 · Question 34 · Domain 2.3: Decoupling

    A company is using Amazon SQS to process background jobs. Occasionally, a message causes the consumer application to crash, and the message is returned to the queue. This creates an infinite loop where the bad message is repeatedly picked up and crashes the application. <br/><br/>How can a solutions architect resolve this issue?

    Answer options:

    A.

    Increase the visibility timeout of the SQS queue.

    B.

    Configure a Dead-Letter Queue (DLQ) and set the maxReceiveCount on the main queue.

    C.

    Change the queue type from Standard to FIFO.

    D.

    Use AWS Lambda to filter out bad messages before they reach the queue.

    How to approach this question

    Recognize the 'poison pill' scenario and the standard SQS feature used to handle it.

    Full Answer

    B.Configure a Dead-Letter Queue (DLQ) and set the maxReceiveCount on the main queue.✓ Correct
    A dead-letter queue (DLQ) is a queue that other (source) queues can target for messages that can't be processed successfully. You set a `maxReceiveCount` on the source queue. If a message is received that many times without being deleted, SQS moves it to the DLQ.

    Common mistakes

    Thinking visibility timeout solves the problem.
    Question 33All questionsQuestion 35

    Practice the full AWS SAA-C03 Practice Exam 4

    65 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A company has multiple AWS accounts in an AWS Organizations organization. The security team wants...MediumQ02An application running on Amazon EC2 instances needs to access an Amazon DynamoDB table. Both res...EasyQ03A company is designing a web application that will be hosted on AWS. The application will use an ...MediumQ04A company is building a mobile app that requires users to authenticate using their social media a...HardQ05A solutions architect is designing a VPC for a three-tier web application. The database tier must...Medium
    View all 65 questions →