exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 5 question 1 discussion

Actual exam question from Microsoft's AI-102
Question #: 1
Topic #: 5
[All AI-102 Questions]

You build a bot by using the Microsoft Bot Framework SDK and the Azure Bot Service.
You plan to deploy the bot to Azure.
You register the bot by using the Bot Channels Registration service.
Which two values are required to complete the deployment? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. botId
  • B. tenantId
  • C. appId
  • D. objectId
  • E. appSecret
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️

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
zellck
Highly Voted 1 year, 7 months ago
Selected Answer: CE
CE is the answer. https://learn.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration?view=azure-bot-service-4.0&tabs=multitenant The identity information you need to add depends on the bot's application type. Provide the following values in your configuration file. - MicrosoftAppId The bot's app ID. - MicrosoftAppPassword The bot's app password.
upvoted 6 times
Alan_CA
1 month, 3 weeks ago
the Bot Framework isn't part of the exam's (AI-102) scope as of the 31st of October https://trainingsupport.microsoft.com/en-us/mcp/forum/all/ai-102-practice-exam-questions/05c54cce-cd0d-42ae-8be2-b76fb41c60fa
upvoted 2 times
louisaok
1 month, 3 weeks ago
Confirmed: As per maximizing resources, it's true that the Bot Framework isn't part of the exam's (AI-102) scope as of the 31st of October 2023.
upvoted 2 times
...
...
...
syupwsh
Most Recent 1 day, 17 hours ago
Selected Answer: CE
https://learn.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration?view=azure-bot-service-4.0&tabs=multitenant appId is CORRECT because the Application ID (appId) is a unique identifier for the bot, which is obtained from the Azure AD app registration when you register your bot. It is required for authentication and communication with the Azure Bot Service. appSecret is CORRECT because the Application Secret (appSecret) is a password-like value generated during the app registration process in Azure AD. It is used along with the appId to authenticate the bot and securely communicate with the Azure Bot Service. CE are correct
upvoted 1 times
...
Moneybing
5 months, 3 weeks ago
Selected Answer: CE
copilot says CE To deploy your bot to Azure, you’ll need the following two values: App ID: This is a unique identifier for your bot. It’s generated when you register your bot with the Bot Channels Registration service. The App ID is used to authenticate your bot when it communicates with channels. App Password/Secret: This is a secret key associated with your bot. It’s also generated during the registration process. The App Password is used for secure communication between your bot and the channels.
upvoted 1 times
...
reigenchimpo
8 months ago
Selected Answer: CE
CE is answer.
upvoted 2 times
...
nanaw770
8 months, 2 weeks ago
Selected Answer: CE
C and E are right answer.
upvoted 1 times
...
evangelist
1 year ago
Selected Answer: CE
The answer is correct
upvoted 2 times
...
rdemontis
1 year, 3 months ago
Selected Answer: CE
https://learn.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration?view=azure-bot-service-4.0&tabs=multitenant
upvoted 1 times
...
Eltooth
2 years, 6 months ago
Selected Answer: CE
C and E are correct answers. https://docs.microsoft.com/en-gb/learn/modules/design-bot-conversation-flow/5-deploy-bot
upvoted 4 times
Eltooth
2 years, 6 months ago
Create the Azure resources required to support your bot Your will need to create an Azure application registration to give your bot an identity it can use to access resources, and a bot application service to host the bot. Register an Azure app You can create the application registration by using the az ad app create Azure command-line interface (CLI) command, specifying a display name and password for your app identity. This command registers the app and returns its registration information, including a unique application ID that you will need in the following step. Create a bot application service Your bot requires a Bot Channels Registration resource, along with associated application service and application service plan. To create these resources, you can use the Azure resource deployment templates provided with the Bot Framework SDK template you used to create your bot. Just run the az deployment group create command, referencing the deployment template and specifying your bot application registration's ID (from the az ad app create command output) and the password you specified.
upvoted 1 times
...
...
reachmymind
2 years, 11 months ago
appId appSecret az deployment sub create --template-file "<path-to-template-with-new-rg.json>" --location <region-location-name> --parameters appType="MultiTenant" appId="<app-id-from-previous-step>" appSecret="<password-from-previous-step>" botId="<id or bot-app-service-name>" botSku=F0 newAppServicePlanName="<new-service-plan-name>" newWebAppName="<bot-app-service-name>" groupName="<new-group-name>" groupLocation="<region-location-name>" newAppServicePlanLocation="<region-location-name>" --name "<bot-app-service-name>" https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-deploy-az-cli?view=azure-bot-service-4.0&tabs=csharp%2Cmultitenant
upvoted 4 times
JTWang
2 years, 9 months ago
The bot channels registration registers your web service as a bot with the Bot Framework, provided you have a Microsoft App Id and App password (client secret). https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/tab-adaptive-cards/nodejs/Wiki/azure-bot-channels-registration.md#create-the-bot-channels-registration
upvoted 1 times
...
...
jayf
3 years, 5 months ago
Answer should be correct
upvoted 3 times
Mll1975
3 years, 3 months ago
Agree https://github.com/MicrosoftDocs/bot-docs/blob/live/articles/bot-service-quickstart-registration.md#update-the-bot
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago