[{"data":1,"prerenderedAt":313},["ShallowReactive",2],{"practiceExams":3,"studies":186,"free-lesson-\u002Fcourses\u002Faws-certified-developer-associate\u002Flessons\u002Fdead-letter-queues-vs-retry-policies-dva-c03":187},[4,22,37,51,63,75,87,98,111,123,134,144,155,168,177],{"id":5,"slug":6,"description":7,"questionCount":8,"isActive":9,"datePublicModified":10,"difficulty":11,"examVersion":18},23,"aws-certified-developer-associate-dva-c03","Prepare for the AWS Certified Developer - Associate (DVA-C03) exam with realistic practice questions on developing, securing, testing, deploying and troubleshooting applications on AWS, AI-assisted development included, with detailed explanations.",655,true,"2026-12-03T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},1,"AWS Certified Developer - Associate","DVA-C02","aws-certified-developer-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-developer-associatedva-c02\u002Fcovers\u002Faws-DVA-C02.png","associate",{"slug":6,"code":19,"dateBetaStart":20,"dateReleased":21,"pageSlug":15},"DVA-C03",null,"2026-12-01",{"id":23,"slug":24,"description":25,"questionCount":26,"isActive":9,"datePublicModified":27,"difficulty":28,"examVersion":34},22,"aws-certified-solutions-architect-professional-sap-c03","Prepare for the AWS Certified Solutions Architect - Professional (SAP-C03) exam with realistic practice questions on architecture, security, cost, resilience and automation, with detailed explanations.",767,"2026-11-15T00:00:00.000Z",{"providerId":12,"title":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},"AWS Certified Solutions Architect - Professional","SAP-C02","aws-certified-solutions-architect-professional","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-professionalsap-c02\u002Fcovers\u002Faws-SAP-C02.png","advanced",{"slug":24,"code":35,"dateBetaStart":20,"dateReleased":36,"pageSlug":31},"SAP-C03","2026-11-17",{"id":38,"slug":39,"description":40,"questionCount":41,"isActive":9,"datePublicModified":42,"difficulty":43,"examVersion":49},5,"aws-certified-cloud-practitioner-clf-c02","Master your AWS Certified Cloud Practitioner exam with our Practice Exam Simulator. Prepare effectively and assess your readiness with realistic practice exams designed to mirror the most popular official AWS exam.",937,"2026-10-30T00:00:00.000Z",{"providerId":12,"title":44,"subtitle":45,"slug":46,"coverImageUrl":47,"level":48},"AWS Certified Cloud Practitioner","CLF-C02","aws-certified-cloud-practitioner","\u002Fimages\u002Fdifficulties\u002Faws-certified-cloud-practitionerclf-c02\u002Fcovers\u002Faws-CLF-C02.png","foundational",{"slug":39,"code":45,"dateBetaStart":20,"dateReleased":50,"pageSlug":46},"2023-09-19",{"id":52,"slug":53,"description":54,"questionCount":55,"isActive":9,"datePublicModified":42,"difficulty":56,"examVersion":61},8,"aws-certified-devops-engineer-professional-dop-c02","Boost your readiness for the AWS Certified DevOps Engineer - Professional (DOP-C02) exam with our practice exam simulator. Featuring realistic questions and detailed explanations, it helps you identify knowledge gaps and improve your skills.",1040,{"providerId":12,"title":57,"subtitle":58,"slug":59,"coverImageUrl":60,"level":33},"AWS Certified DevOps Engineer - Professional","DOP-C02","aws-certified-devops-engineer-professional","",{"slug":53,"code":58,"dateBetaStart":20,"dateReleased":62,"pageSlug":59},"2023-03-07",{"id":64,"slug":65,"description":66,"questionCount":67,"isActive":9,"datePublicModified":42,"difficulty":68,"examVersion":72},11,"aws-certified-ai-practitioner-aif-c01","Prepare for the AWS Certified AI Practitioner exam with our practice exam simulator. Realistic questions on AI, machine learning and generative AI fundamentals, with detailed explanations, help you find your knowledge gaps and assess your readiness.",928,{"providerId":12,"title":69,"subtitle":70,"slug":71,"coverImageUrl":60,"level":48},"AWS Certified AI Practitioner","AIF-C01","aws-certified-ai-practitioner",{"slug":65,"code":70,"dateBetaStart":73,"dateReleased":74,"pageSlug":71},"2024-08-13","2024-10-22",{"id":76,"slug":77,"description":78,"questionCount":79,"isActive":9,"datePublicModified":42,"difficulty":80,"examVersion":84},9,"aws-certified-data-engineer-associate-dea-c01","Prepare for your AWS Certified Data Engineer - Associate exam with our practice exam simulator. Featuring real exam scenarios, detailed explanations, and instant feedback to boost your confidence and success rate.",891,{"providerId":12,"title":81,"subtitle":82,"slug":83,"coverImageUrl":60,"level":17},"AWS Certified Data Engineer - Associate","DEA-C01","aws-certified-data-engineer-associate",{"slug":77,"code":82,"dateBetaStart":85,"dateReleased":86,"pageSlug":83},"2023-11-27","2024-03-12",{"id":12,"slug":88,"description":89,"questionCount":90,"isActive":9,"datePublicModified":42,"difficulty":91,"examVersion":96},"aws-certified-solutions-architect-associate-saa-c03","Unlock your potential with the AWS Certified Solutions Architect - Associate Practice Exam Simulator. This comprehensive tool is designed to prepare you thoroughly and assess your readiness for the most sought-after AWS associate certification.",1203,{"providerId":12,"title":92,"subtitle":93,"slug":94,"coverImageUrl":95,"level":17},"AWS Certified Solutions Architect - Associate","SAA-C03","aws-certified-solutions-architect-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-associatesaa-c03\u002Fcovers\u002Faws-SAA-C03.png",{"slug":88,"code":93,"dateBetaStart":20,"dateReleased":97,"pageSlug":94},"2022-08-30",{"id":99,"slug":100,"description":101,"questionCount":102,"isActive":9,"datePublicModified":103,"difficulty":104,"examVersion":108},17,"aws-certified-generative-ai-developer-professional-aip-c01","Get ready for the AWS Certified Generative AI Developer - Professional exam with our practice exam simulator. Realistic scenario-based questions with detailed explanations help you assess your readiness to build generative AI solutions on AWS.",982,"2026-10-29T00:00:00.000Z",{"providerId":12,"title":105,"subtitle":106,"slug":107,"coverImageUrl":60,"level":33},"AWS Certified Generative AI Developer - Professional","AIP-C01","aws-certified-generative-ai-developer-professional",{"slug":100,"code":106,"dateBetaStart":109,"dateReleased":110,"pageSlug":107},"2025-11-28","2026-03-17",{"id":112,"slug":113,"description":114,"questionCount":115,"isActive":9,"datePublicModified":103,"difficulty":116,"examVersion":121},13,"aws-certified-security-specialty-scs-c03","Advance your career in cloud security with the AWS Certified Security - Specialty (SCS-C03) Exam Simulator. Realistic, scenario-based practice exams mirror the official exam, with detailed explanations to close your knowledge gaps.",864,{"providerId":12,"title":117,"subtitle":118,"slug":119,"coverImageUrl":120,"level":33},"AWS Certified Security - Specialty","SCS-C03","aws-certified-security-specialty","\u002Fimages\u002Fdifficulties\u002Faws-certified-security-specialtyscs-c02\u002Fcovers\u002Faws_SCS_c02.png",{"slug":113,"code":118,"dateBetaStart":20,"dateReleased":122,"pageSlug":119},"2025-12-01",{"id":124,"slug":125,"description":126,"questionCount":127,"isActive":9,"datePublicModified":103,"difficulty":128,"examVersion":132},19,"aws-certified-machine-learning-engineer-associate-mla-c02","Prepare for the AWS Certified Machine Learning Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you find your knowledge gaps and assess your readiness to build and run ML workloads on AWS.",861,{"providerId":12,"title":129,"subtitle":130,"slug":131,"coverImageUrl":60,"level":17},"AWS Certified Machine Learning Engineer - Associate","MLA-C02","aws-certified-machine-learning-engineer-associate",{"slug":125,"code":130,"dateBetaStart":133,"dateReleased":20,"pageSlug":131},"2026-09-29",{"id":135,"slug":136,"description":137,"questionCount":138,"isActive":9,"datePublicModified":103,"difficulty":139,"examVersion":143},15,"aws-certified-ai-business-strategist-aib-c01","Prepare for the AWS Certified AI Business Strategist exam with our practice exam simulator. Realistic, scenario-based questions with detailed explanations help you assess your readiness to lead AI adoption on AWS and close your knowledge gaps.",848,{"providerId":12,"title":140,"subtitle":141,"slug":142,"coverImageUrl":60,"level":48},"AWS Certified AI Business Strategist","AIB-C01","aws-certified-ai-business-strategist",{"slug":136,"code":141,"dateBetaStart":133,"dateReleased":20,"pageSlug":142},{"id":145,"slug":146,"description":147,"questionCount":148,"isActive":9,"datePublicModified":103,"difficulty":149,"examVersion":153},21,"aws-certified-cloudops-engineer-associate-soa-c03","Prepare for the AWS Certified CloudOps Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you assess your readiness to deploy, operate and troubleshoot workloads on AWS.",862,{"providerId":12,"title":150,"subtitle":151,"slug":152,"coverImageUrl":60,"level":17},"AWS Certified CloudOps Engineer - Associate","SOA-C03","aws-certified-cloudops-engineer-associate",{"slug":146,"code":151,"dateBetaStart":20,"dateReleased":154,"pageSlug":152},"2025-09-30",{"id":156,"slug":157,"description":158,"questionCount":159,"isActive":9,"datePublicModified":160,"difficulty":161,"examVersion":165},10,"aws-certified-advanced-networking-specialty-ans-c01","The AWS Certified Advanced Networking - Specialty practice exam simulates the real test, offering scenario-based questions that assess your ability to design, implement, and troubleshoot complex AWS networking solutions. ",681,"2024-11-13T00:00:00.000Z",{"providerId":12,"title":162,"subtitle":163,"slug":164,"coverImageUrl":60,"level":33},"AWS Certified Advanced Networking - Specialty","ANS-C01","aws-certified-advanced-networking-specialty",{"slug":157,"code":163,"dateBetaStart":166,"dateReleased":167,"pageSlug":164},"2022-01-01","2022-07-12",{"id":169,"slug":170,"description":171,"questionCount":172,"isActive":9,"datePublicModified":173,"difficulty":174,"examVersion":175},6,"aws-certified-solutions-architect-professional-sap-c02","Elevate your career with the AWS Certified Solutions Architect - Professional Exam Simulator. Get ready to ace the most popular Professional AWS exam with our realistic practice exams. Assess your readiness, boost your confidence, and ensure your success.",789,"2024-06-06T00:00:00.000Z",{"providerId":12,"title":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},{"slug":170,"code":30,"dateBetaStart":20,"dateReleased":176,"pageSlug":20},"2022-11-15",{"id":178,"slug":179,"description":180,"questionCount":181,"isActive":9,"datePublicModified":173,"difficulty":182,"examVersion":183},7,"aws-certified-security-specialty-scs-c02","Advance your career in cloud cybersecurity with the AWS Certified Security - Specialty Exam Simulator! Tailored for professionals, this tool offers realistic practice exams to mirror the official exam.",5431,{"providerId":12,"title":117,"subtitle":118,"slug":119,"coverImageUrl":120,"level":33},{"slug":179,"code":184,"dateBetaStart":20,"dateReleased":185,"pageSlug":20},"SCS-C02","2023-07-11",[],{"slug":188,"title":189,"focus":190,"level":17,"components":191,"diagrams":202,"steps":221,"dateModified":308,"course":309,"nextLesson":310},"dead-letter-queues-vs-retry-policies-dva-c03","Dead-Letter Queues vs. Retry Policies","How a retry policy controls whether and when processing is attempted again, while a dead-letter queue holds failed events outside the normal processing path rather than scheduling another attempt.",[192,198],{"key":193,"kind":194,"name":195,"icon":196,"provider":197},"amazon-simple-queue-service-(amazon-sqs)","service","Amazon Simple Queue Service (Amazon SQS)","\u002Fimages\u002Fprovider-services\u002Famazon-simple-queue-service-(amazon-sqs)\u002Fcovers\u002FArch_Amazon-Simple-Queue-Service_64.png","AWS",{"key":199,"kind":194,"name":200,"icon":201,"provider":197},"aws-lambda","AWS Lambda","\u002Fimages\u002Fprovider-services\u002Faws-lambda\u002Fcovers\u002FArch_AWS-Lambda_64.png",[203],{"key":204,"cards":205,"groups":215,"lines":216},"sqs-retry-and-dead-letter",[206,209,212],{"key":207,"component":193,"label":208},"source","Orders source queue",{"key":210,"component":199,"label":211},"worker","Order processor",{"key":213,"component":193,"label":214},"dlq","Orders dead-letter queue",[],[217,219],{"from":207,"to":210,"label":218},"delivery attempts",{"from":207,"to":213,"label":220},"over-limit messages",[222,243,254,257,275,278,287,290,295],{"kind":223,"title":224,"body":225,"diagram":204,"walkthrough":226},"explanation","One message, two paths","\u003Cp>A \u003Cstrong>retry policy\u003C\u002Fstrong> governs whether and when work gets another attempt. A \u003Cstrong>dead-letter queue (DLQ)\u003C\u002Fstrong> holds failed work outside the normal processing path. Putting a message in a DLQ does not schedule another attempt.\u003C\u002Fp>\u003Cp>In this example, order messages wait in \u003Cstrong>Amazon SQS\u003C\u002Fstrong> for an \u003Cstrong>AWS Lambda\u003C\u002Fstrong> function to process. The arrows show where the order message goes, not which service initiates the call: Lambda polls the source queue through an event source mapping.\u003C\u002Fp>",[227,230,235,240],{"text":228,"cards":229},"An order message starts in the SQS source queue. While it is eligible for delivery, it can be picked up by a poller.",[207],{"text":231,"cards":232,"lines":233},"The Lambda integration receives the order and invokes the processor. If the invocation fails, the message is not deleted and can become available for another delivery when its visibility timeout expires.",[210],[234],{"from":207,"to":210},{"text":236,"cards":237,"lines":238},"If the message exceeds the source queue’s configured receive limit, SQS moves it to the dead-letter queue. That queue holds it apart from the processor’s normal input.",[213],[239],{"from":207,"to":213},{"text":241,"cards":242},"A retry delivers the order to the processor again; dead-lettering moves it out of that delivery path.",[],{"kind":244,"title":245,"exercise":246},"exercise","Follow one retry",{"type":247,"diagram":204,"scenario":248,"path":249},"trace","The processor failed on an order, and the order is now visible again and still eligible for another delivery; trace that delivery.",[250,252],{"card":207,"note":251},"The order is available again in the source queue; it has not moved to the DLQ.",{"card":210,"note":253},"The Lambda integration picks up the order and invokes the processor again.",{"kind":223,"title":255,"body":256},"A retry policy keeps work in play","\u003Cp>A \u003Cstrong>retry policy\u003C\u002Fstrong> answers three questions: does this failure qualify for another attempt, when can that attempt happen, and when do attempts stop? Another attempt can help after a temporary timeout. An unchanged message with an unsupported schema is unlikely to succeed just because it is delivered again.\u003C\u002Fp>\u003Cp>Not every delivery system can tell those failures apart. In this SQS example, an undeleted message can be received again after its \u003Cstrong>visibility timeout\u003C\u002Fstrong>. That timeout makes the message eligible again; it does not set the exact time of the next invocation. The source queue’s \u003Cstrong>receive limit\u003C\u002Fstrong> bounds this delivery path by counting receives, not by inspecting the processor’s errors.\u003C\u002Fp>",{"kind":244,"title":258,"exercise":259},"Sort the two responsibilities",{"type":260,"question":261,"groups":262,"statements":265},"versus","Which statements describe a retry policy, and which describe a dead-letter queue?",[263,264],"Retry policy","Dead-letter queue",[266,269,271,273],{"text":267,"group":268},"Controls whether another processing attempt is allowed.",0,{"text":270,"group":12},"Holds failed messages for inspection outside normal processing.",{"text":272,"group":268},"Controls when a failed operation is eligible to be tried again.",{"text":274,"group":12},"Can hold an order with an unsupported schema without scheduling a new attempt.",{"kind":223,"title":276,"body":277},"A DLQ holds messages, not retry timers","\u003Cp>The SQS source queue’s \u003Cstrong>redrive policy\u003C\u002Fstrong> names the dead-letter queue (DLQ) and sets the receive limit, \u003Ccode>maxReceiveCount\u003C\u002Fcode>. While an undeleted order is still eligible for redelivery, it can become visible in the source queue and be picked up again. Once the order exceeds the receive limit, \u003Cstrong>SQS moves it to the DLQ\u003C\u002Fstrong> instead of delivering it to the processor again.\u003C\u002Fp>\u003Cp>The \u003Cstrong>Lambda event source mapping\u003C\u002Fstrong> polls the source queue, not the DLQ. An order in the DLQ is therefore outside the normal processing path: it waits there for investigation, not for a retry timer. Returning it to the source queue for another attempt requires a \u003Cstrong>separate recovery action\u003C\u002Fstrong>.\u003C\u002Fp>",{"kind":244,"title":279,"exercise":280},"Follow an order past the retry limit",{"type":247,"diagram":204,"scenario":281,"path":282},"Trace where an undeleted order goes once it exceeds the source queue’s receive limit.",[283,285],{"card":207,"note":284},"SQS applies the source queue’s redrive policy and moves the order instead of delivering it to the processor again.",{"card":213,"note":286},"The DLQ holds the order for investigation; arriving here does not schedule another attempt.",{"kind":223,"title":288,"body":289},"Configure the layer that owns delivery","\u003Cp>The \u003Cstrong>processor\u003C\u002Fstrong> knows whether it could handle the order. The \u003Cstrong>source queue\u003C\u002Fstrong> owns message redelivery and the move to the DLQ. On successful processing, the Lambda integration deletes the message from the source queue. On failure, an undeleted message can become visible again, so the next attempt still comes from the source queue.\u003C\u002Fp>\u003Cp>To change when an undeleted order can be picked up again, look at the source queue’s \u003Cstrong>visibility timeout\u003C\u002Fstrong>. To change how many receives it gets before SQS moves it aside, look at the source queue’s \u003Cstrong>redrive policy\u003C\u002Fstrong>. The function reports the processing outcome, but it does not send over-limit orders to the DLQ in this setup.\u003C\u002Fp>",{"kind":244,"title":291,"exercise":292},"Build the two paths",{"type":293,"diagram":204,"question":294},"build","Draw the order-processing setup so eligible orders can be attempted again and orders over the receive limit are held outside normal processing.",{"kind":223,"title":296,"body":297,"takeaways":298},"What to remember","\u003Cp>A \u003Cstrong>retry policy\u003C\u002Fstrong> controls whether and when work gets another attempt; a \u003Cstrong>dead-letter queue\u003C\u002Fstrong> holds messages that have been moved out of normal processing.\u003C\u002Fp>",[299,302,305],{"title":300,"text":301},"Eligibility is not delivery","When the visibility timeout expires, an undeleted message can become eligible for another receive; the timeout does not schedule the next invocation.",{"title":303,"text":304},"The source policy governs the move","SQS uses the source queue’s redrive policy to move over-limit messages to the DLQ. The Lambda processor does not make that transfer.",{"title":306,"text":307},"Holding is not retrying","The DLQ holds messages outside normal processing. Returning a message for another attempt requires a separate recovery action.","2026-12-02T21:40:01.600Z",{"pageSlug":15,"code":19,"certification":13,"certificationSlug":15},{"slug":311,"title":312},"aws-step-functions-workflow-error-handling-dva-c03","AWS Step Functions: workflow error handling",1796288614780]