SaveMyCert
Log in
5 of 5 free questions left today·for 30 a day
Fundamentals of AI and ML

Practical AI Use Cases and the AWS AI Service Catalog (AIF-C01)

18 min readAIF-C01 · Fundamentals of AI and MLUpdated

AI and machine learning add the most value when a problem involves predicting an outcome or finding patterns in large amounts of data, where writing exact rules by hand would be impractical. This lesson covers Task 1.2 of the AIF-C01 exam: where AI/ML provides value (assisting human decisions, adding scalability, and enabling automation), when it is the wrong tool (when you need a guaranteed exact answer rather than a probabilistic prediction, or when the cost outweighs the benefit), how to pick a technique by problem type (regression, classification, or clustering), and which AWS managed services fit common jobs, including how to tell near-twin services apart and chain them into a pipeline. You will also learn to choose between a traditional ML model and a foundation model based on explainability, regulatory, and operational needs, and why the answer is not always the traditional model.

What you’ll learn
  • Recognize where AI/ML adds value: assisting human decisions, enabling scalability, and automating repetitive tasks.
  • Identify when AI/ML is not appropriate, especially when a guaranteed exact outcome is needed or the cost outweighs the benefit, and recognize objections that are not valid reasons to avoid ML.
  • Select the right technique by problem type: regression for continuous values, classification for categories, clustering for grouping, and distinguish clustering from anomaly detection.
  • Match real-world applications such as fraud detection, forecasting, knowledge bases, and agentic AI to the capability behind them.
  • Explain the capabilities of the core AWS managed AI services, including SageMaker AI, Transcribe, Translate, Comprehend, Lex, and Polly, and tell near-twin services apart.
  • Chain managed AI services into a pipeline in the right order, based on what each service accepts and returns.
  • Decide when a traditional ML model or a foundation model fits, based on explainability, regulation, data, and operational constraints.

Where AI and ML Add Value

AI and ML earn their keep in three broad situations that the exam names directly. The first is assisting human decision making: rather than replacing an expert, the model surfaces a prediction or ranking that a person then acts on, such as flagging the transactions most likely to be fraudulent so an analyst reviews those first. The second is scalability: a model can evaluate millions of items consistently and instantly in a way no human team could match, for example screening every product review or every login attempt as it happens. The third is automation: tasks that are repetitive and pattern-based, like sorting support tickets by topic or transcribing thousands of calls, can run without a person in the loop.

Underlying all three is a common signal: the problem involves recognizing patterns or predicting outcomes from data that is too large, too fast, or too nuanced for hand-written rules. If a task requires judgment based on many subtle examples, changes over time, or must operate at a volume beyond human capacity, it is a strong AI/ML candidate. On the exam, phrases like "analyze at scale," "detect patterns humans would miss," "personalize for each user," or "reduce manual effort" all point toward an AI/ML solution being appropriate.

When AI/ML Is NOT the Right Tool

Knowing when to say no is one of the most frequently tested points in this task. The headline rule: AI/ML produces probabilistic predictions, not guaranteed answers, so it is the wrong choice when a problem demands a specific, exact, deterministic outcome every time. If a task can be solved with a clear, fixed rule and must be exactly right, use conventional programming, not machine learning. Calculating sales tax, applying a documented refund policy, or summing a column of numbers all have one correct answer defined by a rule; wrapping them in an ML model would only add uncertainty. A model that is right ninety-nine percent of the time is unacceptable when the requirement is one hundred percent correctness.

The second reason to decline is a poor cost-benefit balance. Machine learning needs quality data, skilled effort, and ongoing operation (monitoring, retraining, and paying for inference), so if the problem is small, rarely occurs, or a simple rule already works well, the expense of building and maintaining a model is not justified. A related blocker is lack of sufficient, relevant data: a process that has produced only a handful of positive examples (for example, a defect type that has appeared only a few times across a decade of production records) gives a model almost nothing to learn from.

When ML is not justified, the cheaper alternative should support the existing control, not remove it. When an existing manual check is already working, the better move is usually to make that check easier, for example with simple rules or reports that surface the items most worth a closer look, rather than to remove the people doing it. Replacing a reliable human control with an unproven automated one trades a working safeguard for a brittle one.

