[{"data":1,"prerenderedAt":376},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-data-engineer-associate\u002Flessons\u002Famazon-managed-service-for-apache-flink-distributed-stream-execution-dea-c01":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":208,"steps":242,"dateModified":374,"course":375,"nextLesson":20},"amazon-managed-service-for-apache-flink-distributed-stream-execution-dea-c01","Amazon Managed Service for Apache Flink: distributed stream execution","How parallel Flink operators process partitioned streams, distinguishing stateless transformations from keyed stateful computations that recover through checkpoints.",[190,196,200,204],{"key":191,"kind":192,"name":193,"icon":194,"provider":195},"amazon-cloudwatch","service","Amazon CloudWatch","\u002Fimages\u002Fprovider-services\u002Famazon-cloudwatch\u002Fcovers\u002FArch_Amazon-CloudWatch_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-s3","Amazon S3","\u002Fimages\u002Fprovider-services\u002Famazon-s3\u002Fcovers\u002FArch_Amazon-Simple-Storage-Service_64.png",[209],{"key":210,"cards":211,"groups":228,"lines":231},"parallel-stream",[212,215,219,222,225],{"key":213,"component":197,"label":214},"input","Input: partitioned purchase events",{"key":216,"component":201,"label":217,"group":218},"map","Parallel stateless map subtasks","application",{"key":220,"component":201,"label":221,"group":218},"totals","Parallel keyed customer-total subtasks",{"key":223,"component":197,"label":224},"output","Output: updated customer totals",{"key":226,"component":205,"label":227},"checkpoints","Service-managed checkpoint storage",[229],{"key":218,"label":230},"One managed Flink application",[232,234,236,238,240],{"from":213,"to":216,"label":233},"Purchase events",{"from":216,"to":220,"label":235},"Key-partitioned events",{"from":220,"to":223,"label":237},"Updated totals",{"from":220,"to":226,"label":239},"Checkpoint state",{"from":226,"to":220,"label":241},"Restored state",[243,279,294,319,335,338,353,356,361],{"kind":244,"title":245,"body":246,"diagram":210,"walkthrough":247},"explanation","One application, many parallel workers","\u003Cp>\u003Cstrong>Amazon Managed Service for Apache Flink\u003C\u002Fstrong> runs a streaming application as a graph of operators. An \u003Cstrong>operator\u003C\u002Fstrong> performs a processing step; its parallel \u003Cstrong>subtasks\u003C\u002Fstrong> divide the work across runtime workers. This is distributed execution, not one worker processing the entire stream.\u003C\u002Fp>\u003Cp>In this example, purchase events arrive in a partitioned stream. Parallel transformations prepare each event, and parallel keyed computations maintain customer totals. The two Flink cards represent stages inside \u003Cstrong>one application\u003C\u002Fstrong>, not separate applications; each card stands for multiple subtasks.\u003C\u002Fp>",[248,251,256,261,266,271,276],{"text":249,"cards":250},"The input stream holds purchase events across shards. Those source partitions let the application read different parts of the stream concurrently.",[213],{"text":252,"cards":253,"lines":254},"The stateless map subtasks read purchase events and convert each amount from cents to dollars. Each conversion needs only the current event.",[216],[255],{"from":213,"to":216},{"text":257,"cards":258,"lines":259},"A keyBy operation partitions the transformed events by customer ID before the keyed subtasks update totals. Every event with the same customer key reaches the same responsible keyed subtask at a given time.",[220],[260],{"from":216,"to":220},{"text":262,"cards":263,"lines":264},"The keyed subtasks send updated customer totals to a separate output stream. These are processing results, not recovery backups.",[223],[265],{"from":220,"to":223},{"text":267,"cards":268,"lines":269},"Coordinated checkpoints preserve recoverable application state in service-managed Amazon S3 storage. This arrow highlights the keyed totals saved as part of a checkpoint.",[226],[270],{"from":220,"to":226},{"text":272,"cards":273,"lines":274},"During recovery, saved keyed state is restored to the keyed subtasks. This reverse arrow represents recovery, not the normal event-processing path.",[],[275],{"from":226,"to":220},{"text":277,"cards":278},"The application distributes event processing while preserving per-customer state and a durable recovery path.",[],{"kind":280,"title":281,"exercise":282},"exercise","Follow one purchase event",{"type":283,"diagram":210,"scenario":284,"path":285},"trace","A purchase arrives and produces an updated customer total.",[286,288,290,292],{"card":213,"note":287},"The purchase is available in an input shard.",{"card":216,"note":289},"A map subtask converts this event's amount.",{"card":220,"note":291},"The customer key selects the subtask that updates the customer's total.",{"card":223,"note":293},"The updated total is written to the output stream.",{"kind":244,"title":295,"body":296,"table":297},"Separate independent work from remembered work","\u003Cp>A \u003Cstrong>stateless transformation\u003C\u002Fstrong> does not retain application state between events. Converting cents to dollars or filtering an event by its own fields can run independently on different subtasks. A \u003Cstrong>stateful computation\u003C\u002Fstrong>, such as a running customer total, needs information retained from earlier events.\u003C\u002Fp>\u003Cp>With \u003Cstrong>keyed state\u003C\u002Fstrong>, Flink keeps separate state for each key. After \u003Ccode>keyBy(customerId)\u003C\u002Fcode>, one subtask can own many customers, but each customer's state belongs to one responsible subtask at a time. Events for different customers can be processed in parallel without combining their totals.\u003C\u002Fp>\u003Cp>The input stream's partitions and Flink's keyed partitions serve different purposes. \u003Cstrong>keyBy\u003C\u002Fstrong> redistributes records according to the computation's key; it does not simply preserve the input shard layout. Increasing parallelism spreads different keys across more subtasks, but does not divide one hot key's keyed computation among them.\u003C\u002Fp>",{"columns":298,"rows":302},[299,300,301],"Property","Stateless transformation","Keyed stateful computation",[303,307,311,315],[304,305,306],"Information needed","Current event","Event and retained state",[308,309,310],"Example","Convert cents to dollars","Update customer total",[312,313,314],"Record placement","No key ownership required","Same key, same owner",[316,317,318],"Application state to restore","None for this transformation","Per-key totals",{"kind":280,"title":320,"exercise":321},"Sort the two kinds of work",{"type":322,"question":323,"groups":324,"statements":325},"versus","Place each statement with the kind of processing it describes.",[300,301],[326,329,331,333],{"text":327,"group":328},"Converts each event's amount from cents to dollars without remembering earlier events.",0,{"text":330,"group":328},"Filters each event using only that event's status field.",{"text":332,"group":12},"Adds each purchase to the customer's previously accumulated total.",{"text":334,"group":12},"Keeps a separate remembered value for every customer key owned by a subtask.",{"kind":244,"title":336,"body":337},"Recover state and stream position together","\u003Cp>A \u003Cstrong>checkpoint\u003C\u002Fstrong> captures a consistent recovery point across the distributed application. It includes operator state and source progress, so saved totals correspond to a known point in the input. The diagram highlights the keyed-state path; source progress is also part of coordinated checkpointing.\u003C\u002Fp>\u003Cp>After a failure, Flink restores state from a \u003Cstrong>completed checkpoint\u003C\u002Fstrong> and resumes reading from the corresponding source positions. Records processed after that recovery point are replayed. Restoring totals without matching source positions could skip updates or count them twice; a stateless map can simply recompute its output from replayed records.\u003C\u002Fp>\u003Cp>For this managed application, checkpoint data is persisted in \u003Cstrong>service-managed Amazon S3 storage\u003C\u002Fstrong>. The output Kinesis stream carries results, not checkpoint files. Consistent recovery of Flink state does not by itself guarantee \u003Cstrong>end-to-end exactly-once output\u003C\u002Fstrong>: that also depends on the source, sink, and connector behavior.\u003C\u002Fp>",{"kind":280,"title":339,"exercise":340},"Repair the checkpoint destination",{"type":341,"diagram":210,"requirement":342,"change":343,"tray":344,"hint":351,"explanation":352},"flaw","The checkpoint card must represent the service-managed durable storage from which Flink restores its saved state.",{"card":226,"component":197},[345,347,349],{"component":205,"reason":346},"Amazon S3 provides the service-managed durable storage used for these checkpoints.",{"component":197,"reason":348},"Kinesis carries input events or output results here, not the managed application's checkpoint files.",{"component":191,"reason":350},"CloudWatch collects monitoring information; it is not this application's checkpoint storage.","This is the recovery-state branch, not either event stream.","Amazon S3 is the checkpoint storage in this architecture. The keyed stage saves recoverable state there and restores it after failure; Kinesis streams carry events and results.",{"kind":244,"title":354,"body":355},"Put distribution and recovery together","\u003Cp>Read the application as two connected paths. The \u003Cstrong>event path\u003C\u002Fstrong> reads partitioned input, transforms individual events, repartitions them by customer key, and emits updated totals. The \u003Cstrong>recovery path\u003C\u002Fstrong> saves keyed state to checkpoint storage and restores it when processing restarts.\u003C\u002Fp>\u003Cp>Parallelism changes how work is distributed, not the meaning of a customer total. During supported rescaling, Flink can redistribute \u003Cstrong>keyed state\u003C\u002Fstrong> to the subtasks that become responsible for those keys. The application still needs each customer's events to reach that customer's current state owner.\u003C\u002Fp>\u003Cp>Keep the roles separate when assembling the picture: the stateless stage needs no remembered business values, the keyed stage owns the totals, and checkpoint storage preserves recoverable state. Source progress and state must remain coordinated when the application resumes processing.\u003C\u002Fp>",{"kind":280,"title":357,"exercise":358},"Rebuild the execution and recovery picture",{"type":359,"diagram":210,"question":360},"build","Rebuild the pictured purchase-processing application, including its stateless work, per-customer totals, result delivery, and checkpoint save-and-restore behavior.",{"kind":244,"title":362,"body":363,"takeaways":364},"What to remember","\u003Cp>\u003Cstrong>Flink distributes work across parallel subtasks, routes each key to its state owner, and uses coordinated checkpoints to recover state and source progress together.\u003C\u002Fstrong>\u003C\u002Fp>",[365,368,371],{"title":366,"text":367},"Parallel work","Operators run as parallel subtasks. Source partitions enable concurrent reading, while keyBy redistributes events according to the computation's key.",{"title":369,"text":370},"State has an owner","Stateless transformations use the current event alone. Keyed computations retain per-key values, with one responsible subtask for each key at a time.",{"title":372,"text":373},"Coordinated recovery","Completed checkpoints preserve state and matching source progress so processing can resume through replay. End-to-end exactly-once output also depends on connector and sink behavior.","2026-10-29T23:39:56.818Z",{"pageSlug":80,"code":79,"certification":78,"certificationSlug":80},1796130164309]