Pre-Summer Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > Microsoft > Azure AI Engineer Associate > AI-102

AI-102 Designing and Implementing a Microsoft Azure AI Solution Question and Answers

Question # 4

You have an Azure subscription that has the following configurations:

• Subscription ID: 8d3591aa-96b8-4737-ad09-OOf9b1ed35ad

• Tenant ID: 3edfe572-cbS4-3ced-ae12-c5c177f39a12

You plan to create a resource that will perform sentiment analysis and optical character recognition (OCR).

You need to use an HTTP request to create the resource in the subscription. The solution must use a single key and endpoint.

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

NOTE: Each correct selection is worth one point.

Full Access
Question # 5

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.)

Full Access
Question # 6

You are developing the smart e-commerce project.

You need to implement autocompletion as part of the Cognitive Search solution.

Which three actions should you perform? Each correct answer presents part of the solution. (Choose three.)

NOTE: Each correct selection is worth one point.

A.

Make API queries to the autocomplete endpoint and include suggesterName in the body.

B.

Add a suggester that has the three product name fields as source fields.

C.

Make API queries to the search endpoint and include the product name fields in the searchFields query parameter.

D.

Add a suggester for each of the three product name fields.

E.

Set the searchAnalyzer property for the three product name variants.

F.

Set the analyzer property for the three product name variants.

Full Access
Question # 7

You need to develop code to upload images for the product creation project. The solution must meet the accessibility requirements.

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

NOTE: Each correct selection is worth one point.

Full Access
Question # 8

You are planning the product creation project.

You need to build the REST endpoint to create the multilingual product descriptions.

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

NOTE: Each correct selection is worth one point.

Full Access
Question # 9

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.

Full Access
Question # 10

You are developing the smart e-commerce project.

You need to design the skillset to include the contents of PDFs in searches.

How should you complete the skillset design diagram? To answer, drag the appropriate services to the correct stages. Each service 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.

Full Access
Question # 11

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.

Full Access
Question # 12

You have an Azure subscription that contains an Azure Al Document Intelligence resource named DM.

You build an app named App1 that analyzes PDF files for handwritten content by using DM.

You need to ensure that App1 will recognize the handwritten content.

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

NOTE: Each correct selection is worth one point.

Full Access
Question # 13

You have an Azure subscription that contains a Content Safety in Foundry Control Plane resource.

You are building a social media messaging app.

You need to build a solution that will analyze messages and flag messages that contain explicit content.

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

NOTE: Each correct selection is worth one point.

Full Access
Question # 14

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 intent for location.

Does this meet the goal?

A.

Yes

B.

No

Full Access
Question # 15

You have a 20-GB file named file1, avi that is stored on a local drive.

You need to index file1, avi by using the Azure Video indexer website.

What should you do first?

A.

Upload File1 avi to an Azure storage queue.

B.

upload File1.avi to the www.youtube.com seepage

C.

Upload file1 avi to the Azure video indexer website.

D.

Upload file1 avi to Microsoft OneDrive.

Full Access
Question # 16

You need to build a chatbot that meets the following requirements:

Supports chit-chat, knowledge base, and multilingual models

Performs sentiment analysis on user messages

Selects the best language model automatically

What should you integrate into the chatbot?

A.

QnA Maker, Language Understanding, and Dispatch

B.

Translator, Speech, and Dispatch

C.

Language Understanding, Text Analytics, and QnA Maker

D.

Text Analytics, Translator, and Dispatch

Full Access
Question # 17

You are building an app by using the Semantic Kernel.

You need to include complex objects in the prompt templates of the app. The solution must support objects that contain sub-properties.

Which two prompt templates can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.

Liquid

B.

JSONL

C.

Handlebars

D.

YAML

E.

Semantic Kernel

Full Access
Question # 18

A customer uses Azure Cognitive Search.

The customer plans to enable a server-side encryption and use customer-managed keys (CMK) stored in Azure.

What are three implications of the planned change? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.

The index size will increase.

B.

Query times will increase.

C.

A self-signed X.509 certificate is required.

D.

The index size will decrease.

E.

Query times will decrease.

F.

Azure Key Vault is required.

Full Access
Question # 19

You have an Azure Al Speech service resource named Resource1.

You call Resource1 by running the following Python code.

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

NOTE: Each correct selection is worth point.

Full Access
Question # 20

You have an Azure subscription that contains an Azure OpenAI resource named All and an Azure Al Content Safety resource named CS1.

You build a chatbot that uses All to provide generative answers to specific questions and CSl to check input and output for objectionable content.

You need to optimize the content filter configurations by running tests on sample questions.

Solution: From Content Safety Studio, you use the Monitor online activity feature to run the tests

