test1 Flashcards

(40 cards)

1
Q

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.)
Actions
Train the application.
Publish the application.
Add a new application.
Add example utterances.
Add the prebuilt domain ToDo.

Answer Area

A

Correct Sequence of Actions
The correct order for the four actions in the answer area is:

Add a new application.
Add the prebuilt domain ToDo.
Add example utterances.
Train the application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

You are building a bot on a local computer by using the Microsoft Bot Framework. The bot will use an existing Language Understanding model.

You need to translate the Language Understanding model locally by using the Bot Framework CLI.

What should you do first?

From the Language Understanding portal, clone the model.
Export the model as an .lu file.
Create a new Speech service.
Create a new Language Understanding service.

A

Correct Answer
Export the model as an .lu file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

Add prebuilt domain models as required.
Validate the utterances logged for review
and modify the model.
Migrate authoring to an Azure resource
authoring key.
Enable active learning.
Enable log collection by using Log
Analytics.
Train and republish the Language
Understanding model.

Answer Area

A

Correct Sequence of Actions
The correct order for the three actions in the answer area is:

Enable log collection by using Log Analytics.
Validate the utterances logged for review and modify the model.
Train and republish the Language Understanding model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

You build a conversational bot named bot1.

You need to configure the bot to use a QnA Maker application.

From the Azure Portal, where can you find the information required by bot1 to connect to the QnA Maker application?

Access control (IAM)
Properties
Keys and Endpoint
Identity

A

Correct Answer
Keys and Endpoint

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

HOTSPOT

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

AskForName > BeginDialog > Text

Show code

Prompt for text
Text input
Collection information. Ask for a word or sentence.

4

Learn more

BeginDialog
Begin dialog event

Bot Asks
User Input
Other

Property (string)

Bot Asks (Text)
What is your name?

user.name
Output Format
string
ex. =toUpper(this.value), S(toUpper(this.value))

A User Input (Text)
username = Input(Text)

Value
expression v
fx =coalesce(@user.Name.@personName)
Expected responses (intent: #Textinput_Response_GH5FTe)

Bot Asks (Number)
A
Hello S(user.name), how old are you?

User Input (Number)
user.age = Input(Number)

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 Area

Statements
user.name is an entity.
The dialog asks for a user name and a user age and assigns appropriate values to the user. name and user. age properties.
The chatbot attempts to take the first non-null entity value for userName or personName and assigns the value to user. name.

A

Answer Area
Statements and their correct answers:

user.name is an entity.
No
The dialog asks for a user name and a user age and assigns appropriate values to the user.name and user.age properties.
Yes
The chatbot attempts to take the first non-null entity value for userName or personName and assigns the value to user.name.
Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. 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.
protected override async Task OnMembersAddedAsync(IList<ChannelAccount>
membersAdded, ITurnContext<IConversationUpdateActivity> turnContext,
CancellationToken cancellationToken)</IConversationUpdateActivity></ChannelAccount>

-

foreach (var member in membersAdded)
if (member. Id != turnContext.Activity. Recipient. Id)
await turnContext.SendActivityAsync($”Hi there - (member.Name).
(WelcomeMessage}”, cancellationToken: cancellationToken);

-

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 Area

Statements

Yes

No

OnMembersAddedAsync will be triggered when a user joins the conversation.
When a new user joins the conversation, the existing users in the conversation will see the chatbot greeting.

OnMembersAddedAsync will be initialized when a user sends a message.

A

Answer Area
Statements and their correct answers:

OnMembersAddedAsync will be triggered when a user joins the conversation.
Yes
When a new user joins the conversation, the existing users in the conversation will see the chatbot greeting.
No
OnMembersAddedAsync will be initialized when a user sends a message.
No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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.
Answer Area

Statements

$ {user. name } retrieves the user name by using a prompt.
Greet () is the name of the language generation template.
$ {Greeting () } is a reference to a template in the language generation file.

A

Answer Area
Statements and their correct answers:

${user.name} retrieves the user name by using a prompt.
No
Greet() is the name of the language generation template.
Yes
${Greeting()} is a reference to a template in the language generation file.
Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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));</UserProfile>

