Test3 Flashcards

(41 cards)

1
Q

You have an existing Azure Cognitive Search service.

You have an Azure Blob storage account that contains millions of scanned documents stored as images and PDFs.

You need to make the scanned documents available to search as quickly as possible.

What should you do?

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.
Split the data into multiple blob containers. Create an indexer for each container. Increase the search units. Within each indexer definition, schedule a sequential execution pattern.
Create a Cognitive Search service for each type of document.
Split the data into multiple virtual folders. Create an indexer for each folder. Increase the search units. Within each indexer definition, schedule the same runtime execution pattern.

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

You run the following command.
docker run – rm -it -p 5000:5000 – memory 10g – cpus 2 \
mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment\
Eula=accept \
Billing={ENDPOINT_URI}
ApiKey={API_KEY}
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Statements

Going to http://localhost:5000/status will query the Azure endpoint

to verify whether the API key used to start the container is valid.

The container logging provider will write log data.

Going to http://localhost:5000/swagger will provide the details to access the documentation for the available endpoints.

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

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.

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

HOTSPOT

You are developing an application that includes language translation.

The application will translate text retrieved by using a function named get_text_to_be_translated. The text can be in one of many languages. The content of the text must remain within the Americas Azure geography.

You need to develop code to translate the text to a single language.

How should you complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Answer Area:
api_key = “FF956C68B83821838691ABD200A4C606”
text - get_text_to_be_translated()
headers - {
“Content-Type’: “application/json’,
“Ocp-Apim-Subscription-Key’: api_key

body - {
*Text’: text

conn - httplib.HTTPSConnection
conn.request(“POST”, [Answer1])

response = conn.getresponse()

conn.request(“POST”, [Answer2],
str(body), headers)

response_data = response.r
✅ Answer1 (chọn 1 đáp án)
(“api.cognitive.microsofttranslator.com”)

(“api-apc.cognitive.microsofttranslator.com”)

(“api-nam.cognitive.microsofttranslator.com”)

(“/translate?from=en”)

✅ Answer2 (chọn 1 đáp án)
“/translate?suggestedFrom=en”

“/translate?to=en”

“/detect?to=en”

“/detect?from=en”

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

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 add indexes.

Does this meet the goal?

Yes
No

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

You are building a chatbot by using the Microsoft Bot Framework Composer as shown in the exhibit.
(GetUserDetails > BeginDialog > Text)
BeginDialog
|
|
Bot Asks (Text)

What is your name?
User input (Text)

(SCOPE).name = Input(Text)

Prompt for text
Text Input
Collection information - Ask for a word or sentence.
Property:
string
(SCOPE) name
Output format:
string
Value:
string
Expected responses (intent):
#Textinput_Response_FuvyF4
The chatbot contains a dialog named GetUserDetails. GetUserDetails contains a TextInput control that prompts users for their name.

The user input will be stored in a property named name.

You need to ensure that you can dispose of the property when the last active dialog ends.

Which scope should you assign to name?

dialog
user
curn
conversation

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

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

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

You need to enable speech capabilities for a chatbot.

Which three actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Enable WebSockets for the chatbot app.
Create a Speech service.
Register a Direct Line Speech channel.
Register a Cortana channel.
Enable CORS for the chatbot app.
Create a Language Understanding service.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
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. NOTE: Each correct selection is worth one point. (Choose two.)

transparency
fairness
inclusiveness
reliability and safety
privacy and security

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

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)

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

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?

QnADialogResponseOptions.CardNoMatchText
Qna MakerOptions-ScoreThreshold
Qna Maker Op t ions StrickFilters
QnaMakerOptions.RankerType

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

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

You plan to notify users that their data has been processed by the sales system.

Which responsible AI principle does this help meet?

transparency
fairness
inclusiveness
reliability and safety

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

You have the following C# method:
static void create_resource(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 = cog_svc_client.Accounts.Create(resource_group_name, account_tier, parameters); } You need to deploy an Azure resource to the East US Azure region. The resource will be used to perform sentiment analysis.

How should you call the method?
A. create_resource(“res1”, “ContentModerator”, “SO”, “eastus”)
B. create_resource(“res1”, “TextAnalytics”, “SO”, “eastus”)
C. create_resource(“res1”, “ContentModerator”, “Standard”, “East US”)
D. create_resource(“res1”, “TextAnalytics”, “Standard”, “East US”)

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

What is a characteristic of a non-relational database?

full support for Transact-SGL
a fixed schema
self describing entities

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

You are building a Language Understanding model for an e-commerce platform. You need to construct an entity to capture billing addresses.

Which entity type should you use for the billing address?

machine learned
Regex
geographyV2
Pattern.any
list

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

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

Normalization involves eliminating relationships between database tables.

Normalizing a database reduces data redundancy.

Normalization improves data integrity.

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

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 then use the Smart Labeler tool.

Does this meet the goal?

Yes
No

17
Q

DRAG DROP

You are developing a photo application that will find 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 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 | Answer Area
Values Answer Area
detect POST {Endpoint}/face/v1.0/________
findsimilars Request Body
group {
identify “faceId”: “c5c24a82-6845-4031-9d5d-978df9175426”,
matchFace “largeFaceListId”: “sample_list”,
matchPerson “largeFaceListId”: “sample_list”,
verify “maxNumOfCandidatesReturned”: 10,
“mode”: “________”
}

18
Q

You manage an application that stores data in a shared folder on a Windows server. You need to move the shared folder to Azure Storage.

Which type of Azure Storage should you use?

table
queue
file
blob

19
Q

What should you use to build a Microsoft Power Bi paginated report?

Power BI Report Builder
Charciculator
Power BI Desktop
the Power BI service

20
Q

You need to measure the public perception of your brand on social media by using natural language processing.

Which Azure service should you use?

Content Moderator
Form Recognizer
Computer Vision
Language service

21
Q

Select the answer that correctly completes the sentence.

Answer Area

——————–is responsible for identifying which business rules must be applied to the data of a company.

A data analyst
A data engineer
A data scientist

22
Q

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

Description

Product Management

An app used by employees to create and manage products. The app
and the expected inputs from the employees are in English.

Inventory Tracking

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”,

1,

“pt”: “Bicicleta”
“image”:
{“uri”: “https://upload.worldwideimporters.org/bicycle.jpg”,
“alttext”: {
“en”:”Bicycle”,
“es”: “Bicicleta”,
“pt”: “Bicicleta”

},
“createdUtc”: “2020-02-14T06:08:392”,
“language”: “en”

}
DRAG DROP

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

Index the video by using the Video
Indexer API.
Upload the video to blob storage.
Analyze the video by using the
Computer Vision API.
Extract the transcript from
Microsoft Stream.
Send the transcript to the Language
Understanding API as an utterance.
Extract the transcript from the
Video Indexer API.
Translate the transcript by using
the Translator API.
Upload the video to file storage.

Answer Area

23
Q

What is the primary purpose of a data warehouse?

to provide storage for transactional line-of-business (LOB) applications
to provide transformation services between source and target data stores
to provide read only storage of relational and non relational historical data
to provide answers to complex queries that rely on data from multiple sources

24
Your company needs to implement a relational database in Azure. The solution must minimize ongoing maintenance. Which Azure service should you use? SQL Server on Azure Virtual Machines Azure SOL Database Azure HDInsight Azure Cosmos DB
25
Which Azure Storage service implements the key/value model? Azure Files Azure Blob Azure Table Azure Queue
26
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" "matchFace" "matchPerson" Answer Area { "faceId": "18c51a87-3a69-47a8-aedc-a54745f708a1", ----------------: "employeefaces", "maxNumOfCandidatesReturned": 1, "mode":----------------- }
27
You are training a Language Understanding model for a user support system. You create the first intent named GetContactDetails and add 200 examples. You need to decrease the likelihood of a false positive. What should you do? Enable active learning. Add a machine learned entity. Add additional examples to the GetContactDetails intent. Add examples to the None intent.
28
DRAG DROP You build a bot by using the Microsoft Bot Framework SDK. You need to test the bot interactively on a local machine. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the cor'ect order. NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select. Actions Register the bot with the Azure Bot Service. Open the Bot Framework Composer. Build and run the bot. Open the Bot Framework Emulator. Connect to the bot endpoint. Answer Area 1 2 3
29
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. /vision/v3.2/read/analyzeResults /formrecognizer/v2.0/prebuilt/receipt/analyze /vision/v3.2/read/analyze /vision/v3.2/describe /formercognizer/v2.0/custom/models{modelId}/ analyze
30
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
31
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? Yes No
32
HOTSPOT Select the answer that correctly completes the sentence. Answer Arca A JSON document is an example of--------------- graph data. relational data. semi-structured data. unstructured data.
33
You are developing an internet-based training solution 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 Cognitive Services service should you use for each requirement? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. From a learner's video feed, verify whether the learner is present: Face Speech Text Analytics From a learner's facial expression in the video feed, verify whether the learner is paying attention: Face Speech Text Analytics From a learner's audio feed, detect whether the learner is talking: Face Speech Text Analytics
34
Which database transaction property ensures that transactional changes to a database are preserved during unexpected operating system restarts? durability atomicity consistency isolation
35
Which scenario is an example of a streaming workload? sending transactions daily from point of sale (POS) devices sending cloud infrastructure metadata every 30 minutes sending transactions that are older than a month to an archive sending telemetry data from edge devices
36
You need to recommend a non-relational data store that is optimized for storing and retrieving text files, videos, audio streams, and virtual disk images. The data store must store data, some metadata, and a unique ID for each file. Which type of data store should you recommend? columnar key/value document object
37
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
38
DRAG DROP You train a Custom Vision model to identify a company’s products by using the Retail domain. You plan to deploy the model as part of an app for Android phones. You need to prepare the model for deployment. 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. Actions Change the model domain. Retrain the model. Test the model. Export the model. Answer Area
39
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.
40
What should you use to automatically delete blobs from Azure Blob Storage? the change feed a lifecycle management policy soft delete archive storage