exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 4 question 1 discussion

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

HOTSPOT -
You are developing a text processing solution.
You develop the following method.

You call the method by using the following code.
GetKeyPhrases(textAnalyticsClient, "the cat sat on the mat");
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Yes -
The Key Phrase Extraction API evaluates unstructured text, and for each JSON document, returns a list of key phrases.

Box 2: No -
'the' is not a key phrase.
This capability is useful if you need to quickly identify the main points in a collection of documents. For example, given input text "The food was delicious and there were wonderful staff", the service returns the main talking points: "food" and "wonderful staff".

Box 3: No -
Key phrase extraction does not have confidence levels.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-keyword-extraction

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
joecruz
Highly Voted 3 years, 12 months ago
I think the answer is correct
upvoted 35 times
ABI2091
3 months, 2 weeks ago
Can someone tell me why it wont display confidence level?
upvoted 1 times
...
...
zellck
Highly Voted 1 year, 11 months ago
YNN is the answer. https://learn.microsoft.com/en-us/azure/cognitive-services/language-service/key-phrase-extraction/overview Key phrase extraction is one of the features offered by Azure Cognitive Service for Language, a collection of machine learning and AI algorithms in the cloud for developing intelligent applications that involve written language. Use key phrase extraction to quickly identify the main concepts in text. For example, in the text "The food was delicious and the staff were wonderful.", key phrase extraction will return the main topics: "food" and "wonderful staff". https://learn.microsoft.com/en-us/azure/cognitive-services/language-service/key-phrase-extraction/quickstart?pivots=programming-language-csharp#output
upvoted 9 times
zellck
1 year, 11 months ago
Gotten this in Jul 2023 exam.
upvoted 4 times
...
...
syupwsh
Most Recent 3 months, 3 weeks ago
repeat qn Yes No No
upvoted 1 times
...
mrg998
9 months, 2 weeks ago
YNN the way forward
upvoted 1 times
...
reiwanotora
1 year, 1 month ago
Yes No No
upvoted 2 times
...
rober13
1 year, 3 months ago
Same Question 67, Topic 3
upvoted 1 times
...
rdemontis
1 year, 7 months ago
correct answer
upvoted 2 times
...
Eltooth
2 years, 11 months ago
Answer is correct. Yes No No
upvoted 2 times
...
Ravnit
3 years, 6 months ago
Was on exam 27/11/2021
upvoted 4 times
...
Adedoyin_Simeon
3 years, 11 months ago
The answer is correct
upvoted 4 times
...
azurelearner666
3 years, 11 months ago
The response is correct. Check the sample code at https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/textanalytics/Azure.AI.TextAnalytics/samples/Sample3_ExtractKeyPhrases.md
upvoted 4 times
...
WillyMac
4 years ago
The First option is also NO. The code doesn't function, because "response" is of Type "KeyPhraseCollection", and this Class is a ReadOnlyCollection<string> and does not have a definition for: "Value"
upvoted 1 times
cavefish
4 years ago
response is of type Response<KeyPhraseCollection>, so value is the field with the result collection https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/quickstarts/client-libraries-rest-api?tabs=version-3-1&pivots=programming-language-csharp#key-phrase-extraction
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 ...