exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 2 question 19 discussion

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

HOTSPOT -
You are building an app that will enable users to upload images. The solution must meet the following requirements:
* Automatically suggest alt text for the images.
* Detect inappropriate images and block them.
* Minimize development effort.
You need to recommend a computer vision endpoint for each requirement.
What should you recommend? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: https://westus.api.cognitive.microsoft.com/customvision/v3.1/prediction/projectid/classify/iterations/publishName/image
Box 2: https://westus.api.cognitive.microsoft.com/vision/v3.2/analyze/?visualFeatures=Adult,Description
Computer Vision can detect adult material in images so that developers can restrict the display of these images in their software. Content flags are applied with a score between zero and one so developers can interpret the results according to their own preferences.
You can detect adult content with the Analyze Image API. When you add the value of Adult to the visualFeatures query parameter
Incorrect:
Use the Image Moderation API in Azure Content Moderator to scan image content. The moderation job scans your content for profanity, and compares it against custom and shared blocklists.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/computer-vision/concept-detecting-adult-content https://docs.microsoft.com/en-us/azure/cognitive-services/content-moderator/try-image-api https://docs.microsoft.com/en-us/legal/cognitive-services/custom-vision/custom-vision-cvs-transparency-note

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
Tanmay1178
Highly Voted 1 year, 6 months ago
I think it is vision/v3.2/analyze/?visualFeatures=Adult,Description for both
upvoted 31 times
...
zellck
Highly Voted 11 months, 2 weeks ago
1. https://westus.api.cognitive.microsoft.com/vision/v3.2/analyze/?visualFeatures=Adult,Description 2. https://westus.api.cognitive.microsoft.com/vision/v3.2/analyze/?visualFeatures=Adult,Description https://learn.microsoft.com/en-us/azure/cognitive-services/computer-vision/concept-describing-images Computer Vision can analyze an image and generate a human-readable phrase that describes its contents. The algorithm returns several descriptions based on different visual features, and each description is given a confidence score. The final output is a list of descriptions ordered from highest to lowest confidence.
upvoted 13 times
rdemontis
7 months, 1 week ago
thanks for explanation
upvoted 1 times
...
M25
9 months, 2 weeks ago
https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/use-case-alt-text?source=recommendations Alt text, or alternative text, is an HTML attribute added to the <img> tag that displays images on an application or web page. Alt text enables website owners to describe an image in plain text. These image descriptions improve accessibility by enabling screen readers such as Microsoft Narrator, JAWS, and NVDA to accurately communicate image content to their visually impaired and blind users. Alt text is also vital for image search engine optimization (SEO). It helps search engines understand the visual content in your images. The search engine is then better able to include and rank your website in search results when users search for the content in your website. Auto-generate alt text with Image Analysis: Image Analysis offers image captioning models that generate one-sentence descriptions of image visual content. Thank you @zellck!
upvoted 1 times
...
zellck
11 months, 2 weeks ago
https://learn.microsoft.com/en-us/azure/cognitive-services/computer-vision/concept-detecting-adult-content Computer Vision can detect adult material in images so that developers can restrict the display of these images in their software. Content flags are applied with a score between zero and one so developers can interpret the results according to their own preferences. You can detect adult content with the Analyze Image 3.2 API. When you add the value of Adult to the visualFeatures query parameter, the API returns three boolean properties—isAdultContent, isRacyContent, and isGoryContent—in its JSON response. The method also returns corresponding properties—adultScore, racyScore, and goreScore—which represent confidence scores between zero and one for each respective category.
upvoted 2 times
...
zellck
11 months, 1 week ago
Gotten this in Jul 2023 exam.
upvoted 4 times
zman_83
9 months, 3 weeks ago
Thank you for confirming that it a active/valid question, and it might appare in the exam
upvoted 2 times
...
TheCloudGuruu
11 months ago
zelleck, do you say this on every question?
upvoted 3 times
EliteAllen
10 months, 3 weeks ago
He does not, he doesn't say that in the next question Topic 2 Q20
upvoted 6 times
...
...
...
...
NagaoShingo
Most Recent 6 days, 1 hour ago
Adult Video
upvoted 1 times
...
taiwan_is_not_china
1 week, 6 days ago
Both will contain Adult,Description.
upvoted 2 times
...
takaimomoGcup
3 weeks ago
Generate alt text should be "v3.2/analyze". Detect inappropriate content should be "v3.2/analyze".
upvoted 2 times
...
evangelist
3 months, 3 weeks ago
description ==>Alt text
upvoted 2 times
...
propanther
7 months, 3 weeks ago
Both are https://westus.api.cognitive.microsoft.com/vision/v3.2/analyze/?visualFeatures=Adult,Description A string indicating what visual feature types to return. Multiple values should be comma-separated. Valid visual feature types include: Adult - detects if the image is pornographic in nature (depicts nudity or a sex act), or is gory (depicts extreme violence or blood). Sexually suggestive content (aka racy content) is also detected. Description - describes the image content with a complete sentence in supported languages. https://westus.dev.cognitive.microsoft.com/docs/services/computer-vision-v3-2/operations/56f91f2e778daf14a499f21b
upvoted 2 times
...
Tickxit
1 year, 8 months ago
I think it is two times /analyze/?visualFeatures=Adult,Description
upvoted 4 times
Anulf
1 year, 8 months ago
Shouldn't it be option 2 in the first column ? "iteratio"
upvoted 1 times
...
...
firewind
1 year, 8 months ago
Generate alt text can use either analyze or describe. From the given option, I think it should be the analyze url too. https://westcentralus.dev.cognitive.microsoft.com/docs/services/computer-vision-v3-2/operations/56f91f2e778daf14a499f21f
upvoted 2 times
Rob77
1 year, 1 month ago
Agreed, analyze in both answers
upvoted 1 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