AIF-C01 Fundamentals of AI and ML Practice Question
A social media company needs to automatically detect and flag toxic comments in multiple languages. They have a large stream of user comments and require real-time moderation. Which AWS service is best suited for this task?
⚠ Common exam trap
It's easy for candidates to confuse Amazon Comprehend's NLP capabilities with Amazon Lex's conversational AI or Amazon Translate's language translation, assuming any language-related service can detect toxicity, but only Comprehend provides the specific text analysis APIs for content moderation.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Amazon Comprehend
Amazon Comprehend is the correct choice because it is a natural language processing (NLP) service that can perform real-time toxicity detection across multiple languages using its built-in content moderation and custom classification capabilities. It analyzes text streams to identify toxic comments (e.g., hate speech, threats) and integrates with AWS streaming services like Amazon Kinesis for real-time processing.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Amazon Lex
Why it's wrong here
Amazon Lex builds conversational chatbots using intents, slots and utterances; it does not classify free-text comments for toxicity. It is tempting because it is an NLP service, but it suits voice and text dialogue interfaces, not content moderation of multilingual comment streams.
- ✓
Amazon Comprehend
Why this is correct
Amazon Comprehend provides pre-trained natural language processing, including toxicity detection and multi-language support, and processes streaming text via real-time endpoints. This satisfies the stem's need for automatic, low-latency flagging of toxic comments across multiple languages.
- ✗
Amazon Rekognition
Why it's wrong here
Amazon Rekognition analyses images and video for objects, faces and unsafe visual content; it cannot process text comments. It is tempting because it offers moderation APIs, but those detect visual content, so it suits image and video screening, not multilingual text toxicity detection.
- ✗
Amazon Translate
Why it's wrong here
Amazon Translate converts text between languages but performs no toxicity classification, so flagged output would still require a separate moderation service. It is tempting because the comments are multilingual, but it suits localisation and translation workflows, not real-time detection of toxic content.
Go deeper
Related to this question
About these practice questions
This AIF-C01 question is part of Courseiva's 862-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AIF-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AIF-C01 exam.