Certopolis

AWS Certified Developer – Associate

Bedrock AgentCore Runtime, Gateway and tools for DVA-C03

The Amazon Bedrock AgentCore Developer Guide describes modular services for running AI agents without managing infrastructure. Runtime hosts agent code in isolated sessions. Gateway turns APIs and Lambda functions into MCP tools behind one endpoint. Code Interpreter and Browser give agents a sandbox and a cloud browser. Observability traces each step.

What does AgentCore Runtime do?

The DVA-C03 exam guide lists "Integrate managed AWS AI services into applications" as content added to Task 1.1 since DVA-C02, and Amazon Bedrock AgentCore is on its in-scope services list.

AgentCore Runtime is a serverless environment that hosts your agent or tool code as a containerized application. It works with open-source frameworks such as LangGraph, CrewAI and Strands Agents, and with foundation models inside or outside Amazon Bedrock.

Each change to the configuration, such as a new container image, creates a new immutable version. The DEFAULT endpoint is created with the runtime and always moves to the latest version. A custom endpoint made with CreateAgentRuntimeEndpoint references a version you choose and can be repointed without downtime. In InvokeAgentRuntime, the qualifier is the endpoint name, and a call without one uses the default endpoint.

Each session has a runtimeSessionId and runs in its own microVM with isolated CPU, memory and file system. A session ends after 15 minutes of inactivity or 8 hours of total lifetime, and its memory is then cleared. Session state is not durable, so use AgentCore Memory for context that must last.

How does AgentCore Gateway expose tools?

Gateway converts APIs, Lambda functions and existing services into tools that are compatible with the Model Context Protocol (MCP). It accepts OpenAPI, Smithy and Lambda as tool input types and can also connect to existing MCP servers. Agents reach all of them through a single gateway endpoint.

Gateway translates MCP requests from the agent into API requests and Lambda invocations. It manages inbound authentication, which verifies the agent, and outbound authentication, which connects to each tool with the right credentials. Built-in semantic search helps an agent find the right tool when there are many.

Code Interpreter, Browser and Observability

Code Interpreter lets an agent write and run code in a sandbox. It runs in a containerized environment within AgentCore, so code that the agent generates stays isolated. It supports Python, JavaScript and TypeScript and handles CSV, Excel and JSON data. The default execution time is 15 minutes and can be extended up to 8 hours.

Browser gives an agent an isolated, containerized browser. You use the AWS managed browser aws.browser.v1 or create a custom browser. Sessions time out after 15 minutes by default, with a maximum of 8 hours. The agent drives the session through the Automation endpoint. A person watches and can interact through the Live View endpoint. Session recording is available for custom browsers and stores recordings in your S3 bucket for replay in the console.

Observability shows each step of the agent workflow, so you can inspect the execution path. AgentCore emits telemetry in an OpenTelemetry-compatible format, which lets an existing monitoring stack take it in. Metrics, spans and logs are stored in Amazon CloudWatch, and for agent runtime data the CloudWatch console has an observability dashboard with trace visualizations.

Where the exam catches people

  • Believing an invocation without a qualifier stays on a fixed version: it uses the DEFAULT endpoint, which moves to every new version. Pin production to a custom endpoint and pass its name.
  • Believing the Automation endpoint is for the human operator: the agent uses it to drive the browser. The Live View endpoint is for a person to watch and take over.
  • Believing the AWS managed browser records sessions: session recording to S3 is a feature of custom browsers.
  • Believing each API needs its own hand-built MCP server: Gateway turns OpenAPI, Smithy and Lambda targets into MCP tools behind one endpoint.
  • Believing agent-generated code should run inside the agent's own process: Code Interpreter runs it in a separate sandbox.

Written from these sources

Try 3 questions on this

Pick an answer to see why each option is right or wrong.

  1. A production application invokes an agent hosted in Amazon Bedrock AgentCore Runtime with InvokeAgentRuntime and does not set a qualifier. The team will update the runtime's container image for testing several times. Production traffic must stay on the current version until the team approves a release and must be able to roll back without downtime. Which solution will meet these requirements?

    Right. In the game that’s Renown for your Development with AWS Services building.

    Not that one: D is right. In the game your Development with AWS Services building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    The InvokeAgentRuntime API reference states that the qualifier is the endpoint name and that a call without one uses the default endpoint. So production needs a pinned custom endpoint and must name it as the qualifier.

    Written from docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-how-it-works.html

  2. A company has REST APIs described by OpenAPI specifications and several AWS Lambda functions. A developer wants AI agents that speak the Model Context Protocol (MCP) to discover and call all of them as tools through one managed endpoint, without writing integration code. Which solution will meet these requirements?

    Right. In the game that’s Renown for your Development with AWS Services building.

    Not that one: A is right. In the game your Development with AWS Services building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    It accepts OpenAPI, Smithy and Lambda as tool input types, handles inbound and outbound authentication, and can also connect existing MCP servers.

    Written from docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway.html

  3. An AI agent must fill in order forms on a supplier's website. A human operator must be able to watch each browser session as it happens and take over when the site presents a challenge, and the team must keep a replayable recording of every session in its own Amazon S3 bucket. Which solution will meet these requirements?

    Right. In the game that’s Renown for your Development with AWS Services building.

    Not that one: C is right. In the game your Development with AWS Services building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Its Live View endpoint lets a person watch a session in real time and interact with it directly, and a custom browser can record sessions, capturing DOM changes, actions, console logs and network events, to the team's own S3 bucket for replay in the console.

    Written from docs.aws.amazon.com/bedrock-agentcore/latest/devguide/browser-tool.html

Ask for something