Courseiva
mediumMultiple Choice

AIF-C01 Practice Question: A company uses Amazon Bedrock Agents to automate…

A company uses Amazon Bedrock Agents to automate order processing. The agent needs to call an internal database to check inventory. Which component should be used to integrate the database query?

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

✓

Action group

Bedrock Agents use action groups to define external tools or APIs. Each action group has an associated AWS Lambda function that performs the actual work (e.g., querying a database). The agent can call the action group via natural language instructions.

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 base

    Why it's wrong here

    Knowledge bases perform retrieval-augmented generation over indexed documents, returning text passages to the model rather than executing queries. Bedrock Agents invoke action groups, backed by Lambda functions, to call APIs and databases. A knowledge base would suit answering policy questions from a document corpus, not live inventory lookups.

  • ✓

    Action group

    Why this is correct

    Action groups define the OpenAPI schema and Lambda function that an Amazon Bedrock agent invokes to fulfil a task, letting it query the internal inventory database during order processing. They satisfy the stem's requirement to integrate the database call, since the agent cannot reach external systems without an action group.

  • ✗

    Guardrail

    Why it's wrong here

    Guardrails filter and restrict model inputs and outputs against defined policies; they cannot execute database queries or return inventory data to the agent. They are tempting because guardrails enforce safe, compliant behaviour, which is the correct component when the requirement is content filtering rather than integrating an external system.

  • ✗

    Prompt template

    Why it's wrong here

    Prompt templates shape the instructions and context sent to the model; they cannot connect to or query an internal database. They are tempting because templates standardise and reuse prompt wording, which is the correct component when the requirement is consistent model prompting rather than integrating an external data source.

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

One of 862 original AIF-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.