AI-102 Question 316
Select 2You have created a knowledge base in Azure Cognitive Services QnA Maker and need to publish it for use in a chatbot. Which of the following steps must be performed to successfully publish the knowledge base?
- A
Train the knowledge base after adding or editing questions and answers.
- B
Click the 'Publish' button in the QnA Maker portal to generate an endpoint for the knowledge base.
- C
Manually deploy the knowledge base as an Azure App Service after publishing it.
- D
Ensure the Azure Resource Group hosting the QnA Maker service is linked to your subscription.
- E
Generate a key and endpoint URL from the Azure portal after publishing the knowledge base.
Show answer and explanation
Correct answers: A, B
Explanation
Publishing a knowledge base in Azure QnA Maker involves training the knowledge base to process any changes and then clicking the 'Publish' button to create the endpoint URL. These steps ensure the knowledge base is ready for integration with other applications, such as chatbots. Additional manual deployment or key generation steps are not required, as QnA Maker handles these automatically.
- A. Correct.
Training the knowledge base ensures that all added or modified questions and answers are processed and optimized for interactions. This is a required step before publishing.
- B. Correct.
Clicking the 'Publish' button in the QnA Maker portal creates an endpoint URL for the knowledge base, making it accessible via APIs. This is a core step in the publishing process.
- C. Incorrect.
Manually deploying the knowledge base as an Azure App Service is not needed because the QnA Maker automatically handles the deployment during the publish process.
- D. Incorrect.
While linking the Azure Resource Group to your subscription is required during initial setup, it is not specifically part of the publishing process.
- E. Incorrect.
The endpoint URL and key are automatically generated when you publish the knowledge base in QnA Maker. You do not need to manually generate them in the Azure portal.