D2: Reliable Tool Integrations & MCP Servers
AWS Certified Generative AI Developer – Professional exam practice questions · 10 flashcards
Question
Standardized function definitions?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Reliable Tool Integrations & MCP Servers practice questions and answers
- Standardized function definitions?Clear names, descriptions and JSON schemas so models call tools correctly.
- Parameter validation in tools?Validate model-supplied arguments in Lambda before executing.
- Tool error handling?Return structured error messages the model can reason about; retries with backoff.
- Strands custom tool behaviours?Decorated Python functions/classes defining tools and hooks.
- Stateless MCP servers on Lambda?Lightweight request/response tools (streamable HTTP) scaling automatically.
- Complex MCP servers on ECS?Long-lived, stateful or heavy tools hosted as containers.
- AgentCore Gateway?Turn APIs/Lambda/OpenAPI specs into MCP tools with auth.
- MCP client libraries?SDKs letting apps/agents connect to MCP servers.
- Tool idempotency?Prevent duplicate side effects when the model retries.
- Scenario: model calls a tool with malformed date strings. Fix?Improve schema/description and validate/normalize parameters in the tool.