ExamGecko
Home Home / Microsoft / AI-102

Microsoft AI-102 Practice Test - Questions Answers, Page 4

Question list
Search
Search

List of questions

Search

Related questions











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.

A.
Enable WebSockets for the chatbot app.
A.
Enable WebSockets for the chatbot app.
Answers
B.
Create a Speech service.
B.
Create a Speech service.
Answers
C.
Register a Direct Line Speech channel.
C.
Register a Direct Line Speech channel.
Answers
D.
Register a Cortana channel.
D.
Register a Cortana channel.
Answers
E.
Enable CORS for the chatbot app.
E.
Enable CORS for the chatbot app.
Answers
F.
Create a Language Understanding service.
F.
Create a Language Understanding service.
Answers
Suggested answer: A, B, C

Explanation:

You can use the Speech service to voice-enable a chat bot.

The Direct Line Speech channel uses the text-to-speech service, which has neural and standard voices.

You'll need to make a small configuration change so that your bot can communicate with the Direct Line Speech channel using web sockets.

Reference:

https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk

You deploy a web app that is used as a management portal for indexing in Azure Cognitive Search. The app is configured to use the primary admin key. During a security review, you discover unauthorized changes to the search index. You suspect that the primary access key is compromised. You need to prevent unauthorized access to the index management endpoint. The solution must minimize downtime. What 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.
A.
Regenerate the primary admin key, change the app to use the secondary admin key, and then regenerate the secondary admin key.
Answers
B.
Change the app to use a query key, and then regenerate the primary admin key and the secondary admin key.
B.
Change the app to use a query key, and then regenerate the primary admin key and the secondary admin key.
Answers
C.
Regenerate the secondary admin key, change the app to use the secondary admin key, and then regenerate the primary key.
C.
Regenerate the secondary admin key, change the app to use the secondary admin key, and then regenerate the primary key.
Answers
D.
Add a new query key, change the app to use the new query key, and then delete all the unused query keys.
D.
Add a new query key, change the app to use the new query key, and then delete all the unused query keys.
Answers
Suggested answer: A

Explanation:

Regenerate admin keys.

Two admin keys are created for each service so that you can rotate a primary key, using the secondary key for business continuity. 1. In the Settings >Keys page, copy the secondary key.

2. For all applications, update the API key settings to use the secondary key.

3. Regenerate the primary key.

4. Update all applications to use the new primary key.

Note: Two admin api-keys, referred to as primary and secondary keys in the portal, are automatically generated when the service is created and can be individually regenerated on demand. Having two keys allows you to roll over one key while using the second key for continued access to the service.

Reference:

https://docs.microsoft.com/en-us/azure/search/search-security-api-keys#regenerate-admin-keys

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?

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.
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.
Answers
B.
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.
B.
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.
Answers
C.
Create a Cognitive Search service for each type of document.
C.
Create a Cognitive Search service for each type of document.
Answers
D.
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.
D.
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.
Answers
Suggested answer: D

Explanation:

Incorrect Answers:

A: Need more search units to process the data in parallel.

B: Run them in parallel, not sequentially.

C: Need a blob indexer.

Note: A blob indexer is used for ingesting content from Azure Blob storage into a Cognitive Search index.

Index large datasets

Indexing blobs can be a time-consuming process. In cases where you have millions of blobs to index, you can speed up indexing by partitioning your data and using multiple indexers to process the data in parallel. Here's how you can set this up:

Partition your data into multiple blob containers or virtual folders

Set up several data sources, one per container or folder.

Create a corresponding indexer for each data source. All of the indexers should point to the same target search index. One search unit in your service can run one indexer at any given time. Creating multiple indexers as described above is only useful if they actually run in parallel.

Reference:

https://docs.microsoft.com/en-us/azure/search/search-howto-indexing-azure-blob-storage

You need to implement a table projection to generate a physical expression of an Azure Cognitive Search index. Which three properties should you specify in the skillset definition JSON configuration table node? Each correct answer presents part of the solution. (Choose three.) NOTE: Each correct selection is worth one point.

A.
tableName
A.
tableName
Answers
B.
generatedKeyName
B.
generatedKeyName
Answers
C.
datasource
C.
datasource
Answers
D.
dataSourceConnection
D.
dataSourceConnection
Answers
E.
source
E.
source
Answers
Suggested answer: A, B, E

Explanation:

Defining a table projection.

Each table requires three properties:

tableName: The name of the table in Azure Storage.

generatedKeyName: The column name for the key that uniquely identifies this row.

source: The node from the enrichment tree you are sourcing your enrichments from. This node is usually the output of a shaper, but could be the output of any of the skills.

Reference:

https://docs.microsoft.com/en-us/azure/search/knowledge-store-projection-overview

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?

A.
Configure multiple read replicas for the data in Sales.
A.
Configure multiple read replicas for the data in Sales.
Answers
B.
Mirror Finance to an Azure SQL database.
B.
Mirror Finance to an Azure SQL database.
Answers
C.
Migrate the data in Sales to the MongoDB API.
C.
Migrate the data in Sales to the MongoDB API.
Answers
D.
Ingest the data in Logs into Azure Sentinel.
D.
Ingest the data in Logs into Azure Sentinel.
Answers
Suggested answer: B

Explanation:

On-premises Microsoft SQL Server database cannot be used as an index data source.

Note: Indexer in Azure Cognitive Search: : Automate aspects of an indexing operation by configuring a data source and an indexer that you can schedule or run on demand. This feature is supported for a limited number of data source types on Azure.

Indexers crawl data stores on Azure.

Azure Blob Storage

Azure Data Lake Storage Gen2 (in preview)

Azure Table Storage

Azure Cosmos DB

Azure SQL Database

SQL Managed Instance

SQL Server on Azure Virtual Machines

Reference:

https://docs.microsoft.com/en-us/azure/search/search-indexer-overview#supported-data-sources

You are developing a solution to generate a word cloud based on the reviews of a company's products. Which Text Analytics REST API end point should you use?

A.
keyPhrases
A.
keyPhrases
Answers
B.
sentiment
B.
sentiment
Answers
C.
languages
C.
languages
Answers
D.
entities/recognition/general
D.
entities/recognition/general
Answers
Suggested answer: A

Explanation:

Reference: https://docs.microsoft.com/en-us/azure/coqnitive-services/text-analytics/overview

HOTSPOT

You are developing a text processing solution.

You develop the following method.

You call the method by using the following code.

GetKeyPhrases(textAnalyticsClient, "the cat sat on the mat");

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

NOTE: Each correct selection is worth one point.

Question 37
Correct answer: Question 37

Explanation:

Box 1: Yes

The Key Phrase Extraction API evaluates unstructured text, and for each JSON document, returns a list of key phrases.

Box 2: No

'the' is not a key phrase.

This capability is useful if you need to quickly identify the main points in a collection of documents. For example, given input text "The food was delicious and there were wonderful staff", the service returns the main talking points: "food" and "wonderful staff".

Box 3: No

Key phrase extraction does not have confidence levels.

Reference:

https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-keyword-extraction

HOTSPOT

You are creating an enrichment pipeline that will use Azure Cognitive Search. The knowledge store contains unstructured JSON data and scanned PDF documents that contain text.

Which projection type should you use for each data type? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question 38
Correct answer: Question 38

Explanation:

Box 1: Object projection

Object projections are JSON representations of the enrichment tree that can be sourced from any node.

Box 2: File projection

File projections are similar to object projections and only act on the normalized_images collection.

Reference:

https://docs.microsoft.com/en-us/azure/search/knowledge-store-projection-overview

HOTSPOT

You are building an Azure Cognitive Search custom skill.

You have the following custom skill schema definition.

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

NOTE: Each correct selection is worth one point.

Question 39
Correct answer: Question 39

Explanation:

Box 1: Yes

Once you have defined a skillset, you must map the output fields of any skill that directly contributes values to a given field in your search index.

Box 2: Yes

The definition is a custom skill that calls a web API as part of the enrichment process.

Box 3: No

For each organization identified by entity recognition, this skill calls a web API to find the description of that organization.

Reference:

https://docs.microsoft.com/en-us/azure/search/cognitive-search-output-field-mapping

DRAG DROP

You have a web app that uses Azure Cognitive Search.

When reviewing billing for the app, you discover much higher than expected charges. You suspect that the query key is compromised.

You need to prevent unauthorized access to the search endpoint and ensure that users only have read only access to the documents collection. The solution must minimize app downtime.

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.

Question 40
Correct answer: Question 40

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/search/search-security-api-keys

Total 309 questions
Go to page: of 31