0% found this document useful (0 votes)
122 views31 pages

AI-102 Exam Study Guide

The document consists of a series of questions related to Azure Cognitive Services and responsible AI principles. It covers topics such as data processing, connectivity solutions, resource creation, and service implications. Each question presents a scenario with multiple-choice answers, focusing on best practices and technical requirements for developing AI solutions.

Uploaded by

asif ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
122 views31 pages

AI-102 Exam Study Guide

The document consists of a series of questions related to Azure Cognitive Services and responsible AI principles. It covers topics such as data processing, connectivity solutions, resource creation, and service implications. Each question presents a scenario with multiple-choice answers, focusing on best practices and technical requirements for developing AI solutions.

Uploaded by

asif ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

AI-102

Study online at [Link]

1. You are developing a new sales system that will D


process the video and text from a public-facing web-
site. You plan to notify users that their data has been
processed by the sales system. Which responsible AI
principle does this help meet?
A. transparency
B. fairness
C. inclusiveness
D. reliability and safety

2. Note: This question is part of a series of questions Yes


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 [Link] 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
[Link] create a web app named app1 that runs
on an Azure virtual machine named vm1. Vm1 is on
an Azure virtual network named [Link] plan to
create a new Azure Cognitive Search service named
[Link] need to ensure that app1 can connect
directly to service1 without routing traffic over the
public [Link]: You deploy service1 and a
public endpoint to a new virtual network, and you
configure Azure Private [Link] this meet the goal?
A. Yes

3. Note: This question is part of a series of questions No


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 [Link] 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
[Link] create a web app named app1 that runs
on an Azure virtual machine named vm1. Vm1 is on
1 / 31
AI-102
Study online at [Link]
an Azure virtual network named [Link] plan to
create a new Azure Cognitive Search service named
[Link] need to ensure that app1 can connect di-
rectly to service1 without routing traffic over the pub-
lic [Link]: You deploy service1 and a public
endpoint, and you configure an IP firewall [Link]
this meet the goal?

4. Note: This question is part of a series of questions No


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 [Link] 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
[Link] create a web app named app1 that runs
on an Azure virtual machine named vm1. Vm1 is on
an Azure virtual network named [Link] plan to
create a new Azure Cognitive Search service named
[Link] need to ensure that app1 can connect
directly to service1 without routing traffic over the
public [Link]: You deploy service1 and a
public endpoint, and you configure a network security
group (NSG) for [Link] this meet the goal?

5. You have the following C# method for creating Azure A


Cognitive Services resources [Link]
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 [Link]
code should you use?

