exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 8 question 9 discussion

Actual exam question from Microsoft's AI-102
Question #: 9
Topic #: 8
[All AI-102 Questions]

HOTSPOT
-

You have an Azure subscription that contains an Azure AI Content Safety resource.

You are building a social media app that will enable users to share images.

You need to configure the app to moderate inappropriate content uploaded by the users.

How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
a8da4af
Highly Voted 6 months ago
Answer is ContentSafetyClient and client.AnalyzeImage(request);
upvoted 7 times
chrillelundmark
4 months, 3 weeks ago
Correct, here is a link... https://learn.microsoft.com/en-us/azure/ai-services/content-safety/quickstart-image?tabs=visual-studio%2Cwindows&pivots=programming-language-csharp
upvoted 2 times
...
...
syupwsh
Most Recent 2 months, 2 weeks ago
ContentSafetyClient is CORRECT. This class is part of the Azure AI Content Safety SDK and is used to interact with the content moderation service to analyze and moderate content such as images or text for inappropriate material. In this case, it allows the app to moderate the user-uploaded images for inappropriate content, which aligns with the goal of filtering and moderating content in a social media application. client.AnalyzeImage(request) is CORRECT. This method uses the ContentSafetyClient to analyze images for inappropriate content based on the provided request. The method is specifically designed for image analysis, which aligns with the requirement to moderate images uploaded by users in your app.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago