Win IT Exam with Last Dumps 2024


Microsoft AI-102 Exam

Page 20/25
Viewing Questions 191 200 out of 241 Questions
80.00%

Question 191
HOTSPOT -
You are building a bot and that will use Language Understanding.
You have a LUDown file that contains the following content.
AI-102_191Q_1.png related to the Microsoft AI-102 Exam
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:
AI-102_191Q_2.png related to the Microsoft AI-102 Exam
Image AI-102_191R.png related to the Microsoft AI-102 Exam



Reference:
https://github.com/solliancenet/tech-immersion-data-ai/blob/master/ai-exp1/README.md

Question 192
HOTSPOT -
You are designing a conversation flow to be used in a chatbot.
You need to test the conversation flow by using the Microsoft Bot Framework Emulator.
How should you complete the .chat file? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
AI-102_192Q.png related to the Microsoft AI-102 Exam
Image AI-102_192R.png related to the Microsoft AI-102 Exam



Reference:
https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-add-media-attachments?view=azure-bot-service-4.0&tabs=csharp

Question 193
You are building a chatbot by using the Microsoft Bot Framework Composer as shown in the exhibit. (Click the Exhibit tab.)
AI-102_193Q.png related to the Microsoft AI-102 Exam
The chatbot contains a dialog named GetUserDetails. GetUserDetails contains a TextInput control that prompts users for their name.
The user input will be stored in a property named name.
You need to ensure that you can dispose of the property when the last active dialog ends.
Which scope should you assign to name?



The dialog scope associates properties with the active dialog. Properties in the dialog scope are retained until the dialog ends.
Incorrect Answers:
A: The conversation scope associates properties with the current conversation. Properties in the conversation scope have a lifetime of the conversation itself.
These properties are in scope while the bot is processing an activity associated with the conversation (for example, multiple users together in a Microsoft Teams channel).
B: The user scope associates properties with the current user. Properties in the user scope do not expire. These properties are in scope while the bot is processing an activity associated with the user.
C: The turn scope associates properties with the current turn. Properties in the turn scope expire at the end of the turn.
Reference:
https://docs.microsoft.com/en-us/composer/concept-memory?tabs=v2x

Question 194
DRAG DROP -
You have a chatbot that uses a QnA Maker application.
You enable active learning for the knowledge base used by the QnA Maker application.
You need to integrate user input into the model.
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.
Select and Place:
AI-102_194Q.png related to the Microsoft AI-102 Exam
Image AI-102_194R.png related to the Microsoft AI-102 Exam



Step 1: For the knowledge base, select Show active learning suggestions.
In order to see the suggested questions, on the Edit knowledge base page, select View Options, then select Show active learning suggestions.
Step 2: Approve and reject suggestions.
Each QnA pair suggests the new question alternatives with a check mark, , to accept the question or an x to reject the suggestions. Select the check mark to
ג"
add the question.
Step 3: Save and train the knowledge base.
Select Save and Train to save the changes to the knowledge base.
Step 4: Publish the knowledge base.
Select Publish to allow the changes to be available from the GenerateAnswer API.
When 5 or more similar queries are clustered, every 30 minutes, QnA Maker suggests the alternate questions for you to accept or reject.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/improve-knowledge-base

Question 195
You need to enable speech capabilities for a chatbot.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.



You can use the Speech service to voice-enable a chat bot.
The Direct Line Speech channel uses the text-to-speech service, which has neural and standard voices.
You'll need to make a small configuration change so that your bot can communicate with the Direct Line Speech channel using web sockets.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk


Question 196
You use the Microsoft Bot Framework Composer to build a chatbot that enables users to purchase items.
You need to ensure that the users can cancel in-progress transactions. The solution must minimize development effort.
What should you add to the bot?



Handling interruptions is an important aspect of a robust bot. Users will not always follow your defined conversation flow, step by step. They may try to ask a question in the middle of the process, or simply want to cancel it instead of completing it.
Example:
If the user types "cancel", it calls CancelAllDialogsAsync on its inner dialog context, which clears its dialog stack and causes it to exit with a canceled status and no result value. To the MainDialog (shown later on), it will appear that the booking dialog ended and returned null, similar to when the user chooses not to confirm their booking. private async Task<DialogTurnResult> InterruptAsync(DialogContext innerDc, CancellationToken cancellationToken)
{
if (innerDc.Context.Activity.Type == ActivityTypes.Message)
{
var text = innerDc.Context.Activity.Text.ToLowerInvariant();
switch (text)
{
case "cancel":
case "quit":
var cancelMessage = MessageFactory.Text(CancelMsgText, CancelMsgText, InputHints.IgnoringInput); await innerDc.Context.SendActivityAsync(cancelMessage, cancellationToken); return await innerDc.CancelAllDialogsAsync(cancellationToken);
}
}
return null;
}
Reference:
https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-handle-user-interrupt

Question 197
SIMULATION -
You need to add a question pair to the published knowledge base used by a QnA Maker service named QNA12345678. The question must be: `What will be the next version of Windows?`
The answer must be: `Windows 11`.
To complete this task, sign in to the QnA Maker portal.



Step 1: Sign in to the QnA portal, then select the knowledge base to add the QnA pair to.
Step 2: On the EDIT page of the knowledge base, select Add QnA pair to add a new QnA pair.
AI-102_197E.jpg related to the Microsoft AI-102 Exam
Step 3: In the new QnA pair row, add the required question and answer fields. The other fields are optional. All fields can be changed at any time.
Question: What will be the next version of Windows?
Step 4: Select Save and train to see predictions including the new QnA pair.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/edit-knowledge-base

Question 198
You are designing a conversational interface for an app that will be used to make vacation requests. The interface must gather the following data:
• The start date of a vacation
• The end date of a vacation
• The amount of required paid time off
The solution must minimize dialog complexity.
Which type of dialog should you use?




Question 199
DRAG DROP
-
You build a bot by using the Microsoft Bot Framework SDK.
You need to test the bot interactively on a local machine.
Which three 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.
AI-102_199Q.png related to the Microsoft AI-102 Exam
Image AI-102_199R.png related to the Microsoft AI-102 Exam




Question 200
You create a bot by using the Microsoft Bot Framework SDK.
You need to configure the bot to respond to events by using custom text responses.
What should you use?








Premium Version