NEW 2024 Certification Sample Questions AI-102 Dumps & Practice Exam
AI-102 Deluxe Study Guide with Online Test Engine
NEW QUESTION # 119
You are building a Language Understanding model for purchasing tickets.
You have the following utterance for an intent named PurchaseAndSendTickets.
Purchase [2 audit business] tickets to [Paris] [next Monday] and send tickets to [[email protected]] You need to select the entity types. The solution must use built-in entity types to minimize training data whenever possible.
Which entity type should you use for each label? To answer, drag the appropriate entity types to the correct labels. Each entity type may be used once, more than once, or not at all.
You may need to drag the split bar between panes or scroll to view content.
Answer:
Explanation:
Explanation
Graphical user interface, application Description automatically generated
Box 1: GeographyV2
The prebuilt geographyV2 entity detects places. Because this entity is already trained, you do not need to add example utterances containing GeographyV2 to the application intents.
Box 2: Email
Email prebuilt entity for a LUIS app: Email extraction includes the entire email address from an utterance.
Because this entity is already trained, you do not need to add example utterances containing email to the application intents.
Box 3: Machine learned
The machine-learning entity is the preferred entity for building LUIS applications.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-reference-prebuilt-geographyv2
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-reference-prebuilt-email
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/reference-entity-machine-learned-entity
NEW QUESTION # 120
You have the following C# method for creating Azure Cognitive Services resources programmatically.
You need to call the method to create a free Azure resource in the West US Azure region. The resource will be used to generate captions of images automatically.
Which code should you use?
- A. create_resource(client, "res1", "CustomVision.Prediction", "F0", "westus")
- B. create_resource(client, "res1", "ComputerVision", "F0", "westus")
- C. create_resource(client, "res1", "ComputerVision", "S0", "westus")
- D. create_resource(client, "res1", "CustomVision.Prediction", "S0", "westus")
Answer: A
Explanation:
Explanation
https://azure.microsoft.com/en-us/pricing/details/cognitive-services/computer-vision/
NEW QUESTION # 121
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.
Answer:
Explanation:
Explanation
NEW QUESTION # 122
You are building a chatbot.
You need to configure the chatbot to query a knowledge base.
Which dialog class should you use?
- A. SkillDialog
- B. QnAMakerDialog
- C. AdaptiveDialog
- D. ComponentDialog
Answer: B
NEW QUESTION # 123
You are building an app that will process incoming email and direct email messages to either French or English language support teams.
Which Azure Cognitive Services API should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Explanation
NEW QUESTION # 124
You are building a chatbot by using the Microsoft Bot Framework Composer.
You have the dialog design shown in the following exhibit.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Answer:
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
NEW QUESTION # 125
You are developing a solution to generate a word cloud based on the reviews of a company's products.
Which Text Analytics REST API endpoint should you use?
- A. sentiment
- B. IceyPhrases
- C. languages
- D. entities/recognition/general
Answer: B
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview
NEW QUESTION # 126
You are developing a call to the Face API. The call must find similar faces from an existing list named employeefaces. The employeefaces list contains 60,000 images.
How should you complete the body of the HTTP request? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Explanation
Box 1: LargeFaceListID
LargeFaceList: Add a face to a specified large face list, up to 1,000,000 faces.
Note: Given query face's faceId, to search the similar-looking faces from a faceId array, a face list or a large face list. A "faceListId" is created by FaceList - Create containing persistedFaceIds that will not expire. And a
"largeFaceListId" is created by LargeFaceList - Create containing persistedFaceIds that will also not expire.
Reference:
https://docs.microsoft.com/en-us/rest/api/faceapi/face/findsimilar
NEW QUESTION # 127
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.
Answer:
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-v4-state
NEW QUESTION # 128
You build a QnA Maker resource to meet the chatbot requirements.
Which RBAC role should you assign to each group? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/concepts/role-based-access-control
NEW QUESTION # 129
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.
Answer:
Explanation:
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
NEW QUESTION # 130
You have an Azure Cognitive Search resource named Search 1 that is used by multiple apps You need to secure Search 1. The solution must meet the following requirements:
* Prevent access to Search1 from the internet.
* Limit the access of each app to specific queries
What should you do? To answer, select the appropriate options in the answer area NOTE Each correct answer is worth one point.
Answer:
Explanation:
NEW QUESTION # 131
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Explanation
NEW QUESTION # 132
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.
Answer:
Explanation:
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
NEW QUESTION # 133
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You build a language model by using a Language Understanding service. The language model is used to search for information on a contact list by using an intent named FindContact.
A conversational expert provides you with the following list of phrases to use for training.
Find contacts in London.
Who do I know in Seattle? Search for contacts in Ukraine.
You need to implement the phrase list in Language Understanding.
Solution: You create a new entity for the domain.
Does this meet the goal?
- A. No
- B. Yes
Answer: A
Explanation:
Instead use a new intent for location.
Note: An intent represents a task or action the user wants to perform. It is a purpose or goal expressed in a user's utterance.
Define a set of intents that corresponds to actions users want to take in your application. Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-concept-intent
NEW QUESTION # 134
You are developing a text processing solution.
You develop the following method.
You call the method by using the following code.
GetKeyPhrases(textAnalyticsClient, "the cat sat on the mat");
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Explanation
Box 1: Yes
The Key Phrase Extraction API evaluates unstructured text, and for each JSON document, returns a list of key phrases.
Box 2: No
'the' is not a key phrase.
This capability is useful if you need to quickly identify the main points in a collection of documents. For example, given input text "The food was delicious and there were wonderful staff", the service returns the main talking points: "food" and "wonderful staff".
Box 3: No
Key phrase extraction does not have confidence levels.
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-keyword-
NEW QUESTION # 135
Select the answer that correctly completes the sentence.
Answer:
Explanation:
Explanation
NEW QUESTION # 136
You are planning the product creation project.
You need to recommend a process for analyzing videos.
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.)
Answer:
Explanation:
Explanation
Scenario: All videos must have transcripts that are associated to the video and included in product descriptions.
Product descriptions, transcripts, and all text must be available in English, Spanish, and Portuguese.
Step 1: Upload the video to blob storage
Given a video or audio file, the file is first dropped into a Blob Storage. T Step 2: Index the video by using the Video Indexer API.
When a video is indexed, Video Indexer produces the JSON content that contains details of the specified video insights. The insights include: transcripts, OCRs, faces, topics, blocks, etc.
Step 3: Extract the transcript from the Video Indexer API.
Step 4: Translate the transcript by using the Translator API.
Reference:
https://azure.microsoft.com/en-us/blog/get-video-insights-in-even-more-languages/
https://docs.microsoft.com/en-us/azure/media-services/video-indexer/video-indexer-output-json-v2
NEW QUESTION # 137
You are developing the shopping on-the-go project.
You are configuring access to the QnA Maker resources.
Which role should you assign to AllUsers and LeadershipTeam? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Explanation
Box 1: QnA Maker Editor
Scenario: Provide all employees with the ability to edit Q&As.
The QnA Maker Editor (read/write) has the following permissions:
Create KB API
Update KB API
Replace KB API
Replace Alterations
"Train API" [in
new service model v5]
Box 2: Contributor
Scenario: Only senior managers must be able to publish updates.
Contributor permission: All except ability to add new members to roles
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/reference-role-based-access-control
NEW QUESTION # 138
You are developing the shopping on-the-go project.
You need to build the Adaptive Card for the chatbot.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:

