Microsoft
AI-102 · Question #75
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 name
The correct answer is B. Call the client.Knowledgebase.CreateAsync method. D. Create a CreateKbDTO object.. 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.
How the community answered
(40 responses)- A5% (2)
- B85% (34)
- C10% (4)
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.