Skip to Content

AI-900: Securing Bot Essential Steps Before Adding Azure Bot to Website

Learn the crucial steps of obtaining bot secrets and generating tokens for secure integration of Azure Bot Service on your website. Enhance your web presence with these essential bot control additions.

Table of Contents

Question

You want to add Web Chat control to your website. You created a bot using Azure Bot Service.

What two steps do you need to do before adding a bot control to your production web site?

A. Create a Knowledge base
B. Obtain bot’s secret
C. Create a QnA application
D. Generate token
E. Add additional channels

Answer

B. Obtain bot’s secret
D. Generate token

Explanation

Before adding a bot control to your production website after creating a bot using Azure Bot Service, you’ll need to:

B. Obtain the bot’s secret: This secret key enables secure communication between your website and the bot hosted on Azure.

D. Generate a token: This token serves as an authentication mechanism, ensuring that only authorized users or systems can access and communicate with your bot.

After you created a bot using Azure Portal, Bot Framework generates Web Chat control by default. You can embed this control within the website’s code. This control requires a secret key for bot access. You can find a secret key and code for embedding the bot’s control into the website under the Channels panel.

The secret key is a master key that allows you access to all bot’s conversations. Its free exposure creates a significant security risk. To limit this risk in a production environment, you need to generate a token based on the secret key. A token gives you access only to a single conversation and has an expiration term.

All other options are incorrect.

Microsoft Azure AI Fundamentals AI-900 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Azure AI Fundamentals AI-900 exam and earn Microsoft Azure AI Fundamentals AI-900 certification.

Microsoft Azure AI Fundamentals AI-900 certification exam practice question and answer (Q&A) dump