[{"data":1,"prerenderedAt":341},["ShallowReactive",2],{"practiceExams":3,"studies":186,"free-lesson-\u002Fcourses\u002Faws-certified-developer-associate\u002Flessons\u002Fcheckpointing-recovering-stream-consumers-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":215,"steps":239,"dateModified":336,"course":337,"nextLesson":338},"checkpointing-recovering-stream-consumers-dva-c03","Checkpointing: recovering stream consumers","How durable checkpoints track per-shard progress in Kinesis consumers and pair source positions with operator state in Flink, and why recovery depends on retained records and safe handling of repeated writes.",[192,198,202,206,211],{"key":193,"kind":194,"name":195,"icon":196,"provider":197},"amazon-emr","service","Amazon EMR","\u002Fimages\u002Fprovider-services\u002Famazon-emr\u002Fcovers\u002FArch_Amazon-EMR_64.png","AWS",{"key":199,"kind":194,"name":200,"icon":201,"provider":197},"amazon-kinesis-data-firehose","Amazon Data Firehose","\u002Fimages\u002Fprovider-services\u002Famazon-kinesis-data-firehose\u002Fcovers\u002FArch_Amazon-Kinesis-Data-Firehose_64.png",{"key":203,"kind":194,"name":204,"icon":205,"provider":197},"amazon-kinesis-data-streams","Amazon Kinesis Data Streams","\u002Fimages\u002Fprovider-services\u002Famazon-kinesis-data-streams\u002Fcovers\u002FArch_Amazon-Kinesis-Data-Streams_64.png",{"key":207,"kind":208,"name":209,"icon":210,"provider":197},"amazon-dynamodb-table","part","Amazon DynamoDB table","\u002Fimages\u002Fprovider-services\u002Famazon-dynamodb\u002Fcovers\u002FRes_Amazon-DynamoDB_Table_48.png",{"key":212,"kind":208,"name":213,"icon":214,"provider":197},"amazon-s3-bucket","Amazon S3 bucket","\u002Fimages\u002Fprovider-services\u002Famazon-s3\u002Fcovers\u002FRes_Amazon-Simple-Storage-Service_Bucket_48.png",[216],{"key":217,"cards":218,"groups":231,"lines":232},"flink-checkpointing",[219,222,225,228],{"key":220,"component":203,"label":221},"stream","Input stream",{"key":223,"component":193,"label":224},"job","Apache Flink job on Amazon EMR",{"key":226,"component":212,"label":227},"checkpoints","Flink checkpoint storage",{"key":229,"component":207,"label":230},"results","Results keyed by event ID",[],[233,235,237],{"from":220,"to":223,"label":234},"retained records",{"from":223,"to":226,"label":236},"checkpoint snapshots",{"from":223,"to":229,"label":238},"keyed writes",[240,266,279,282,300,303,315,318,323],{"kind":241,"title":242,"body":243,"diagram":217,"walkthrough":244},"explanation","What a Flink checkpoint saves","\u003Cp>A \u003Cstrong>checkpoint\u003C\u002Fstrong> is a saved point from which a consumer can recover. For a stateful job, knowing where to start reading is not enough. If the job has already counted earlier events, it needs those saved counts as well as the positions from which to continue.\u003C\u002Fp>\u003Cp>Here, a Flink job runs on Amazon EMR with durable checkpoint storage configured in Amazon S3. The arrows show data the running job reads or writes; they do not show restore operations or imply that a checkpoint is written for each result.\u003C\u002Fp>",[245,248,253,258,263],{"text":246,"cards":247},"Kinesis Data Streams retains input records in shards, each with its own sequence of records.",[220],{"text":249,"cards":250,"lines":251},"The Flink job reads retained records and updates operator state, such as a running count. The source connector tracks how far the job has read in each shard.",[223],[252],{"from":220,"to":223},{"text":254,"cards":255,"lines":256},"Flink stores checkpoint data in the S3 bucket so it can survive worker loss. A completed checkpoint pairs the source positions with the corresponding operator state.",[226],[257],{"from":223,"to":226},{"text":259,"cards":260,"lines":261},"The job writes results to a separate DynamoDB table using stable event IDs as keys. These writes are not part of the checkpoint in this design.",[229],[262],{"from":223,"to":229},{"text":264,"cards":265},"The Flink job reads retained input, saves a consistent recovery point, and writes results separately.",[],{"kind":267,"title":268,"exercise":269},"exercise","Follow the checkpoint data",{"type":270,"diagram":217,"scenario":271,"path":272},"trace","Follow a shard record into the job, then follow the checkpoint that captures the job's progress.",[273,275,277],{"card":220,"note":274},"Kinesis supplies a retained record from a shard.",{"card":223,"note":276},"Flink processes the record, updating its source progress and operator state.",{"card":226,"note":278},"The checkpoint stores matching source positions and operator state together.",{"kind":241,"title":280,"body":281},"KCL saves progress; Flink also saves state","\u003Cp>With the \u003Cstrong>Kinesis Client Library (KCL)\u003C\u002Fstrong>, the record processor tells KCL when to checkpoint, such as after successfully processing a batch. KCL records the position for that shard in its DynamoDB lease table. If another worker takes over the shard, it can resume after the saved position. Each shard has its own progress; there is no single sequence number for the whole stream.\u003C\u002Fp>\u003Cp>A KCL progress checkpoint does not save the application's in-memory state. A \u003Cstrong>Flink checkpoint\u003C\u002Fstrong> includes both the source positions and the operator state the job has registered with Flink. Restoring them from the same completed checkpoint avoids pairing a newer count with an older position, which could cause the job to count some records twice.\u003C\u002Fp>",{"kind":267,"title":283,"exercise":284},"Distinguish the two checkpoints",{"type":285,"question":286,"groups":287,"statements":290},"versus","Sort each statement into the checkpointing approach it describes.",[288,289],"KCL progress checkpoint","Flink job checkpoint",[291,294,296,298],{"text":292,"group":293},"The record processor explicitly tells KCL when to save its progress.",0,{"text":295,"group":293},"Shard progress is stored in the DynamoDB lease table.",{"text":297,"group":12},"Managed operator state and source positions are captured at the same recovery point.",{"text":299,"group":12},"Restoring the checkpoint brings back a running count stored as managed operator state.",{"kind":241,"title":301,"body":302},"A saved position is not a copy of the stream","\u003Cp>\u003Cstrong>Kinesis retention\u003C\u002Fstrong> determines how long records remain readable. On restart, the consumer uses its saved shard positions to find the records it still needs. The checkpoint is not a replay log: if any of those records have expired, the checkpoint can still exist but the stream alone cannot supply a complete replay.\u003C\u002Fp>\u003Cp>Choose a retention window that covers both normal consumer lag and the outages you plan to recover from. If you need to replay older input, keep an independent archive of raw events. That archive is a separate replay source; restoring a stream checkpoint does not automatically read from it.\u003C\u002Fp>",{"kind":267,"title":304,"exercise":305},"Identify where replay comes from",{"type":306,"diagram":217,"question":307,"hidden":308,"tray":309},"palette","Fill the empty slot with the source that retains records the job can reread from its saved Kinesis shard positions.",[220],[310,311,313],{"component":203},{"component":199,"reason":312},"Data Firehose delivers records to destinations; it does not expose Kinesis shards for consumers to reread by sequence position.",{"component":212,"reason":314},"An S3 bucket can hold a raw archive, but an archive is a separate replay source, not the stream addressed by a Kinesis shard position.",{"kind":241,"title":316,"body":317},"Make repeated writes safe","\u003Cp>A checkpoint does not automatically commit external writes. If the job writes a result and then fails before the next checkpoint completes, recovery can replay that record and write the result again. The reverse is also risky: if a consumer marks a record complete before its output is durable, it can resume past the record and leave the result missing.\u003C\u002Fp>\u003Cp>In this design, the job uses a \u003Cstrong>stable event ID\u003C\u002Fstrong> as the DynamoDB item key and writes the same deterministic result for that event on replay. Repeating that write replaces the same item with the same value, making the write \u003Cstrong>idempotent\u003C\u002Fstrong>. Using the same key is not enough if the operation increments a value each time. Where the framework and sink support it, coordinating output commits with checkpoints is another way to handle the gap.\u003C\u002Fp>",{"kind":267,"title":319,"exercise":320},"Build the recovery-ready pipeline",{"type":321,"diagram":217,"question":322},"build","Draw the Flink pipeline with replayable input, durable checkpoint storage, and a results table that uses stable event IDs.",{"kind":241,"title":324,"body":325,"takeaways":326},"What to remember","\u003Cp>Recovery needs a durable checkpoint, input that is still readable, and output writes that are safe to repeat.\u003C\u002Fp>",[327,330,333],{"title":328,"text":329},"Track the right state","KCL saves progress per shard. Flink restores source positions and managed operator state from the same completed checkpoint.",{"title":331,"text":332},"Retain replayable input","A saved position does not preserve input records. If the records expire, you need a separate copy to replay them.",{"title":334,"text":335},"Protect external writes","A failure between writing output and saving progress can cause a repeated write. Use idempotent writes or coordinate commits where supported.","2026-12-02T21:32:15.933Z",{"pageSlug":15,"code":19,"certification":13,"certificationSlug":15},{"slug":339,"title":340},"serialization-json-payload-contracts-in-aws-dva-c03","Serialization: JSON payload contracts in AWS",1796288616137]