Does this meet the requirement?

A.

Yes

B.

No

Full Access
Question # 21

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 have an Azure Cognitive Search service.

During the past 12 months, query volume steadily increased.

You discover that some search query requests to the Cognitive Search service are being throttled.

You need to reduce the likelihood that search query requests are throttled.

Solution: You migrate to a Cognitive Search service that uses a higher tier.

Does this meet the goal?

A.

Yes

B.

No

Full Access
Question # 22

You have an Azure subscription that contains an Azure Al Document Intelligence resource named DM. DI1 uses the Standard SO pricing tier

You have the files shown in the following table.

Which files can you analyze by using DI1?

A.

File1.pdf only

B.

File2.jpg only

C.

File3 tiff only

D.

File2.jpg and File3.tiff only

E.

File1.pdf,File2,jpg, and File3,tiff

Full Access
Question # 23

You have an Azure subscription that contains an Azure OpenAI resource named OpenAI1 and a user named User1.

You need to ensure that User1 can upload datasets to OpenA11 and finetune the existing models. The solution must follow the principle of least privilege.

Which role should you assign to User!?

A.

Cognitive Services Contributor

B.

Contributor

C.

Cognitive Services OpenAI User

D.

Cognitive Services OpenAI Contributor

Full Access
Question # 24

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 create a web app named app1 that runs on an Azure virtual machine named vm1. Vm1 is on an Azure virtual network named vnet1.

You plan to create a new Azure Cognitive Search service named service1.

You need to ensure that app1 can connect directly to service1 without routing traffic over the public internet.

Solution: You deploy service1 and a public endpoint, and you configure a network security group (NSG) for vnet1.

Does this meet the goal?

A.

Yes

B.

No

Full Access
Question # 25

You need to implement a table projection to generate a physical expression of an Azure Cognitive Search index.

Which three properties should you specify in the skillset definition JSON configuration table node? Each correct answer presents part of the solution. (Choose three.)

NOTE: Each correct selection is worth one point.

A.

tableName

B.

generatedKeyName

C.

dataSource

D.

dataSourceConnection

E.

source

Full Access
Question # 26

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

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.

Full Access
Question # 27

Which database transaction property ensures that individual transactions are executed only once and either succeed in their entirety or roll back?

A.

consistency

B.

isolation

C.

atomicity

D.

durability

Full Access
Question # 28

You are building an app by using the Speech SDK. The app will translate speech from French to German by using natural language processing.

You need to define the source language and the output 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.

Full Access
Question # 29

You have an Azure subscription that contains an Azure Al Video Indexer account.

You need to add a custom brand and logo to the indexer and configure an exclusion for the custom brand. How should you complete the REST API call? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Full Access
Question # 30

You have an Azure DevOps pipeline named Pipeline1 that is used to deploy an app. Pipeline1 includes a step that will create an Azure AI services account.

You need to add a step to Pipeline1 that will identify the created Azure AI services account. The solution must minimize development effort.

Which Azure Command-Line interface (CLI) command should you run?

A.

Az resource link

B.

Az account list

C.

Az cognitivesservices account network-rule

D.

As cognitiveservices account show

Full Access
Question # 31

You are building a solution that will detect anomalies in sensor data from the previous 24 hours.

You need to ensure that the solution scans the entire dataset, at the same time, for anomalies.

Which type of detection should you use?

A.

batch

B.

streaming

C.

change point

Full Access
Question # 32

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 are building a chatbot that will use question answering in Azure Cognitive Service for Language.

You have a PDF named Doc1.pdf that contains a product catalogue and a price list

You upload Doc1.pdf and train the model.

During testing, users report that the chatbot responds correctly to the following question: What is the price of < product > ?

The chatbot fails to respond to the following question: How much does < product > cost?

You need to ensure that the chatbot responds correctly to both questions.

Solution: From Language Studio, you add alternative phrasing to the question and answer pair, and then retrain and republish the model.

Does this meet the goal?

A.

Yes

B.

No

Full Access
Question # 33

Select the answer that correctly completes the sentence.

Full Access
Question # 34

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 are building a chatbot that will use question answering in Azure Cognitive Service for Language.

You upload Doc1.pdf and train that contains a product catalogue and a price list.

During testing, users report that the chatbot responds correctly to the following question: What is the price of < product > ?

The chatbot fails to respond to the following question: How much does < product > cost?

You need to ensure that the chatbot responds correctly to both questions.

Solution: from Language Studio, you create an entity for price, and then retrain and republish the model.

Does this meet the goal?

A.

Yes

B.

No

Full Access
Question # 35