var conversationStateAccessors =

_conversationState.CreateProperty<ConversationData>(nameof(ConversationData));</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 Area

Statements
The code will create and maintain the UserProfile object
in the underlying storage layer.

The code will create and maintain the ConversationData
object in the underlying storage layer.

The UserProfile and ConversationData objects will
persist when the Bot Framework runtime terminates.

A

Answer Area
Statements and their correct answers:

The code will create and maintain the UserProfile object in the underlying storage layer.
Yes
The code will create and maintain the ConversationData object in the underlying storage layer.
Yes
The UserProfile and ConversationData objects will persist when the Bot Framework runtime terminates.
No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

HOTSPOT

You are building a chatbot that will provide information to users as shown in the following exhibit.
Passengers
Sarah Hum
Jeremy Goldberg
Evan Litvak

2 Stops
Tue, May 30, 2017 10:25 PM
San Francisco ——————> San Francisco

Amsterdam Amsterdam

SFO SFO

AMS AMS

Non-Stop
Fri, Jun 2, 2017 11:55 PM
San Francisco ———————–> San Francisco

Amsterdam ——————-> Amsterdam

SFO ——————–> SFO

AMS ——————–> AMS

Total $4,032.54

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.

Answer Area
The chatbot is showing [answer choice].
an Adaptive Card
a Hero Card
a Thumbnail Card

The card includes [answer choice].
an action set
an image
an image group
media

A

Answer Area
Statements and their correct answers:

The chatbot is showing [answer choice].
an Adaptive Card
The card includes [answer choice].
an action set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Testlet 2

Case study

This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.

To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.

At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.

To start the case study

To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

Overview

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.
Name
Product Management Description
An app used by employees to create and manage products. The app
and the expected inputs from the employees are in English.

Inventory Tracking Description
An app used by employees to manage inventory when dispatching
orders, receiving refunds, and receiving consignments from suppliers.
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.
{
“sku”: “b1”,
“name”: {
“en”: “Bicycle”,
“es”: “Bicicleta”,
“pt”: “Bicicleta”
},
“stocklevel”: “Out of Stock”,
“description”: {
“en”: “Bicycle”,
“es”: “Bicicleta”,
“pt”: “Bicicleta”
},
“image”: {
“uri”: “https://upload.worldwideimporters.org/bicycle.jpg”,
“alttext”: {
“en”: “Bicycle”,
“es”: “Bicicleta”,
“pt”: “Bicicleta”
}
},
“createdUtc”: “2020-02-14T06:08:39Z”,
“language”: “en”
}

HOTSPOT
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 Area

AllUsers:

Cognitive Service User
Contributor
Owner
QnA Maker Editor
QnA Maker Read

LeadershipTeam:

Cognitive Service User
Contributor
Owner
QnA Maker Editor
QnA Maker Read

A

Answer Area
AllUsers: QnA Maker Editor
LeadershipTeam: Contributor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

DRAG DROP

You have 100 chatbots that each has its own Language Understanding model.

Frequently, you must add the same phrases to each model.

You need to programmatically 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. NOTE: Each correct selection is worth one point.
Values
AddPhraseListAsync
Phraselist
Phrases
SavePhraselistAsync
UploadPhraseListAsync

Answer Area
var phraselistId = await client.Features.————————
(appId, versionId, new ——————————
{
EnabledForAllModels = false,
IsExchangeable = true,
Name = “PL1”,
Phrases = “item1, item2, item3, item4, item5”
);

A

Correct Selections for the Drag-and-Drop Targets

First blank (after client.Features.): AddPhraseListAsync
Second blank (after new ): Phraselist

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

DRAG DROP

You plan to use a Language Understanding application named app1 that is deployed to a container.

App1 was developed by using a Language Understanding authoring resource named lu1.

App1 has the versions shown in the following table.
Version | Trained date | 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 deployable version of app1.

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.)
Actions Answer Area

