AWS AI Practitioner AIF-C01 · Fundamentals of AI and ML · easy

A customer-experience team wants to analyze 500,000 product reviews stored in Amazon S3 to automatically extract sentiment (Positive, Negative, Neutral, Mixed), key phrases, named entities, and dominant language without managing ML infrastructure. Which AWS AI service provides these natural language processing (NLP) capabilities?

Published · Last updated · checked before publication — how we verify questions

Options

  • AAmazon Rekognition Custom Labels for object bounding boxes
  • BAmazon Forecast for time-series inventory demand prediction
  • CAmazon Comprehend for sentiment and entity extractionCorrect answer
  • DAmazon Kendra for enterprise document search indexing

Answer: C. Amazon Comprehend for sentiment and entity extraction

Amazon Comprehend is the AWS managed natural language processing service. It analyzes unstructured text and returns sentiment (Positive, Negative, Neutral, Mixed), key phrases, named entities, and the dominant language, which matches every requirement in the scenario. Because it is a fully managed API, the team does not provision or tune any ML infrastructure. For a large archive such as 500,000 reviews in Amazon S3, Comprehend's asynchronous batch analysis jobs can read the documents from S3 and write results back to S3, while real-time calls suit small volumes. The concept to remember is to match the data type to the service: text analytics maps to Comprehend, images and video map to Rekognition, time series maps to Forecast, and search maps to Kendra. The common trap is picking a service because the question mentions documents or enterprise data, such as Kendra, when the actual task is extracting insights from the text rather than searching it.

Why the other options are wrong

  • A. Amazon Rekognition Custom Labels for object bounding boxes — Amazon Rekognition Custom Labels trains models to detect custom objects and scenes in images, and it returns bounding boxes. It works on visual data, so it cannot derive sentiment, key phrases, or entities from written product reviews.
  • B. Amazon Forecast for time-series inventory demand prediction — Amazon Forecast produces predictions from historical time-series data, such as demand or inventory levels. It does not process free-form text, so it cannot extract sentiment or entities from reviews.
  • D. Amazon Kendra for enterprise document search indexing — Amazon Kendra is an intelligent enterprise search service that indexes documents so users can ask questions and retrieve relevant answers. It helps find information but does not classify sentiment or extract entities, key phrases, and language in bulk.

All Fundamentals of AI and ML questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.