AI-102 Question 317
Select 2You are designing a QnA Maker knowledge base for your customer support team. After creating and testing the knowledge base, you need to make it available for end-users through an API endpoint. Which actions must you perform to successfully publish the knowledge base in Azure?
- A
Click the 'Publish' button in the QnA Maker portal to deploy the knowledge base.
- B
Configure the App Service plan that hosts your QnA Maker endpoint.
- C
Enable the 'Azure Cognitive Search' resource associated with the knowledge base.
- D
Retrieve the endpoint URL and key from the Azure portal to integrate with your application.
- E
Assign the 'Reader' role to your knowledge base in Azure Role-Based Access Control (RBAC).
Show answer and explanation
Correct answers: A, D
Explanation
To publish a QnA Maker knowledge base, you must use the 'Publish' button in the QnA Maker portal, which deploys the knowledge base and makes it accessible through an API endpoint. After publishing, you need to retrieve the endpoint URL and access key from the Azure portal to integrate the knowledge base with your application. Other steps, such as configuring the App Service plan or assigning roles, are either automated or unnecessary during this process.
- A. Correct.
Correct. Clicking the 'Publish' button in the QnA Maker portal deploys the knowledge base and creates an API endpoint for integration.
- B. Incorrect.
Incorrect. While an App Service plan is used for hosting, it is not necessary to configure it manually during the publish process as it is already handled during resource creation.
- C. Incorrect.
Incorrect. Azure Cognitive Search is used in the backend for QnA Maker, but there is no need to enable it explicitly during the publish process.
- D. Correct.
Correct. After publishing, you need to retrieve the endpoint URL and key to allow your application to connect to the knowledge base.
- E. Incorrect.
Incorrect. Assigning the 'Reader' role is not required to publish or access the knowledge base through its API.