Run a container that has version
set as an environment variable.
Export the model by using the
Export as JSON option.
Select v1.1 of app1.
Run a container and mount the
model file.
Select v1.0 of app1.
Export the model by using the
Export for containers (GZIP) option.
Select v1.2 of app1.

A

Correct Actions and Sequence for the Answer Area
To create a container that uses the latest deployable version of the Language Understanding (LUIS) application app1, the following three actions should be performed in sequence:

Select v1.0 of app1.
Export the model by using the Export for containers (GZIP) option.
Run a container and mount the model file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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?

QnA Maker, Language Understanding, and Dispatch
Translator, Speech, and Dispatch
Language Understanding, Text Analytics, and QnA Maker
Text Analytics, Translator, and Dispatch

A

Correct Answer
Language Understanding, Text Analytics, and QnA Maker

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Your company wants to reduce how long it takes for employees to log receipts in expense reports. All the receipts are in English.

You need to extract top-level 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?

Custom Vision
Personalizer
Form Recognizer
Computer Vision

A

Correct Answer
Form Recognizer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

HOTSPOT

You need to create a new resource that will be used to perform sentiment analysis and optical character recognition (OCR).

The solution must meet the following 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 complete the HTTP request to create the new resource? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Answer Area

https://management.azure.com/subscriptions/

PATCH
POST
PUT
xxxx-xxxx-

xxxxxxxxxxxx/resourceGroups/RG1/providers/Microsoft.CognitiveServices/
accounts/CS1?api-version=2017-04-18
{
“location”: “West US”,
“kind”: “

CognitiveServices
ComputerVision
TextAnalytics

“sku”: {
“name”: “SO”
},
“properties”: (),
“identity”: {
“type”: “SystemAssigned”
}
}

A

Correct Selections for the Hotspot Answer Area
To create a new Azure resource that supports sentiment analysis, optical character recognition (OCR), uses a single key and endpoint for multiple services, consolidates billing, and supports future use of Computer Vision, the HTTP request should be completed as follows:

HTTP Method: POST
Kind: CognitiveServices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

You are developing a new sales system that will process the video and text from a public-facing website.

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

NOTE: Each correct selection is worth one point.

transparency
fairness
inclusiveness
reliability and safety
privacy and security

A

Correct Answer
Fairness and Inclusiveness

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

DRAG DROP

You plan to use containerized versions of the Anomaly Detector API on local devices for testing and in on-premises datacenters.

You need to ensure that the containerized deployments meet the following requirements:

  • Prevent billing and API information 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 access control (Azure RBAC).

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

NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
Actions
Create a custom Dockerfile.
Pull the Anomaly Detector container image.
Distribute a docker run script.
Push the image to an Azure container registry.
Build the image.
Push the image to Docker Hub.

Answer Area

A

Correct Actions and Sequence for the Answer Area
To deploy containerized versions of the Anomaly Detector API on local devices and on-premises datacenters while meeting the requirements of preventing billing and API information from being stored in command-line histories and controlling access using Azure role-based access control (Azure RBAC), the following four actions should be performed in sequence:

Create a custom Dockerfile.
Build the image.
Push the image to an Azure container registry.
Pull the Anomaly Detector container image.

17
Q

HOTSPOT

You plan to deploy a containerized version of an Azure Cognitive Services service that will be used for text analysis.

You configure https://contoso.cognitiveservices.azure.com as the endpoint URI for the service, and you pull the latest version of the Text Analytics Sentiment Analysis container.

You need to run the container on an Azure virtual machine by using Docker.

How should you complete the command? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Answer Area
docker run – rm -it -p 5000:5000 – memory 8g – cpus 1 \

<dropdown>
http://contoso.blob.core.windows.net
https://contoso.cognitiveservices.azure.com
mcr.microsoft.com/azure-cognitive-services/textanalytics/keyphrase
mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment
Eula=accept
Billing=<dropdown>

http://contoso.blob.core.windows.net
https://contoso.cognitiveservices.azure.com
mcr.microsoft.com/azure-cognitive-services/textanalytics/keyphrase
mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment
ApiKey=xxx
</dropdown></dropdown>

A

Correct Selections for the Hotspot Answer Area
To run the containerized version of the Azure Cognitive Services Text Analytics Sentiment Analysis container on an Azure virtual machine using Docker, the docker run command should be completed as follows:

First dropdown (image name): mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment
Second dropdown (Billing value): https://contoso.cognitiveservices.azure.com

18
Q

You have the following C# method for creating Azure Cognitive Services resources programmatically.
static void create_resource (CognitiveServicesManagementClient client, string
resource name, string kind, string account_tier, string location)
{
CognitiveServicesAccount parameters =
new CognitiveServicesAccount (null, null, kind, location, resource_name,
new CognitiveServicesAccountProperties (), new Sku(account_tier));
var result = client.Accounts.Create (resource_group_name, account_tier,
parameters);
}
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?

create_resource(client, “res1”, “ComputerVision”, “FO”, “westus”)
create_resource(client, “res1”, “CustomVision.Prediction”, “FO”, “westus”)
create_resource(client, “res1”, “ComputerVision”, “SO”, “westus”)
create_resource(client, “res1”, “CustomVision.Prediction”, “SO”, “westus”)

A

create_resource(client, “res1”, “ComputerVision”, “F0”, “westus”)

19
Q

You successfully run the following HTTP request.

POST https://management.azure.com/subscriptions/18c51a87-3a69-47a8-aedc-a54745f708a1/resourceGroups/RG1/providers/Microsoft.CognitiveServices/ accounts/contosol/regenerateKey?api-version=2017-04-18 Body{“keyName”: “Key2”}

What is the result of the request?

A key for Azure Cognitive Services was generated in Azure Key Vault.
A new query key was generated.
The primary subscription key and the secondary subscription key were rotated.
The secondary subscription key was reset.

A

Correct Answer
The secondary subscription key was reset.

20
Q

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 develop an application to identify species of flowers by training a Custom Vision model. You receive images of new flower species.

You need to add the new images to the classifier.

Solution: You add the new images and labels to the existing model. You retrain the model, and then publish the model.

Does this meet the goal?

Yes
No

21
Q
  1. DRAG DROP

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

“faceListId”
“LargeFaceListId”
“matchPerson”
“matchFace”

Answer Area
{
“faceId”: “18c51a87-3a69-47a8-aedc-a54745f708a1”,
—————: “employeefaces”,
“maxNumOfCandidatesReturned”: 1,
“mode”: —————
}

A

largeFaceListId
matchFace

{
“faceId”: “18c51a87-3a69-47a8-aedc-a54745f708a1”,
“largeFaceListId”: “employeefaces”,
“maxNumOfCandidatesReturned”: 1,
“mode”: “matchFace”
}

22
Q

DRAG DROP

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.
Services
Azure Blob storage
Custom Vision API
Azure Files
Language Understanding API
Translator API
Computer Vision API
Azure Cosmos DB

Answer Area
Source Cracking Preparation Destination
———- —- > ———- —- > —————– —- >

A

Correct Answer:
Source: Azure Blob Storage
Cracking: Computer Vision API
Preparation: None
Destination: Azure Cosmos DB
Answer Area:
Azure Blob Storage —-> Computer Vision API —-> Azure Cosmos DB

23
Q

You are building a natural language model.

You need to enable active learning.

What should you do?

Add show-all-intents=true to the prediction endpoint query.
Enable speech priming.
Add log=true to the prediction endpoint query.
Enable sentiment analysis.

A

Correct Answer: Add log=true to the prediction endpoint query.