You have an Azure subscription. The subscription contains an Azure OpenAI resource that hosts a GPT-4 model named Modell and an app named Appl. App1 uses Model1.

You need to ensure that App1 will NOT return answers that include hate speech.

What should you configure for Model1?

A.

the Frequency penalty parameter

B.

abuse monitoring

C.

a content filter

D.

the Temperature parameter

Full Access
Question # 36

You have 100,000 images.

You need to build an app that will perform the following actions:

• Identify road signs in the images and generate a short description of each road sign.

• Analyze the descriptions to generate a report about the different types of road signs and how often each type occurred.

The solution must minimize costs.

What should you use for each action? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Full Access
Question # 37

Which property of a transactional workload guarantees that each transaction is treated as a single unit that either succeeds completely or tails completely?

A.

isolation

B.

atomicity

C.

consistency

D.

durability

Full Access
Question # 38

You have a flow that you plan to deploy to Azure Machine Learning managed online endpoints for real-time inference.

You need to modify the YAML configuration file for the deployment to ensure that trace data and system metrics are collected and sent to an Application Insights resource named my-app-insights.

How should you modify the file? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Full Access
Question # 39

You have a chatbot that uses Azure OpenAI to generate responses.

You need to upload company data by using Chat playground. The solution must ensure that the chatbot uses the data to answer user questions.

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

NOTE: Each correct selection is worth one point.

Full Access
Question # 40

You have an Azure subscription that contains an Azure Al Content Safety resource named Resource1 and a storage account named storage1.

You create a blob container named container1 and upload a sample set of image files to container1.

You need to validate whether Resource1 can identify images that contain potential violence.

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

NOTE: Each correct selection is worth one point.

Full Access
Question # 41

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.

Full Access
Question # 42

You are developing an app that will use the Azure AI vision API to analyze an image.

You need configure the request that will be used by the app to identity whether an image is clipart or a line drawing.

How should you complete the request? To answer. Select the appropriate options in the answer area.

NOTE: Each correct select is worth one point.

Full Access
Question # 43

You are developing a solution for the Management-Bookkeepers group to meet the document processing requirements. The solution must contain the following components:

A form Recognizer resource

An Azure web app that hosts the Form Recognizer sample labeling tool

The Management-Bookkeepers group needs to create a custom table extractor by using the sample labeling tool.

Which three actions should the Management-Bookkeepers group perform in sequence? To answer, move the appropriate cmdlets from the list of cmdlets to the answer area and arrange them in the correct order.

Full Access
Question # 44

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.

Full Access
Question # 45

You are developing the document processing workflow.

You need to identify which API endpoints to use to extract text from the financial documents. The solution must meet the document processing requirements.

Which two API endpoints should you identify? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.

/vision/v3.2/read/analyzeResults

B.

/formrecognizer/v2.0/prebuilt/receipt/analyze

C.

/vision/v3.2/read/analyze

D.

/vision/v3.2/describe

E.

/formercognizer/v2.0/custom/models{modelId}/ analyze

Full Access
Question # 46

You are developing the knowledgebase.

You use Azure Video Analyzer for Media (previously Video indexer) to obtain transcripts of webinars.

You need to ensure that the solution meets the knowledgebase requirements.

What should you do?

A.

Create a custom language model

B.

Configure audio indexing for videos only

C.

Enable multi-language detection for videos

D.

Build a custom Person model for webinar presenters

Full Access
Question # 47

You are developing the chatbot.

You create the following components:

* A QnA Maker resource

* A chatbot by using the Azure Bot Framework SDK.

You need to integrate the components to meet the chatbot requirements.

Which property should you use?

A.

QnADialogResponseOptions.CardNoMatchText

B.

Qna MakerOptions-ScoreThreshold

C.

Qna Maker Op t ions StrickFilters

D.

QnaMakerOptions.RankerType

Full Access
Question # 48

You are developing the knowledgebase by using Azure Cognitive Search.

You need to meet the knowledgebase requirements for searching equivalent terms.

What should you include in the solution?

A.

a synonym map

B.

a suggester

C.

a custom analyzer

D.

a built-in key phrase extraction skill

Full Access
Question # 49

You are developing the knowledgebase by using Azure Cognitive Search.

You need to process wiki content to meet the technical requirements.

What should you include in the solution?

A.

an indexer for Azure Blob storage attached to a skillset that contains the language detection skill and the text translation skill

B.

an indexer for Azure Blob storage attached to a skillset that contains the language detection skill

C.

an indexer for Azure Cosmos DB attached to a skillset that contains the document extraction skill and the text translation skill

D.

an indexer for Azure Cosmos DB attached to a skillset that contains the language detection skill and the text translation skill

Full Access