Not every objection is a valid one. Some sound like reasons to avoid ML but are not:

ObjectionValid reason to avoid ML?Why
Every result must be exactly right, defined by a ruleYesML outputs a probable answer, not a guaranteed one
A short set of fixed rules already gives the right resultYesA model adds cost and uncertainty for no gain
Too little relevant data, or the task is rare and smallYesThe model cannot learn reliably or cannot repay its cost
The input data is tabular (rows and columns)NoTabular data is the most common input for traditional ML
A human will review each predictionNoAssisting human decisions is one of the main ways ML adds value
The team has no data scientistsNoPre-trained managed AI services need no ML expertise

Watch for wording like "needs a guaranteed exact answer," "outcome must be exactly correct," or "a simple deterministic rule already solves it" as signals that AI/ML is not appropriate.

Choosing a Technique: Regression, Classification, Clustering

When AI/ML does fit, the exam expects you to pick the technique that matches the problem type. The choice hinges on what you are trying to produce. Regression predicts a continuous numeric value, such as a price, a temperature, minutes until a delivery arrives, or expected demand. Classification predicts a category or class from a fixed set of options, such as spam versus not-spam, approve versus decline, or likely-to-cancel versus likely-to-renew; both regression and classification are supervised techniques that need labeled data (past examples with the known answer recorded). Clustering is an unsupervised technique that groups similar items together when you have no labels and want to discover natural segments, such as grouping customers by behavior.

You want toTechniqueLearning typeExample
Predict a number on a continuous scaleRegressionSupervisedEstimate a house price or next month's sales
Assign an item to a known categoryClassificationSupervisedLabel an email spam or not-spam
Group similar items with no labelsClusteringUnsupervisedSegment customers by purchasing behavior
Flag the rare items that deviate from normalAnomaly detectionUsually unsupervisedFlag a card transaction unlike the holder's usual spending

Decide by the output, not by the algorithm's name. Logistic regression, despite its name, is a classifier: it outputs the probability of a class and is used for yes/no decisions. A classifier that outputs a probability ("82% likely to cancel") is still classification, because the target is a category.

Clustering versus anomaly detection. Both can work without labels, but they answer different questions. Clustering partitions the whole population into groups, so every customer lands in some segment. Anomaly detection models what normal looks like and flags only the unusual few that deviate from it, which is the core of most fraud detection. If the goal is "which groups exist," it is clustering; if the goal is "which items do not fit," it is anomaly detection.

The fastest heuristic: a number as the answer means regression, a labeled bucket means classification, grouping without predefined labels means clustering, and spotting outliers means anomaly detection.

Real-World AI Applications

The exam lists concrete application areas, and recognizing each by its description is enough. Computer vision interprets images and video, powering quality inspection, medical image analysis, and face or object detection. Natural language processing (NLP) works with written language for sentiment analysis, entity extraction, and document classification. Speech recognition converts spoken audio into text, enabling call transcription and voice interfaces. Recommendation systems suggest products, content, or connections based on a user's behavior and similar users, and are what drive "customers also bought" features.

Fraud detection spots unusual or suspicious activity by learning what normal transactions look like and flagging the anomalies. Forecasting predicts future values from historical time-series data, such as future demand, staffing needs, or energy usage. Knowledge bases and intelligent search let users ask natural-language questions and get answers pulled from a body of documents, rather than scrolling through keyword results.

Agentic AI extends generative AI so a system can plan and carry out tasks by taking actions in other systems through tools, such as calling an ordering API to place a purchase order or booking a flight and sending the confirmation. The deciding feature is acting, not the number of steps. An assistant that searches a knowledge base, summarizes what it found, and cites its sources performs several steps, but it only reads and reports; it is retrieval (a knowledge base), not an agent. Once the assistant changes something outside itself, such as creating an order, updating a record, or sending a message on the user's behalf, it is agentic.

Assistant behaviorApplication
Searches documents, summarizes and cites themKnowledge base (read-only retrieval)
Checks data, then completes a transaction through a tool or APIAgentic AI

Tie each phrase to its capability: images to computer vision, audio to speech recognition, suggestions to recommendation systems, anomalies to fraud detection, answers from documents to knowledge bases, and actions taken on a user's behalf to agentic AI.

