[{"data":1,"prerenderedAt":353},["ShallowReactive",2],{"practiceExams":3,"studies":186,"free-lesson-\u002Fcourses\u002Faws-certified-developer-associate\u002Flessons\u002Ffan-out-one-sns-topic-a-queue-for-each-consumer-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":243,"dateModified":348,"course":349,"nextLesson":350},"fan-out-one-sns-topic-a-queue-for-each-consumer-dva-c03","Fan-Out: one SNS topic, a queue for each consumer","How a single SNS publish delivers a copy to each matching SQS subscription, so each application can buffer and process the event independently instead of competing for it on a shared queue.",[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":232,"lines":233},"order-fan-out",[214,217,220,223,226,229],{"key":215,"component":207,"label":216},"publisher","Order publisher",{"key":218,"component":199,"label":219},"topic","Order events topic",{"key":221,"component":203,"label":222},"inventory-queue","Inventory queue",{"key":224,"component":203,"label":225},"notification-queue","Notification queue",{"key":227,"component":193,"label":228},"inventory-worker","Inventory workers",{"key":230,"component":193,"label":231},"notification-worker","Notification workers",[],[234,236,238,240,242],{"from":215,"to":218,"label":235},"Order event",{"from":218,"to":221,"label":237},"All order events",{"from":218,"to":224,"label":239},"Created events only",{"from":221,"to":227,"label":241},"Buffered event",{"from":224,"to":230,"label":241},[244,276,291,294,312,315,327,330,335],{"kind":245,"title":246,"body":247,"diagram":212,"walkthrough":248},"explanation","Publish once, deliver to multiple queues","\u003Cp>\u003Cstrong>Fan-out\u003C\u002Fstrong> lets one event start work in several applications. An order publisher sends one message to an \u003Cstrong>Amazon SNS topic\u003C\u002Fstrong> instead of calling inventory and notifications separately.\u003C\u002Fp>\u003Cp>Each application has its own \u003Cstrong>Amazon SQS queue\u003C\u002Fstrong> subscribed to the topic. SNS sends a copy to each queue whose subscription matches the message. The queues hold those copies until workers retrieve them. The arrows show where the event goes, not which way a polling request travels.\u003C\u002Fp>",[249,252,257,262,267,273],{"text":250,"cards":251},"The order publisher creates an event when an order is created or updated.",[215],{"text":253,"cards":254,"lines":255},"The order events topic receives one publish for that event.",[218],[256],{"from":215,"to":218},{"text":258,"cards":259,"lines":260},"The inventory queue's subscription accepts all order events, so SNS delivers both created and updated events to that queue.",[221],[261],{"from":218,"to":221},{"text":263,"cards":264,"lines":265},"The notification queue's subscription accepts only order-created events. A created event gets a separate copy here; an updated event does not.",[224],[266],{"from":218,"to":224},{"text":268,"cards":269,"lines":270},"Inventory workers poll the inventory queue, and notification workers poll the notification queue. Each application retrieves its own copy from its own queue.",[227,230],[271,272],{"from":221,"to":227},{"from":224,"to":230},{"text":274,"cards":275},"One publish gives each matching application a copy it can process independently.",[],{"kind":277,"title":278,"exercise":279},"exercise","Follow an update to inventory",{"type":280,"diagram":212,"scenario":281,"path":282},"trace","The publisher sends an order-updated event; follow it to the workers that receive it.",[283,285,287,289],{"card":215,"note":284},"The publisher sends the update once.",{"card":218,"note":286},"SNS evaluates the subscriptions for that message.",{"card":221,"note":288},"The inventory subscription accepts updates; the notification subscription does not.",{"card":227,"note":290},"An inventory worker retrieves the buffered update from its queue.",{"kind":245,"title":292,"body":293},"Fan-out and competing consumers do different jobs","\u003Cp>Use \u003Cstrong>separate subscribed queues\u003C\u002Fstrong> when two applications must both act on the same event. An inventory worker can finish processing and delete its queue's message without deleting the copy in the notification queue.\u003C\u002Fp>\u003Cp>Use \u003Cstrong>competing consumers\u003C\u002Fstrong> when workers do the same job and should split the work. Workers polling one queue draw from the same pool of messages. Adding workers increases processing capacity, but it does not give each worker or application its own copy. You can use both patterns together: fan out to one queue per application, then run several workers against each application's queue.\u003C\u002Fp>",{"kind":277,"title":295,"exercise":296},"Copy the work or share it?",{"type":297,"question":298,"groups":299,"statements":302},"versus","Sort each statement by whether applications get separate copies or workers share the work from one queue.",[300,301],"Separate subscribed queues","Competing consumers on one queue",[303,306,308,310],{"text":304,"group":305},"Inventory and notifications each need their own copy of an order-created event.",0,{"text":307,"group":12},"Several inventory workers split the pending inventory work.",{"text":309,"group":305},"Deleting the inventory message leaves the notification copy untouched.",{"text":311,"group":12},"Adding a worker adds capacity without creating a separate stream of messages for it.",{"kind":245,"title":313,"body":314},"Filter delivery at the subscription","\u003Cp>An SNS \u003Cstrong>subscription filter policy\u003C\u002Fstrong> narrows what SNS delivers to that subscriber. For example, the publisher can include an \u003Ccode>eventType\u003C\u002Fcode> message attribute, and the notification subscription can match only \u003Ccode>order.created\u003C\u002Fcode>. An \u003Ccode>order.updated\u003C\u002Fcode> message then never enters the notification queue.\u003C\u002Fp>\u003Cp>Leave the inventory subscription \u003Cstrong>unfiltered\u003C\u002Fstrong> when it needs every event from the topic. The notification filter does not affect inventory. The publisher still publishes once to the same topic and does not select queues itself.\u003C\u002Fp>",{"kind":277,"title":316,"exercise":317},"Place the subscription router",{"type":318,"diagram":212,"question":319,"hidden":320,"tray":321},"palette","Fill the empty slot with the component that accepts one publish and delivers to the queues whose subscriptions match.",[218],[322,323,325],{"component":199},{"component":203,"reason":324},"An SQS queue buffers messages for its workers; it does not use SNS subscription filters to deliver copies to other queues.",{"component":207,"reason":326},"Lambda runs the publishing code here; it does not provide the topic that evaluates the queue subscriptions.",{"kind":245,"title":328,"body":329},"Let each application process at its own pace","\u003Cp>A separate queue gives each application its own \u003Cstrong>backlog\u003C\u002Fstrong>. If notification workers slow down, their queue can hold pending notifications while inventory workers continue draining the inventory queue. Each application can scale its workers without changing how the publisher sends events.\u003C\u002Fp>\u003Cp>\u003Cstrong>Delivery and processing are separate.\u003C\u002Fstrong> SNS decides whether the event belongs in each queue. After delivery, each worker pool polls only its own queue and handles the work there. A successful publish does not mean either application has finished processing.\u003C\u002Fp>",{"kind":277,"title":331,"exercise":332},"Build the complete order fan-out",{"type":333,"diagram":212,"question":334},"build","Draw the fan-out for one publish per order event, with inventory receiving every event, notifications receiving only created events, and each application processing its own backlog.",{"kind":245,"title":336,"body":337,"takeaways":338},"What to remember","\u003Cp>\u003Cstrong>SNS fans out the event; separate SQS queues let applications process their copies independently.\u003C\u002Fstrong>\u003C\u002Fp>",[339,342,345],{"title":340,"text":341},"Publish once","SNS sends a copy to each subscribed queue that matches the message.",{"title":343,"text":344},"Filter per subscription","Filter a branch before messages enter its queue without changing what other subscriptions receive.",{"title":346,"text":347},"One queue per application","Separate queues give applications separate backlogs. Workers on the same queue compete for work rather than each receiving a copy.","2026-12-02T21:32:16.211Z",{"pageSlug":15,"code":19,"certification":13,"certificationSlug":15},{"slug":351,"title":352},"amazon-sqs-queue-policies-for-event-delivery-dva-c03","Amazon SQS: queue policies for event delivery",1796288617646]