Courseiva
mediumMultiple Select

AIF-C01 Practice Question: Using Amazon Bedrock Agents to build a travel…

A company is using Amazon Bedrock Agents to build a travel booking assistant that can search for flights, book hotels, and answer questions about travel policies. Which TWO components are required to enable the agent to call external services? (Select TWO.)

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 with API schema

Option A (Action group with API schema) is correct because an action group defines the set of tasks the Bedrock Agent can perform and includes an OpenAPI schema that describes the external APIs the agent can invoke, which is the mechanism for calling external services. Option B (AWS Lambda function) is correct because Bedrock Agents use Lambda functions as the compute layer to execute the business logic for action groups, receiving the agent's request and returning the API response. Option C (Amazon DynamoDB table) is not required; it is only a possible data store for the Lambda function's implementation, not a component that enables external service calls. Option D (Amazon SageMaker endpoint) is not required; it is used for hosting custom ML models, not for enabling agent action groups. Option E (Bedrock Knowledge Base) is not required; it provides retrieval-augmented generation over data sources for answering questions, not for calling external services.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Action group with API schema

    Why this is correct

    An action group with an API schema defines the operations the agent may invoke and maps them to external endpoints, satisfying the requirement to call services such as flight search and hotel booking. Amazon Bedrock Agents uses the OpenAPI schema to determine parameters and orchestrate each API call during task execution.

  • ✓

    AWS Lambda function

    Why this is correct

    AWS Lambda functions serve as action groups in Amazon Bedrock Agents, executing the business logic that calls external APIs for flight searches and hotel bookings. The agent invokes Lambda with parsed parameters from the user's request, satisfying the requirement to call external services. Lambda returns results the agent uses to formulate its response.

  • ✗

    Amazon DynamoDB table

    Why it's wrong here

    DynamoDB stores data but cannot be invoked as an action; Bedrock Agents call external services through action groups backed by Lambda functions. DynamoDB is tempting because agents may persist session state, and would be right for storing booking records, but it provides no callable service interface.

  • ✗

    Amazon SageMaker endpoint

    Why it's wrong here

    A SageMaker endpoint hosts a separately trained model; Bedrock Agents invoke external services through action groups backed by Lambda functions, not SageMaker. SageMaker is tempting because it also serves models, and would be correct for custom inference, but it provides no action-group integration for the agent.

  • ✗

    Bedrock Knowledge Base

    Why it's wrong here

    A Bedrock Knowledge Base provides a repository of static documents for retrieval-augmented generation (RAG), not the ability to execute live API calls to external services. It is tempting because it can store travel policy documents, which an agent might query for answers, but it lacks the action groups or Lambda functions required to invoke external flight or hotel booking systems. It would be correct only if the agent needed to answer policy questions from a fixed corpus, not to perform transactional operations.

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.