ExamQuestions.com

Register
Login
Microsoft Azure Exam Certification (AI-102) Exam Questions

Microsoft

Microsoft Azure Exam Certification (AI-102)

59 / 166

Question 59:

Review the code snippet given below and choose two statements that are true. 
<pre>static void ExampleCode(TextAnalyticsClient client)
{
var response = client.ExtractKeyPhrases("Enjoy sunny days in the winter weather");
Console.WriteLine(`Key phrases:`);
foreach (string keyphrase in response.Value)
{
Console.WriteLine($"{keyphrase}");
}
}
</pre> 

Answer options:

A.The output will contain the words “Enjoy”, “sunny”, “days”, “in”, “the”, “winter”, “weather”.
B.The sentence sentiment level would be displayed in the output.
C.<Response<KeyPhraseCollection> object will contain the list of detected key phrases.
D.The code will display the key phrases from input string onto the console.