AI-102 exam dumps

AI-102 practice question 335 of 493

Designing and Implementing a Microsoft Azure AI Solution. Professional level, Microsoft. Free question with the correct answer and a full explanation.

AI-102 Question 335

Single answer

You 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?

  1. A

    Use the QnA Maker portal to export the knowledge base in JSON format.

  2. B

    Access the Azure Portal and download the knowledge base directly from the resource.

  3. C

    Call the QnA Maker REST API's Export endpoint to retrieve the knowledge base in JSON format.

  4. 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.

Timed practice exam

Take a AI-102 practice test under exam conditions

40 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam