ExamGecko
Home / Microsoft / AI-102 / List of questions
Ask Question

Microsoft AI-102 Practice Test - Questions Answers, Page 3

Add to Whishlist

List of questions

Question 21

Report Export Collapse

DRAG DROP

You plan to build a chatbot to support task tracking.

You create a Language Understanding service named lu1.

You need to build a Language Understanding model to integrate into the chatbot. The solution must minimize development time to build 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. (Choose four.)

Microsoft AI-102 image Question 21 84010 09262024054204000
Correct answer: Microsoft AI-102 image answer Question 21 84010 09262024054204000
Explanation:

Step 1: Add a new application

Create a new app

1. Sign in to the LUIS portal with the URL of https://www.luis.ai.

2. Select Create new app.

3. Etc.

Step 2: Add example utterances.

In order to classify an utterance, the intent needs examples of user utterances that should be classified with this intent.

Step 3: Train the application

Step 4: Publish the application

In order to receive a LUIS prediction in a chat bot or other client application, you need to publish the app to the prediction endpoint.

Reference:

https://docs.microsoft.com/en-us/azure/cognitive-services/luis/tutorial-intents-only

asked 26/09/2024
Luis Campoy
43 questions

Question 22

Report Export Collapse

DRAG DROP

You are using a Language Understanding service to handle natural language input from the users of a web-based customer agent.

The users report that the agent frequently responds with the following generic response: "Sorry, I don't understand that." You need to improve the ability of the agent to respond to requests.

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. (Choose three.)

Microsoft AI-102 image Question 22 84011 09262024054204000
Correct answer: Microsoft AI-102 image answer Question 22 84011 09262024054204000
Explanation:

Step 1: Add prebuilt domain models as required.

Prebuilt models provide domains, intents, utterances, and entities. You can start your app with a prebuilt model or add a relevant model to your app later. Note: Language Understanding (LUIS) provides prebuilt domains, which are pre-trained models of intents and entities that work together for domains or common categories of client applications.

The prebuilt domains are trained and ready to add to your LUIS app. The intents and entities of a prebuilt domain are fully customizable once you've added them to your app.

Step 2: Enable active learning

To enable active learning, you must log user queries. This is accomplished by calling the endpoint query with the log=true querystring parameter and value.

Step 3: Train and republish the Language Understanding model

The process of reviewing endpoint utterances for correct predictions is called Active learning. Active learning captures endpoint queries and selects user's endpoint utterances that it is unsure of. You review these utterances to select the intent and mark entities for these real-world utterances. Accept these changes into your example utterances then train and publish. LUIS then identifies utterances more accurately.

Incorrect Answers:

Enable log collection by using Log Analytics

Application authors can choose to enable logging on the utterances that are sent to a published application. This is not done through Log Analytics.

Reference:

https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-how-to-review-endpoint-utterances#log-user-queries-to-enable-active-learning

https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-concept-prebuilt-model

asked 26/09/2024
Olga Trofimova
39 questions

Question 23

Report Export Collapse

HOTSPOT

You are building a chatbot by using the Microsoft Bot Framework Composer.

You have the dialog design shown in the following exhibit.

Microsoft AI-102 image Question 7 84012 09262024174204000000

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Microsoft AI-102 image Question 23 84012 09262024054204000
Correct answer: Microsoft AI-102 image answer Question 23 84012 09262024054204000
Explanation:

Box 1: No

User.name is a property.

Box 2: Yes

Box 3: Yes

The coalesce() function evaluates a list of expressions and returns the first non-null (or non-empty for string) expression.

Reference:

https://docs.microsoft.com/en-us/composer/concept-language-generation

https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/coalescefunction

asked 26/09/2024
StaΓ…Β‘o Zver
41 questions

Question 24

Report Export Collapse

HOTSPOT

You are building a chatbot for a Microsoft Teams channel by using the Microsoft Bot Framework SDK. The chatbot will use the following code.

Microsoft AI-102 image Question 8 84013 09262024174204000000

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Microsoft AI-102 image Question 24 84013 09262024054204000
Correct answer: Microsoft AI-102 image answer Question 24 84013 09262024054204000
Explanation:

Box 1: Yes

The ActivityHandler.OnMembersAddedAsync method overrides this in a derived class to provide logic for when members other than the bot join the conversation, such as your bot's welcome logic.

Box 2: Yes

membersAdded is a list of all the members added to the conversation, as described by the conversation update activity. Box 3: No

Reference:

https://docs.microsoft.com/en-us/dotnet/api/microsoft.bot.builder.activityhandler.onmembersaddedasync?view=botbuilder-dotnet-stable

asked 26/09/2024
Bart Hakstege
46 questions

Question 25

Report Export Collapse

HOTSPOT

You are reviewing the design of a chatbot. The chatbot includes a language generation file that contains the following fragment.

# Greet(user)

- ${Greeting()}, ${user.name}

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Microsoft AI-102 image Question 25 84014 09262024054204000
Correct answer: Microsoft AI-102 image answer Question 25 84014 09262024054204000
Explanation:

Box 1: No

Example: Greet a user whose name is stored in `user.name`

- ${ welcomeUser(user.name) }

Example: Greet a user whose name you don't know:

- ${ welcomeUser() }

Box 2: No

Greet(User) is a Send a response action.

Box 3: Yes

Reference:

https://docs.microsoft.com/en-us/composer/how-to-ask-for-user-input

asked 26/09/2024
Marcel Engelbrecht
49 questions

Question 26

Report Export Collapse

HOTSPOT

You are building a chatbot by using the Microsoft Bot Framework SDK.

You use an object named UserProfile to store user profile information and an object named ConversationData to store information related to a conversation.

You create the following state accessors to store both objects in state.

var userStateAccessors = _userState.CreateProperty<UserProfile>(nameof(UserProfile));

var conversationStateAccessors = _conversationState.CreateProperty<ConversationData>(nameof(ConversationData));

The state storage mechanism is set to Memory Storage.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Microsoft AI-102 image Question 26 84015 09262024054204000
Correct answer: Microsoft AI-102 image answer Question 26 84015 09262024054204000
Explanation:

Box 1: Yes

You create property accessors using the CreateProperty method that provides a handle to the BotState object. Each state property accessor allows you to get or set the value of the associated state property.

Box 2: Yes

Box 3: No

Before you exit the turn handler, you use the state management objects' SaveChangesAsync() method to write all state changes back to storage.

Reference:

https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-v4-state

asked 26/09/2024
Laura G
63 questions

Question 27

Report Export Collapse

HOTSPOT

You are building a chatbot that will provide information to users as shown in the following exhibit.

Microsoft AI-102 image Question 11 84016 09262024174204000000

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.

Microsoft AI-102 image Question 27 84016 09262024054204000
Correct answer: Microsoft AI-102 image answer Question 27 84016 09262024054204000
Explanation:

Box 1: A Thumbnail card

A Thumbnail card typically contains a single thumbnail image, some short text, and one or more buttons.

Incorrect Answers:

an Adaptive card is highly customizable card that can contain any combination of text, speech, images, buttons, and input fields.

a Hero card typically contains a single large image, one or more buttons, and a small amount of text.

Box 2: an image

Reference:

https://docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-reference

asked 26/09/2024
Derrick Dave T Alvarez
45 questions

Question 28

Report Export Collapse

HOTSPOT

You are building a bot and that will use Language Understanding.

You have a LUDown file that contains the following content.

Microsoft AI-102 image Question 12 84017 09262024174204000000

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.

Microsoft AI-102 image Question 28 84017 09262024054204000
Correct answer: Microsoft AI-102 image answer Question 28 84017 09262024054204000
Explanation:

Reference:

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

asked 26/09/2024
Pierre Smit
47 questions

Question 29

Report Export Collapse

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.

Microsoft AI-102 image Question 29 84018 09262024054204000
Correct answer: Microsoft AI-102 image answer Question 29 84018 09262024054204000
Explanation:

Reference:

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

asked 26/09/2024
Abid Ali Minhas
37 questions

Question 30

Report Export Collapse

You are building a chatbot by using the Microsoft Bot Framework Composer as shown in the exhibit. (Click the Exhibit tab.)

Microsoft AI-102 image Question 14 84019 09262024174204000000

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?

dialog
dialog
user
user
turn
turn
conversation
conversation
Suggested answer: A
Explanation:

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

asked 26/09/2024
Mohammad Wahid
50 questions
Total 323 questions
Go to page: of 33
Search

Related questions