A. create_resource(client, "res1", "ComputerVision",


"F0", "westus")
B. create_resource(client, "res1", "[Link]-
diction", "F0", "westus")
C. create_resource(client, "res1", "ComputerVision",
"S0", "westus")

2 / 31
AI-102
Study online at [Link]
D. create_resource(client, "res1", "[Link]-
diction", "S0", "westus")

6. You successfully run the following HTTP D


[Link]
[Link]
tions/18c51a87-3a69-47a8-aedc-a54745f708a1/re-
sourceGroups/RG1/providers/[Link]-
vices/accounts/contosol/regenerateKey?api-ver-
sion=2017-04-18Body{"keyName": "Key2"}What is
the result of the request?
A. A key for Azure Cognitive Services was generated
in Azure Key Vault.
B. A new query key was generated.
C. The primary subscription key and the secondary
subscription key were rotated.
D. The secondary subscription key was reset.

7. You build a custom Form Recognizer model. You re- A, C, F


ceive sample files to use for training the model as
shown in the following table. Which three files can you
use to train the model? Each correct answer presents
a complete solution. (Choose three.)

A. File1 (PDF, 20MB)


B. File2 (MP4, 100MB)
C. File3 (JPG, 20MB)
D. File4 (PDF, 100MB)
E. File5 (GIF, 1MB)
F. File6 (JPG, 40MB)

8. A customer uses Azure Cognitive Search. The cus- A, B, E


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

A. The index size will increase.


B. Query times will increase.

3 / 31
AI-102
Study online at [Link]
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.

9. You are developing a new sales system that will B, C


process the video and text from a public-facing web-
site. You plan to monitor the sales system to ensure
that it provides equitable results regardless of the
user's location or background. Which two responsible
AI principles provide guidance to meet the monitoring
requirements? Each correct answer presents part of
the solution. (Choose two.)
A. transparency
B. fairness
C. inclusiveness
D. reliability and safety
E. privacy and security

10. You need to create a new resource that will be used C


to perform sentiment analysis and optical character A
recognition (OCR). The solution must meet the fol-
lowing requirements: Use a single key and endpoint
to access multiple services. Consolidate billing for
future services that you might use. Support the use of
Computer Vision in the future. How should you com-
plete the HTTP request to create the new resource? To
answer, select the appropriate options in the answer
area.
1:
A. PATCH
B. POST
C: PUT
2.
A. CognitiveServices
B. CompuretVision
[Link]

11.

4 / 31
AI-102
Study online at [Link]
DRAG DROP -You plan to use containerized versions 2
of the Anomaly Detector API on local devices for test- 1
ing and in on-premises datacenters. You need to en- 5
sure that the containerized deployments meet the fol- 4
lowing requirements: Prevent billing and API informa-
tion from being stored in the command-line histories
of the devices that run the container. Control access
to the container images by using Azure role-based ac-
cess control (Azure RBAC).Which four actions should
you perform in sequence? To answer, move the appro-
priate actions from the list of actions to the answer
area and arrange them in the correct order. (Choose
four.)NOTE: More than one order of answer choices is
correct. You will receive credit for any of the correct
orders you select. Select and Place:
1. Create a custom Dockerfile
2. Pull the anomaly detector container image
3. Distribute a docker run script
4. Push the image to an azure container registry
5. Build the image
6. Push the image to Docker Hub

12. You plan to deploy a containerized version of an Azure 1: D


Cognitive Services service that will be used for text 2: B
analysis. You configure [Link]
[Link] as the endpoint URI for the service,
and you pull the latest version of the Text Analytic-
sSentiment Analysis container. You need to run the
container on an Azure virtual machine by using Dock-
er. How should you complete the command? To an-
swer, select the appropriate options in the answer
area. NOTE: Each correct selection is worth one point
1 - docker run -rm -it -p 5000:5000 --memory 8g --cpus
1\
A: [Link]
B: [Link]
C: [Link]/azure-cognitive-services/text-
analytics/keyphrase
D: [Link]/azure-cognitive-services/text-
5 / 31
AI-102
Study online at [Link]
analytics/sentiment
2 BILLING
A: [Link]
B: [Link]
C: [Link]/azure-cognitive-services/text-
analytics/keyphrase
D: [Link]/azure-cognitive-services/text-
analytics/sentiment

13. You have 100 chatbots that each has its own Lan- 1: A
guage Understanding model. Frequently, you must 2: C
add the same phrases to each model. You need to pro-
grammatically update the Language Understanding
models to include the new phrases. How should you
complete the code? 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.
Select and Place:
var phraselistId = await [Link]. [ ]
(appId, versionId, new [ ]
{
EnabledForAllModels = false, IsExchangeable = true,
Name = "PL1", Phrases = "item1, item2, item3, item4,
item5"
}
);

A: AddPhraseListAsync
B: PhraseList
C: PhraselistCreateObject
D: Phrases
E: SavePhraselistAsync
F: UploadPhraseListaAync

14. You plan to use a Language Understanding applica- C, F, D


tion named app1 that is deployed to a container.App1
was developed by using a Language Understanding

6 / 31
AI-102
Study online at [Link]
authoring resource named lu1.App1 has the versions
shown in the following table.
Version TrainedDate Published date
v1.2 None None
v1.1. 2020-10-01 None
v1.0 2020-09-01 2020-09-15
You need to create a container that uses the latest de-
ployable version of [Link] three actions should
you perform in sequence? To answer, move the appro-
priate actions from the list of actions to the answer
area and arrange them in the correct order. (Choose
three.)
A: Run a container that has version set as an environ-
ment variable
B: Export the model by using the Export as JSON
option
C: Select v1.1 of app1
D: Run a container and mount the model file
E: Select v1.0 of app1
F: Export the model by using the Export for containers
(GZIP) option
G: Select v1.2 of app1

15. You need to build a chatbot that meets the following C


requirements: Supports chit-chat, knowledge base,
and multilingual models Performs sentiment analysis
on user messages Selects the best language model
automaticallyWhat should you integrate into the chat-
bot?
A. QnA Maker, Language Understanding, and Dis-
patch
B. Translator, Speech, and Dispatch
C. Language Understanding, Text Analytics, and QnA
Maker
D. Text Analytics, Translator, and Dispatch

16. Your company wants to reduce how long it takes for C


employees to log receipts in expense reports. All the
receipts are in English. You need to extract top-level

7 / 31
AI-102
Study online at [Link]
information from the receipts, such as the vendor
and the transaction total. The solution must minimize
development effort. Which Azure Cognitive Services
service should you use?
A. Custom Vision
B. Personalizer
C. Form Recognizer
D. Computer Vision

17. You plan to perform predictive maintenance. You col- A


lect IoT sensor data from 100 industrial machines for
a year. Each machine has 50 different sensors that
generate data at one-minute intervals. In total, you
have 5,000 time series datasets. You need to identify
unusual values in each time series to help predict
machinery failures. Which Azure Cognitive Services
service should you use?
A. Anomaly Detector
B. Cognitive Search
C. Form Recognizer
D. Custom Vision

18. You are developing a streaming Speech to Text solu- B, C


tion that will use the Speech SDK and MP3 encoding.
You need to develop a method to convert speech to
text for streaming MP3 data. How should you com-
plete the code? To answer, select the appropriate op-
tions in the answer area.

var audioFormat = [?] (AudioStreamContainerfor-


mat.MP3)
...
using var /recognizer = new [?] (speechConfig, audio-
Config) {
var result = await [Link]();
var text = [Link]
}

1.

8 / 31
AI-102
Study online at [Link]
A: [Link]
B: [Link]
C: [Link]
D: PullAudioInputStream
2.
A: KeywordRecognizer
B: SpeakerRecognizer
C: SpeechRecognizer
D: SpeechSynthesizer

19. You are developing an internet-based training solu- A, A, B


tion for remote learners. Your company identifies that
during the training, some learners leave their desk for
long periods or become distracted. You need to use a
video and audio feed from each learnerÒ€™ s computer
to detect whether the learner is present and paying
attention. The solution must minimize development
effort and identify each learner. Which Azure Cogni-
tive Services service should you use for each require-
ment? To answer, select the appropriate options in the
answer area.

1. From a learner's video feed, verify whether the


learner is present:
A: Face
B: Speech
C: Text Analytics
2. From a learner's facial expression in the video feed,
verify whether the learner is paying attention:
A: Face
B: Speech
C: Text Analytics
3. From a learner's audio feed, detect whether the
learner is talking:
A: Face
B: Speech
C: Text Analytics

20. D, E

9 / 31
AI-102
Study online at [Link]
You plan to provision a QnA Maker service in a new
resource group named [Link] RG1, you create an App
Service plan named [Link] two Azure resources
are automatically created in RG1 when you provision
the QnA Maker service? Each correct answer pre-
sents part of the solution.
A. Language Understanding
B. Azure SQL Database
C. Azure Storage
D. Azure Cognitive Search
E. Azure App Service

21. You are building a language model by using a Lan- B


guage Understanding service. You create a new Lan-
guage Understanding resource. You need to add more
contributors. What should you use?
A. a conditional access policy in Azure Active Direc-
tory (Azure AD)
B. the Access control (IAM) page for the authoring
resources in the Azure portal
C. the Access control (IAM) page for the prediction
resources in the Azure portal

22. You have a Video Indexer service that is used to pro- A


vide a search interface over company videos on your
company's website. You need to be able to search for
videos based on who is present in the video. What
should you do?
A. Create a person model and associate the model to
the videos.
B. Create person objects and provide face images for
each object.
C. Invite the entire staff of the company to Video Index-
er.
D. Edit the faces in the videos.
E. Upload names to a language model.

23. You use the Custom Vision service to build a classifi- A, D


[Link] training is complete, you need to evaluate the

10 / 31
AI-102
Study online at [Link]
[Link] two metrics are available for review?
Each correct answer presents a complete solution.
(Choose two.)
A. recall
B. F-score
C. weighted accuracy
D. precision
E. area under the curve (AUC)

24. You are developing a call to the Face API. The call must B, C
find similar faces from an existing list named em-
ployeefaces. 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.
Select and Place:
{
faceId: "18c51a87...",
[?]: "employeefaces",
"maxNumOfCandidatesReturned: 1,
"mode": [?]
}
A: "faceListId"
B: "LargeFaceListId"
C: "matchFace"
D: "matchPerson"

25. You are developing a photo application that will find B, F


photos of a person based on a sample image by using
the Face API. You need to create a POST request to
find the photos. How should you complete the re-
quest? 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.
POST {Endpoint}/face/v1.0/[?]
{

11 / 31
AI-102
Study online at [Link]
faceId: "...",
largeFaceListId: "sample_list",
maxNumOfCandidatesReturned: 10,
"mode": [?]
}
A: detect
B: findsimilars
C: group
D: identify
E: matchFace
F: matchPerson
G: verify

26. You develop a test method to verify the results re- Y, Y, N


trieved from a call to the Computer Vision API. The
call is used to analyze the existence of company lo-
gos in images. The call returns a collection of brands
named brands. You have the following code segment.
For each of the following statements, select Yes if the
statement is true. Otherwise, select No.
foreach(var brand in brands)
{
if ([Link] >= .75)
[Link](..)
}
1. The code will return the name of each detected
brand with a confidence equal to or higher than 75
percent
2. The code will return coordinates for the top-left
corner of the rectangle that contains the brand logo
of the displayed brands
3. The code will return coordinates for the bottom right
corner of the rectangle that contains the brand logo of
the displayed brands

27. You develop an application that uses the Face API. You B, A
need to add multiple images to a person group. How
should you complete the code? To answer, select the
appropriate options in the answer area.

12 / 31
AI-102
Study online at [Link]

[Link] (0, PersonCount, async i =>


{
Guid personId = persons[i]. PersonId;
string person ImageDir = $"/path/to/person/{i}/im-
ages";
foreach (string imagePath in [Link] (per-
son Imagedir, "*.jpg"))
{
using ([?] t = File. OpenRead (imagePath))
{
await faceclient. PersonGroup Person.[?](per-
sonGroupId, personId,t);
}
}
});

1. A: File
B: Stream
C: Uri
D: Url
2.A: AddFaceFromStreamAsync
B: AddFace FromUrlAsync
C: CreateAsync
D: GetAsync

28. You are developing an application that will use the N, Y, Y


Computer Vision client library. The application has the
following [Link] each of the following statements,
select Yes if the statement is true. Otherwise, select
No.

public async TaskAnalyze Image (ComputerVision-


client client, string local Image)
{List<visualFeatureTypes> features = new List<visu-
alFeatureTypes>()
{VisualFeatureTypes. Description,
VisualFeatureTypes. Tags,
using (Stream imageStream = File. OpenRead (local-
13 / 31
AI-102
Study online at [Link]
Image))
{};
try
{ImageAnalysis results = await client. Analyze Image-
InStreamAsync (imageStream, features);
foreach (var caption in results. Description. Captions)
{[Link]($"{[Link]} with confidence
{[Link]}");}
foreach (var tag in results. Tags)
{[Link]($"{tag. Name} {[Link]-
dence}");}
}
catch (Exception ex)
{[Link] ([Link]);
}
}
}

1. The code will perform face recognition


2. The code will list tags and their associated confi-
dence
3. The code will read a file from the local file system

29. You are developing a method that uses the Computer B, D


Vision client library. The method will perform optical
character recognition (OCR) in images. The method
has the following [Link] testing, you discover
that the call to the GetReadResultAsync method oc-
curs before the read operation is [Link] need
to prevent the GetReadResultAsync method from pro-
ceeding until the read operation is [Link]
two actions should you perform? Each correct answer
presents part of the solution. (Choose two.)
A. Remove the [Link](operationId) parameter.
B. Add code to verify the [Link] value.
C. Add code to verify the status of the [Link]-
tus value.

14 / 31
AI-102
Study online at [Link]
D. Wrap the call to GetReadResultAsync within a loop
that contains a delay.

30. You have a Computer Vision resource named con- C, C


toso1 that is hosted in the West US Azure [Link]
need to use contoso1 to make a different size of
a product photo by using the smart cropping fea-
[Link] should you complete the API URL? To an-
swer, select the appropriate options in the answer
area.
[?]/vision/v3.1/[?]?width=100&height=100&smart-
Cropping=true
1. A: "[Link]
B: [Link]
C: [Link]
2. A: areaOfInterest
B: detect
C: generateThumbnail

31. You are developing a webpage that will use the Video C, E
Indexer service to display videos of internal company F, A
[Link] embed the Player widget and the Cogni-
tive Insights widget into the [Link] need to config-
ure the widgets to meet the following requirements:
Ensure that users can search for keywords. Display
the names and faces of people in the video. Show
captions in the video in English (United States).How
should you complete the URL for each widget? 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.
Cognitive Insights Widget
[Link]
tId>/<videoid>/?widgets=[?]controls=[?]
Player widget
[Link]
tId>/<videoid>/?showcaptions=[?]captions=[?]

15 / 31
AI-102
Study online at [Link]
A: en-us
B: false
C: people,keywords
D: people, search
E: search
F: true

32. You train a Custom Vision model to identify a com- A, B, D


panyÒ€™ s products by using the Retail [Link]
plan to deploy the model as part of an app for An-
droid [Link] need to prepare the model for de-
[Link] 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.

A: Change th emodel domain


B: Retrain the model
C: Test the model
D: Export the model

33. You are building a Language Understanding model A


for an e-commerce [Link] need to construct an
entity to capture billing [Link] entity type
should you use for the billing address?
A. machine learned
B. Regex
C. geographyV2
D. [Link]
E. list

34. You need to upload speech samples to a Speech Stu- B


dio [Link] should you upload the samples?
A. Combine the speech samples into a single audio
file in the .wma format and upload the file.
B. Upload a .zip file that contains a collection of audio
files in the .wav format and a corresponding text tran-
script file.
C. Upload individual audio files in the FLAC format

16 / 31
AI-102
Study online at [Link]
and manually upload a corresponding transcript in
Microsoft Word format.
D. Upload individual audio files in the .wma format.

35. You have a Custom Vision resource named acvdev B, A, C


in a development [Link] have a Custom
Vision resource named acvprod in a production en-
[Link] acvdev, you build an object detection
model named obj1 in a project named [Link] need
to move obj1 to [Link] three actions should
you perform in sequence? To answer, move the appro-
priate actions from the list of actions to the answer
area and arrange them in the correct order.

A: Use the ExportProject endpoint on acvdev


B: Use the GetProjects endpoint on acvdev
C: Use the ImportProject endpoint on acvdev
D: Use the ExportIteration endpoint on acvdev
E: Use the GetIterations endpoint on acvdev
F: Use the UpdateProject endpoint on acvdev

36. You are developing an application to recognize em- Y, Y, Y


ployeesÒ€™faces by using the Face Recognition API.
Images of the faces will be accessible from a URI end-
[Link] application has the following [Link] each
of the following statements, select Yes if the statement
is true. Otherwise, select No.

1. The code will add a face image to a person object in


a person group
2. The code will work for a group of 10k people
3. AddFace can be called multiple times to add multi-
ple face images to a person object

37. You are developing a method for an applica- C, D, F


tion that uses the Translator [Link] method will
receive the content of a webpage, and then
translate the content into Greek (el). The re-
sult will also contain a transliteration that uses

17 / 31
AI-102
Study online at [Link]
the Roman [Link] need to create the URI
for the call to the Translator [Link] have the
following URI.[Link]
[Link]/translate?api-version=3.0Which three addi-
tional query parameters should you include in the
URI? Each correct answer presents part of the solu-
tion. (Choose three.)
A. toScript=Cyrl
B. from=el
C. textType=html
D. to=el
E. textType=plain
F. toScript=Latn

38. You have a chatbot that was built by using the Mi- C, E
crosoft Bot [Link] need to debug the chatbot
endpoint [Link] two tools should you install
on a local computer? Each correct answer presents
part of the solution. (Choose two.)

A. Fiddler
B. Bot Framework Composer
C. Bot Framework Emulator
D. Bot Framework CLI
E. ngrok
F. nginx

39. You are building a retail chatbot that will use a QnA E, B, D
Maker [Link] upload an internal support doc-
ument to train the model. The document contains
the following question: "What is your warranty pe-
riod?"Users report that the chatbot returns the de-
fault QnA Maker answer when they ask the following
question: "How long is the warranty coverage?"The
chatbot returns the correct answer when the users
ask the following question: 'What is your warranty
period?"Both questions should return the same an-
[Link] need to increase the accuracy of the chatbot
[Link] three actions should you perform in

18 / 31
AI-102
Study online at [Link]
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.)

A: Add a new question and answer pair


B: Retrain the model
C: Add additional questions to the document
D: Republish the model
E: Add alternative phrasing to the question and an-
swer pair

40. You need to measure the public perception of your A


brand on social media by using natural language
processing. Which Azure Cognitive Services service
should you use?
A. Text Analytics
B. Content Moderator
C. Computer Vision
D. Form Recognizer

41. Note: This question is part of a series of questions B


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.

19 / 31
AI-102
Study online at [Link]
Solution: You create a new intent for [Link]
this meet the goal?
A. Yes
B. No

42. Note: This question is part of a series of questions A


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. Yes
B. No

43. Note: This question is part of a series of questions B


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

20 / 31
AI-102
Study online at [Link]
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 pattern in the FindContact
intent.
Does this meet the goal?

44. Note: This question is part of a series of questions B


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 [Link] 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
[Link] develop an application to identify species
of flowers by training a Custom Vision [Link] re-
ceive images of new flower [Link] need to add
the new images to the classifier. Solution: You add the
new images, and then use the Smart Labeler [Link]
this meet the goal?

45. Note: This question is part of a series of questions A


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 [Link] 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
[Link] develop an application to identify species
of flowers by training a Custom Vision [Link] re-
ceive images of new flower [Link] need to add

21 / 31
AI-102
Study online at [Link]
the new images to the [Link]: You add the
new images and labels to the existing model. You re-
train the model, and then publish the [Link] this
meet the goal?
A. Yes
B. No

46. Note: This question is part of a series of questions B


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 [Link] 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
[Link] develop an application to identify species
of flowers by training a Custom Vision [Link] re-
ceive images of new flower [Link] need to add
the new images to the [Link]: You create
a new model, and then upload the new images and
[Link] this meet the goal?
A. Yes
B. No

47. You are developing a service that records lectures B, D


given in English (United Kingdom).You have a method
named AppendToTranscriptFile that takes translated
text and a language [Link] need to develop
code that will provide transcripts of the lectures to
attendees in their respective language. The support-
ed languages are English, French,Spanish, and Ger-
[Link] should you complete the code? To answer,
select the appropriate options in the answer area.

var lang = new List<string> [?]


...
var recognizer = new [?]
var result = await [Link]();
if([Link] = [Link])

22 / 31
AI-102
Study online at [Link]

1. A: {"en-GB"}
B: {"fr, "de", "es"}
C: {"French", "Spansh", "German"}
D: {languages}
2. A: IntentRecognizer
B: SpeakerRecognizer
C: SpeechSynthesizer
D: TranslationRecognizer

48. You train a Custom Vision model used in a mobile C, B, E


[Link] receive 1,000 new images that do not have
any associated [Link] need to use the images to
retrain the model. The solution must minimize how
long it takes to retrain the [Link] three actions
should you perform in the Custom Vision portal? To
answer, move the appropriate actions from the list of
actions to the answer area and arrange them in the
correct order.
A: Upload the images by category
B: Get suggested tags
C: Upload all the images
D: Group the images locally into category folders
E: Review the suggestions and confirm the tags
F: Tag the images manually

49. You are building a Language Understanding model for A


an e-commerce chatbot. Users can speak or type their
billing address when prompted by the [Link]
need to construct an entity to capture billing address-
[Link] entity type should you use?
A. machine learned
B. Regex
C. list
D. [Link]

50. You are building an Azure Weblob that will create B, D


knowledge bases from an array of [Link] instan-
tiate a QnAMakerClient object that has the relevant

23 / 31
AI-102
Study online at [Link]
API keys and assign the object to a variable named
[Link] need to develop a method to create the
knowledge [Link] two actions should you in-
clude in the method? Each correct answer presents
part of the solution.
A. Create a list of FileDTO objects that represents data
from the WebJob.
B. Call the [Link]
method.
C. Create a list of QnADTO objects that represents
data from the WebJob.
D. Create a CreateKbDTO object.

51. You are building a natural language [Link] need C


to enable active [Link] should you do?
A. Add show-all-intents=true to the prediction end-
point query.
B. Enable speech priming.
C. Add log=true to the prediction endpoint query.
D. Enable sentiment analysis.

52. You are developing an application that includes lan- E, C


guage [Link] application will translate text
retrieved by using a function named getTextToBe-
Translated. The text can be in one of many languages.
The content of the text must remain within the Amer-
icas Azure [Link] need to develop code to
translate the text to a single [Link] should you
complete the code? To answer, select the appropriate
options in the answer area.

var endpoint = [?]


...
var uri = endpoint + [?]
1. A: [Link]
[Link]/translate
B: [Link]
[Link]/transliterate
C: [Link]

24 / 31
AI-102
Study online at [Link]
[Link]/detect
D: [Link]
[Link]/detect
E: [Link]
[Link]/translate
2. A: "?from=en"
B: "?suggestedFrom=en"
C: "?to=en"

53. You need to implement a table projection to generate A, B, E


a physical expression of an Azure Cognitive Search
[Link] three properties should you specify in
the skillset definition JSON configuration table node?
Each correct answer presents part of the solution.
(Choose three.)
A. tableName
B. generatedKeyName
C. dataSource
D. dataSourceConnection
E. source

54. You have an existing Azure Cognitive Search ser- D


[Link] have an Azure Blob storage account that
contains millions of scanned documents stored as im-
ages and [Link] need to make the scanned docu-
ments available to search as quickly as [Link]
should you do?
A. Split the data into multiple blob containers. Create
a Cognitive Search service for each container. Within
each indexer definition, schedule the same runtime
execution pattern.
B. Split the data into multiple blob containers. Create
an indexer for each container. Increase the search
units. Within each indexer definition, schedule a se-
quential execution pattern.
C. Create a Cognitive Search service for each type of
document.
D. Split the data into multiple virtual folders. Create
an indexer for each folder. Increase the search units.

25 / 31
AI-102
Study online at [Link]
Within each indexer definition, schedule the same run-
time execution pattern.

55. You deploy a web app that is used as a management C


portal for indexing in Azure Cognitive Search. The app
is configured to use the primary admin [Link] a
security review, you discover unauthorized changes
to the search index. You suspect that the primary ac-
cess key is [Link] need to prevent unau-
thorized access to the index management endpoint.
The solution must minimize [Link] should
you do next?
A. Regenerate the primary admin key, change the app
to use the secondary admin key, and then regenerate
the secondary admin key.
B. Change the app to use a query key, and then regen-
erate the primary admin key and the secondary admin
key.
C. Regenerate the secondary admin key, change the
app to use the secondary admin key, and then regen-
erate the primary key.
D. Add a new query key, change the app to use the new
query key, and then delete all the unused query keys.

56. You are developing a text processing [Link] Y, N, N


develop the following [Link] call the method by
using the following [Link](textAnalyt-
icsClient, "the cat sat on the mat");For each of the
following statements, select Yes if the statement is
true. Otherwise, select No.

static void GetKeyPhrases (TextAnalyticsClient text-


AnalyticsClient, string text)
{
var response = [Link]-
es (text);
[Link]("Key phrases:");
foreach (string keyphrase in [Link])
{

26 / 31
AI-102
Study online at [Link]
[Link]("\t{keyphrase}");
}
}
1. The call will output key phrases from the input string
to the console.
2. The output will contain the following words: the, cat,
sat, on, and mat.
3. The output will contain the confidence level for key
phrases.

57. You are developing a solution to generate a word A


cloud based on the reviews of a companyÒ€™ s prod-
[Link] Text Analytics REST API endpoint should
you use?
A. keyPhrases
B. sentiment
C. languages
D. entities/recognition/general

58. You have the following data sources: B


- Finance: On-premises Microsoft SQL Server data-
base
- Sales: Azure Cosmos DB using the Core (SQL) API
- Logs: Azure Table storage
- HR: Azure SQL database
-You need to ensure that you can search all the data
by using the Azure Cognitive Search REST API. What
should you do?
A. Configure multiple read replicas for the data in
Sales.
B. Mirror Finance to an Azure SQL database.
C. Migrate the data in Sales to the MongoDB API.
D. Ingest the data in Logs into Azure Sentinel.

59. You have the following custom skill schema defini- Y, Y, N


[Link] each of the following statements, select Yes
if the statement. Otherwise, select No.
{"@[Link]": "#[Link]-
bApiSkill",

27 / 31
AI-102
Study online at [Link]
"description": "My custom skill description",
"uri": "[Link]
[Link]/api/process",
"context": "/document/organizations/*",
"inputs":[{
"name": "companyName",
"source": "/document/organizations/"
}],
"outputs":[ { "name": "companyDescription", } ]}

1. CompanyDescription is available for indexing.


2. The definition calls a web API as part of the enrich-
ment process.
3. The enrichment step is called only for the first orga-
nization under
"/document/organizations".

60. You are creating an enrichment pipeline that will use B, A


Azure Cognitive Search. The knowledge store con-
tains unstructured JSON data and scanned PDF docu-
ments that contain text. Which projection type should
you use for each data type? To answer, select the
appropriate options in the answer area.
1. JSON Data:
A: File projection
B: Object projection
C: Table projection
2. Scanned data
A: File projection
B: Object projection
C: Table projection

61. You are building a bot on a local computer by us- B


ing the Microsoft Bot Framework. The bot will use an
existing Language Understanding [Link] need to
translate the Language Understanding model locally
by using the Bot Framework [Link] should you do
first?
A. From the Language Understanding portal, clone the

28 / 31
AI-102
Study online at [Link]
model.
B. Export the model as an .lu file.
C. Create a new Speech service.
D. Create a new Language Understanding service.

62. You are building a multilingual chatbot. You need to B, D


send a different answer for positive and negative mes-
sages. Which two Text Analytics APIs should you use?
Each correct answer presents part of the solution.
(Choose two.).
A. Linked entities from a well-known knowledge base
B. Sentiment Analysis
C. Key Phrases
D. Detect Language
E. Named Entity Recognition

63. You have a web app that uses Azure Cognitive Search. A, D, F
When reviewing billing for the app, you discover much
higher than expected charges. You suspect that the
query key is [Link] need to prevent unau-
thorized access to the search endpoint and ensure
that users only have read only access to the doc-
uments collection. The solution must minimize app
[Link] 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.
A: Add a new query key
B: Regenerate the secondary admin key
C: Change the app to use the secondary admin key
D: Change the app to use the new key
E: Regenerate the primary admin key
F: Delete the compromised key

64. You plan to build a chatbot to support task track- C, E, A, B


[Link] create a Language Understanding service
named [Link] need to build a Language Understand-
ing model to integrate into the chatbot. The solu-
tion must minimize development time to build the

29 / 31
AI-102
Study online at [Link]
[Link] four actions should you perform in se-
quence? To answer, move the appropriate actions
from the list of actions to the answer area and arrange
them in the correct order. (Choose four.)

A: Train the application.


B: Publish the application.
C: Add a new application.
D: Add example utterances.
E: Add the prebuilt domain ToDo.

65. You build a conversational bot named [Link] need C


to configure the bot to use a QnA Maker applica-
[Link] the Azure Portal, where can you find the
information required by bot1 to connect to the QnA
Maker application?
A. Access control (IAM)
B. Properties
C. Keys and Endpoint
D. Identity

66. You are using a Language Understanding service to D, B, F


handle natural language input from the users of a
web-based customer [Link] 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 re-
[Link] 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.)

A. Add prebuilt domain models as required.


B: Validate the utterances logged for review
and modify the model.
C: Migrate authoring to an Azure resource
authoring key.
D: Enable active learning.
E: Enable log collection by using Log

30 / 31
AI-102
Study online at [Link]
Analytics.
F: Train and republish the Language
Understanding model.

67. You are building a chatbot for a Microsoft Teams chan- Y, N, N


nel by using the Microsoft Bot Framework SDK. The
chatbot will use the following [Link] each of the
following statements, select Yes if the statement is
true. Otherwise, select No.

1. OnMembersAddedAsync will be triggered when a


user joins the conversation.
2. When a new user joins the conversation, the exist-
ing users in the conversation
will see the chatbot greeting.
3. OnMembersAddedAsync will be initialized when a
user sends a message.

68. You are reviewing the design of a chatbot. The chat- N, N, Y


bot includes a language generation file that contains
the following fragment.# Greet(user)- ${Greeting()},
${[Link]}For each of the following statements, se-
lect Yes if the statement is true. Otherwise, select No.

1. ${[Link]} retrieves the user name by using a


prompt.
2. Greet() is the name of the language generation tem-
plate.
3. ${Greeting () } is a reference to a template in the
language generation file.

31 / 31

You might also like