exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 1 question 30 discussion

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

HOTSPOT -
You are building an app that will process incoming email and direct messages to either French or English language support teams.
Which Azure Cognitive Services API should you use? 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: api/cognitive.microsofttranslator.com is used for translations.
Incorrect:
eastus.api.cognitive.microsoft.com is used for Face recognition.
Portal.azure.com is the URL of the Azure portal which is a web-based, unified console that provides an alternative to command-line tools. With the Azure portal, you can manage your Azure subscription using a graphical user interface. You can build, manage, and monitor everything from simple web apps to complex cloud deployments.
Box 2: /text/analytics/v3.1/entities/recognition/general

Named Entity Recognition -
The API returns a list of general named entities in a given document.
Request URL: https://{endpoint}/text/analytics/v3.1/entities/recognition/general[?model-version][&showStats][&loggingOptOut][&stringIndexType]
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-translate https://westcentralus.dev.cognitive.microsoft.com/docs/services/TextAnalytics-v3-1/operations/EntitiesRecognitionGeneral

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
Adedoyin_Simeon
Highly Voted 1 year, 11 months ago
The answer is wrong. Correct answer should be: Box1: https://eastus.api.cognitive.microsoft.com Box2: /text/analytics/v3.1/languages REF: https://learn.microsoft.com/en-us/rest/api/cognitiveservices-textanalytics/3.0/languages/languages?tabs=HTTP. NOTE: Pay special attention to the Sample Request provided. Request to the API should be of the form: POST {Endpoint}/text/analytics/v3.0/languages Where the {Endpoint} as stated under the sub-heading "URI Parameters" was described as quoted here (see "Description" column of the table): "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com)." So the sample given shows the correct format of the *endpoint* as https://{location}.api.cognitive.microsoft.com
upvoted 53 times
p2006
6 months, 2 weeks ago
https://westus.dev.cognitive.microsoft.com/docs/services/TextAnalytics-v3-1/operations/Languages
upvoted 1 times
...
ziggy1117
1 year, 6 months ago
this is correct: https://learn.microsoft.com/en-us/rest/api/cognitiveservices-textanalytics/3.1preview4/languages/languages?tabs=HTTP
upvoted 1 times
...
rdemontis
1 year, 1 month ago
correct! https://eastus.dev.cognitive.microsoft.com/docs/services/TextAnalytics-v3-0/operations/Languages/console
upvoted 3 times
...
...
mk1967
Highly Voted 2 years, 2 months ago
We only need to detect the language, so the Language Cognitive Service could be used, i.e.: POST {Endpoint}/text/analytics/v3.0/languages where Endpoint could be for example "westus" https://docs.microsoft.com/en-us/rest/api/cognitiveservices-textanalytics/3.0/languages/languages?tabs=HTTP
upvoted 11 times
...
moonlightc
Most Recent 3 months, 3 weeks ago
This was in the exam on 15/08/2024
upvoted 7 times
...
nanaw770
6 months, 2 weeks ago
1. eastus.api.cognitive.microsoft.com 2. /text/analytics/v3.1/languages
upvoted 1 times
...
nanaw770
6 months, 2 weeks ago
1. eastus.api.cognitive.microsoft.com 2. text/analytics/v3.1/languages
upvoted 2 times
...
funny_penguin
6 months, 2 weeks ago
on exam today 24/05/2024, Adedoyin_Simeon's response is the one I selected as well.
upvoted 1 times
...
reiwanotora
6 months, 2 weeks ago
eastus.api.cognitive.microsoft.com and /text/analytics/v3.1/languages
upvoted 1 times
...
varinder82
8 months, 2 weeks ago
Final Answer: Box1: https://eastus.api.cognitive.microsoft.com Box2: /text/analytics/v3.1/languages
upvoted 1 times
...
audlindr
9 months, 1 week ago
This was in 2-Mar-24 exam
upvoted 5 times
...
sca88
1 year ago
https://eastus.dev.cognitive.microsoft.com/docs/services/TextAnalytics.V2.0/operations/56f30ceeeda5650db055a3c7
upvoted 1 times
...
zellck
1 year, 5 months ago
1. eastus.api.cognitive.microsoft.com 2. /text/analytics/v3.1/languages https://learn.microsoft.com/en-us/rest/api/cognitiveservices-textanalytics/3.0/languages/languages Detect Language The API returns the detected language and a numeric score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. POST {Endpoint}/text/analytics/v3.0/languages - Endpoint Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com).
upvoted 8 times
...
Pixelmate
1 year, 5 months ago
This came in exam 28/06/2023
upvoted 3 times
...
ziggy1117
1 year, 6 months ago
The scenario needs a Language service. Specifically just a way to know if its in english or french. No translation is needed. Hence: Box1: https://eastus.api.cognitive.microsoft.com Box2: /text/analytics/v3.1/languages Source: https://learn.microsoft.com/en-us/rest/api/cognitiveservices-textanalytics/3.1preview4/languages/languages?tabs=HTTP
upvoted 3 times
...
RAN_L
1 year, 8 months ago
api.cogitive.microsofttranslator.com eastus.api.cognitive.microsoft.com portal.azure.com Out of these three options, only option 2 is a valid Azure Cognitive Services endpoint. The eastus.api.cognitive.microsoft.com endpoint is used for various Azure Cognitive Services, including the Text Analytics and Translator services. Option 1, api.cogitive.microsofttranslator.com, is not a valid endpoint for Azure Cognitive Services. It appears to be a typo, as "cogitive" is misspelled. Option 3, portal.azure.com, is the URL for the Azure portal, which is a web-based management interface for Azure services. It is not an endpoint for Azure Cognitive Services APIs. -./text/analytics/v3.1/languages One of the APIs that you can use to process incoming email and direct messages to either French or English language support teams is the Text Analytics API. The specific API endpoint you can use is /text/analytics/v3.1/languages. This API can detect the language of a given text and return the ISO 639-1 language code. You can then use this information to route the message to the appropriate language support team.
upvoted 3 times
Ody
8 months, 2 weeks ago
api.cognitive.microsofttranslator.com is a valid endpoint for text translation https://learn.microsoft.com/en-us/azure/ai-services/translator/quickstart-text-rest-api?tabs=csharp#prerequisites
upvoted 1 times
...
...
Nicoseal
1 year, 9 months ago
mk1967 and Adedoyin_Simeon are correct The correct answer should be: Box1: https://eastus.api.cognitive.microsoft.com Box2: /text/analytics/v3.1/languages
upvoted 4 times
...
Adedoyin_Simeon
1 year, 11 months ago
The answer is wrong. Correct answer should be: https://eastus.api.cognitive.microsoft.com & /text/analytics/v3.1/languages REF: https://learn.microsoft.com/en-us/rest/api/cognitiveservices-textanalytics/3.0/languages/languages?tabs=HTTP. NOTE: Pay special attention to the Sample Request provided. Request to the API should be of the form: POST {Endpoint}/text/analytics/v3.0/languages Where the {Endpoint} as stated under the sub-heading "URI Parameters" was described as quoted here (see "Description" column of the table): "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com)." So the sample given shows the correct format of the *endpoint* as https://{location}.api.cognitive.microsoft.com
upvoted 2 times
...
Adedoyin_Simeon
1 year, 11 months ago
The answer is wrong. Correct answer should be: https://eastus.api.cognitive.microsoft.com & /text/analytics/v3.1/languages REF: https://learn.microsoft.com/en-us/rest/api/cognitiveservices-textanalytics/3.0/languages/languages?tabs=HTTP. NOTE: Pay special attention to the Sample Request provided. Request to the API should be of the form: POST {Endpoint}/text/analytics/v3.0/languages Where the {Endpoint} as stated under the sub-heading "URI Parameters" was described as quoted here "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com)." So the sample given shows the correct format of the *endpoint* as https://{location}.api.cognitive.microsoft.com
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 ...