mediumMultiple Choice
AIF-C01 Practice Question: A company uses Amazon Bedrock Agents to automate…
A company uses Amazon Bedrock Agents to automate a multi-step data processing workflow. The agent needs to call an external API to enrich customer records. How should the developer expose this API to the agent?
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
✓
By defining an action group with the API specification and a Lambda function
Action groups define the tools an agent can invoke. Each action group contains Lambda functions or API schemas that the agent calls during execution.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
By embedding the API directly in the agent's prompt instructions
Why it's wrong here
Prompt text cannot supply the structured operation schema Bedrock Agents require to invoke a function; the model may describe a call without executing it. Action groups with OpenAPI schemas exist precisely to expose callable APIs, making prompt embedding the wrong mechanism here.
- ✗
By creating a custom model that has been fine-tuned to call the API
Why it's wrong here
Fine-tuning alters a model's weights for style or domain behaviour; it does not register an invocable endpoint with the agent runtime. Action groups are the supported way to expose external APIs, so a custom model cannot satisfy the requirement to call the enrichment service.
- ✓
By defining an action group with the API specification and a Lambda function
Why this is correct
Action groups bind an OpenAPI schema describing the API's operations to a Lambda function that performs the actual invocation. Defining the group this way gives the agent a callable interface, satisfying the requirement to expose the external enrichment API without bespoke orchestration code.
- ✗
By configuring a Bedrock Knowledge Base with API documentation
Why it's wrong here
Knowledge Bases perform retrieval over indexed documents for grounding responses; they do not define callable operations. Action groups, backed by OpenAPI schemas, are what let an agent invoke external APIs, so this misplaces the API definition in a retrieval component.
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
This AIF-C01 question is part of Courseiva's 862-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.