AI-102 Question 335
Single answerYou are working on a Conversational AI project using Azure Cognitive Services QnA Maker. Your team needs to export the knowledge base for backup purposes and to migrate it to another Azure subscription. Which method should you use to export the knowledge base?
- A
Use the QnA Maker portal to export the knowledge base in JSON format.
- B
Access the Azure Portal and download the knowledge base directly from the resource.
- C
Call the QnA Maker REST API's Export endpoint to retrieve the knowledge base in JSON format.
- D
Use Azure CLI to export the knowledge base directly into a new subscription.
Show answer and explanation
Correct answer: A
Explanation
To export a knowledge base in QnA Maker, the recommended method is to use the QnA Maker portal, which allows exporting the knowledge base in JSON format. This format is suitable for backup and migration purposes. While the REST API can also interact with the knowledge base, the portal provides a more user-friendly way to perform this task.
- A. Correct.
Correct: The QnA Maker portal provides an option to export the knowledge base in JSON format, which can be used for backup or migration purposes.
- B. Incorrect.
Incorrect: The Azure Portal does not provide a direct way to download the knowledge base. Exporting must be done via the QnA Maker portal or REST API.
- C. Incorrect.
Incorrect: While the QnA Maker REST API allows interaction with the knowledge base, exporting is typically done through the portal for simplicity.
- D. Incorrect.
Incorrect: The Azure CLI does not have a specific command to directly export a QnA Maker knowledge base. It is not a valid method for this scenario.