[{"data":1,"prerenderedAt":334},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-machine-learning-engineer-associate\u002Flessons\u002Fevent-streaming-independent-consumption-of-retained-events-mla-c02":185},[4,22,36,48,60,72,84,97,109,120,130,141,154,163,175],{"id":5,"slug":6,"description":7,"questionCount":8,"isActive":9,"datePublicModified":10,"difficulty":11,"examVersion":18},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,true,"2026-11-15T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},1,"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":6,"code":19,"dateBetaStart":20,"dateReleased":21,"pageSlug":15},"SAP-C03",null,"2026-11-17",{"id":23,"slug":24,"description":25,"questionCount":26,"isActive":9,"datePublicModified":27,"difficulty":28,"examVersion":34},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":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},"AWS Certified Cloud Practitioner","CLF-C02","aws-certified-cloud-practitioner","\u002Fimages\u002Fdifficulties\u002Faws-certified-cloud-practitionerclf-c02\u002Fcovers\u002Faws-CLF-C02.png","foundational",{"slug":24,"code":30,"dateBetaStart":20,"dateReleased":35,"pageSlug":31},"2023-09-19",{"id":37,"slug":38,"description":39,"questionCount":40,"isActive":9,"datePublicModified":27,"difficulty":41,"examVersion":46},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":42,"subtitle":43,"slug":44,"coverImageUrl":45,"level":17},"AWS Certified DevOps Engineer - Professional","DOP-C02","aws-certified-devops-engineer-professional","",{"slug":38,"code":43,"dateBetaStart":20,"dateReleased":47,"pageSlug":44},"2023-03-07",{"id":49,"slug":50,"description":51,"questionCount":52,"isActive":9,"datePublicModified":27,"difficulty":53,"examVersion":57},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":54,"subtitle":55,"slug":56,"coverImageUrl":45,"level":33},"AWS Certified AI Practitioner","AIF-C01","aws-certified-ai-practitioner",{"slug":50,"code":55,"dateBetaStart":58,"dateReleased":59,"pageSlug":56},"2024-08-13","2024-10-22",{"id":12,"slug":61,"description":62,"questionCount":63,"isActive":9,"datePublicModified":27,"difficulty":64,"examVersion":70},"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":65,"subtitle":66,"slug":67,"coverImageUrl":68,"level":69},"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","associate",{"slug":61,"code":66,"dateBetaStart":20,"dateReleased":71,"pageSlug":67},"2022-08-30",{"id":73,"slug":74,"description":75,"questionCount":76,"isActive":9,"datePublicModified":27,"difficulty":77,"examVersion":81},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":78,"subtitle":79,"slug":80,"coverImageUrl":45,"level":69},"AWS Certified Data Engineer - Associate","DEA-C01","aws-certified-data-engineer-associate",{"slug":74,"code":79,"dateBetaStart":82,"dateReleased":83,"pageSlug":80},"2023-11-27","2024-03-12",{"id":85,"slug":86,"description":87,"questionCount":88,"isActive":9,"datePublicModified":89,"difficulty":90,"examVersion":94},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":91,"subtitle":92,"slug":93,"coverImageUrl":45,"level":17},"AWS Certified Generative AI Developer - Professional","AIP-C01","aws-certified-generative-ai-developer-professional",{"slug":86,"code":92,"dateBetaStart":95,"dateReleased":96,"pageSlug":93},"2025-11-28","2026-03-17",{"id":98,"slug":99,"description":100,"questionCount":101,"isActive":9,"datePublicModified":89,"difficulty":102,"examVersion":107},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":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},"AWS Certified Security - Specialty","SCS-C03","aws-certified-security-specialty","\u002Fimages\u002Fdifficulties\u002Faws-certified-security-specialtyscs-c02\u002Fcovers\u002Faws_SCS_c02.png",{"slug":99,"code":104,"dateBetaStart":20,"dateReleased":108,"pageSlug":105},"2025-12-01",{"id":110,"slug":111,"description":112,"questionCount":113,"isActive":9,"datePublicModified":89,"difficulty":114,"examVersion":118},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":115,"subtitle":116,"slug":117,"coverImageUrl":45,"level":69},"AWS Certified Machine Learning Engineer - Associate","MLA-C02","aws-certified-machine-learning-engineer-associate",{"slug":111,"code":116,"dateBetaStart":119,"dateReleased":20,"pageSlug":117},"2026-09-29",{"id":121,"slug":122,"description":123,"questionCount":124,"isActive":9,"datePublicModified":89,"difficulty":125,"examVersion":129},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":126,"subtitle":127,"slug":128,"coverImageUrl":45,"level":33},"AWS Certified AI Business Strategist","AIB-C01","aws-certified-ai-business-strategist",{"slug":122,"code":127,"dateBetaStart":119,"dateReleased":20,"pageSlug":128},{"id":131,"slug":132,"description":133,"questionCount":134,"isActive":9,"datePublicModified":89,"difficulty":135,"examVersion":139},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":136,"subtitle":137,"slug":138,"coverImageUrl":45,"level":69},"AWS Certified CloudOps Engineer - Associate","SOA-C03","aws-certified-cloudops-engineer-associate",{"slug":132,"code":137,"dateBetaStart":20,"dateReleased":140,"pageSlug":138},"2025-09-30",{"id":142,"slug":143,"description":144,"questionCount":145,"isActive":9,"datePublicModified":146,"difficulty":147,"examVersion":151},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":148,"subtitle":149,"slug":150,"coverImageUrl":45,"level":17},"AWS Certified Advanced Networking - Specialty","ANS-C01","aws-certified-advanced-networking-specialty",{"slug":143,"code":149,"dateBetaStart":152,"dateReleased":153,"pageSlug":150},"2022-01-01","2022-07-12",{"id":155,"slug":156,"description":157,"questionCount":158,"isActive":9,"datePublicModified":159,"difficulty":160,"examVersion":161},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":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},{"slug":156,"code":14,"dateBetaStart":20,"dateReleased":162,"pageSlug":20},"2022-11-15",{"id":164,"slug":165,"description":166,"questionCount":167,"isActive":9,"datePublicModified":159,"difficulty":168,"examVersion":173},4,"aws-certified-developer-associate-dva-c02","Unlock your potential as a software developer with the AWS Certified Developer - Associate Exam Simulator! Prepare thoroughly with realistic practice exams designed to mirror the official exam.",399,{"providerId":12,"title":169,"subtitle":170,"slug":171,"coverImageUrl":172,"level":69},"AWS Certified Developer - Associate","DVA-C02","aws-certified-developer-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-developer-associatedva-c02\u002Fcovers\u002Faws-DVA-C02.png",{"slug":165,"code":170,"dateBetaStart":20,"dateReleased":174,"pageSlug":171},"2023-02-28",{"id":176,"slug":177,"description":178,"questionCount":179,"isActive":9,"datePublicModified":159,"difficulty":180,"examVersion":181},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":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},{"slug":177,"code":182,"dateBetaStart":20,"dateReleased":183,"pageSlug":20},"SCS-C02","2023-07-11",[],{"slug":186,"title":187,"focus":188,"level":69,"components":189,"diagrams":212,"steps":236,"dateModified":329,"course":330,"nextLesson":331},"event-streaming-independent-consumption-of-retained-events-mla-c02","Event Streaming: independent consumption of retained events","How a retained event log decouples producers from independent consumers, allowing ingestion pipelines to process incoming data continuously and replay history without changing producers.",[190,196,200,204,208],{"key":191,"kind":192,"name":193,"icon":194,"provider":195},"amazon-ec2","service","Amazon EC2","\u002Fimages\u002Fprovider-services\u002Famazon-ec2\u002Fcovers\u002FArch_Amazon-EC2_64.png","AWS",{"key":197,"kind":192,"name":198,"icon":199,"provider":195},"amazon-kinesis-data-streams","Amazon Kinesis Data Streams","\u002Fimages\u002Fprovider-services\u002Famazon-kinesis-data-streams\u002Fcovers\u002FArch_Amazon-Kinesis-Data-Streams_64.png",{"key":201,"kind":192,"name":202,"icon":203,"provider":195},"amazon-managed-service-for-apache-flink","Amazon Managed Service for Apache Flink","\u002Fimages\u002Fprovider-services\u002Famazon-managed-service-for-apache-flink\u002Fcovers\u002FArch_Amazon-Managed-Service-for-Apache-Flink_64.png",{"key":205,"kind":192,"name":206,"icon":207,"provider":195},"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":209,"kind":192,"name":210,"icon":211,"provider":195},"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",[213],{"key":214,"cards":215,"groups":228,"lines":229},"independent-consumers",[216,219,222,225],{"key":217,"component":191,"label":218},"producer","Application producing events",{"key":220,"component":197,"label":221},"log","Retained event log",{"key":223,"component":201,"label":224},"live","Live aggregation application",{"key":226,"component":191,"label":227},"replay","Independent replay application",[],[230,232,234],{"from":217,"to":220,"label":231},"Incoming events",{"from":220,"to":223,"label":233},"Event records",{"from":220,"to":226,"label":235},"Retained records",[237,263,276,279,291,294,308,311,316],{"kind":238,"title":239,"body":240,"diagram":214,"walkthrough":241},"explanation","Publish once, let applications read independently","\u003Cp>An \u003Cstrong>event\u003C\u002Fstrong> records something that happened, such as a payment completing or a sensor reporting a temperature. A \u003Cstrong>producer\u003C\u002Fstrong> publishes events continuously to a retained log instead of sending separate requests to every application that needs them.\u003C\u002Fp>\u003Cp>The log keeps records for its configured \u003Cstrong>retention\u003C\u002Fstrong> period. Reading a record does not remove it. Several \u003Cstrong>consumers\u003C\u002Fstrong> can therefore process the same records for different purposes, without the producer knowing their processing logic or reading positions.\u003C\u002Fp>\u003Cp>This diagram shows event data flow, not network request direction. The producer writes only to Amazon Kinesis Data Streams; both consumer applications read directly from that stream. Neither consumer forwards events to the other.\u003C\u002Fp>",[242,245,250,255,260],{"text":243,"cards":244},"An application running on Amazon EC2 produces records as business activity happens.",[217],{"text":246,"cards":247,"lines":248},"The application publishes those records to Amazon Kinesis Data Streams, which retains them for later reading.",[220],[249],{"from":217,"to":220},{"text":251,"cards":252,"lines":253},"An application in Amazon Managed Service for Apache Flink reads incoming records continuously and calculates live aggregates.",[223],[254],{"from":220,"to":223},{"text":256,"cards":257,"lines":258},"A separate application on Amazon EC2 reads retained records directly from the same stream to rebuild derived data.",[226],[259],{"from":220,"to":226},{"text":261,"cards":262},"One retained log connects a producer to two independent consumers, supporting both continuous processing and historical replay.",[],{"kind":264,"title":265,"exercise":266},"exercise","Follow an event into live processing",{"type":267,"diagram":214,"scenario":268,"path":269},"trace","Trace one newly published event from the producing application to the live aggregation application.",[270,272,274],{"card":217,"note":271},"The application creates and publishes the event.",{"card":220,"note":273},"Kinesis Data Streams retains the event.",{"card":223,"note":275},"The Flink application reads the event for live aggregation.",{"kind":238,"title":277,"body":278},"Each consumer owns its progress","\u003Cp>A consumer tracks a \u003Cstrong>reading position\u003C\u002Fstrong>: how far it has progressed through the log. A saved \u003Cstrong>checkpoint\u003C\u002Fstrong> lets an application recover its progress after a restart. The live aggregation application can be near the newest records while the replay application reads older ones. Advancing one application's position does not advance the other's.\u003C\u002Fp>\u003Cp>Streams are divided into \u003Cstrong>shards\u003C\u002Fstrong> or \u003Cstrong>partitions\u003C\u002Fstrong>. Consumers track progress across those divisions, rather than using one universal event number. Ordering applies within a shard or partition, not across the whole stream. Choose a key that keeps related events together while spreading traffic.\u003C\u002Fp>\u003Cp>In Apache Kafka, separate \u003Cstrong>consumer groups\u003C\u002Fstrong> provide independent consumption; workers within one group divide partitions between them. Independence means separate progress, not unlimited capacity: applications can still contend for service or downstream resources.\u003C\u002Fp>",{"kind":264,"title":280,"exercise":281},"Name what stays independent",{"type":282,"question":283,"text":284,"answers":285,"distractors":288},"placeholder","Fill the blanks to describe independent consumption.","Each independent consumer tracks its own {}. A saved {} lets it recover its progress after a restart.",[286,287],"reading position","checkpoint",[289,290],"producer destination","retention period",{"kind":238,"title":292,"body":293},"Replay is bounded history, not a fresh publication","\u003Cp>To \u003Cstrong>replay\u003C\u002Fstrong>, configure a consumer to start at an earlier available position, or use a separate replay application with its own progress. The producer keeps publishing normally, and the live consumer can keep processing new arrivals. Only records still within \u003Cstrong>retention\u003C\u002Fstrong> are available from the stream.\u003C\u002Fp>\u003Cp>Monitor \u003Cstrong>consumer lag\u003C\u002Fstrong>, including the age of unprocessed records. Retention must cover the expected outage and catch-up period; otherwise, records can expire before a slow consumer reads them. Reprocessing can also repeat writes, so use event identifiers and \u003Cstrong>idempotent\u003C\u002Fstrong> updates that do not duplicate an effect when an event is processed again.\u003C\u002Fp>\u003Cp>A retained log differs from a \u003Cstrong>work queue\u003C\u002Fstrong> such as Amazon SQS, where workers normally divide work and delete messages after successful processing. Amazon SNS provides publish-subscribe fan-out, but fan-out alone is not a retained log with independent reading positions. Neither is a replacement for the stream's role in this diagram.\u003C\u002Fp>",{"kind":264,"title":295,"exercise":296},"Restore the retained-log role",{"type":297,"diagram":214,"requirement":298,"change":299,"tray":300,"hint":306,"explanation":307},"flaw","Both applications must read the same retained event history using independent positions. Restore the component that provides that log.",{"card":220,"component":209},[301,302,304],{"component":197},{"component":209,"reason":303},"A work queue normally distributes messages among workers and deletes successfully processed messages; it does not give these applications independent positions in a shared retained log.",{"component":205,"reason":305},"Publish-subscribe fan-out alone does not provide the retained log and independent reading positions required here.","The central component must keep records after one application reads them and let the other application read from an earlier position.","Kinesis Data Streams supplies the retained log. A normal SQS work queue distributes work rather than exposing the same retained history independently to both applications.",{"kind":238,"title":309,"body":310},"Use the log as the stable connection","\u003Cp>Choose a retained streaming source when a pipeline needs \u003Cstrong>continuous ingestion\u003C\u002Fstrong>, multiple independent uses of the same events, or replay. Amazon Kinesis Data Streams and Apache Kafka, including Kafka on Amazon MSK, support this pattern. Amazon Managed Service for Apache Flink runs processing applications that consume streams; it is not the retained source in this architecture.\u003C\u002Fp>\u003Cp>Adding or rebuilding a consumer changes the \u003Cstrong>consumer side\u003C\u002Fstrong>, not the producer's destinations. In the example, the live application and replay application each get records directly from Kinesis Data Streams. Keep the producer connected only to the log, rather than wiring it separately to each consumer or chaining the consumers together.\u003C\u002Fp>\u003Cp>Decoupling still requires a shared \u003Cstrong>event contract\u003C\u002Fstrong>: consumers must understand the published fields and schema versions. During recovery or replay, coordinate output writes with progress tracking and make repeated processing safe. Historical events should not accidentally repeat external actions such as sending notifications.\u003C\u002Fp>",{"kind":264,"title":312,"exercise":313},"Rebuild the independent-consumer pattern",{"type":314,"diagram":214,"question":315},"build","Rebuild the event-data-flow diagram so the application publishes once and live aggregation and historical replay consume independently.",{"kind":238,"title":317,"body":318,"takeaways":319},"What to remember","\u003Cp>A \u003Cstrong>retained event log\u003C\u002Fstrong> lets producers publish once while independent consumers continuously process new events or replay available history.\u003C\u002Fp>",[320,323,326],{"title":321,"text":322},"Reading is not deletion","Multiple consumers can read the same retained records. Each application tracks its own progress.",{"title":324,"text":325},"Replay changes consumers","A consumer can read earlier available records without changing the producer or another consumer's position.",{"title":327,"text":328},"History has limits","Monitor lag and retain enough history for recovery. Make repeated processing safe because replay and recovery can repeat effects.","2026-10-29T23:45:45.015Z",{"pageSlug":117,"code":116,"certification":115,"certificationSlug":117},{"slug":332,"title":333},"amazon-kinesis-data-firehose-managed-streaming-delivery-mla-c02","Amazon Kinesis Data Firehose: managed streaming delivery",1796130180795]