easyMultiple Select
AIF-C01 Practice Question: A developer is using Bedrock Agents to create an…
A developer is using Bedrock Agents to create an order management assistant. The agent needs to check inventory and process payments. Which TWO components are required to enable these capabilities?
⚠ Common exam trap
A common pitfall in Bedrock Agents is confusing Knowledge Bases (used for static information retrieval like product details) with Action Groups (used for dynamic real-time actions like inventory checks and payment processing). Candidates often select Knowledge Bases for capabilities that require API calls, but those rely on Action Groups + Lambda.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Lambda functions to execute the API calls
Option B is correct because Bedrock Agents use AWS Lambda functions as the compute layer that actually executes the business logic and outbound API calls — such as querying an inventory system or invoking a payment gateway — when the agent decides an action is needed. Option D is correct because action groups define the agent's callable capabilities, and each action group is described by an OpenAPI schema (API schema) that tells the agent which operations exist, their parameters, and how to invoke the backing Lambda, which is exactly what enables inventory checks and payment processing. Option A is not required here because Knowledge Bases are for retrieval-augmented generation over documents (e.g., product info), not for performing transactional API operations. Option C is not required because a vector store is used for embeddings/semantic search in Knowledge Bases, not for caching transaction data. Option E is not required because Guardrails apply content and safety filtering to inputs/outputs, which is unrelated to enabling inventory and payment actions.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Knowledge Bases for product information
Why it's wrong here
Knowledge Bases supply retrieved reference text for answering questions; they cannot execute inventory lookups or payment transactions. Those need action groups with Lambda functions. Knowledge Bases would be the right component where the assistant must ground responses in product documentation rather than perform live operations.
- ✓
Lambda functions to execute the API calls
Why this is correct
Lambda functions execute the actual inventory and payment API logic once the agent decides to invoke them. They provide the compute layer that action groups call, satisfying the requirement to perform these external operations during order management.
- ✗
A vector store to cache transaction data
Why it's wrong here
Bedrock Agents invoke action groups backed by Lambda functions to query inventory and process payments; a vector store only supports retrieval-augmented generation over documents. Caching transaction data is not an agent capability. A vector store would be correct where the requirement is semantic search across unstructured knowledge.
- ✓
Action groups with API schemas
Why this is correct
Action groups define the API schemas that describe available operations and their parameters, telling the Bedrock agent what it can invoke and how. This schema definition is required so the agent can call the inventory and payment APIs correctly.
- ✗
Guardrails to filter sensitive data
Why it's wrong here
Guardrails apply content filters and deny topics; they do not grant the agent the ability to call inventory or payment systems. Action groups with Lambda functions provide that execution. Guardrails would be correct where the requirement is blocking harmful or sensitive output, not enabling transactional capability.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
Go deeper
Related to this question
About these practice questions
Courseiva writes every AIF-C01 question from scratch — 862 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AIF-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AIF-C01 exam.