AWS Certified AI Practitioner (AIF-C01) — Question 349

A company wants to use an ML model to analyze customer reviews on social media. The model must determine if each review has a neutral, positive, or negative sentiment.

Which model evaluation strategy will meet these requirements?

Answer options

Correct answer: D

Explanation

Classification is the correct strategy because assigning predefined labels such as positive, negative, or neutral to text data is a standard text classification task. Other options like text summarization, machine translation, and open-ended generation are generative tasks designed to produce new text rather than sorting inputs into discrete categories. Therefore, a classification model evaluation is the only method that aligns with sorting reviews into specific sentiment classes.