Courseiva
easyMultiple Choice

AIF-C01 Practice Question: A developer wants to create an agent using Amazon…

A developer wants to create an agent using Amazon Bedrock Agents that can call an external API to check inventory levels. What must be defined in the agent configuration to enable this API call?

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

✓

An action group

Action groups define the set of actions (API calls) that an agent can perform. Each action group specifies the API schema and optionally a Lambda function for 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.

  • ✗

    A knowledge base

    Why it's wrong here

    A knowledge base supplies retrieved document context to the agent via embeddings; it cannot invoke an external inventory API. It is tempting because knowledge bases extend agent capability, but they serve retrieval-augmented generation, whereas API calls require an action group with an OpenAPI schema.

  • ✗

    A guardrail

    Why it's wrong here

    Guardrails filter and block harmful or disallowed content in prompts and responses; they do not define callable external operations. They are tempting as a safety configuration, but they belong to content moderation, whereas invoking an inventory API requires an action group with an OpenAPI schema.

  • ✓

    An action group

    Why this is correct

    An action group defines the API operations an agent may invoke, mapping them to an OpenAPI schema and a Lambda function that executes the call. This satisfies the stem's requirement to reach an external inventory API, since Bedrock Agents route tool use through action groups rather than raw prompts.

  • ✗

    A prompt template

    Why it's wrong here

    A prompt template shapes the instruction text sent to the foundation model; it cannot register or invoke an external API. It is tempting because prompts steer agent behaviour, but they govern model input, whereas API invocation requires an action group defining the OpenAPI schema.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

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 →

How Courseiva writes practice questions · Editorial policy

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.