AI-102 Question 336
Single answerYou are managing a QnA Maker knowledge base for your company's customer support system. The team wants to review the knowledge base offline and make bulk updates, then reimport the changes back into the system. What is the recommended way to export the knowledge base for this purpose?
- A
Use the QnA Maker portal to download the knowledge base as a TSV file.
- B
Run an Azure CLI command to export the knowledge base in JSON format.
- C
Use the QnA Maker REST API to export the knowledge base as a JSON file.
- D
Enable export through the Azure portal and download the knowledge base in CSV format.
Show answer and explanation
Correct answer: C
Explanation
The QnA Maker REST API provides a mechanism to export the entire knowledge base in JSON format. This is the recommended approach for scenarios where you need to review the knowledge base offline or make bulk updates. Once the JSON file is modified, it can be re-imported into QnA Maker to update the knowledge base.
- A. Incorrect.
The QnA Maker portal does not provide a direct option to export the knowledge base as a TSV file. This option is not supported.
- B. Incorrect.
Azure CLI does not currently support direct export functionality for QnA Maker knowledge bases. This is not a valid method.
- C. Correct.
The QnA Maker REST API allows you to export the knowledge base in JSON format, which is suitable for offline reviews and bulk updates. This is the correct answer.
- D. Incorrect.
The Azure portal does not provide a specific export feature for QnA Maker knowledge bases, let alone in CSV format. This is not applicable.