Courseiva

AIF-C01 Applications of Foundation Models Practice Question

Which TWO AWS services can be used together to build a chatbot that leverages a foundation model for natural language understanding?

⚠ Common exam trap

AWS often tests the distinction between services that handle conversational interfaces (Lex) versus those that provide generative AI models (Bedrock), tempting candidates to pick Polly (speech output) or Rekognition (vision) as part of a chatbot, when they are not core to NLU or FM integration.

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

✓

Amazon Lex

Amazon Lex (B) is correct because it provides the conversational interface—intents, utterances, slots, and dialog management—needed to build a chatbot that interprets user input. Amazon Bedrock (E) is correct because it offers access to foundation models via a managed API, supplying the natural language understanding and generative responses the chatbot requires; Lex can invoke Bedrock through a Lambda fulfillment function to combine both capabilities. Amazon Rekognition (A) is a computer-vision service for image and video analysis, not natural language understanding, so it does not fit. Amazon Polly (C) only converts text to speech for voice output and does not provide NLU or foundation-model reasoning. AWS Glue (D) is a serverless ETL and data-catalog service for analytics pipelines, unrelated to building conversational chatbots.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Amazon Rekognition

    Why it's wrong here

    Rekognition performs image and video analysis such as object and face detection, offering no text or conversational capability for a foundation-model chatbot. It is tempting because it is an AI service, but the required pairing is a foundation-model service with a conversational interface service.

  • ✓

    Amazon Lex

    Why this is correct

    Amazon Lex supplies the conversational interface, handling intent recognition, slot elicitation and dialogue flow, while Amazon Bedrock provides access to foundation models for natural language understanding. Together they satisfy the stem's requirement that two AWS services combine to build a foundation-model-powered chatbot.

  • ✗

    Amazon Polly

    Why it's wrong here

    Amazon Polly performs text-to-speech synthesis, converting written text into spoken audio; it cannot interpret user intent or generate conversational responses. It is tempting because voice output is part of many chatbots, and Polly would be the correct choice when the requirement is adding speech output to an existing bot.

  • ✗

    AWS Glue

    Why it's wrong here

    Glue is a serverless ETL service for cataloguing and transforming data; it neither hosts foundation models nor handles conversational turns. It is tempting because it is commonly paired with AI workloads for data preparation, but the chatbot needs a foundation-model service plus a conversational interface.

  • ✓

    Amazon Bedrock

    Why this is correct

    Amazon Bedrock supplies the foundation model that interprets user utterances, satisfying the natural language understanding requirement. Paired with a compute or orchestration service, it lets the chatbot invoke models via a managed API without infrastructure management. It is one of the two services the question demands.

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

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 →

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.