exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 3 question 38 discussion

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

HOTSPOT
-

You are building a solution that students will use to find references for essays.

You use the following code to start building the solution.



For each of the following statements, select Yes is the statement is true. Otherwise, select No.

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
zellck
Highly Voted 1 year, 6 months ago
NNY is the answer. https://learn.microsoft.com/en-us/azure/cognitive-services/language-service/entity-linking/overview Entity linking 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. Entity linking identifies and disambiguates the identity of entities found in text. For example, in the sentence "We went to Seattle last week.", the word "Seattle" would be identified, with a link to more information on Wikipedia.
upvoted 24 times
famco
4 months ago
Big search is NO Next is whether the language is detected in code. That is another trick on the language but shows just sloppiness of this org. The language is detected because it is not sent in the code, but it is not used in the "shown code". So, how much intelligence should I attribute to the question creator?? I might answer Yes, assuming the question creator read the documentation
upvoted 1 times
famco
4 months ago
The code will not detect the language. There is no language set in the code and for that reason the language is set as "en", that is not "detecting" the language. Final answer: N N Y
upvoted 1 times
...
...
...
WhyWhyYellowYellow
Highly Voted 1 year, 9 months ago
Y N Y https://learn.microsoft.com/en-us/rest/api/cognitiveservices-textanalytics/3.0/entities-linking/entities-linking?tabs=HTTP
upvoted 14 times
ctrung
1 year, 6 months ago
Agreed. The json file consists of language attributes indicating the detected language. For the second statement, it's not always Bing search link.
upvoted 3 times
...
...
renziglov
Most Recent 4 months ago
N Y Y is correct First N - there should be additional code shown like "response.doc.primary_language.name". It is not shown (the language detection is available though) Second Y - Third Y - "LinkedEntity contains a link to the well-known recognized entity in text. The link comes from a data source like Wikipedia or Bing. It additionally includes all of the matches of this entity found in the document."
upvoted 2 times
pabsinaz
1 week, 4 days ago
However, not all the entity links will be Bing, as it can be another type. So the second answer is a big N.
upvoted 1 times
...
...
JakeCallham
4 months, 2 weeks ago
i dont know what image you guys are referring to but this doesnt make sense at all.
upvoted 3 times
famco
4 months ago
I have not seen many questions that make sense. First time I thought these questions are wrong. But you will be surprised how accurate this is with the real exam. Absolutely no sense
upvoted 1 times
...
...
anto69
5 months ago
NNY - LinkedEntity.Url normally contains a link to wikipedia
upvoted 1 times
...
omankoman
7 months, 2 weeks ago
No No Yes
upvoted 3 times
...
reiwanotora
7 months, 2 weeks ago
No No Yes
upvoted 3 times
...
JamesKJoker
7 months, 3 weeks ago
While the MS Learn specifically mention Wikipedia, the Class Doc for LinkedEnty refers to Bing. https://learn.microsoft.com/en-us/java/api/com.azure.ai.textanalytics.models.linkedentity?view=azure-java-stable So Bing answers are correct. => NYY
upvoted 3 times
...
JamesKJoker
7 months, 3 weeks ago
The code will detect the language of documents. No. The provided code doesn't include any language detection functionality. Azure Text Analytics does have separate language detection capabilities, but they aren't used in this snippet. The url attribute returned for each linked entity will be a Bing search link. No. The RecognizeLinkedEntities function in Azure Text Analytics usually returns links to more authoritative sources like Wikipedia, not general Bing search results. The matches attribute returned for each linked entity will provide the location in a document where the entity is referenced. Yes. The matches attribute within the response from RecognizeLinkedEntities provides details about where each recognized entity occurs in the input text. This includes information like character offsets, allowing you to locate the entity within the original text.
upvoted 3 times
...
Murtuza
9 months, 2 weeks ago
No, the code you provided does not detect the language of documents. It uses the RecognizeLinkedEntities method of the TextAnalyticsClient to identify and link entities in the text to more information on the web. Yes, the url attribute returned for each linked entity will be a Bing search link. This link provides more information about the entity. Yes, the matches attribute returned for each linked entity will provide the location in the document where the entity is referenced. It includes the text of the entity, its offset (the number of characters from the beginning of the document to the start of the entity), and its length (the number of characters of the entity).
upvoted 1 times
...
varinder82
9 months, 2 weeks ago
Final Answer: N N Y
upvoted 1 times
...
audlindr
10 months, 2 weeks ago
NNY Tried out and the response does not detect language. it just returns the language code sent in the request and only english and Spanish is supported. The version 3.1 returns Bing ID however all links returned are only wiki links
upvoted 3 times
...
evangelist
11 months, 1 week ago
The code will detect the language of documents **No**. The provided code uses the RecognizeLinkedEntities method, which recognizes and classifies named entities in a document and links them to more information on the web. Yes. The RecognizeLinkedEntities method returns a list of recognized entities linked to more information on the web, typically in the form of a Bing search URL. Yes. For each linked entity recognized by the RecognizeLinkedEntities method, the matches attribute contains information about occurrences of that entity within the input text.
upvoted 1 times
idcanymore
11 months ago
the question says "will", and not "typically". The question wants to know if it will ALWAYS be a bing link.
upvoted 1 times
...
...
Brandalf
11 months, 2 weeks ago
Incorrect image is displayed for me
upvoted 2 times
...
sismer
1 year, 1 month ago
N N Y he language that the document is written in. If unspecified, this value will be set to the default language in DefaultLanguage in the request sent to the service. If set to an empty string, the service will apply a model where the language is explicitly set to "None".
upvoted 3 times
...
rdemontis
1 year, 2 months ago
YNY https://learn.microsoft.com/en-us/dotnet/api/azure.ai.textanalytics.linkedentity?view=azure-dotnet
upvoted 1 times
...
[Removed]
1 year, 3 months ago
Properties of the Linked entity are: https://learn.microsoft.com/en-us/dotnet/api/azure.ai.textanalytics.linkedentity?view=azure-dotnet
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