NEW QUESTION # 139
You are developing the knowledgebase by using Azure Cognitive Search.
You need to build a skill that will be used by indexers.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Explanation
Box 1: "categories": ["Locations", "Persons", "Organizations"],
Locations, Persons, Organizations are in the outputs.
Scenario: Contoso plans to develop a searchable knowledgebase of all the intellectual property Note: The categories parameter is an array of categories that should be extracted. Possible category types:
"Person", "Location", "Organization", "Quantity", "Datetime", "URL", "Email". If no category is provided, all types are returned.
Box 2: {"name": " entities"}
The include wikis, so should include entities in the outputs.
Note: entities is an array of complex types that contains rich information about the entities extracted from text, with the following fields name (the actual entity name. This represents a "normalized" form) wikipediaId wikipediaLanguage wikipediaUrl (a link to Wikipedia page for the entity) etc.
Reference:
https://docs.microsoft.com/en-us/azure/search/cognitive-search-skill-entity-recognition
NEW QUESTION # 140
You are developing an application that includes language translation.
The application will translate text retrieved by using a function named getTextToBeTranslated. The text can be in one of many languages. The content of the text must remain within the Americas Azure geography.
You need to develop code to translate the text to a single language.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
NEW QUESTION # 141
You have a factory that produces food products.
You need to build a monitoring solution for staff compliance with personal protective equipment (PPE) requirements. The solution must meet the following requirements:
* identify staff who have removed masks or safety glasses.
* Perform a compliance check every 15 minutes.
* Minimize development effort.
* Minimize costs.
Which service should you use?
- A. Face
- B. Azure Video Analyzer for Media (formerly Video indexer)
- C. Computer Vision
Answer: A
NEW QUESTION # 142
You are building a Language Understanding model for purchasing tickets.
You have the following utterance for an intent named PurchaseAndSendTickets.
Purchase [2 audit business] tickets to [Paris] [next Monday] and send tickets to [[email protected]] You need to select the entity types. The solution must use built-in entity types to minimize training data whenever possible.
Which entity type should you use for each label? To answer, drag the appropriate entity types to the correct labels. Each entity type may be used once, more than once, or not at all.
You may need to drag the split bar between panes or scroll to view content.
Answer:
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-reference-prebuilt-geographyv2
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-reference-prebuilt-email
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/reference-entity-machine-learned-entity
Topic 2, Wide World Importers
Existing Environment
A company named Wide World Importers is developing an e-commerce platform.
You are working with a solutions architect to design and implement the features of the e-commerce platform. The platform will use microservices and a serverless environment built on Azure.
Wide World Importers has a customer base that includes English, Spanish, and Portuguese speakers.
Applications
Wide World Importers has an App Service plan that contains the web apps shown in the following table.
Azure Resources
You have the following resources:
An Azure Active Directory (Azure AD) tenant
The tenant supports internal authentication.
All employees belong to a group named AllUsers.
Senior managers belong to a group named LeadershipTeam.
An Azure Functions resource
A function app posts to Azure Event Grid when stock levels of a product change between OK, Low Stock, and Out of Stock. The function app uses the Azure Cosmos DB change feed.
An Azure Cosmos DB account
The account uses the Core (SQL) API.
The account stores data for the Product Management app and the Inventory Tracking app.
An Azure Storage account
The account contains blob containers for assets related to products.
The assets include images, videos, and PDFs.
An Azure Cognitive Services resource named wwics
A Video Indexer resource named wwivi
Requirements
Business Goals
Wide World Importers wants to leverage AI technologies to differentiate itself from its competitors.
Planned Changes
Wide World Importers plans to start the following projects:
A product creation project: Help employees create accessible and multilingual product entries, while expediting product entry creation.
A smart e-commerce project: Implement an Azure Cognitive Search solution to display products for customers to browse.
A shopping on-the-go project: Build a chatbot that can be integrated into smart speakers to support customers.
Business Requirements
Wide World Importers identifies the following business requirements for all the projects:
Provide a multilingual customer experience that supports English, Spanish, and Portuguese.
Whenever possible, scale based on transaction volumes to ensure consistent performance.
Minimize costs.
Governance and Security Requirements
Wide World Importers identifies the following governance and security requirements:
Data storage and processing must occur in datacenters located in the United States.
Azure Cognitive Services must be inaccessible directly from the internet.
Accessibility Requirements
Wide World Importers identifies the following accessibility requirements:
All images must have relevant alt text.
All videos must have transcripts that are associated to the video and included in product descriptions.
Product descriptions, transcripts, and all text must be available in English, Spanish, and Portuguese.
Product Creation Requirements
Wide World Importers identifies the following requirements for improving the Product Management app:
Minimize how long it takes for employees to create products and add assets.
Remove the need for manual translations.
Smart E-Commerce Requirements
Wide World Importers identifies the following requirements for the smart e-commerce project:
Ensure that the Cognitive Search solution meets a Service Level Agreement (SLA) of 99.9% availability for searches and index writes.
Provide users with the ability to search insight gained from the images, manuals, and videos associated with the products.
Support autocompletion and autosuggestion based on all product name variants.
Store all raw insight data that was generated, so the data can be processed later.
Update the stock level field in the product index immediately upon changes.
Update the product index hourly.
Shopping On-the-Go Requirements
Wide World Importers identifies the following requirements for the shopping on-the-go chatbot:
Answer common questions.
Support interactions in English, Spanish, and Portuguese.
Replace an existing FAQ process so that all Q&A is managed from a central location.
Provide all employees with the ability to edit Q&As. Only senior managers must be able to publish updates.
Support purchases by providing information about relevant products to customers. Product displays must include images and warnings when stock levels are low or out of stock.
Product JSON Sample
You have the following JSON sample for a product.
NEW QUESTION # 143
......
AI-102 dumps review - Professional Quiz Study Materials: https://passcollection.actual4labs.com/Microsoft/AI-102-actual-exam-dumps.html