exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 5 question 25 discussion

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

HOTSPOT
-

You build a bot named app1 by using the Microsoft Bot Framework.

You prepare app1 for deployment.

You need to deploy app1 to Azure.

How should you complete the command? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
james2033
Highly Voted 1 year, 8 months ago
webapp config-zip See command az webapp deployment source config-zip --resource-group "<resource-group-name>" --name "<name-of-app-service>" --src "<project-zip-path>" at https://learn.microsoft.com/en-us/azure/bot-service/provision-and-publish-a-bot?view=azure-bot-service-4.0&tabs=userassigned%2Ccsharp#publish-your-bot-to-azure
upvoted 27 times
AnonymousJhb
1 year, 6 months ago
answer is correct, if you agree,simply click the like button.
upvoted 7 times
...
rdemontis
1 year, 6 months ago
thanks for the provided reference
upvoted 3 times
...
...
zellck
Highly Voted 1 year, 10 months ago
1. webapp 2. config-zip https://learn.microsoft.com/en-us/azure/bot-service/provision-and-publish-a-bot?view=azure-bot-service-4.0&tabs=userassigned%2Ccsharp#publish-your-bot-to-azure
upvoted 10 times
...
syupwsh
Most Recent 2 months, 3 weeks ago
webapp is CORRECT because the Azure CLI command for deploying a bot application created with the Microsoft Bot Framework typically involves deploying it as a web app. This is consistent with using the az webapp deployment command to deploy the bot service to Azure. config-zip is CORRECT because this option is used to deploy a web app from a ZIP file. This is the appropriate command for deploying your bot application package (app1.zip) to Azure.
upvoted 2 times
...
mrg998
7 months, 3 weeks ago
bot service questions are no longer on the exam
upvoted 2 times
...
anto69
10 months ago
no doubt: "webapp" + "config-zip"
upvoted 1 times
...
evangelist
1 year, 3 months ago
To deploy app1 to Azure using the Microsoft Bot Framework, the correct command components are az webapp deployment source config-zip -- this command specifies that you're deploying a web app to Azure, using a zip file as the source of the deployment. The config-zip argument is used to deploy the application from a zipped source file. app1/ ├── .env (or appsettings.json for configuration settings) ├── index.js (entry point of your bot) ├── package.json (lists package dependencies) ├── node_modules/ (dependencies, can be excluded if using Azure for installation) └── dialogs/ (or any other directories with additional bot logic)
upvoted 3 times
...
Tin_Tin
1 year, 10 months ago
the answer seems correct https://learn.microsoft.com/en-us/azure/bot-service/provision-and-publish-a-bot?view=azure-bot-service-4.0&tabs=userassigned%2Cpython#publish-your-bot-to-azure
upvoted 3 times
...
[Removed]
1 year, 10 months ago
I did not find such command as "az bot deployment" there is only "az webapp deployment" az webapp deployment source config-zip --resource-group "<resource-group-name>" --name "<name-of-app-service>" --src "<project-zip-path>" az bot command is to manage a bot https://learn.microsoft.com/en-us/cli/azure/bot?view=azure-cli-latest
upvoted 2 times
...
kail85
1 year, 11 months ago
first one should be bot
upvoted 3 times
...
odisor
2 years ago
the answers is correct, this is asking how to deploy the app for the bot , not the bot resource: https://learn.microsoft.com/en-us/azure/bot-service/provision-and-publish-a-bot?view=azure-bot-service-4.0&tabs=userassigned%2Cpython#publish-your-bot-to-azure to deploy a bot resource: https://learn.microsoft.com/en-us/azure/bot-service/provision-azure-bot?view=azure-bot-service-4.0&tabs=userassigned
upvoted 3 times
MaliSanFuu
1 year, 11 months ago
i think its a bit tricky with the wording because the bot is named "app1", therefore i think bot should be correct
upvoted 3 times
...
...
Sachz88
2 years ago
The first box is incorrect. It should be "bot" ChatGPT: If you want to build a bot named app1 using the Microsoft Bot Framework, the deployment source you should use depends on your specific requirements and preferences. If you want to deploy your bot on Microsoft Azure, you can use the "azbot" deployment source. This deployment source provides a pre-configured Azure Bot Service that allows you to easily deploy your bot to the cloud. On the other hand, if you want to deploy your bot on a web server or hosting platform, you can use the "webapp" deployment source. This deployment source allows you to deploy your bot as a web application on a web server, using a programming language of your choice. The question clearly states: "You need to deploy app1 to Azure." Answer to the first box is "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