AI-102 Question 334
Select 3You are managing a QnA Maker knowledge base for your organization. The team needs to export the knowledge base to inspect its contents and share it with external stakeholders. Which of the following steps must you follow to successfully export the knowledge base?
- A
Navigate to the Azure portal and download the QnA Maker knowledge base directly from the resource settings.
- B
Use the QnA Maker portal, choose the knowledge base, and select the 'Export Knowledge Base' option.
- C
Export the knowledge base in JSON format from the QnA Maker portal.
- D
Use the Azure CLI to directly export the knowledge base by running the
az qnamaker exportcommand. - E
Ensure you have the necessary permissions to access and export the QnA Maker knowledge base.
Show answer and explanation
Correct answers: B, C, E
Explanation
To export a QnA Maker knowledge base, you must use the QnA Maker portal, where you can select the knowledge base and export it in JSON format. Additionally, you must ensure that you have the necessary access rights to perform the export. The Azure portal and Azure CLI do not provide direct mechanisms for exporting a knowledge base, making options 2, 3, and 5 the correct choices.
- A. Incorrect.
Incorrect. The Azure portal does not provide a direct option to download the QnA Maker knowledge base. The export process is handled through the QnA Maker portal or APIs.
- B. Correct.
Correct. The QnA Maker portal provides an option to export the knowledge base, which is the recommended way for non-programmatic users.
- C. Correct.
Correct. The knowledge base is exported in JSON format, which is the standard format for QnA Maker exports.
- D. Incorrect.
Incorrect. The Azure CLI does not support direct export of QnA Maker knowledge bases. Exporting must be done via the QnA Maker portal or through API calls.
- E. Correct.
Correct. Exporting the knowledge base requires appropriate permissions, such as Contributor or Owner roles, on the QnA Maker resource.