nerdexam
MicrosoftMicrosoft

AI-102 · Question #75

AI-102 Question #75: Real Exam Question with Answer & Explanation

The correct answer is B: Call the client.Knowledgebase.CreateAsync method.. var createOp = await client.Knowledgebase.CreateAsync(createKbDto); https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/quickstarts/quickstart-sdk?ta bs=v1%2Cversion-1&pivots=programming-language-csharp#create-a-knowledge-base

Submitted by chen.hong· Mar 30, 2026

Question

You are building an Azure Weblob 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.

Options

  • ACreate a list of FileDTO objects that represents data from the WebJob.
  • BCall the client.Knowledgebase.CreateAsync method.
  • CCreate a list of QnADTO objects that represents data from the WebJob.
  • DCreate a CreateKbDTO object.

Explanation

var createOp = await client.Knowledgebase.CreateAsync(createKbDto); https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/quickstarts/quickstart-sdk?ta bs=v1%2Cversion-1&pivots=programming-language-csharp#create-a-knowledge-base

Topics

#QnA Maker KB creation#Cognitive Services SDK#QnAMakerClient#SDK method calls

Community Discussion

No community discussion yet for this question.

Full AI-102 PracticeBrowse All AI-102 Questions