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

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.

    Correct Answer:

Discussion
james2033

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

AnonymousJhb

answer is correct, if you agree,simply click the like button.

rdemontis

thanks for the provided reference

zellck

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

evangelist

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)

Tin_Tin

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

kail85

first one should be bot

odisor

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

MaliSanFuu

i think its a bit tricky with the wording because the bot is named "app1", therefore i think bot should be correct

[Removed]

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

Sachz88

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"

anto69

no doubt: "webapp" + "config-zip"