The AWS Managed AI Service Catalog

AWS offers pre-trained, managed AI services so you can add a capability with an API call instead of building and training a model yourself. Task 1.2 focuses on knowing each service by its purpose and what it accepts and returns.

  • Amazon Transcribe converts speech (audio files or streams) to text. It can label who said what: speaker diarization separates multiple speakers in a single audio channel, and channel identification transcribes each channel separately when the agent and caller are recorded on different channels. Transcribe Call Analytics, its contact-center variant, works on two-channel call audio (agent on one channel, customer on the other) and also returns per-turn customer and agent sentiment, call categories, and issue detection directly.
  • Amazon Polly does the reverse of Transcribe: it converts text to lifelike speech.
  • Amazon Translate translates text (and text documents) between languages. It does not accept audio.
  • Amazon Comprehend is the NLP service for text: it detects sentiment (positive, negative, neutral, or mixed), entities, key phrases, personally identifiable information, and the dominant language of a document. Its built-in features are pre-trained and work with no training data; custom classification and custom entity recognition train a model on labeled examples you provide.
  • Amazon Lex builds conversational interfaces (chatbots and voice bots) and uses the same conversational AI technology that powers Amazon Alexa. A Lex bot recognizes the user's intent (what they want, such as "book an appointment"), prompts for any missing required details called slots (such as the date, time and location), and then fulfills the request, typically by invoking an AWS Lambda function that calls a backend system.
ServiceWhat it doesTrigger phrase
Amazon TranscribeSpeech to text, with speaker labels"convert audio or calls to text"
Amazon PollyText to speech"read text aloud in a natural voice"
Amazon TranslateText translation between languages"translate content between languages"
Amazon ComprehendNLP: sentiment, entities, key phrases, language detection"analyze sentiment or extract entities"
Amazon LexChatbots and voice bots: intents, slots, fulfillment"build a chatbot or voice assistant"
Amazon RekognitionImage and video analysis (computer vision)"detect objects or faces in images"
Amazon TextractExtract text, forms, and tables from documents"pull data from scanned forms"
Amazon KendraIntelligent enterprise search / knowledge base"natural-language search over documents"
Amazon PersonalizeReal-time recommendations"personalized product recommendations"

A note on forecasting. Amazon Forecast, the managed time-series forecasting service, has been closed to new customers since July 2024; existing customers can keep using it. AWS points new users to time-series forecasting in Amazon SageMaker Canvas (part of SageMaker AI), so for a new account forecasting is built with SageMaker AI rather than a dedicated service.

The six services the task names are Comprehend, Transcribe, Translate, Polly, Lex, and SageMaker AI; Rekognition, Textract, Kendra, and Personalize round out the common use cases.

Telling Near-Twin Services Apart

Several managed AI services overlap at first glance, and the distinction is what each one actually understands. The table summarizes the pairs that are easiest to confuse.

NeedUseNotWhy
Fields as key-value pairs and rows of tables from scanned formsAmazon TextractAmazon RekognitionRekognition can detect words in images, such as a street sign or a caption, but only Textract understands document structure: form key-value pairs, tables, and their cells
Know which language a text is written inAmazon ComprehendAmazon TranslateComprehend detects the dominant language but does not translate
Convert text into another languageAmazon TranslateAmazon ComprehendTranslate produces the translated text; Comprehend only analyzes text
Positive/negative/neutral sentiment on everyday text, nothing to trainComprehend built-in sentimentComprehend custom classificationBuilt-in sentiment is pre-trained and works immediately; custom classification needs a labeled training set for your own categories
Speech to textAmazon TranscribeAmazon PollyPolly goes the other way, text to speech
A bot that asks follow-up questions before actingAmazon LexAmazon ComprehendLex manages the conversation (intents and slots) and hands off to fulfillment; Comprehend analyzes text but holds no dialogue

A useful habit is to name the input and output of each service. Transcribe takes audio and returns text. Translate takes text and returns text in another language. Comprehend takes text and returns insights about it. Polly takes text and returns audio. Textract takes document images and returns text plus structure. Rekognition takes images or video and returns labels, faces, and detected text.

Chaining Managed Services into a Pipeline

