DRAG DROP - You develop a Python app named App1 that performs speech-to-speech translation. You need to configure App1 to translate English to German. How should you complete the SpeechTranslationConfig object? 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.
Question 162
HOTSPOT - You are developing a streaming Speech to Text solution 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 complete the code? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Question 163
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. Hot Area:
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
Question 164
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.
B. Change the app to use a query key, and then regenerate 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 regenerate 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.
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
Question 165
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.
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.
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. Within each indexer definition, schedule the same runtime execution pattern.
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
Question 166
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. NOTE: Each correct selection is worth one point.
A. tableName
B. generatedKeyName
C. dataSource
D. dataSourceConnection
E. source
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
Question 167
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. Hot Area:
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
Question 168
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. Hot Area:
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
Question 169
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.
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.
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
Question 170
You are developing a solution to generate a word cloud based on the reviews of a company's products. Which Text Analytics REST API endpoint should you use?