AI-102 Question 97
Select 3You are developing an application that processes user-uploaded images and uses Azure AI Content Safety to moderate inappropriate content. The solution must flag images containing adult or gory content and provide a confidence score for flagged content. Additionally, you want to ensure that flagged content is stored in an Azure Blob Storage container for further review. Which steps should you implement to fulfill these requirements?
- A
Use the Azure AI Content Safety API to analyze images and set the 'visualContent' category to detect adult and gory content.
- B
Configure the Azure AI Content Safety API to return confidence scores for flagged content and enable real-time moderation.
- C
Set up Azure Blob Storage and configure the Content Safety API to automatically store flagged images in the container.
- D
Manually upload flagged images to Azure Blob Storage based on the response from the Content Safety API.
- E
Use Logic Apps to automate the process of saving flagged images to Azure Blob Storage based on the API response.
Show answer and explanation
Correct answers: A, B, E
Explanation
To implement an image moderation solution using Azure AI Content Safety, the 'visualContent' category must be configured to detect inappropriate content. The API should be set to return confidence scores, which help assess the flagged content's severity. Since the API does not natively store flagged images in Blob Storage, Logic Apps can automate this process, enabling seamless integration and review of flagged content.
- A. Correct.
Correct. Using the Azure AI Content Safety API and specifying the 'visualContent' category ensures detection of inappropriate content, including adult and gory imagery.
- B. Correct.
Correct. Enabling confidence scores and real-time moderation is essential for evaluating the severity of the flagged content and making actionable decisions.
- C. Incorrect.
Incorrect. The Azure AI Content Safety API does not have built-in functionality to automatically store flagged images in Blob Storage. Additional steps are required for this functionality.
- D. Incorrect.
Incorrect. While manual uploading is possible, it does not align with the requirement for an automated solution.
- E. Correct.
Correct. Logic Apps can be used to automate the workflow of saving flagged images to Azure Blob Storage by processing the API's response programmatically.