[{"data":1,"prerenderedAt":345},["ShallowReactive",2],{"practiceExams":3,"studies":186,"free-lesson-\u002Fcourses\u002Faws-certified-developer-associate\u002Flessons\u002Famazon-sqs-the-work-message-lifecycle-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":214,"steps":240,"dateModified":340,"course":341,"nextLesson":342},"amazon-sqs-the-work-message-lifecycle-dva-c03","Amazon SQS: the work message lifecycle","Understand how a producer can hand work off without waiting for a result, and how retention, visibility, deletion, and dead-letter routing determine what happens to that work.",[192,198,202,206,210],{"key":193,"kind":194,"name":195,"icon":196,"provider":197},"amazon-ec2","service","Amazon EC2","\u002Fimages\u002Fprovider-services\u002Famazon-ec2\u002Fcovers\u002FArch_Amazon-EC2_64.png","AWS",{"key":199,"kind":194,"name":200,"icon":201,"provider":197},"amazon-eventbridge","Amazon EventBridge","\u002Fimages\u002Fprovider-services\u002Famazon-eventbridge\u002Fcovers\u002FArch_Amazon-EventBridge_64.png",{"key":203,"kind":194,"name":204,"icon":205,"provider":197},"amazon-simple-notification-service-(amazon-sns)","Amazon Simple Notification Service (Amazon SNS)","\u002Fimages\u002Fprovider-services\u002Famazon-simple-notification-service-(amazon-sns)\u002Fcovers\u002FArch_Amazon-Simple-Notification-Service_64.png",{"key":207,"kind":194,"name":208,"icon":209,"provider":197},"amazon-simple-queue-service-(amazon-sqs)","Amazon Simple Queue Service (Amazon SQS)","\u002Fimages\u002Fprovider-services\u002Famazon-simple-queue-service-(amazon-sqs)\u002Fcovers\u002FArch_Amazon-Simple-Queue-Service_64.png",{"key":211,"kind":194,"name":212,"icon":213,"provider":197},"aws-lambda","AWS Lambda","\u002Fimages\u002Fprovider-services\u002Faws-lambda\u002Fcovers\u002FArch_AWS-Lambda_64.png",[215],{"key":216,"cards":217,"groups":230,"lines":231},"sqs-work-lifecycle",[218,221,224,227],{"key":219,"component":193,"label":220},"producer","Work producer",{"key":222,"component":207,"label":223},"source","Work queue with retention limit",{"key":225,"component":211,"label":226},"consumer","Lambda consumer",{"key":228,"component":207,"label":229},"dead-letter","Dead-letter queue",[],[232,234,236,238],{"from":219,"to":222,"label":233},"Work message",{"from":222,"to":225,"label":235},"Temporarily hidden message",{"from":225,"to":222,"label":237},"Delete request",{"from":222,"to":228,"label":239},"Failed work message",[241,268,287,290,304,307,319,322,327],{"kind":242,"title":243,"body":244,"diagram":216,"walkthrough":245},"explanation","Hand off work without waiting for the result","\u003Cp>With \u003Cstrong>synchronous processing\u003C\u002Fstrong>, the caller waits for the work to finish and gets the result in the response. That fits a request whose next step needs the result immediately.\u003C\u002Fp>\u003Cp>With \u003Cstrong>asynchronous processing\u003C\u002Fstrong> through Amazon SQS, the producer waits only for SQS to accept the message, not for a worker to finish. For example, an app can report that a thumbnail job was queued while a separate worker generates the image later. The queue buffers work so producers and consumers can run at different rates.\u003C\u002Fp>",[246,249,254,260,265],{"text":247,"cards":248},"The producer creates a work message describing the job, such as which image needs a thumbnail.",[219],{"text":250,"cards":251,"lines":252},"The producer sends the message to the work queue and can continue once SQS accepts it. The queue can hold the message while no worker is available, up to its retention limit.",[222],[253],{"from":219,"to":222},{"text":255,"cards":256,"lines":257},"Lambda's event source mapping polls the work queue and delivers the message to the function while SQS temporarily hides it from other receives. After successful processing, the mapping sends a delete request back to the queue.",[225],[258,259],{"from":222,"to":225},{"from":225,"to":222},{"text":261,"cards":262,"lines":263},"If processing repeatedly fails and dead-letter routing is configured, SQS can move the failed message from the work queue to a separate dead-letter queue for inspection.",[228],[264],{"from":222,"to":228},{"text":266,"cards":267},"Queue acceptance ends the producer's wait; processing, deletion, and dead-letter routing happen separately.",[],{"kind":269,"title":270,"exercise":271},"exercise","Separate acceptance from completion",{"type":272,"question":273,"groups":274,"statements":277},"versus","Sort each statement by what the caller waits for.",[275,276],"Synchronous processing","Asynchronous processing through SQS",[278,281,283,285],{"text":279,"group":280},"The original response contains the completed work result.",0,{"text":282,"group":12},"SQS accepting the message is enough for the producer to continue.",{"text":284,"group":280},"The caller stays waiting while the work runs.",{"text":286,"group":12},"The message can wait in a queue until a worker is available.",{"kind":242,"title":288,"body":289},"Receiving hides a message; success leads to deletion","\u003Cp>Receiving a message starts its \u003Cstrong>visibility timeout\u003C\u002Fstrong>. The message stays in the queue but is temporarily hidden from subsequent receives. If the timeout ends before the message is deleted, SQS can deliver it again. A receive is not proof that the job finished.\u003C\u002Fp>\u003Cp>Delete the message \u003Cstrong>after successful processing\u003C\u002Fstrong>. For Lambda, the SQS event source mapping deletes the messages when the batch succeeds. AWS recommends setting the queue's visibility timeout to \u003Cstrong>at least six times the function timeout\u003C\u002Fstrong> so Lambda has time to retry if throttled while processing a previous batch.\u003C\u002Fp>",{"kind":269,"title":291,"exercise":292},"Trace one successful job",{"type":293,"diagram":216,"scenario":294,"path":295},"trace","Trace a work message from submission through successful Lambda processing and deletion.",[296,298,300,302],{"card":219,"note":297},"The producer sends a description of the job, not a request to wait for its result.",{"card":222,"note":299},"SQS accepts and holds the message until it is received.",{"card":225,"note":301},"Lambda processes the message while it is temporarily hidden from subsequent receives.",{"card":222,"note":303},"After success, the event source mapping requests deletion so this message does not return when visibility expires.",{"kind":242,"title":305,"body":306},"Give repeated failures a separate queue","\u003Cp>An unsuccessful attempt does not finish the job. If the message is not deleted, the end of the \u003Cstrong>visibility timeout\u003C\u002Fstrong> lets it become available for another attempt. That helps with temporary failures, but some messages will keep failing.\u003C\u002Fp>\u003Cp>Configure a \u003Cstrong>dead-letter queue\u003C\u002Fstrong> on the source SQS queue to capture messages the Lambda consumer repeatedly fails to process. In this setup, SQS moves the failed work message from the source queue to another SQS queue. The destination holds the message itself so you can inspect what failed, rather than merely receiving an alert about it.\u003C\u002Fp>",{"kind":269,"title":308,"exercise":309},"Place the destination for failed messages",{"type":310,"diagram":216,"question":311,"hidden":312,"tray":313},"palette","Fill the empty slot with the component that holds failed work messages moved out of the source queue.",[228],[314,315,317],{"component":207},{"component":203,"reason":316},"An SNS topic publishes to subscribers; this slot needs an SQS queue that holds failed messages for inspection.",{"component":199,"reason":318},"An EventBridge event bus routes events; it is not an SQS dead-letter queue that holds the failed work messages.",{"kind":242,"title":320,"body":321},"Retention limits how long the queue holds work","\u003Cp>\u003Cstrong>Message retention\u003C\u002Fstrong> is how long a queue can keep a message, not how long a worker gets to process it. SQS automatically deletes messages that exceed the queue's retention period, even if no worker ever received them. The default is \u003Cstrong>4 days\u003C\u002Fstrong>, configurable from \u003Cstrong>60 seconds to 14 days\u003C\u002Fstrong>.\u003C\u002Fp>\u003Cp>Choose retention based on how long you want queued work to survive a backlog or a worker outage. Choose \u003Cstrong>visibility timeout\u003C\u002Fstrong> based on how long a received message should stay hidden during an attempt. Retention expiry deletes a message; it does not send it to the dead-letter queue.\u003C\u002Fp>",{"kind":269,"title":323,"exercise":324},"Build the work message lifecycle",{"type":325,"diagram":216,"question":326},"build","Draw the asynchronous work lifecycle with a producer, a retention-limited work queue, a Lambda consumer, and a dead-letter queue, showing what happens during processing, after success, and after repeated failure.",{"kind":242,"title":328,"body":329,"takeaways":330},"What to remember","\u003Cp>Queue acceptance means the work was handed off, not that it was completed.\u003C\u002Fp>",[331,334,337],{"title":332,"text":333},"Retention limits storage","SQS expires messages after the queue's retention period, even if they were never received. The default is 4 days, configurable from 60 seconds to 14 days.",{"title":335,"text":336},"Visibility is not deletion","Receiving temporarily hides the message; delete it after success to keep it from returning. For Lambda, AWS recommends a visibility timeout of at least six times the function timeout.",{"title":338,"text":339},"Dead-letter routing preserves failures","A source queue can move repeatedly failed messages to a separate SQS queue for inspection. This is different from retention expiry, which deletes the message.","2026-12-02T21:32:15.624Z",{"pageSlug":15,"code":19,"certification":13,"certificationSlug":15},{"slug":343,"title":344},"amazon-eventbridge-event-bus-routing-dva-c03","Amazon EventBridge: event bus routing",1796288613005]