[{"data":1,"prerenderedAt":371},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-machine-learning-engineer-associate\u002Flessons\u002Famazon-managed-service-for-apache-flink-consuming-streaming-sources-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":244,"dateModified":366,"course":367,"nextLesson":368},"amazon-managed-service-for-apache-flink-consuming-streaming-sources-mla-c02","Amazon Managed Service for Apache Flink: consuming streaming sources","How Flink applications use source connectors, access permissions, and starting positions to consume records from Kinesis Data Streams and Kafka.",[190,196,200,204,208],{"key":191,"kind":192,"name":193,"icon":194,"provider":195},"amazon-kinesis-data-streams","service","Amazon Kinesis Data Streams","\u002Fimages\u002Fprovider-services\u002Famazon-kinesis-data-streams\u002Fcovers\u002FArch_Amazon-Kinesis-Data-Streams_64.png","AWS",{"key":197,"kind":192,"name":198,"icon":199,"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":201,"kind":192,"name":202,"icon":203,"provider":195},"amazon-managed-streaming-for-apache-kafka","Amazon Managed Streaming for Apache Kafka","\u002Fimages\u002Fprovider-services\u002Famazon-managed-streaming-for-apache-kafka\u002Fcovers\u002FArch_Amazon-Managed-Streaming-for-Apache-Kafka_64.png",{"key":205,"kind":192,"name":206,"icon":207,"provider":195},"aws-glue","AWS Glue","\u002Fimages\u002Fprovider-services\u002Faws-glue\u002Fcovers\u002FArch_AWS-Glue_64.png",{"key":209,"kind":192,"name":210,"icon":211,"provider":195},"aws-lambda","AWS Lambda","\u002Fimages\u002Fprovider-services\u002Faws-lambda\u002Fcovers\u002FArch_AWS-Lambda_64.png",[213],{"key":214,"cards":215,"groups":232,"lines":235},"stream-inputs",[216,219,222,226,229],{"key":217,"component":191,"label":218},"kinesis","Orders stream",{"key":220,"component":201,"label":221},"kafka","Payments topic on Amazon MSK",{"key":223,"component":197,"label":224,"group":225},"kinesis-source","Kinesis source operator — earliest on fresh start","application",{"key":227,"component":197,"label":228,"group":225},"kafka-source","Kafka source operator — latest on fresh start",{"key":230,"component":197,"label":231,"group":225},"processing","Application processing operators",[233],{"key":225,"label":234},"One Managed Service for Apache Flink application",[236,238,240,242],{"from":217,"to":223,"label":237},"Stream records",{"from":220,"to":227,"label":239},"Topic records",{"from":223,"to":230,"label":241},"Decoded order events",{"from":227,"to":230,"label":243},"Decoded payment events",[245,275,291,294,306,327,345,348,353],{"kind":246,"title":247,"body":248,"diagram":214,"walkthrough":249},"explanation","Source connectors run inside the application","\u003Cp>A \u003Cstrong>source connector\u003C\u002Fstrong> is the application code that reads an external stream and introduces its records into Flink. Use a Kinesis connector for \u003Cstrong>Kinesis Data Streams\u003C\u002Fstrong> and a Kafka connector for Kafka topics, including topics hosted on \u003Cstrong>Amazon MSK\u003C\u002Fstrong>. Include connector dependencies compatible with the application's Flink runtime.\u003C\u002Fp>\u003Cp>Configure the source's location and a \u003Cstrong>deserializer\u003C\u002Fstrong>, which turns record bytes into values that application operators can process. Kinesis configuration identifies the stream and AWS Region; Kafka configuration identifies bootstrap brokers and topics. Bootstrap brokers let the Kafka client discover the cluster.\u003C\u002Fp>\u003Cp>The diagram shows two input paths inside \u003Cstrong>one application\u003C\u002Fstrong>, not three separate Flink deployments. Each source operator reads its own source and passes decoded events to the application's processing operators.\u003C\u002Fp>",[250,253,256,261,266,272],{"text":251,"cards":252},"The orders stream holds records in Kinesis Data Streams. Its records are the input to the Kinesis reading path.",[217],{"text":254,"cards":255},"The payments topic holds records in an Amazon MSK Kafka cluster. It is a separate input to the application.",[220],{"text":257,"cards":258,"lines":259},"The Kinesis source operator reads stream records and deserializes them. This example starts at the earliest retained records when there is no restored source state.",[223],[260],{"from":217,"to":223},{"text":262,"cards":263,"lines":264},"The Kafka source operator reads topic records and deserializes them. This example starts at the latest position when there is no restored source state.",[227],[265],{"from":220,"to":227},{"text":267,"cards":268,"lines":269},"The processing operators receive decoded order events from the Kinesis source and decoded payment events from the Kafka source. Both source operators belong to this same Flink application.",[230],[270,271],{"from":223,"to":230},{"from":227,"to":230},{"text":273,"cards":274},"Each input reaches application processing through its matching source connector.",[],{"kind":276,"title":277,"exercise":278},"exercise","Keep the connector inside Flink",{"type":279,"diagram":214,"requirement":280,"change":281,"tray":282,"hint":289,"explanation":290},"flaw","The orders stream must be read by a source operator inside this same Flink application, without introducing a separate compute service.",{"card":223,"component":209},[283,285,287],{"component":197,"reason":284},"The Kinesis source is an operator running inside this Flink application.",{"component":209,"reason":286},"A Lambda function is not a source operator inside the Flink application.",{"component":205,"reason":288},"A Glue job is not a source operator inside the Flink application.","The connector is application code running in Flink, not a separate function.","The Flink component restores the intended design: the Kinesis source operator reads and deserializes records within the application, then passes events to its processing operators.",{"kind":246,"title":292,"body":293},"Give the running application access","\u003Cp>A correct connector still needs \u003Cstrong>authorization\u003C\u002Fstrong> and \u003Cstrong>network reachability\u003C\u002Fstrong>. Managed Service for Apache Flink uses an \u003Cstrong>application execution role\u003C\u002Fstrong> to access AWS resources. Grant permissions to that role, not just to the person deploying the application, and allow the service to assume it. Use role credentials rather than embedding long-lived AWS access keys in application code.\u003C\u002Fp>\u003Cp>For \u003Cstrong>Kinesis Data Streams\u003C\u002Fstrong>, grant the read and discovery actions needed by the chosen connector and reading mode, scoped to the intended resources. Polling readers use actions such as \u003Ccode>kinesis:GetRecords\u003C\u002Fcode> and \u003Ccode>kinesis:GetShardIterator\u003C\u002Fcode>; enhanced fan-out requires additional consumer-related permissions. Reading a stream encrypted with a customer managed KMS key also requires appropriate decrypt access.\u003C\u002Fp>\u003Cp>For \u003Cstrong>Kafka\u003C\u002Fstrong>, configure the broker's authentication method and authorize topic reads and consumer-group operations as required. With MSK IAM authentication, configure the Kafka client for IAM authentication and give the execution role the required Kafka data-plane permissions. Other authentication methods use their corresponding credentials and Kafka authorization rules. For private brokers, configure VPC connectivity, DNS, routes, and security groups so the application can reach them; permissions do not create a network path.\u003C\u002Fp>",{"kind":276,"title":295,"exercise":296},"Follow an authorized Kafka record",{"type":297,"diagram":214,"scenario":298,"path":299},"trace","With broker connectivity working and MSK IAM authentication and read permissions configured, follow one payment record into application processing.",[300,302,304],{"card":220,"note":301},"The record is stored in the payments topic; the application can reach the brokers.",{"card":227,"note":303},"The Kafka client authenticates using the configured IAM mechanism and authorized execution role, then reads and deserializes the record.",{"card":230,"note":305},"The application's processing operators receive the decoded payment event.",{"kind":246,"title":307,"body":308,"table":309},"Choose a starting position—and distinguish recovery","\u003Cp>On a \u003Cstrong>fresh start without restored source state\u003C\u002Fstrong>, the source's starting-position configuration determines where reading begins. Choose \u003Cstrong>earliest\u003C\u002Fstrong> to include the oldest records still retained, or \u003Cstrong>latest\u003C\u002Fstrong> to begin at the end and read subsequent arrivals. Earliest cannot recover records that the source has already expired. Timestamp-based starts are also available through supporting connectors.\u003C\u002Fp>\u003Cp>Kinesis tracks progress using shard positions; Kafka uses \u003Cstrong>offsets per partition\u003C\u002Fstrong>. A Kafka source can also be configured to start from committed consumer-group offsets. Setting a group ID alone does not mean every Kafka source automatically chooses those offsets: configure the intended starting-offset strategy explicitly.\u003C\u002Fp>\u003Cp>\u003Cstrong>Restoring source state\u003C\u002Fstrong> is different from a fresh start. Flink checkpoints record source progress alongside application state. When the application restores compatible source state from a checkpoint or snapshot, it resumes from that saved progress rather than applying the fresh-start choice to the restored source. Changing latest to earliest is therefore not, by itself, a replay instruction for a restored application.\u003C\u002Fp>",{"columns":310,"rows":314},[311,312,313],"Starting choice","Kinesis Data Streams","Kafka",[315,319,323],[316,317,318],"Earliest","Oldest retained shard records","Earliest retained partition offsets",[320,321,322],"Latest","End of each shard","End of each partition",[324,325,326],"Restored source state","Saved shard progress","Saved partition offsets",{"kind":276,"title":328,"exercise":329},"Separate initialization from restoration",{"type":330,"question":331,"groups":332,"statements":335},"versus","Sort each statement by what determines the source's reading position.",[333,334],"Fresh start without restored source state","Restore compatible source state",[336,339,341,343],{"text":337,"group":338},"The configured earliest choice selects the oldest retained records.",0,{"text":340,"group":338},"The configured latest choice starts at the end and waits for subsequent arrivals.",{"text":342,"group":12},"Saved Kinesis shard progress determines where reading resumes.",{"text":344,"group":12},"Saved Kafka partition offsets take precedence over the fresh-start choice.",{"kind":246,"title":346,"body":347},"Put connector, access, and position together","\u003Cp>Treat each source as three connected decisions: \u003Cstrong>what to read\u003C\u002Fstrong>, \u003Cstrong>how access is allowed\u003C\u002Fstrong>, and \u003Cstrong>where reading begins\u003C\u002Fstrong>. The connector and deserializer determine how external records enter the application. Execution-role permissions, Kafka security settings, and network connectivity determine whether reading can succeed. Starting positions determine which available records are selected.\u003C\u002Fp>\u003Cp>In this diagram, the Kinesis source is configured for \u003Cstrong>earliest on a fresh start\u003C\u002Fstrong>, so it includes retained orders. The Kafka source is configured for \u003Cstrong>latest on a fresh start\u003C\u002Fstrong>, so it begins with subsequent payments. These are choices for this application, not mandatory settings for either service. On restoration, each source instead uses its restored progress.\u003C\u002Fp>\u003Cp>Both source operators pass decoded events directly to the application's processing operators; neither source feeds the other. When diagnosing missing input, distinguish \u003Cstrong>access failure\u003C\u002Fstrong> from a valid reader waiting at the end of a stream, and check whether the application started fresh or restored saved positions.\u003C\u002Fp>",{"kind":276,"title":349,"exercise":350},"Rebuild the configured input paths",{"type":351,"diagram":214,"question":352},"build","Rebuild the single application's input architecture using the labeled fresh-start choices, assuming its execution role, Kafka authentication, and network access are correctly configured.",{"kind":246,"title":354,"body":355,"takeaways":356},"What to remember","\u003Cp>Reliable consumption requires the right \u003Cstrong>source connector\u003C\u002Fstrong>, working \u003Cstrong>access\u003C\u002Fstrong>, and an intentional \u003Cstrong>starting or restored position\u003C\u002Fstrong>.\u003C\u002Fp>",[357,360,363],{"title":358,"text":359},"Match the connector","Use compatible Kinesis or Kafka connector dependencies and configure the source location and deserializer. Source operators run inside the Flink application.",{"title":361,"text":362},"Authorize and connect","Grant the application's execution role the required AWS permissions. Kafka also needs the configured broker authentication and authorization, and every reader needs network reachability.",{"title":364,"text":365},"Separate start from restore","Earliest and latest select fresh-start positions among retained records. Restoring compatible source state resumes saved progress instead of reapplying those choices.","2026-10-29T23:45:42.663Z",{"pageSlug":117,"code":116,"certification":115,"certificationSlug":117},{"slug":369,"title":370},"amazon-managed-service-for-apache-flink-vs-amazon-kinesis-data-streams-mla-c02","Amazon Managed Service for Apache Flink vs Amazon Kinesis Data Streams",1796130180230]