AIF-C01 · Domain 1: Fundamentals of AI and ML · 20% of the exam
Task 1.2: Identify practical use cases for AI.
When AI earns its cost and when a fixed rule is the better answer, which technique fits which problem (regression, classification, clustering), and which managed AWS AI service already does the job.
Study it
When AI fits and when it does not: regression, classification, clustering
The managed AI services: Comprehend, Translate, Transcribe, Polly, Lex, Rekognition, Textract, Personalize
Lesson coming
Traditional ML or a foundation model: explainability, regulation and operational limits
Lesson coming
Sample questions
Try each one before opening the answer. Every option is explained, with the AWS documentation page that proves it.
Question 1 · choose 2
A company records its English-language support calls. It wants to turn each recording into text and then find out whether the customer's sentiment was positive, negative, neutral or mixed. Which AWS services should it combine? (Choose TWO.)
AAmazon Polly
BAmazon Transcribe
CAmazon Textract
DAmazon Comprehend
EAmazon Translate
Show the answer and why
AAmazon Polly
Incorrect
Amazon Polly converts text into lifelike speech, the opposite direction of what the company needs.
BAmazon Transcribe
Correct
Amazon Transcribe is an automatic speech recognition service that converts audio to text.
CAmazon Textract
Incorrect
Amazon Textract detects and extracts text, forms and tables from documents, not from audio.
DAmazon Comprehend
Correct
Amazon Comprehend uses natural language processing on text and can determine its sentiment as positive, negative, neutral or mixed.
EAmazon Translate
Incorrect
Amazon Translate translates text between languages. The calls are already in one language, and translation does not score sentiment.
Speech to text is Transcribe; insight from text, including sentiment, is Comprehend. Chaining managed AI services like this needs no ML expertise.
An online retailer has purchase histories for two million customers but no predefined customer categories. The marketing team wants to discover groups of customers who buy in similar ways. Which machine learning technique fits this goal?
ALinear regression
BBinary classification trained on labeled examples
CClustering
DMulticlass classification into existing segments
Show the answer and why
ALinear regression
Incorrect
Linear regression is a supervised technique that predicts a value on a continuous scale, such as a house price. It does not form groups.
BBinary classification trained on labeled examples
Incorrect
Classification predicts a known category and needs labeled training data. Here no categories exist yet; they have to be discovered.
CClustering
Correct
Clustering is an unsupervised technique that groups similar data inputs together. AWS lists grouping customers by purchasing behavior as a typical unsupervised learning use.
DMulticlass classification into existing segments
Incorrect
Multiclass classification assigns each input to one of several known labels. The retailer has no segment labels to train on.
No labels and a goal of discovering groups points to unsupervised learning, and specifically to clustering.
A video streaming service wants to show each viewer a "Top picks for you" row based on that viewer's watch history. The team has no machine learning experience and wants a managed service built for this. Which AWS service should it use?
AAmazon Personalize
BAmazon Comprehend
CAmazon Lex
DAmazon Rekognition
Show the answer and why
AAmazon Personalize
Correct
Amazon Personalize is a fully managed ML service that uses your data to generate item recommendations for your users, with video recommendations such as "Top picks for you" as a documented use case.
BAmazon Comprehend
Incorrect
Amazon Comprehend extracts insights such as entities, key phrases and sentiment from text. It does not generate recommendations.
CAmazon Lex
Incorrect
Amazon Lex builds conversational interfaces using voice and text, such as chatbots.
DAmazon Rekognition
Incorrect
Amazon Rekognition analyzes images and video, for example to detect objects or compare faces.
Recommendations from interaction history are the job Amazon Personalize was built for; the other three services analyze language or images.
An insurer receives thousands of scanned claim forms every day, some filled in by hand. It wants to pull values such as the policy number and the rows of an itemized costs table out of each form and into its claims database. Which AWS service is designed for this?
AAmazon Comprehend
BAmazon Rekognition
CAmazon Transcribe
DAmazon Textract
Show the answer and why
AAmazon Comprehend
Incorrect
Amazon Comprehend extracts insights such as entities, key phrases and sentiment from text. It is not built to pull form fields and table rows out of scanned documents.
BAmazon Rekognition
Incorrect
Amazon Rekognition is an image and video analysis service for objects, faces and unsafe content. Extracting forms and tables from documents is what Amazon Textract is documented for.
CAmazon Transcribe
Incorrect
Amazon Transcribe converts audio to text. The claims arrive as scanned documents, not recordings.
DAmazon Textract
Correct
Amazon Textract detects typed and handwritten text in documents and extracts text, forms and tables with its Document Analysis API.
Forms, tables and handwriting in scanned documents point to Amazon Textract.
A clinic wants customers to book and change appointments by talking or typing to a chatbot on its website and phone line. The team has no deep learning expertise. Which AWS service is built for this?
AAmazon Lex
BAmazon Polly
CAmazon Textract
DAmazon Personalize
Show the answer and why
AAmazon Lex
Correct
Amazon Lex builds conversational interfaces using voice and text, with natural language understanding and speech recognition, and needs no deep learning expertise.
BAmazon Polly
Incorrect
Amazon Polly turns text into lifelike speech. It can give a bot a voice but does not understand or manage a conversation.
CAmazon Textract
Incorrect
Amazon Textract extracts text, forms and tables from documents.
DAmazon Personalize
Incorrect
Amazon Personalize generates item recommendations from user data.
Conversational interfaces by voice and text are Amazon Lex; Polly only gives an application a voice.
An online store wants to show its product descriptions to shoppers in ten languages and keep the translations in step as descriptions change. Which AWS service fits?
AAmazon Polly
BAmazon Translate
CAmazon Comprehend
DAmazon Transcribe
Show the answer and why
AAmazon Polly
Incorrect
Amazon Polly converts text into speech in many languages; it does not translate text from one language into another.
BAmazon Translate
Correct
Amazon Translate is a text translation service for translating documents and building applications that work in multiple languages.
CAmazon Comprehend
Incorrect
Amazon Comprehend can detect a document's language and extract insights, but it does not translate the text.
DAmazon Transcribe
Incorrect
Amazon Transcribe converts speech in audio to text.
Text in one language to text in another is Amazon Translate.
A marketplace lets sellers upload product photos. It wants to flag images with inappropriate or offensive content automatically so that human moderators review only the flagged ones. Which AWS service fits?
AAmazon Comprehend
BAmazon Textract
CAmazon Personalize
DAmazon Rekognition
Show the answer and why
AAmazon Comprehend
Incorrect
Amazon Comprehend extracts insights from text. It does not moderate image content.
BAmazon Textract
Incorrect
Amazon Textract extracts text, forms and tables from documents; it does not judge whether an image is offensive.
CAmazon Personalize
Incorrect
Amazon Personalize recommends items to users. It does not inspect image content.
DAmazon Rekognition
Correct
Amazon Rekognition moderation APIs detect inappropriate, unwanted or offensive content in images and videos, so human moderators can focus on a smaller set of content.
Image and video moderation is a computer vision task, and Amazon Rekognition is the managed AWS service for it.
Which use case is better served by a traditional machine learning model trained on the company's own data than by a general-purpose foundation model?
ADrafting personalized marketing emails in several different tones of voice
BAnswering open-ended employee questions in a chat
CPredicting churn from account data with explainable results
DSummarizing long reports into short briefings
Show the answer and why
ADrafting personalized marketing emails in several different tones of voice
Incorrect
Generating varied text is a general task foundation models perform well out of the box.
BAnswering open-ended employee questions in a chat
Incorrect
Conversing in natural language is one of the general tasks foundation models are trained to perform.
CPredicting churn from account data with explainable results
Correct
Churn prediction on structured data is a classic predictive ML task, and when each decision must be explained, for example to regulators, a model whose behavior can be explained is required.
DSummarizing long reports into short briefings
Incorrect
Summarization is a general language task foundation models handle well without training a task-specific model.
Foundation models shine at general language and content tasks. A narrow prediction on structured data, with explainability or regulatory demands, often fits a traditional ML model better.