Managed AI services are often combined, and the order is decided by what each service accepts as input. Because Translate and Comprehend both work on text, any audio must go through Amazon Transcribe first.

  • How customers felt on recorded calls: Transcribe the audio to text, then send the text to Amazon Comprehend for sentiment. Alternatively, Transcribe Call Analytics returns per-turn customer and agent sentiment itself, so one service can do both jobs for contact-center calls.
  • Searchable English text from multilingual podcast episodes: Transcribe each episode in its source language, then translate the transcript with Amazon Translate; any text analysis, such as extracting key phrases, comes after. Translate cannot take audio directly, so whenever the input is speech, transcription is always the first step.
  • Reply to a written message in a spoken voice: generate or select the reply text, then use Amazon Polly to speak it.

Comprehend supports sentiment in a number of languages besides English, so translation is needed for the humans who must read the text, not always for Comprehend itself. Check what the requirement actually asks for: a readable English version needs Translate; a sentiment score alone may not.

Amazon SageMaker AI: When You Build Your Own

The pre-trained services above solve common, well-defined problems out of the box, but sometimes your problem is specific to your business, such as predicting churn from your own customer data or detecting defects unique to your product. That is where Amazon SageMaker AI fits. SageMaker AI is the fully managed service for the whole custom machine-learning workflow: you use it to build, train, and deploy your own models, with the infrastructure managed for you.

The distinction the exam draws is level of control versus effort. Managed AI services like Comprehend or Rekognition require no ML expertise and no training data of your own; you send a request and get a result, but you cannot change what the model does. SageMaker AI gives you full control to create a model tailored to your data and problem, at the cost of needing data and more skill. A simple decision rule: if a ready-made service already does the task, such as transcription or translation, use it; if you need a custom model trained on your own data, use SageMaker AI. Note that building the model pipeline in detail, along with MLOps and monitoring, belongs to Task 1.3, so here you only need to know what SageMaker AI is for.

Traditional ML versus Foundation Models

Task 1.2 asks when a traditional ML model is a better fit than a foundation model (FM), and the reverse. Foundation models are large, general-purpose models (the basis of generative AI) that are powerful and flexible but also large, costly to run, nondeterministic, and hard to fully explain. Traditional ML models, such as a regression or decision-tree model trained on your tabular data, are smaller, cheaper, and often far easier to interpret, but each one learns a single task from labeled examples. The right choice depends on constraints, not on which is more advanced.

ConstraintFavorsWhy
Explainability required for each individual decisionTraditional MLInterpretable models show which factors drove a specific outcome
Strict regulation of automated decisions (credit, healthcare)Traditional MLAuditable, consistent decisions are easier to defend
Tight cost or latency limits at high volumeTraditional MLSmaller models are cheaper and faster per prediction
Generating text, images, or codeFoundation modelOnly generative models create new content
Little or no labeled dataFoundation modelA pre-trained FM can be prompted without a labeled training set
One model serving many unrelated language tasksFoundation modelFMs generalize across tasks with prompting, where traditional ML needs one model per task
Data must stay in one AWS RegionNeitherBoth a SageMaker AI model and an FM on Amazon Bedrock (with in-Region inference, not a cross-Region inference profile) can run in a chosen Region, so residency alone does not decide

Regulation does not automatically mean traditional ML. What matters is what the model does. A retailer under strict consumer-protection rules that wants first drafts of product descriptions for thousands of new items, with no labeled training data and a copy editor reviewing every draft before it is published, is a good fit for a foundation model: the task is open-ended generation, and the human review is the control. The same retailer automatically approving or refusing refunds, where each decision must be justified to a regulator, points to traditional ML.

Generation versus retrieval of past answers. Retrieval, such as a similarity search over content you already have, needs no labels either, and it works well when the same requests recur. But it can only return text that already exists, so it cannot handle a request that nothing in the archive covers. A foundation model generates new text, which is what an open-ended drafting task needs.

A plausible rationale is not an explanation. When regulators require you to show which factors drove each individual decision, asking an LLM to write a justification does not meet the requirement. The text is generated after the fact, may not reflect how the decision was actually reached (it is not faithful), and can differ each time it is generated (it is nondeterministic). Citing the policy documents an FM retrieved through retrieval-augmented generation (RAG) has the same limit: it shows what the model read, not how this applicant's factors were weighed. Interpretable traditional models, together with feature-attribution tools such as Amazon SageMaker Clarify (covered in Task 4.2), give a per-decision explanation.

