How to filter inappropriate images in an AWS chatbot?
Short answer
A Implement moderation APIs.
Question
Key Takeaways
This question tests knowledge of specific AWS services for content safety; the trap is confusing general model validation with active, real-time content moderation.
Amazon Rekognition Moderation APIs are the standard solution for automatically identifying and filtering inappropriate content in images. Community consensus confirms that integrating these APIs directly addresses safety requirements by screening outputs before they reach users.
Common mistake: Option C (Perform model validation) is incorrect because validation checks model accuracy during training, not the live output of a deployed application for harmful content.
Expert Analysis
Why the Answer Is Correct
Implementing moderation APIs, specifically Amazon Rekognition, allows the system to analyze image content in real-time against predefined unsafe categories like violence or explicit material. This service is designed to integrate directly into workflows to flag or block inappropriate media before it is displayed to the end-user.
Why the Other Options Are Wrong
Retraining the model (B) is inefficient and does not guarantee prevention of all inappropriate outputs, especially those involving new or nuanced contexts. Model validation (C) assesses performance metrics on a test set but does not actively moderate live traffic. User feedback integration (D) is reactive rather than proactive and cannot prevent the initial display of harmful content.
Community Comment Notes
Commenters highlight that Amazon Rekognition provides automatic identification of unsafe content, significantly reducing manual review needs. The consensus emphasizes that this approach ensures compliance with ethical standards and maintains high safety levels efficiently.
Official Reference
Array
This link opens the official vendor documentation in a new tab.
Exam Strategy
When dealing with 'safety' or 'content appropriateness' in generative AI questions, look for dedicated moderation services like Amazon Rekognition or Bedrock Content Filter. Avoid options related to retraining unless the issue is clearly a bias or accuracy problem in the model's core logic.
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 5 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 5
-
kyo 👍 2 Answered AAmazon Rekognition moderation APIs can help you automatically identify and filter inappropriate content in images and videos, reducing the need for manual human review. This can significantly improve efficiency and reduce costs while maintaining high standards of content moderation. For details, please refer to the following document: https://docs.aws.amazon.com/rekognition/latest/dg/moderation.html
-
dehkon 👍 2A. Implement moderation APIs. Moderation APIs can help filter out inappropriate or unwanted images by analyzing and moderating content before it is returned to users. This ensures that the chatbot maintains safe and appropriate interactions, reducing the risk of inappropriate images being shown.
-
jove 👍 2 Answered AModeration APIs are designed to filter and flag inappropriate or unwanted content, ensuring that the chatbot does not return harmful or unsuitable images. These APIs can scan images before they are returned to the user and block or flag any content that violates the company’s guidelines.
-
Moon 👍 1 Answered AA: Implement moderation APIs. Explanation: Moderation APIs are designed to detect and filter inappropriate or unwanted content, such as images, text, or videos. By integrating moderation APIs into the chatbot workflow, the company can screen and block inappropriate images before they are returned to users. This ensures compliance with ethical standards and avoids exposing users to harmful or unwanted content.
-
Jessiii 👍 1 Answered AA. Implement moderation APIs: Moderation APIs can help screen the content generated by the chatbot to ensure that inappropriate or unwanted images are not returned to users. These APIs can identify and filter out offensive, explicit, or harmful content before it's shown to the user. This is the most direct and effective way to ensure content is appropriate.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AIF-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full AIF-C01 Practice Test →