[{"data":1,"prerenderedAt":338},["ShallowReactive",2],{"practiceExams":3,"studies":186,"free-lesson-\u002Fcourses\u002Faws-certified-developer-associate\u002Flessons\u002Famazon-bedrock-agentcore-deploying-and-invoking-a-runtime-agent-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":219,"steps":243,"dateModified":336,"course":337,"nextLesson":20},"amazon-bedrock-agentcore-deploying-and-invoking-a-runtime-agent-dva-c03","Amazon Bedrock AgentCore: Deploying and invoking a Runtime agent","How to package agent code for AgentCore Runtime and invoke it from an application using authenticated requests and a consistent session ID for follow-up turns.",[192,198,202,206,210,215],{"key":193,"kind":194,"name":195,"icon":196,"provider":197},"amazon-elastic-container-registry-(amazon-ecr)","service","Amazon Elastic Container Registry (Amazon ECR)","\u002Fimages\u002Fprovider-services\u002Famazon-elastic-container-registry-(amazon-ecr)\u002Fcovers\u002FArch_Amazon-Elastic-Container-Registry_64.png","AWS",{"key":199,"kind":194,"name":200,"icon":201,"provider":197},"aws-codeartifact","AWS CodeArtifact","\u002Fimages\u002Fprovider-services\u002Faws-codeartifact\u002Fcovers\u002FArch_AWS-CodeArtifact_64.png",{"key":203,"kind":194,"name":204,"icon":205,"provider":197},"aws-codebuild","AWS CodeBuild","\u002Fimages\u002Fprovider-services\u002Faws-codebuild\u002Fcovers\u002FArch_AWS-CodeBuild_64.png",{"key":207,"kind":194,"name":208,"icon":209,"provider":197},"aws-lambda","AWS Lambda","\u002Fimages\u002Fprovider-services\u002Faws-lambda\u002Fcovers\u002FArch_AWS-Lambda_64.png",{"key":211,"kind":212,"name":213,"icon":214,"provider":197},"amazon-s3-bucket","part","Amazon S3 bucket","\u002Fimages\u002Fprovider-services\u002Famazon-s3\u002Fcovers\u002FRes_Amazon-Simple-Storage-Service_Bucket_48.png",{"key":216,"kind":217,"name":218,"icon":20,"provider":20},"account","generic","AWS account",[220],{"key":221,"cards":222,"groups":235,"lines":236},"runtime-deployment-and-invocation",[223,226,229,232],{"key":224,"component":203,"label":225},"build","Build the agent image",{"key":227,"component":193,"label":228},"registry","Agent image repository",{"key":230,"component":207,"label":231},"app","Calling application",{"key":233,"component":216,"label":234},"runtime","AWS account hosting the AgentCore Runtime endpoint",[],[237,239,241],{"from":224,"to":227,"label":238},"Built image",{"from":227,"to":233,"label":240},"Deployment image",{"from":230,"to":233,"label":242},"Signed session requests",[244,269,280,283,295,298,316,319,323],{"kind":245,"title":246,"body":247,"diagram":221,"walkthrough":248},"explanation","Two paths to a hosted agent","\u003Cp>\u003Cstrong>AgentCore Runtime\u003C\u002Fstrong> hosts your agent code. Your code still decides how to handle a turn, which model to call, and what actions to take. Runtime provides the environment in which that code runs.\u003C\u002Fp>\u003Cp>Keep \u003Cstrong>deployment\u003C\u002Fstrong> separate from \u003Cstrong>invocation\u003C\u002Fstrong>. In this example, deployment supplies a container image; invocation supplies a user's input to the deployed agent. The account card represents the hosted Runtime endpoint. The arrows show what reaches that endpoint, not the responses or setup calls.\u003C\u002Fp>",[249,252,257,260,266],{"text":250,"cards":251},"AWS CodeBuild packages the agent code and its dependencies into a container image.",[224],{"text":253,"cards":254,"lines":255},"CodeBuild pushes the finished image to an Amazon ECR repository.",[227],[256],{"from":224,"to":227},{"text":258,"cards":259},"The calling application runs on AWS Lambda and uses the AWS SDK to send each turn as a signed request with a session ID.",[230],{"text":261,"cards":262,"lines":263},"AgentCore Runtime pulls the deployment image from ECR. After deployment, the hosted endpoint receives the application's signed requests; the application supplies the same session ID for follow-up turns in one conversation.",[233],[264,265],{"from":227,"to":233},{"from":230,"to":233},{"text":267,"cards":268},"The deployment path delivers the code, and the invocation path delivers each turn to that code.",[],{"kind":270,"title":271,"exercise":272},"exercise","Trace a follow-up turn",{"type":273,"diagram":221,"scenario":274,"path":275},"trace","The agent is already deployed, and the application sends a follow-up in the same conversation.",[276,278],{"card":230,"note":277},"The application sends the new input in a signed request using the conversation's existing session ID.",{"card":233,"note":279},"The hosted endpoint receives the turn for that session; the request does not go through the image repository.",{"kind":245,"title":281,"body":282},"Package code that Runtime can start","\u003Cp>For a \u003Cstrong>container deployment\u003C\u002Fstrong>, build a Linux ARM64 image with your agent code, its dependencies, and a startup command that launches the server. For the HTTP protocol, the server listens on port \u003Ccode>8080\u003C\u002Fcode>, handles \u003Ccode>POST \u002Finvocations\u003C\u002Fcode> for agent input, and exposes \u003Ccode>GET \u002Fping\u003C\u002Fcode> for health checks. A script that works locally is not enough unless the packaged application implements that serving contract.\u003C\u002Fp>\u003Cp>Push the image to an \u003Cstrong>Amazon ECR repository\u003C\u002Fstrong> and use its image URI when creating or updating the runtime. For supported Python runtimes, \u003Cstrong>direct code deployment\u003C\u002Fstrong> is another option: Runtime takes a ZIP package from S3 instead of pulling a container image. The artifact you build determines which location you configure.\u003C\u002Fp>",{"kind":270,"title":284,"exercise":285},"Place the container image repository",{"type":286,"diagram":221,"question":287,"hidden":288,"tray":289},"palette","Fill the empty slot with the repository AgentCore Runtime pulls the built container image from.",[227],[290,291,293],{"component":193},{"component":211,"reason":292},"An S3 bucket can hold the ZIP for direct code deployment, but it is not the container registry for this deployment.",{"component":199,"reason":294},"CodeArtifact stores software packages, not the container image Runtime pulls for this deployment.",{"kind":245,"title":296,"body":297},"Separate caller permissions from agent permissions","\u003Cp>For an \u003Cstrong>IAM-authenticated endpoint\u003C\u002Fstrong>, the calling application uses AWS credentials to sign its \u003Ccode>InvokeAgentRuntime\u003C\u002Fcode> request with \u003Cstrong>Signature Version 4\u003C\u002Fstrong>. The AWS SDK handles signing. Here it uses credentials from the calling Lambda function's role, which needs \u003Ccode>bedrock-agentcore:InvokeAgentRuntime\u003C\u002Fcode> permission for the target runtime.\u003C\u002Fp>\u003Cp>The \u003Cstrong>Runtime execution role\u003C\u002Fstrong> is separate. It grants the hosted workload the AWS access it needs, such as permission to call an AWS model API. Giving that role access does not authorize the application to invoke the endpoint, and granting the caller invoke permission does not give the agent access to downstream resources.\u003C\u002Fp>",{"kind":270,"title":299,"exercise":300},"Give each role its own job",{"type":301,"question":302,"groups":303,"statements":306},"versus","Sort each responsibility into the role that handles it.",[304,305],"Calling application's role","Runtime execution role",[307,310,312,314],{"text":308,"group":309},"Allows the application to call InvokeAgentRuntime.",0,{"text":311,"group":309},"Supplies the credentials the application's SDK uses to sign an invocation.",{"text":313,"group":12},"Grants the hosted agent permission to call an AWS model API.",{"text":315,"group":12},"Controls which AWS resources the agent code can access while running.",{"kind":245,"title":317,"body":318},"Keep the session ID stable across turns","\u003Cp>On the first turn, generate a \u003Cstrong>session ID\u003C\u002Fstrong>, such as a UUID, and save it with the conversation in your application. In a Python SDK call to \u003Ccode>InvokeAgentRuntime\u003C\u002Fcode>, pass the target runtime in \u003Ccode>agentRuntimeArn\u003C\u002Fcode>, the current input in \u003Ccode>payload\u003C\u002Fcode>, and the saved ID in \u003Ccode>runtimeSessionId\u003C\u002Fcode>. On each follow-up, send a freshly signed request with the new input and the \u003Cstrong>same session ID\u003C\u002Fstrong>. Use a new ID for a new conversation.\u003C\u002Fp>\u003Cp>The session ID routes requests to an isolated \u003Cstrong>Runtime session\u003C\u002Fstrong>; it is not a credential. Reusing it lets the agent use state it has kept while that session is active, but Runtime does not automatically add earlier turns to the model's prompt. If the conversation must survive the end of a Runtime session, persist and reload the needed history outside that session.\u003C\u002Fp>",{"kind":270,"title":320,"exercise":321},"Build the deployment and conversation paths",{"type":224,"diagram":221,"question":322},"Draw how the packaged agent gets deployed and how the application sends authenticated turns that continue the same Runtime session.",{"kind":245,"title":324,"body":325,"takeaways":326},"What to remember","\u003Cp>\u003Cstrong>Deploy the code\u003C\u002Fstrong>, \u003Cstrong>authenticate each request\u003C\u002Fstrong>, and \u003Cstrong>reuse the session ID\u003C\u002Fstrong> for follow-up turns.\u003C\u002Fp>",[327,330,333],{"title":328,"text":329},"Package for Runtime","Bundle the code and dependencies, implement the serving contract, and point Runtime at the deployment artifact.",{"title":331,"text":332},"Keep permissions separate","The caller signs and is authorized to invoke; the Runtime execution role authorizes the agent's AWS calls.",{"title":334,"text":335},"One ID per conversation","Send new input with the same session ID on follow-up turns. Store any history that must outlive the Runtime session separately.","2026-12-02T21:32:15.472Z",{"pageSlug":15,"code":19,"certification":13,"certificationSlug":15},1796288619372]