[{"data":1,"prerenderedAt":338},["ShallowReactive",2],{"practiceExams":3,"studies":186,"free-lesson-\u002Fcourses\u002Faws-certified-developer-associate\u002Flessons\u002Fmodel-inference-vs-tool-calling-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":207,"steps":231,"dateModified":333,"course":334,"nextLesson":335},"model-inference-vs-tool-calling-dva-c03","Model Inference vs. Tool Calling","Why generating a tool request is model inference, while executing the requested operation is a separate step handled by the application or agent runtime.",[192,198,202],{"key":193,"kind":194,"name":195,"icon":196,"provider":197},"amazon-sagemaker","service","Amazon SageMaker","\u002Fimages\u002Fprovider-services\u002Famazon-sagemaker\u002Fcovers\u002FArch_Amazon-SageMaker_64.png","AWS",{"key":199,"kind":194,"name":200,"icon":201,"provider":197},"aws-lambda","AWS Lambda","\u002Fimages\u002Fprovider-services\u002Faws-lambda\u002Fcovers\u002FArch_AWS-Lambda_64.png",{"key":203,"kind":204,"name":205,"icon":206,"provider":197},"amazon-dynamodb-table","part","Amazon DynamoDB table","\u002Fimages\u002Fprovider-services\u002Famazon-dynamodb\u002Fcovers\u002FRes_Amazon-DynamoDB_Table_48.png",[208],{"key":209,"cards":210,"groups":223,"lines":224},"request-to-execution",[211,214,217,220],{"key":212,"component":193,"label":213},"model","Hosted language model",{"key":215,"component":199,"label":216},"runtime","Application runtime",{"key":218,"component":199,"label":219},"tool","Order lookup function",{"key":221,"component":203,"label":222},"orders","Orders table",[],[225,227,229],{"from":212,"to":215,"label":226},"Tool request",{"from":215,"to":218,"label":228},"Authorized invocation",{"from":218,"to":221,"label":230},"GetItem request",[232,258,273,276,294,297,312,315,320],{"kind":233,"title":234,"body":235,"diagram":209,"walkthrough":236},"explanation","Follow a tool request from inference to execution","\u003Cp>\u003Cstrong>Model inference\u003C\u002Fstrong> runs a trained model on input to produce an output. For a language model, that output can be an answer in plain text or a structured \u003Cstrong>tool request\u003C\u002Fstrong>: a tool name and the arguments the model proposes. Both are outputs of inference.\u003C\u002Fp>\u003Cp>Consider an order-status assistant with a tool-capable model hosted on Amazon SageMaker. The diagram starts with the model’s response to the application and ends with the database read request. It shows how a proposal becomes an operation, not how the result comes back.\u003C\u002Fp>",[237,240,245,250,255],{"text":238,"cards":239},"The hosted model generates a structured request for the order lookup tool, with an order ID as an argument. It has not looked up the order.",[212],{"text":241,"cards":242,"lines":243},"The application runtime receives the tool request as part of the inference response. It decides whether the lookup is allowed.",[215],[244],{"from":212,"to":215},{"text":246,"cards":247,"lines":248},"If the lookup is allowed, the runtime invokes a separate Lambda function that implements the order lookup.",[218],[249],{"from":215,"to":218},{"text":251,"cards":252,"lines":253},"The lookup function sends DynamoDB a GetItem request using the order’s key to read it from the Orders table.",[221],[254],{"from":218,"to":221},{"text":256,"cards":257},"The model proposes a lookup, the runtime authorizes and dispatches it, and the lookup function requests the database read.",[],{"kind":259,"title":260,"exercise":261},"exercise","Trace the order lookup",{"type":262,"diagram":209,"scenario":263,"path":264},"trace","Follow an allowed order lookup from the generated tool request to the database read request.",[265,267,269,271],{"card":212,"note":266},"Inference generates the tool name and order ID; it does not retrieve the order.",{"card":215,"note":268},"The application checks that the lookup is allowed and invokes the tool.",{"card":218,"note":270},"The lookup function turns the order ID into a DynamoDB read request.",{"card":221,"note":272},"The Orders table is the target of GetItem.",{"kind":233,"title":274,"body":275},"An operation described is not an operation performed","\u003Cp>A model can produce either \u003Cem>I’ll look up your order\u003C\u002Fem> or a structured request naming the lookup tool and an order ID. The structured form is easier for code to interpret, but it is still \u003Cstrong>inference output\u003C\u002Fstrong>. The model can even propose a lookup that the application refuses to run.\u003C\u002Fp>\u003Cp>\u003Cstrong>External execution\u003C\u002Fstrong> happens when the application or agent runtime dispatches the operation and the tool implementation runs. The generated request tells you what the model proposed; the execution result tells you what happened when the tool ran. A well-formed request alone does not prove that the order was read.\u003C\u002Fp>",{"kind":259,"title":277,"exercise":278},"Sort generation from execution",{"type":279,"question":280,"groups":281,"statements":284},"versus","Sort each action into model inference or external execution.",[282,283],"Model inference","External execution",[285,288,290,292],{"text":286,"group":287},"The model generates a plain-text answer.",0,{"text":289,"group":12},"The runtime invokes the lookup function for an allowed request.",{"text":291,"group":287},"The model produces an order ID as a tool argument.",{"text":293,"group":12},"The lookup function sends GetItem to DynamoDB.",{"kind":233,"title":295,"body":296},"The runtime turns a tool name into an invocation","\u003Cp>When the model outputs \u003Ccode>lookup_order\u003C\u002Fcode> and an order ID, it has named an operation and supplied an argument. The \u003Cstrong>application runtime\u003C\u002Fstrong> uses its own configuration to map that name to the Lambda function that implements the lookup. The model does not choose a Lambda function identifier or issue a database command.\u003C\u002Fp>\u003Cp>For an allowed lookup, the runtime invokes that function with the order ID. The \u003Cstrong>lookup function\u003C\u002Fstrong> then sends the \u003Ccode>GetItem\u003C\u002Fcode> request to the Orders table. The model supplies the proposed input; the runtime dispatches the work; the function performs the lookup.\u003C\u002Fp>",{"kind":259,"title":298,"exercise":299},"Restore the component that runs the lookup",{"type":300,"diagram":209,"requirement":301,"change":302,"tray":303,"hint":310,"explanation":311},"flaw","The model proposes the lookup, but the application runtime must invoke the code that sends the database read request.",{"card":218,"component":193},[304,306,308],{"component":199,"reason":305},"The runtime invokes the lookup Lambda function, whose code sends the database read request.",{"component":193,"reason":307},"The hosted model generates the tool request; it does not run the lookup code in this design.",{"component":203,"reason":309},"The Orders table holds the data; it does not run the application code that requests the read.","Follow the authorized invocation: which component runs the lookup code after the runtime dispatches it?","The model generates the tool name and order ID. The runtime maps that name to the lookup Lambda function and invokes it; the function, not the model, sends GetItem.",{"kind":233,"title":313,"body":314},"The request carries arguments, not authority","\u003Cp>A valid-looking order ID does not prove that the signed-in customer may see that order. The \u003Cstrong>application runtime\u003C\u002Fstrong> checks access before dispatching the lookup. If access is denied, inference still happened, but the runtime does not invoke the lookup function.\u003C\u002Fp>\u003Cp>\u003Cstrong>AWS permissions\u003C\u002Fstrong> are separate from that customer access check. In this design, the runtime function’s execution role can invoke the lookup function, and the lookup function’s execution role can read the Orders table. The model’s output grants neither permission.\u003C\u002Fp>",{"kind":259,"title":316,"exercise":317},"Build the path from proposal to lookup",{"type":318,"diagram":209,"question":319},"build","Draw the path for an allowed order lookup, starting with the hosted model’s output and ending at the Orders table.",{"kind":233,"title":321,"body":322,"takeaways":323},"What to remember","\u003Cp>A \u003Cstrong>tool request\u003C\u002Fstrong> is something the model generates; carrying it out is a separate operation.\u003C\u002Fp>",[324,327,330],{"title":325,"text":326},"Inference proposes","Generating a tool name and arguments is inference, just like generating a text answer.",{"title":328,"text":329},"The runtime decides","The application or agent runtime checks whether the operation is allowed and dispatches it only if permitted.",{"title":331,"text":332},"The tool performs the work","The tool implementation makes the external call using its own granted permissions. A generated request is not evidence that the call ran.","2026-12-02T21:40:01.702Z",{"pageSlug":15,"code":19,"certification":13,"certificationSlug":15},{"slug":336,"title":337},"publish-subscribe-messaging-topic-based-fan-out-dva-c03","Publish-Subscribe Messaging: Topic-based fan-out",1796288619881]