Exam AI-102 All QuestionsBrowse all questions from this exam
Question 253

HOTSPOT

-

You have a chatbot.

You need to test the bot by using the Bot Framework Emulator. The solution must ensure that you are prompted for credentials when you sign in to the bot.

Which three settings should you configure? To answer, select the appropriate settings in the answer area.

NOTE: Each correct selection is worth one point.

    Correct Answer:

Discussion
zellck

1. Enter the local path to ngrok. 2. Enable Run ngrok when the Emulator starts up. 3. Enable Use version 1.0 authentication tokens. https://learn.microsoft.com/en-us/azure/bot-service/bot-service-debug-emulator?view=azure-bot-service-4.0&tabs=csharp#using-authentication-tokens

rdemontis

thanks for explanation

evangelist

What is ngrok? ngrok is a reverse proxy tool that creates a secure tunnel from a public endpoint to a locally running web service. It is widely used for testing local development versions of web applications, APIs, and bots, allowing them to be accessed over the internet. This is particularly useful for testing functionalities that require public accessibility, such as OAuth callbacks during authentication processes. By using ngrok, developers can simulate a production environment on their local machine, making it easier to test and debug features like sign-in flows that rely on external authentication services reaching the bot.

memayank2007

This question was in exam on 7/7/2024

Tin_Tin

The answer seems correct. https://learn.microsoft.com/en-us/azure/bot-service/bot-service-debug-emulator?view=azure-bot-service-4.0&tabs=csharp

973b658

No. 1st is OK. 2nd is OK. 3rd is "Use a sing-in verification code for OAuthCard"

Tin_Tin

3rd should be enable "Use version 1.0 authentication tokens". "Use a sing-in verification code for OAuthCard" is the setting for "Using a sign-in verification code"