AWS Certified AI Practitioner · Free Practice Question Easy

Question 55

A company wants to use Amazon Comprehend to automatically route incoming customer emails to the appropriate department. Which feature should they use?

  • A

    Entity recognition

  • B

    Custom classification

  • C

    Key phrase extraction

  • D

    Sentiment analysis

Reveal correct answer

Correct answer: B

Explanation

Understanding the Core Requirement

The company's primary goal is to categorize incoming customer emails so that each email is directed to the relevant department (e.g., Sales, Support, Billing). This requires analyzing the content of each email to identify its subject matter and assign it to the appropriate category without manual intervention.

Evaluating Amazon Comprehend Features

  1. Entity Recognition

    Functionality:

    • Entity Recognition involves identifying and classifying key elements within text, such as names of people, organizations, locations, dates, and other specific terms.

    Relevance to Email Routing:

    • While this feature can extract important entities from emails, it does not inherently categorize the emails based on their content or intent.

    • For example, recognizing that an email mentions "Invoice #12345" identifies it as related to billing but doesn't provide a comprehensive categorization mechanism for all possible email topics.

    Conclusion:

    • Less Suitable: Entity Recognition is useful for extracting specific information but doesn't directly facilitate the automatic routing of emails to departments.

  2. Sentiment Analysis

    Functionality:

    • Sentiment Analysis assesses the emotional tone behind a series of words to determine whether the sentiment is positive, negative, or neutral.

    Relevance to Email Routing:

    • While understanding the sentiment of an email can provide insights into customer emotions, it does not aid in categorizing the email's subject matter for departmental routing.

    • For instance, both a complaint (negative sentiment) and a compliment (positive sentiment) could pertain to the same department, such as Customer Support.

    Conclusion:

    • Less Suitable: Sentiment Analysis helps gauge emotions but doesn't classify the content needed for routing purposes.

  3. Custom Classification

    Functionality:

    • Custom Classification allows users to train a model to categorize text into specific, predefined classes based on labeled examples.

    • This involves providing the system with examples of emails labeled according to the desired categories (e.g., Sales, Support, Billing).

    Relevance to Email Routing:

    • This feature is tailored to the exact requirement of the company. By training the classifier with examples of emails directed to each department, Amazon Comprehend can learn to accurately categorize new incoming emails based on their content.

    • For example, emails containing keywords like "purchase," "quote," or "pricing" can be classified under Sales, while those mentioning "refund," "issue," or "support" can be directed to Customer Support.

    Conclusion:

    • Highly Suitable: Custom Classification directly addresses the need to categorize and route emails to appropriate departments by leveraging tailored training data.

  4. Key Phrase Extraction

    Functionality:

    • Key Phrase Extraction identifies the most significant phrases within a text that capture the main topics or ideas.

    Relevance to Email Routing:

    • While extracting key phrases can highlight important topics within an email, it does not provide a mechanism to categorize the entire email based on these phrases.

    • For instance, identifying key phrases like "delivery delay" and "product quality" indicates areas of concern but doesn't automate the routing process to specific departments.

    Conclusion:

    • Less Suitable: Key Phrase Extraction offers insights into the content but lacks the classification capability required for routing.

Why Custom Classification is the Optimal Choice

Custom Classification stands out as the most effective feature for the company's objective due to the following reasons:

  1. Tailored Categorization:

    • Allows the creation of a custom model that understands the specific categories relevant to the company's departmental structure.

  2. Adaptability:

    • Can be trained with specific examples to recognize nuances and context within emails, ensuring accurate routing even with varied customer queries.

  3. Automation:

    • Eliminates the need for manual sorting of emails, thereby streamlining operations and reducing response times.

  4. Scalability:

    • As the volume of emails grows, the custom classifier can scale accordingly without compromising on accuracy.

Implementing Custom Classification for Email Routing

  1. Data Preparation:

    • Collect and Label Emails: Gather a representative set of customer emails and label them according to the departments they should be routed to.

  2. Model Training:

    • Train the Classifier: Use the labeled dataset to train Amazon Comprehend's custom classification model, enabling it to learn the characteristics of each category.

  3. Integration:

    • Automate Routing: Integrate the trained classifier with the company's email system to automatically assign incoming emails to the appropriate department based on the model's predictions.

  4. Continuous Improvement:

    • Monitor and Update: Regularly review the classifier's performance and retrain it with new data to maintain and enhance accuracy over time.

References:

A. Entity recognition in Amazon Comprehend is used to identify entities such as people, dates, locations, and more in text. While it can be useful for extracting specific information from customer emails, it is not directly related to routing emails to the appropriate department based on their content.

B. Custom classification in Amazon Comprehend allows users to create custom text classification models based on their specific needs. This feature is ideal for automatically categorizing incoming customer emails and routing them to the appropriate department based on predefined criteria, making it the correct choice for this scenario.

C. Key phrase extraction in Amazon Comprehend is used to identify key phrases or important words in text. While it can provide insights into the main topics discussed in customer emails, it does not have the capability to automatically route emails to different departments based on their content.

D. Sentiment analysis in Amazon Comprehend is used to determine the sentiment (positive, negative, neutral) of text. While it can help in understanding the tone of customer emails, it is not the feature that would enable automatic routing to different departments based on the email content.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need