[{"data":1,"prerenderedAt":358},["ShallowReactive",2],{"practiceExams":3,"studies":186,"free-lesson-\u002Fcourses\u002Faws-certified-developer-associate\u002Flessons\u002Fmessage-queuing-vs-publish-subscribe-messaging-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":210,"steps":247,"dateModified":353,"course":354,"nextLesson":355},"message-queuing-vs-publish-subscribe-messaging-dva-c03","Message Queuing vs. Publish-Subscribe Messaging","Why workers sharing a queue compete to handle each message, while publish-subscribe gives each matching subscription its own delivery.",[192,198,202,206],{"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-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":203,"kind":194,"name":204,"icon":205,"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":207,"kind":194,"name":208,"icon":209,"provider":197},"aws-lambda","AWS Lambda","\u002Fimages\u002Fprovider-services\u002Faws-lambda\u002Fcovers\u002FArch_AWS-Lambda_64.png",[211],{"key":212,"cards":213,"groups":235,"lines":236},"image-event-delivery",[214,217,220,223,226,229,232],{"key":215,"component":207,"label":216},"publisher","Image event publisher",{"key":218,"component":199,"label":219},"topic","Image events topic",{"key":221,"component":203,"label":222},"thumbnail-queue","Shared thumbnail queue",{"key":224,"component":203,"label":225},"index-queue","Search indexing queue",{"key":227,"component":193,"label":228},"thumbnail-a","Thumbnail worker A",{"key":230,"component":193,"label":231},"thumbnail-b","Thumbnail worker B",{"key":233,"component":193,"label":234},"index-worker","Search indexing worker",[],[237,239,241,243,245,246],{"from":215,"to":218,"label":238},"image event",{"from":218,"to":221,"label":240},"uploads only",{"from":218,"to":224,"label":242},"all events",{"from":221,"to":227,"label":244},"polled jobs",{"from":221,"to":230,"label":244},{"from":224,"to":233,"label":244},[248,281,296,299,311,314,332,335,340],{"kind":249,"title":250,"body":251,"diagram":212,"walkthrough":252},"explanation","One event, two kinds of delivery","\u003Cp>An image application reports uploads and metadata changes. Search indexing needs to see both. Thumbnail generation only needs uploads, and either of two identical thumbnail workers can do the job. That gives us two separate questions: \u003Cstrong>Which applications need the event?\u003C\u002Fstrong> and \u003Cstrong>Which worker will do the work?\u003C\u002Fstrong>\u003C\u002Fp>\u003Cp>An \u003Cstrong>Amazon SNS topic\u003C\u002Fstrong> answers the first question by delivering to matching subscriptions. An \u003Cstrong>Amazon SQS queue\u003C\u002Fstrong> answers the second by holding work for workers to claim. The arrows show where messages travel, including messages returned when workers poll.\u003C\u002Fp>",[253,256,261,267,273,278],{"text":254,"cards":255},"The publisher creates an event for each image upload or metadata change.",[215],{"text":257,"cards":258,"lines":259},"The publisher sends each event once to the SNS topic without naming the applications that will use it.",[218],[260],{"from":215,"to":218},{"text":262,"cards":263,"lines":264},"The thumbnail queue's subscription matches uploads only. The indexing queue's subscription has no filter, so it receives both event types, including its own delivery of every upload.",[221,224],[265,266],{"from":218,"to":221},{"from":218,"to":224},{"text":268,"cards":269,"lines":270},"Both thumbnail workers poll the same queue and compete for its jobs. The two arrows show two possible recipients of a queued job, not two copies of that job.",[227,230],[271,272],{"from":221,"to":227},{"from":221,"to":230},{"text":274,"cards":275,"lines":276},"The indexing worker polls its own queue, so it doesn't compete with either thumbnail worker.",[233],[277],{"from":224,"to":233},{"text":279,"cards":280},"The topic gives each matching subscription its own delivery, and each queue holds jobs for its own workers.",[],{"kind":282,"title":283,"exercise":284},"exercise","Follow the copy meant for indexing",{"type":285,"diagram":212,"scenario":286,"path":287},"trace","An image is uploaded; follow only the delivery that ends at the search indexing worker.",[288,290,292,294],{"card":215,"note":289},"The publisher creates the upload event.",{"card":218,"note":291},"The topic receives the event once and distributes it to matching subscriptions.",{"card":224,"note":293},"The unfiltered indexing subscription gets its own delivery.",{"card":233,"note":295},"The worker polls the indexing queue, not the thumbnail queue.",{"kind":249,"title":297,"body":298},"Workers share jobs, not copies","\u003Cp>When a worker receives a job from the \u003Cstrong>shared SQS queue\u003C\u002Fstrong>, SQS normally hides that message from other workers for the \u003Cstrong>visibility timeout\u003C\u002Fstrong>. The worker deletes it after successful processing. If it doesn't delete the message before the timeout expires, the message can become available again and either worker can pick it up.\u003C\u002Fp>\u003Cp>Adding another worker adds processing capacity, not another copy of every job. But \u003Cstrong>one intended handler\u003C\u002Fstrong> is not an exactly-once guarantee: a standard SQS queue can deliver duplicates. Make the work \u003Cstrong>idempotent\u003C\u002Fstrong>, so reprocessing the same job does not create an unwanted second result.\u003C\u002Fp>",{"kind":282,"title":300,"exercise":301},"Restore the shared work queue",{"type":302,"diagram":212,"question":303,"hidden":304,"tray":305},"palette","Fill the empty slot with the component that buffers jobs for both thumbnail workers to poll and delete after processing.",[221],[306,307,309],{"component":203},{"component":199,"reason":308},"SNS delivers to matching subscriptions; it doesn't expose a shared work queue for workers to poll and delete messages from.",{"component":207,"reason":310},"A Lambda function runs code; it doesn't expose a shared work queue for these workers to poll and delete messages from.",{"kind":249,"title":312,"body":313},"Subscriptions match independently","\u003Cp>In \u003Cstrong>publish-subscribe\u003C\u002Fstrong>, SNS evaluates the published event against each subscription's filter independently. Here, the thumbnail subscription accepts only uploads, and the indexing subscription has no filter, so it accepts both event types. An upload qualifies for both subscriptions, so SNS sends a separate delivery to each. A metadata change goes only to indexing.\u003C\u002Fp>\u003Cp>Add a \u003Cstrong>worker to an existing queue\u003C\u002Fstrong>, and it shares the jobs already sent to that queue. Add a \u003Cstrong>separate subscription\u003C\u002Fstrong>, and SNS sends it its own delivery for each event that qualifies. Those separate deliveries are \u003Cstrong>fan-out\u003C\u002Fstrong>, not retries of a delivery to the same subscription.\u003C\u002Fp>",{"kind":282,"title":315,"exercise":316},"Tell competition from fan-out",{"type":317,"question":318,"groups":319,"statements":322},"versus","Sort each statement by whether it describes workers sharing one queue or subscriptions receiving from a topic.",[320,321],"Workers sharing one SQS queue","Subscriptions on one SNS topic",[323,326,328,330],{"text":324,"group":325},"An extra poller can take some of the existing jobs.",0,{"text":327,"group":12},"When a published event matches two subscriptions, each gets its own delivery.",{"text":329,"group":325},"A received message normally becomes temporarily invisible to the other pollers.",{"text":331,"group":12},"A filter on one subscription can skip a metadata change without stopping delivery to another subscription.",{"kind":249,"title":333,"body":334},"Give each application its own backlog","\u003Cp>If indexing and thumbnail workers polled \u003Cstrong>one shared queue\u003C\u002Fstrong>, they would compete for the upload job. Indexing could receive and delete it before thumbnail generation ever saw it. Instead, subscribe \u003Cstrong>one queue per application\u003C\u002Fstrong> to the topic: an upload goes to both queues, while a metadata change goes only to indexing.\u003C\u002Fp>\u003Cp>Once both queues have accepted an upload, deleting the indexing message leaves the thumbnail message untouched. Each application can work through its own backlog independently. Scale thumbnail processing by adding workers to the \u003Cstrong>same thumbnail queue\u003C\u002Fstrong>, not by adding a subscription for each worker.\u003C\u002Fp>",{"kind":282,"title":336,"exercise":337},"Build fan-out with competing workers",{"type":338,"diagram":212,"question":339},"build","Draw the message flow so indexing gets every event and either thumbnail worker can handle an upload job, with a separate backlog for each application.",{"kind":249,"title":341,"body":342,"takeaways":343},"What to remember","\u003Cp>Use a \u003Cstrong>topic\u003C\u002Fstrong> to decide who gets a copy and a \u003Cstrong>queue\u003C\u002Fstrong> to let workers share the work.\u003C\u002Fp>",[344,347,350],{"title":345,"text":346},"One queue, competing workers","Workers sharing a queue divide the jobs rather than each getting a copy. Redelivery is still possible, so make processing idempotent.",{"title":348,"text":349},"One delivery per match","SNS evaluates each subscription separately, so one event can reach several destinations even if other subscriptions filter it out.",{"title":351,"text":352},"Separate queues, separate backlogs","Give each application its own subscribed queue when several applications must act independently on the same event.","2026-12-02T21:40:01.679Z",{"pageSlug":15,"code":19,"certification":13,"certificationSlug":15},{"slug":356,"title":357},"asynchronous-communication-vs-synchronous-communication-dva-c03","Asynchronous Communication vs. Synchronous Communication",1796288613379]