[{"data":1,"prerenderedAt":388},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-generative-ai-developer-professional\u002Flessons\u002Faws-step-functions-vs-aws-lambda-orchestration-and-computation-aip-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":17,"components":189,"diagrams":215,"steps":239,"dateModified":383,"course":384,"nextLesson":385},"aws-step-functions-vs-aws-lambda-orchestration-and-computation-aip-c01","AWS Step Functions vs AWS Lambda: orchestration and computation","How durable workflow coordination differs from function execution, and where to place sequencing and transformation logic when choosing between the two services.",[190,196,199,203,207,211],{"key":191,"kind":192,"name":193,"icon":194,"provider":195},"amazon-api-gateway","service","Amazon API Gateway","\u002Fimages\u002Fprovider-services\u002Famazon-api-gateway\u002Fcovers\u002FArch_Amazon-API-Gateway_64.png","AWS",{"key":197,"kind":192,"name":198,"icon":20,"provider":195},"amazon-bedrock","Amazon Bedrock",{"key":200,"kind":192,"name":201,"icon":202,"provider":195},"amazon-dynamodb","Amazon DynamoDB","\u002Fimages\u002Fprovider-services\u002Famazon-dynamodb\u002Fcovers\u002FArch_Amazon-DynamoDB_64.png",{"key":204,"kind":192,"name":205,"icon":206,"provider":195},"amazon-eventbridge","Amazon EventBridge","\u002Fimages\u002Fprovider-services\u002Famazon-eventbridge\u002Fcovers\u002FArch_Amazon-EventBridge_64.png",{"key":208,"kind":192,"name":209,"icon":210,"provider":195},"aws-lambda","AWS Lambda","\u002Fimages\u002Fprovider-services\u002Faws-lambda\u002Fcovers\u002FArch_AWS-Lambda_64.png",{"key":212,"kind":192,"name":213,"icon":214,"provider":195},"aws-step-functions","AWS Step Functions","\u002Fimages\u002Fprovider-services\u002Faws-step-functions\u002Fcovers\u002FArch_AWS-Step-Functions_64.png",[216],{"key":217,"cards":218,"groups":231,"lines":232},"query-workflow",[219,222,225,228],{"key":220,"component":212,"label":221},"coordinator","Standard query workflow",{"key":223,"component":208,"label":224},"decomposer","Python query decomposer",{"key":226,"component":197,"label":227},"expander","Model-based query expansion",{"key":229,"component":200,"label":230},"results","Query result records",[],[233,235,237],{"from":220,"to":223,"label":234},"Decomposition input",{"from":220,"to":226,"label":236},"Expansion request",{"from":220,"to":229,"label":238},"Result write",[240,266,284,287,301,326,341,344,360,370],{"kind":241,"title":242,"body":243,"table":244},"explanation","Separate execution from coordination","\u003Cp>\u003Cstrong>AWS Lambda\u003C\u002Fstrong> executes application code. An ordinary event-function invocation owns its local call stack while it runs; successful completion does not create a durable record of an application's remaining steps. Calling several services inside one handler makes that handler responsible for their sequencing.\u003C\u002Fp>\u003Cp>\u003Cstrong>AWS Step Functions\u003C\u002Fstrong> executes a state-machine definition. A \u003Cstrong>Standard Workflow\u003C\u002Fstrong> persists workflow progress across task boundaries, so coordination does not depend on keeping a function invocation alive. It records which state is running and carries workflow data between states; it does not execute an arbitrary Python package itself.\u003C\u002Fp>\u003Cp>This is a distinction between \u003Cstrong>durable coordination\u003C\u002Fstrong> and \u003Cstrong>ordinary function execution\u003C\u002Fstrong>, not a claim that Lambda can never orchestrate. Lambda durable functions offer a code-first durable workflow model. Here, the comparison is between a Step Functions Standard Workflow and ordinary Lambda task invocations; Express Workflows have different execution and history semantics.\u003C\u002Fp>",{"columns":245,"rows":249},[246,247,248],"Concern","Step Functions Standard","Ordinary Lambda invocation",[250,254,258,262],[251,252,253],"Executable unit","State-machine definition","Application handler",[255,256,257],"Progress ownership","Persisted workflow state","Local call stack",[259,260,261],"Custom libraries","Delegate to compute","Run in function",[263,264,265],"Next service call","Workflow transition","Application code",{"kind":267,"title":268,"exercise":269},"exercise","Identify the owner",{"type":270,"question":271,"groups":272,"statements":274},"versus","Sort each responsibility by the execution model that provides it here.",[273,248],"Step Functions Standard Workflow",[275,278,280,282],{"text":276,"group":277},"Persists progress between states without retaining a running handler.",0,{"text":279,"group":12},"Executes a custom Python parsing library.",{"text":281,"group":277},"Selects the next task from a state-machine definition.",{"text":283,"group":12},"Keeps local variables on the active handler's call stack.",{"kind":241,"title":285,"body":286},"Place transformation logic at the right layer","\u003Cp>\u003Cstrong>Transformation\u003C\u002Fstrong> can mean different work. Selecting fields, renaming properties, and assembling a service request are \u003Cstrong>data shaping\u003C\u002Fstrong>: keep simple, readable mappings in the workflow. Step Functions supports declarative data manipulation, including JSONata expressions, without a Lambda invocation solely to rearrange JSON.\u003C\u002Fp>\u003Cp>Parsing with a custom library, applying a domain-specific decomposition algorithm, or running substantial validation code belongs in \u003Cstrong>Lambda\u003C\u002Fstrong>. Model-generated query expansion belongs in a model service such as \u003Cstrong>Amazon Bedrock\u003C\u002Fstrong>. Step Functions can invoke supported service APIs directly, so a function that only forwards an unchanged request adds an unnecessary execution boundary.\u003C\u002Fp>\u003Cp>Make a separate workflow task when an operation needs its own visible completion boundary, not for every line of code. Keep tightly coupled local calculations together in a function. The same split applies to document processing: the workflow owns stage order, while functions implement custom parsing or business rules.\u003C\u002Fp>",{"kind":267,"title":288,"exercise":289},"Distinguish shaping from computation",{"type":290,"question":291,"text":292,"answers":293,"distractors":297},"placeholder","Fill in the execution layer for each kind of transformation.","Use {} to select and rename existing JSON fields, {} to execute a custom Python decomposition library, and {} to generate model-based query expansions.",[294,295,296],"Step Functions data shaping","Lambda computation","Bedrock inference",[298,299,300],"execution-history inspection","request routing","result storage",{"kind":241,"title":302,"body":303,"diagram":217,"walkthrough":304},"A workflow that owns the service calls","\u003Cp>This query-processing architecture uses a \u003Cstrong>Standard Workflow\u003C\u002Fstrong> to coordinate three ordered tasks: custom decomposition, model expansion, and result storage. The decomposer returns structured subqueries; the workflow shapes those into the expansion request and later into a result record. \u003Cstrong>DynamoDB\u003C\u002Fstrong> stores the application result, not the workflow's internal execution history.\u003C\u002Fp>\u003Cp>The diagram shows \u003Cstrong>task-invocation arrows only\u003C\u002Fstrong>, not return traffic or the external execution starter. Each task is invoked directly by the workflow and completes before the next begins. The Lambda function does not call Bedrock or DynamoDB; supported direct integrations let the workflow make those calls itself.\u003C\u002Fp>\u003Cp>\u003Cstrong>EventBridge\u003C\u002Fstrong> routes events to targets, and \u003Cstrong>API Gateway\u003C\u002Fstrong> routes API requests to integrations; neither is a replacement for this persisted multi-step state-machine coordinator. Likewise, Bedrock runs model inference, not the decomposer's arbitrary Python library.\u003C\u002Fp>",[305,308,313,318,323],{"text":306,"cards":307},"The Standard Workflow owns progress and the order of the query-processing tasks.",[220],{"text":309,"cards":310,"lines":311},"The workflow invokes the Lambda decomposer with the query. The function executes its Python library and returns structured subqueries.",[223],[312],{"from":220,"to":223},{"text":314,"cards":315,"lines":316},"After decomposition completes, the workflow invokes Bedrock directly with the shaped expansion request and receives the model response.",[226],[317],{"from":220,"to":226},{"text":319,"cards":320,"lines":321},"After expansion completes, the workflow writes the selected result fields directly to DynamoDB.",[229],[322],{"from":220,"to":229},{"text":324,"cards":325},"The workflow owns sequencing and request shaping, while each invoked service performs its assigned computation or storage operation.",[],{"kind":267,"title":327,"exercise":328},"Restore coordination and computation",{"type":329,"diagram":217,"question":330,"hidden":331,"tray":332},"palette","Restore the persisted workflow coordinator and the custom Python decomposer.",[220,223],[333,334,335,337,339],{"component":212},{"component":208},{"component":204,"reason":336},"EventBridge routes events; it does not execute this persisted sequence of task states.",{"component":191,"reason":338},"API Gateway routes requests to integrations; it does not maintain this multi-step workflow's progress.",{"component":197,"reason":340},"Bedrock supplies model inference, not execution of the decomposer's custom Python library or the workflow's state-machine coordination.",{"kind":241,"title":342,"body":343},"Make completion boundaries meaningful","\u003Cp>A \u003Cstrong>task boundary\u003C\u002Fstrong> defines what the workflow can observe as one unit. If one Lambda handler decomposes a query, calls a model, and writes a record, Step Functions sees one task rather than three independently recorded stages. Expose those operations as separate tasks when their individual completion matters; keep local parsing calculations inside the decomposer.\u003C\u002Fp>\u003Cp>In this design, the decomposer's contract is narrow: accept a query, execute the custom Python package, and return structured subqueries. The workflow waits for the function's completed result, not merely acceptance of an asynchronous invocation. It then shapes the next request and owns the remaining service calls. This makes the \u003Cstrong>coordination boundary\u003C\u002Fstrong> match the operational stages.\u003C\u002Fp>\u003Cp>\u003Cstrong>Durable progress is not an end-to-end transaction.\u003C\u002Fstrong> Recording workflow progress does not atomically commit an external service's side effect with that progress. Repeated task attempts can still require idempotent writes or deduplication. Keep workflow data focused on coordination and carry references rather than large documents when payload size would become a constraint.\u003C\u002Fp>",{"kind":267,"title":345,"exercise":346},"Repair the compute boundary",{"type":347,"diagram":217,"requirement":348,"change":349,"tray":350,"hint":358,"explanation":359},"flaw","The decomposition task must execute the custom Python package and return structured subqueries; the existing workflow must continue to own all later service calls.",{"card":223,"component":212},[351,352,354,356],{"component":208},{"component":212,"reason":353},"A state-machine definition does not execute the custom Python package itself.",{"component":197,"reason":355},"Model inference does not execute this custom Python decomposition package.",{"component":204,"reason":357},"Event routing does not execute the decomposition package and return its computed subqueries.","The missing capability is executing application code, not adding another coordinator.","Restore Lambda. The outer workflow waits for its computed result and then advances. Another state machine can coordinate tasks, but it cannot itself run the Python package.",{"kind":267,"title":361,"exercise":362},"Rebuild the responsibility boundary",{"type":363,"diagram":217,"question":364,"decoys":365},"build","Rebuild the taught query-processing architecture using task-invocation arrows only, preserving durable coordination, custom Python decomposition, model expansion, and result storage.",[366,368],{"component":204,"reason":367},"EventBridge routes events rather than executing the persisted multi-step state machine required of the coordinator.",{"component":191,"reason":369},"API Gateway routes API requests rather than maintaining the coordinator's progress across task completions.",{"kind":241,"title":371,"body":372,"takeaways":373},"What to remember","\u003Cp>Choose the owner of \u003Cstrong>durable progress\u003C\u002Fstrong> separately from the place where each computation runs.\u003C\u002Fp>",[374,377,380],{"title":375,"text":376},"Coordination has an owner","A Step Functions Standard Workflow persists state-machine progress independently of ordinary Lambda task invocations. Lambda durable functions are a separate, code-first coordination option.",{"title":378,"text":379},"Transformation is not one job","Keep simple request shaping in the workflow, custom algorithms and libraries in Lambda, and model inference in Bedrock. Use direct service integrations instead of forwarding-only functions.",{"title":381,"text":382},"Boundaries expose progress","Separate tasks when their individual completion matters, while keeping local calculations together. Durable workflow progress does not make external side effects transactional or remove the need for idempotency.","2026-10-29T23:44:56.776Z",{"pageSlug":93,"code":92,"certification":91,"certificationSlug":93},{"slug":386,"title":387},"amazon-sagemaker-and-amazon-bedrock-foundation-model-hosting-boundaries-aip-c01","Amazon SageMaker and Amazon Bedrock: foundation model hosting boundaries",1796130174973]