How to filter inappropriate images in an AWS chatbot?

A company has built a chatbot that can respond to natural language questions with images. The company wants to ensure that the chatbot does not return inappropriate or unwanted images. Which solution will meet these requirements?

  1. Implement moderation APIs. Source Reference Answer
  2. Retrain the model with a general public dataset.
  3. Perform model validation.
  4. Automate user feedback integration.

Community Votes

A
100%

100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

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.

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.

Community Discussion (5 comments)

Jessiii 👍 1 Selected: A
A. 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.
Moon 👍 1 Selected: A
A: 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.
kyo 👍 2 Selected: A
Amazon 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
jove 👍 2 Selected: A
Moderation 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.
dehkon 👍 2
A. 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.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

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

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.

Related Analysis

Practice All AIF-C01 Questions

Access 100 questions with complete answers and detailed explanations.

View Full AIF-C01 Practice Test →

← Back to AIF-C01 Study Guide