AI-102 exam dumps

AI-102 practice question 315 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 315

Single answer

You are building a chatbot using Azure Cognitive Services QnA Maker. After creating and training the knowledge base, you need to publish it to make it available for the chatbot to use. Which step is required to successfully publish the knowledge base?

  1. A

    Click the 'Save and Train' button in the QnA Maker portal

  2. B

    Navigate to the 'Publish' tab in the QnA Maker portal and click the 'Publish' button

  3. C

    Export the knowledge base as a JSON file and upload it to the chatbot

  4. D

    Create a new Azure Web App to deploy the chatbot

Show answer and explanation

Correct answer: B

Explanation

To make a QnA Maker knowledge base available for a chatbot or other application to use, it must be published. This is done in the QnA Maker portal by navigating to the 'Publish' tab and clicking the 'Publish' button. This step creates an endpoint that the chatbot can call to retrieve answers from the knowledge base.

  • A. Incorrect.

    'Save and Train' only saves changes and retrains the model but does not make the knowledge base available for use. Publishing is a separate step.

  • B. Correct.

    This is the correct step. Publishing the knowledge base in the QnA Maker portal makes it available via an endpoint that the chatbot can call.

  • C. Incorrect.

    Exporting the knowledge base as a JSON file is not required for publishing it. The publishing process automatically handles the endpoint creation.

  • D. Incorrect.

    Creating an Azure Web App is unrelated to publishing the knowledge base. The Web App is used for hosting the chatbot, not for making the knowledge base available.

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