The common trap is assuming the biggest, newest model is always best; the opposite trap is assuming any regulated industry rules out foundation models. Decide from the task: per-decision explanation, consistency, and cheap high-volume scoring favor traditional ML; open-ended generation, scarce labels, and broad language tasks favor a foundation model.

Scenario: An Insurance Company Chooses Its Tools

Consider an insurer modernizing its operations, where each need maps to a different Task 1.2 answer. To decide which claims to pay automatically and which to route to a human, it must be able to explain and defend every decision to regulators, so it chooses a traditional ML classification model over a foundation model, and it keeps a person in the loop for borderline cases, an example of AI assisting human decision making. To estimate a fair premium, a continuous dollar amount, it uses regression. To predict next quarter's claim volume from years of history, it uses forecasting on time-series data, built in SageMaker AI. To turn long policy wording into plain-language summaries for customers, it uses a foundation model to draft them, with a staff member reviewing each summary before it is published.

For its contact center, the insurer converts recorded calls to text with Amazon Transcribe, with agent and caller labeled separately, gauges customer sentiment and pulls out key details with Amazon Comprehend, and answers common questions through a chatbot built on Amazon Lex that asks for a policy number before looking anything up. It reads fields and tables from scanned claim forms with Amazon Textract. When it wants to segment customers into groups with no predefined labels, it uses clustering. Finally, it decides not to use AI to calculate policy renewal dates, because that is a fixed, exact rule with one correct answer and needs no prediction. One company, and every core Task 1.2 judgment: value, non-value, technique choice, service choice, and model choice.

Tip. Task 1.2 questions are scenario-driven and ask you to choose the right tool or judge whether AI even fits. A frequently tested idea is recognizing when AI/ML is not appropriate: "needs a guaranteed exact answer," "a fixed rule with one correct result," or a small, rare task a person already handles well signals no ML, while tabular data or a human reviewer are not objections. Expect technique-selection questions decided by the output: a continuous value is regression, a known category is classification, groups with no labels is clustering. Service questions hinge on input and output: speech to text is Transcribe, text to speech is Polly, text translation is Translate, sentiment and language detection is Comprehend, a bot that asks for missing details is Lex, form fields and tables is Textract, a custom model on your own data is SageMaker AI; pipelines that start from audio begin with Transcribe. Agentic AI is identified by taking actions through tools. Finally, model-choice questions weigh constraints: per-decision explainability and regulated automated decisions favor traditional ML, while open-ended generation with scarce labels and human approval favors a foundation model.

Key takeaways
  • AI/ML adds value when a task needs prediction or pattern-finding at scale, assists human decisions, or automates repetitive work.
  • AI/ML is the wrong tool when a guaranteed exact answer is required, when a simple rule already works, or when the cost and data needed outweigh the benefit; tabular data, a human reviewer, or a team without data scientists are not reasons to avoid it.
  • Regression predicts continuous numbers, classification assigns known categories, clustering groups a whole unlabeled population, and anomaly detection flags the unusual few.
  • Match input and output to the service: speech to text is Transcribe, text to speech is Polly, text translation is Translate, sentiment, entities and language detection are Comprehend, conversational bots with intents and slots are Lex.
  • Textract understands document structure (forms and tables); Rekognition analyzes images and can detect text in them, but not form fields.
  • Audio must be transcribed before it can be translated or analyzed; Transcribe Call Analytics can return call sentiment by itself.
  • Agentic AI takes actions in other systems through tools; a multi-step assistant that only searches and summarizes is a knowledge base.
  • Use pre-trained managed services for common tasks; use SageMaker AI to build, train, and deploy a custom model on your own data. Amazon Forecast is closed to new customers.
  • Traditional ML fits per-decision explainability, regulated automated decisions, and cheap high-volume scoring; a foundation model fits open-ended generation, scarce labels, and many tasks in one model. An LLM-written rationale or RAG citation is not a per-decision explanation.

Frequently asked questions

