TechNuggets Academy

Tool Integration and Actions

Free NVIDIA-Certified Professional: Agentic AI practice — 6 questions on Tool Integration and Actions, with explanations. No sign-up. Full 12-question mixed test →

Question 1 of 6 · Tool Integration and Actions
A company builds an agent that calls a payment processing tool. The agent occasionally retries tool calls due to transient network timeouts, risking duplicate charges. Which design BEST prevents duplicate side effects when retries occur?
An idempotency key ties every retry of the same logical operation to a single execution on the downstream service, so duplicate attempts are safely deduplicated regardless of how many times the client resends the request.
Question 2 of 6 · Tool Integration and Actions
An agent has a 'code execution' tool that runs untrusted, LLM-generated Python code to answer data analysis questions. Which combination of controls BEST mitigates the risk of this tool being used to exfiltrate data or damage the host system?
A hardened, network-isolated sandbox with resource limits establishes an actual security boundary that contains malicious or buggy generated code regardless of what the model produces.
Question 3 of 6 · Tool Integration and Actions
A team needs to connect their agent to a dozen enterprise data sources (a ticketing system, a CRM, and an internal wiki), and wants new tools to be discoverable and pluggable by any MCP-compatible agent framework without writing framework-specific glue code for each integration. Which approach BEST fits this requirement?
Standalone MCP servers expose a standardized protocol contract, so any MCP-compatible client (agent framework) can discover and use them without custom, framework-specific integration code — exactly the pluggability the requirement calls for.
Question 4 of 6 · Tool Integration and Actions
When defining a function-calling tool schema for an agent, a developer wants to guarantee that the LLM's output arguments strictly conform to the declared JSON schema (correct types, no missing or extra required fields) before the tool ever executes. Which configuration achieves this most reliably?
Constrained decoding enforces schema conformance at the token-generation level itself, making it structurally impossible for the model to emit output that violates the schema.
Question 5 of 6 · Tool Integration and Actions
In the context of agentic tool integration, 'least-privilege tool scoping' refers to which practice?
Least-privilege scoping means each tool receives narrowly bounded, time-limited access matched exactly to what it needs, minimizing blast radius if the tool or agent is compromised or misused.
Question 6 of 6 · Tool Integration and Actions
An agent's search tool calls a third-party API that enforces a strict rate limit and returns HTTP 429 with a Retry-After header when exceeded. During a burst of concurrent multi-agent tasks, the tool integration begins failing frequently. Which retry strategy BEST handles this scenario while remaining a good API citizen?
Honoring the server's explicit Retry-After guidance, falling back to jittered exponential backoff otherwise, and bounding retries with a circuit breaker recovers from transient throttling without contributing to a thundering-herd overload of the API.
Ready for the real thing?

The full course: two full-length practice tests, video lessons for every exam domain, hands-on labs and detailed explanations.

$129.99 $34.99 with code FREETEST33 — valid through September 7.

Get my $34.99 deal →