exam questions

Exam AI-100 All Questions

View all questions & answers for the AI-100 exam

Exam AI-100 topic 2 question 10 discussion

Actual exam question from Microsoft's AI-100
Question #: 10
Topic #: 2
[All AI-100 Questions]

DRAG DROP -
You need to create a bot to meet the following requirements:
✑ The bot must support multiple bot channels including Direct Line.
✑ Users must be able to sign in to the bot by using a Gmail user account and save activities and preferences.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Step 1: From the Azure portal, configure an identity provider.
The Azure Bot Service and the v4 SDK include new bot authentication capabilities, providing features to make it easier to develop a bot that authenticates users to various identity providers, such as Azure AD (Azure Active Directory), GitHub, Uber, and so on.
Step 2: From the Azure portal, create an Azure Active Directory (Azure AD) B2C service.
Azure Active Directory B2C provides business-to-customer identity as a service. Your customers use their preferred social, enterprise, or local account identities to get single sign-on access to your applications and APIs.
Step 3: From the Azure portal, create a client application
You can enable communication between your bot and your own client application by using the Direct Line API.
Step 4: From the bot code, add the connection settings and OAuthPrompt
Use an OAuth prompt to sign the user in and get a token.
Azure AD B2C uses standards-based authentication protocols including OpenID Connect, OAuth 2.0, and SAML.
References:
https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-authentication?view=azure-bot-service-4.0

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
123aditya
3 years, 11 months ago
https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app correct sequence
upvoted 1 times
...
timosi
3 years, 11 months ago
my preferred order would be: Step 1: From the Azure portal, create a client application Step 2: From the Azure portal, create an Azure Active Directory (Azure AD) B2C service. Step 3: From the Azure portal, configure an identity provider. Step 4: From the bot code, add the connection settings and OAuthPrompt
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...