When is AI or machine learning not the right solution?

AI/ML is not appropriate when a problem requires a guaranteed, exact, deterministic outcome rather than a probabilistic prediction. Machine learning gives you a best estimate, not a certainty, so tasks with one correct answer defined by a clear rule, such as calculating tax or applying a documented policy, should use conventional programming instead. It is also the wrong choice when the cost of building and maintaining a model outweighs the benefit, for example a small, rare task that one person already handles reliably, or when there is not enough relevant data to learn from. Tabular data, a human reviewing each prediction, or a team without data scientists are not reasons to avoid ML.

What is the difference between regression, classification, and clustering?

All three are machine-learning techniques chosen by what you want to predict. Regression predicts a continuous numeric value, such as a price or a delivery time. Classification predicts a category from a fixed set, such as spam or not-spam; both regression and classification are supervised and need labeled data. Clustering is unsupervised and groups similar items together when you have no labels and want to discover natural segments, such as grouping customers by behavior. Clustering differs from anomaly detection, which also needs no labels but flags only the few items that deviate from normal, as in fraud detection.

Which AWS service converts speech to text?

Amazon Transcribe converts speech to text, using automatic speech recognition to turn recorded or streaming audio, such as customer calls or meetings, into a written transcript. It can label each speaker through speaker diarization or transcribe each audio channel separately, and Transcribe Call Analytics adds per-turn sentiment for contact-center calls. Its counterpart is Amazon Polly, which converts text into lifelike speech. To analyze the resulting text you would use Amazon Comprehend, and to translate it into another language you would use Amazon Translate, which accepts text rather than audio.

What is Amazon SageMaker AI used for?

Amazon SageMaker AI is the fully managed AWS service for building, training, and deploying your own custom machine-learning models. You use it when a ready-made managed service does not fit your problem and you need a model trained on your own data, for example predicting churn from your customer records. It contrasts with pre-trained services like Amazon Comprehend or Amazon Rekognition, which require no ML expertise but cannot be tailored. The rule of thumb: use a managed service when one already solves the task, and use SageMaker AI when you need a custom model.

When should you use a traditional ML model instead of a foundation model?

Choose a traditional ML model when each individual decision must be explained, when automated decisions are regulated, or when tight cost and latency constraints apply at high volume. Traditional models, such as a decision tree or logistic regression on tabular data, are smaller, cheaper, faster, and easier to interpret. Choose a foundation model for open-ended generation, when you have little labeled data, or when one model must handle many language tasks, even in a regulated industry if a human approves every output. An LLM-written rationale or citations from retrieval-augmented generation do not explain how an individual decision was reached.

What are common real-world use cases for AI and machine learning?

Common applications include computer vision for interpreting images and video, natural language processing for understanding text, speech recognition for converting audio to text, and recommendation systems for suggesting products or content. Others are fraud detection for spotting suspicious activity, forecasting for predicting future values from historical time-series data, knowledge bases and intelligent search for answering natural-language questions from documents, and agentic AI for planning and carrying out multi-step tasks. On the exam, each phrase maps to a capability, so tie images to computer vision, audio to speech recognition, and anomalies to fraud detection.

Can Amazon Rekognition extract data from forms, or do I need Amazon Textract?

Use Amazon Textract to extract data from forms. Amazon Rekognition is a computer vision service for images and video; it can detect words that appear in an image, such as a sign or a caption, but it does not understand document structure. Textract is built for documents: it returns the text plus form fields as key-value pairs and tables with their rows and cells, which is what downstream processing of scanned forms needs.

What is the difference between Amazon Comprehend and Amazon Translate?

Amazon Comprehend analyzes text: it detects sentiment, entities, key phrases, personally identifiable information, and the dominant language a document is written in, but it does not translate. Amazon Translate converts text from one language to another. Both accept text, not audio, so recorded speech must be transcribed with Amazon Transcribe first. When the input is speech, transcription always comes first; translation and text analysis follow in whatever order the requirement needs.

Source

This lesson covers the "Fundamentals of AI and ML" domain of the official AIF-C01 exam guide. Vendors revise their guides — check the source for the current version.

Test yourself on this topic
Practice now

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.

Spotted a mistake in this lesson?