Q1 — AWS AIF-C01 Ch.2

Question 1 of 100 | ← Chapter 2

A company has developed a chatbot capable of answering natural language questions using images. The company wants to ensure the chatbot does not return inappropriate or unwanted images to users. Which solution meets this requirement?

Correct Answer: A. Implement a moderation API.

Explanation

To prevent the chatbot from returning inappropriate or unwanted images, a pre-delivery review step is required. Implementing a moderation API enables the chatbot to submit each image to an external moderation service via API before returning it to the user. Only images approved by the moderation system are delivered, satisfying the requirement. Other options—retraining with generic datasets, model validation, or automated user feedback integration—do not directly address real-time image screening and filtering prior to response delivery.