Based on the AIF-C01 exam guideReport an error
Yesterday we looked at 6 AI services that handle images, documents, text, and speech. Today we look at the remaining core services, Lex (chatbots), Kendra (search), Personalize (recommendations), and Forecast (forecasting), along with AWS's generative AI assistant Amazon Q, and then tie together every service we have seen so far by the criterion of "what to choose." The core is still purpose mapping, that is, "which service fits this scenario?"
Amazon Lex is a service for building chatbots and voicebots. It has been introduced as the same family of conversational technology used in Amazon Alexa, offered as a service. Lex's two core concepts:
Lex works out the intent from what the user says, asks again for any missing slots, and leads the conversation. The actual processing (executing the booking) is connected through Lambda.
User: "Book me a flight to Busan tomorrow"
└ Intent detection → book a flight
└ Slot filling → destination=Busan, date=tomorrow, departure=(empty)
Lex : "Where will you be departing from?" ← asks again for the empty slot
User: "Seoul"
└ Slots complete → call Lambda (execute the booking) → "Your booking is complete"
💡 Related theory: Lex provides NLU (natural language understanding) that understands voice/text input, along with conversation management. The clue "I want to build a conversational bot that handles customer inquiries" is the Lex signal. It can be confused with Bedrock Agents, but Lex is strong at building structured, intent/slot-based conversation bots, whereas Bedrock Agents is strong at performing multi-step tasks more flexibly through FM reasoning.
Amazon Kendra is a machine learning-based enterprise search service. It indexes documents scattered across the internal wiki, PDFs, SharePoint, S3, and so on, and when an employee asks a question in natural language, it finds where the accurate answer is.
It is not simple keyword search. It understands "the meaning of the question" to find the answer. If you ask "How many days of vacation do I get?", it points to the exact paragraph of the relevant policy document.
🔍 Going deeper: Kendra can take on the "retrieval" part of RAG powerfully, so it is used together with Bedrock as the backend of generative Q&A. "Natural-language search across multiple internal documents" is Kendra. You must distinguish it from Comprehend (text meaning analysis): Kendra is "finding," and Comprehend is "analyzing."
These two offer traditional ML tasks as managed services.
| Service | Task | Use cases |
|---|---|---|
| Personalize | Personalized recommendation | Product and content recommendations, personalized search |
| Forecast | Time-series forecasting | Demand forecasting, inventory planning, sales outlook |
The two are confusing because they resemble each other in "producing something from past data." The data they feed on and the answers they give differ.
| Aspect | Personalize | Forecast |
|---|---|---|
| Main ingredient | Records of users interacting with items (clicks, purchases, views) | Past figures with dates attached (daily sales and so on) |
| Shape of the answer | A different list of items for each user | A number at a future point in time |
| Question it answers | "What should I show this person?" | "How many will sell next month?" |
| Other uses | Similar items, re-ranking search results, picking out a group of users who would react to a given item | Planning staffing, server capacity, and energy demand |
As a hypothetical example, an e-commerce company used Forecast to predict demand by store and by product to optimize inventory, and used Personalize to provide per-user recommendations. Both were implemented with managed APIs without a data science team. If it is "predict a future figure," it is Forecast, and if it is "personalized recommendations for users," it is Personalize.
Amazon Q is a generative AI-based assistant. It splits into two branches by purpose.
| Aspect | Amazon Q Business | Amazon Q Developer |
|---|---|---|
| Audience | General employees and business work | Developers |
| What it does | Answers questions and summarizes based on internal data | Code generation, explanation, debugging, and AWS task support |
| Connects to | Internal systems such as wikis, documents, and apps | IDE, AWS console/CLI |
Both products are built on top of Amazon Bedrock. Q Business has three characteristics.
Bedrock and Amazon Q are different in nature. Bedrock is "a building block (API) for building a generative app myself," and Amazon Q is "an already finished generative assistant product." If you will design and develop a chatbot yourself, it is Bedrock; if you need a work or development assistant you can use right away, it is Amazon Q.
Product names change quickly in this area. Know both the names the latest edition of the exam guide uses and the old names.
| Role | Familiar name | Name now pointed to | Status |
|---|---|---|---|
| Generative assistant for work | Amazon Q Business | Amazon Quick | Q Business is not open to new customers |
| BI dashboards | Amazon QuickSight | The Quick Sight feature of Amazon Quick | Only the name changed; existing APIs stay the same |
| Coding assistant for developers | Amazon Q Developer (formerly CodeWhisperer) | Kiro | End of support has been announced for the Q Developer IDE plugin |
| Multi-step task agent | Amazon Bedrock Agents | Amazon Bedrock AgentCore | The existing one became Agents Classic and is not open to new customers |
Three conversational services. They all look like "chatbots," but how you build them differs.
| Aspect | Lex | Agents (Bedrock) | Amazon Q Business / Quick |
|---|---|---|---|
| What it is | A service for building bots | A building block for building agents | An already built assistant |
| What drives the conversation | Intents and slots I define | The FM's reasoning and tool selection | Behavior built into the product |
| Strength | Predictable, controlled flow; voice support | Responds flexibly even to requests not defined in advance | Adopted right away with no development |
| Cues that fit | "Inquiries with a set procedure such as booking or lookup," "phone handling" | "Judges several steps on its own and calls APIs" | "Employees ask questions about internal materials," "immediate adoption" |
Four search and knowledge services.
| Service | What it does | Output |
|---|---|---|
| Kendra | Indexes internal documents and finds them in natural language | Relevant documents and the passage containing the answer |
| Bedrock Knowledge Bases | Attaches what was found to an FM to write an answer (RAG) | A generated answer with citations |
| Q Business / Quick | Provides the above process as a finished assistant | A chat screen employees use right away |
| Comprehend | Analyzes the text it is given | Sentiment, entities, key phrases |
The most important thing on the exam is the "clue → service" connection.
| Scenario clue | Answer service |
|---|---|
| Several FMs through an API without management | Bedrock |
| Train and deploy a custom model on your own data | SageMaker |
| Image/video analysis | Rekognition |
| Extract data from documents (forms, tables) | Textract |
| Text sentiment and entity analysis (NLP) | Comprehend |
| Speech → text / text → speech | Transcribe / Polly |
| Language translation | Translate |
| Conversational chatbot, voicebot | Lex |
| Natural-language search over internal documents | Kendra |
| Personalized recommendation | Personalize |
| Time-series demand and sales forecasting | Forecast |
| Generative assistant for work (internal data) | Amazon Q Business |
| Coding assistant for developers | Amazon Q Developer |
This table is the conclusion of Week 4 and the key asset that decides your exam score. To prepare for when the clues in the table come out slightly twisted, here are the forks collected separately.
| Twisted clue | Answer | Eliminated option and why |
|---|---|---|
| "Take inquiries arriving by phone by voice and even handle the booking" | Lex | Transcribe: it only transcribes and cannot lead a conversation |
| "A chatbot judges requests outside a set procedure and calls several APIs" | Agent | Lex: it moves only within the intents you defined |
| "Employees ask questions about internal documents, adopted this month with no development staff" | Q Business (Amazon Quick) | Bedrock: you have to build it yourself |
| "Internal document search works, but I want the answer written as sentences" | Search + FM (RAG) | Kendra alone: it only finds |
| "Change the next screen's recommendations to reflect the item just viewed" | Personalize | Forecast: it does not build per-person lists |
| "Predict next quarter's sales by branch as numbers" | Forecast | Personalize: it does not predict figures |
| "Code autocompletion and security vulnerability checks in the IDE" | Q Developer (Kiro) | Q Business: a business assistant |
| "Pull out frequently mentioned topics and sentiment from review text" | Comprehend | Kendra: it is a finding service and does not analyze |
Where the costs arise also differs in character by service.
Tomorrow we do a comprehensive review of all of Week 4. We will organize every AI/ML service at once into a purpose-mapping table and compare the service pairs that are easy to confuse on the exam.
Click a choice to reveal the answer and explanation.
Question 1
You want to build a conversational chatbot/voice bot handling customer inquiries using Intent and Slot concepts. Which is the most appropriate service?
Question 2
You want employees to search documents scattered across internal wikis, PDFs, and SharePoint with natural language questions and find exact answer locations. Which is the most appropriate service?
Question 3
You want to recommend "products users would like" in real time based on their past behavior. Which is appropriate?
Question 4
Developers want immediate help with code generation, explanation, debugging, and AWS-related questions inside their IDE. Which is the most appropriate?
Question 5
You want to immediately adopt a "complete, ready-made business generative assistant" without designing and developing a chatbot yourself, connecting to internal data to answer employee questions with evidence. Which is the most appropriate?