24
You are developing an application to recognize employees' faces by using the Face Recognition API. Images of the faces will be accessible from a URI endpoint. The application has the following code. static async void AddFace(string subscription_key, string personGroupId, string personId, string imageURI) { var client = new HttpClient(); client.DefaultRequestHeaders.Add("Ocp-Apim-Subscription-Key", subscription_key); var endpointURI = $"https://westus.api.cognitive.microsoft.com/face/v1.0/persongroups/{personGroupId} /persons/{personId}/persistedFaces"; HttpResponseMessage response; var body = "{ \"url\": \"" + imageURI + "\"}"; var content = new StringContent(body, Encoding.UTF8, "application/json"); var response = await client.PutAsync(endpointURI, content); } For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Statements The code will add a face image to a person object in a person group. The code will work for a group of 10,000 people. AddFace can be called multiple times to add multiple face images to a person object.
Answers: The code will add a face image to a person object in a person group: Yes The code will work for a group of 10,000 people: No AddFace can be called multiple times to add multiple face images to a person object: Yes
25
Your company wants to reduce how long it takes for employees to log receipts in expense reports. All the receipts are in English. You need to extract top-level 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? Custom Vision Personalizer Form Recognizer Computer Vision
Correct Answer: Form Recognizer
26
You develop a test method to verify the results retrieved from a call to the Computer Vision API. The call is used to analyze the existence of company logos in images. The call returns a collection of brands named brands. You have the following code segment. foreach (var brand in brands) { if (brand.Confidence >= .75) Console.WriteLine($"Logo of {brand.Name} between {brand.Rectangle.X}, {brand.Rectangle.Y} and {brand.Rectangle.W], (brand.Rectangle.H}"); } 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 Area Statements The code will return the name of each detected brand with a confidence equal to or higher than 75 percent. The code will return coordinates for the bottom-left corner of the rectangle that contains the brand logo of the displayed brands. The code will return coordinates for the bottom-right corner of the rectangle that contains the brand logo of the displayed brands.
Answers: The code will return the name of each detected brand with a confidence equal to or higher than 75 percent: Yes The code will return coordinates for the bottom-left corner of the rectangle that contains the brand logo of the displayed brands: No The code will return coordinates for the bottom-right corner of the rectangle that contains the brand logo of the displayed brands: Yes
27
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. NOTE: Each correct selection is worth one point. (Choose three.) Make API queries to the autocomplete endpoint and include suggesterName in the body. Add a suggester that has the three product name fields as source fields. Make API queries to the search endpoint and include the product name fields in the searchFields query parameter. Add a suggester for each of the three product name fields. Set the searchAnalyzer property for the three product name variants. Set the analyzer property for the three product name variants.
Correct Answers: Make API queries to the autocomplete endpoint and include suggesterName in the body. Add a suggester that has the three product name fields as source fields. Set the analyzer property for the three product name variants.
28
You have the following data sources: ✑ Finance: On-premises Microsoft SQL Server database ✑ 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? Configure multiple read replicas for the data in Sales. Mirror Finance to an Azure SQL database. Migrate the data in Sales to the MongoDB AP Ingest the data in Logs into Azure Sentinel.
Correct Answer: Mirror Finance to an Azure SQL database.
29
10. You build a custom Form Recognizer model. You receive sample files to use for training the model as shown in the following table. Name | Type | Size File1 | PDF | 20 MB File2 | MP4 | 100 MB File3 | JPG | 20 MB File4 | PDF | 100 MB File5 | GIF | 1 MB File6 | JPG | 40 MB Which three files can you use to train the model? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point. (Choose three.) File1 File2 File3 File4 File5 File6
Correct Answers: File1 File3 File6
30
You need to upload speech samples to a Speech Studio project . How should you upload the samples? Combine the speech samples into a single audio file in the .wma format and upload the file. Upload a .zip file that contains a collection of audio files in the .wav format and a corresponding text transcript file. Upload individual audio files in the FLAC format and manually upload a corresponding transcript in Microsoft Word format. Upload individual audio files in the .wma format.
31
You have a collection of 50,000 scanned documents that contain text. You plan to make the text available through Azure Cognitive Search. You need to configure an enrichment pipeline to perform optical character recognition (OCR) and text analytics. The solution must minimize costs. What should you attach to the skillset? a new Computer Vision resource a free (Limited enrichments) Cognitive Services resource an Azure Machine Learning pipeline a new Cognitive Services resource that uses the SO pricing tier
32
13. HOTSPOT 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. Answer Area Answer Area ------------------------------------------ -------------?api-version=3.0&to=es&to=pt api.cognitive.microsofttranslator.com /detect api-nam.cognitive.microsofttranslator.com /languages westus.tts.speech.microsoft.com /text-to-speech wwics.cognitiveservices.azure.com/translator /translate
33
You are developing a text processing solution. You develop the following method. static void GetKeyPhrases(TextAnalyticsClient textAnalyticsClient, string text) { var response = textAnalyticsClient.ExtractKeyPhrases (text); Console.WriteLine("Key phrases:"); foreach (string keyphrase in response.Value) { Console.WriteLine($"\t(keyphrase}"); } 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 Area Statements The call will output key phrases from the input string to the console. The output will contain the following words: the, cat, sat, on, and mat. The output will contain the confidence level for key phrases.
34
Topic 2, Misc. Questions You build a bot by using the Microsoft Bot Framework SDK and the Azure Bot Service. You plan to deploy the bot to Azure. You register the bot by using the Bot Channels Registration service. Which two values are required to complete the deployment? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. botld tenancld appld objeccld appSecrec
35
HOTSPOT You are building a model that will be used in an iOS app. You have images of cats and dogs. Each image contains either a cat or a dog. You need to use the Custom Vision service to detect whether the images is of a cat or a dog. How should you configure the project in the Custom Vision portal? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Project Types: Classification Object Detection Classification Types: Multiclass (Single tag per image) Multilabel (Multiple tags per image) Domains: Audit Food General General (compact) Landmarks Landmarks (compact) Retail Retail (compact)
36
HOTSPOT You have a Computer Vision resource named contoso1 that is hosted in the West US Azure region. You need to use contoso1 to make a different size of a product photo by using the smart cropping feature. How should you complete the API URL? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. curl -H "Ocp-Apim-Subscription-Key: xxx" / -o "sample.png" -H "Content-Type: application/json" / --------------------------------------------/vision/v3.1/-------------------------?width=100&height=100&smartCropping=true" / "https://api.projectoxford.ai areaOfinterest "https://contoso1.cognitiveservices.azure.com detect "https://westus.api.cognitive.microsoft.com generate Thumbnail -d"{\"url\":\"https://upload.litwareinc.org/litware/bicycle.jpg\"}"
37
DRAG DROP You are building a retail chatbot that will use a QnA Maker service. You upload an internal support document to train the model. The document contains the following question: "What is your warranty period?" Users report that the chatbot returns the default 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 answer. You need to increase the accuracy of the chatbot responses. 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.) Actions Add a new question and answer (QnA) pair. Retrain the model. Add additional questions to the document. Republish the model. Add alternative phrasing to the question and answer (QnA) pair. Answer Area
38
You plan to perform predictive maintenance. You collect 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? Anomaly Detector Cognitive Search Form Recognizer Custom Vision
39
HOTSPOT You need to create a new resource that will be used to perform sentiment analysis and optical character recognition (OCR). The solution must meet the following 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 complete the HTTP request to create the new resource? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer Area ------------------https://management.azure.com/subscriptions/x PATCH POST PUT xxxx-xxxx- xxxxxxxxxxxx/resourceGroups/RG1/providers/Microsoft.CognitiveServices/ accounts/CS1?api-version=2017-04-18 { "location": "West US", "kind": "----------------------------- CognitiveServices ComputerVision TextAnalytics "sku": { "name": "SO" }, "properties": {}, "identity": { "type": "SystemAssigned" } }