Free AI-102 Exam Braindumps (page: 32)

Page 31 of 83

You are building an Azure WebJob that will create knowledge bases from an array of URLs.
You instantiate a QnAMakerClient object that has the relevant API keys and assign the object to a variable named client.
You need to develop a method to create the knowledge bases.
Which two actions should you include in the method? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  1. Create a list of FileDTO objects that represents data from the WebJob.
  2. Call the client.Knowledgebase.CreateAsync method.
  3. Create a list of QnADTO objects that represents data from the WebJob.
  4. Create a CreateKbDTO object.

Answer(s): B,D

Explanation:


Reference:

https://docs.microsoft.com/en-us/rest/api/cognitiveservices-qnamaker/qnamaker4.0/knowledgebase/create



HOTSPOT (Drag and Drop is not supported)
You are developing an application that includes language translation.
The application will translate text retrieved by using a function named getTextToBeTranslated. The text can be in one of many languages. The content of the text must remain within the Americas Azure geography.
You need to develop code to translate the text to a single language.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



You are building a conversational language understanding model.
You need to enable active learning.
What should you do?

  1. Add show-all-intents=true to the prediction endpoint query.
  2. Enable speech priming.
  3. Add log=true to the prediction endpoint query.
  4. Enable sentiment analysis.

Answer(s): C

Explanation:


Reference:

https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-how-to-review-endpoint-utterances#log-user-queries-to-enable-active-learning



HOTSPOT (Drag and Drop is not supported)
You run the following command.
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:

  1. See Explanation section for answer.

Answer(s): A

Explanation:


Box 1: Yes
http://localhost:5000/status : Also requested with GET, this verifies if the api-key used to start the container is valid without causing an endpoint query.
Box 2: Yes
The command saves container and LUIS logs to output mount at C:\output, located on container host
Box 3: Yes
http://localhost:5000/swagger : The container provides a full set of documentation for the endpoints and a Try it out feature. With this feature, you can enter your settings into a web-based HTML form and make the query without having to write any code. After the query returns, an example CURL command is provided to demonstrate the HTTP headers and body format that's required.


Reference:

https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-container-howto






Post your Comments and Discuss Microsoft AI-102 exam with other Community members: