AWS Certified AI Practitioner AIF-C01 Practice Question
When configuring an agent in Amazon Bedrock to answer user questions and trigger operations that require calling the company's REST-based order-management API, what must a developer configure so the agent can invoke the API during a conversation?
Store the API responses as vector embeddings in a knowledge base and link the knowledge base to the agent.
Create an action in an action group that maps the REST endpoint to an AWS Lambda function and attach the action group to the agent.
Increase the agent's temperature setting so the model can decide to call external services during generation.
Embed the OpenAPI specification of the REST service directly in every user prompt sent to the model.
Agents for Amazon Bedrock can perform multi-step tasks by invoking external operations that you register as actions. Each action is implemented by an AWS Lambda function and grouped in an action group, which you attach to the agent. During runtime, the agent decides when an action is needed, calls the associated Lambda function, and uses the returned data to continue the dialog. Changing inference parameters, embedding the API specification in every prompt, or storing vector embeddings does not give the agent the ability to execute the live API; only an action in an action group provides that integration.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an action group in Amazon Bedrock?
Open an interactive chat with Bash
How does an AWS Lambda function help integrate external APIs with Amazon Bedrock agents?
Open an interactive chat with Bash
Why can't embedding the OpenAPI specification or storing knowledge base embeddings replace actions in Amazon Bedrock agents?
Open an interactive chat with Bash
AWS Certified AI Practitioner AIF-C01
Applications of Foundation Models
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .