HOTSPOT
You have an Azure Cosmos DB Core (SQL) API account named account1.
In account1, you run the following query in a container that contains 100GB of data.
SELECT *
FROM c
WHERE LOWER(c.categoryid) = "hockey"
You view the following metrics while performing the query.
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:
You are building an application that will store data in an Azure Cosmos DB for NoSQL account. The account uses the session default consistency level. The account is used by five other applications. The account has a single read-write
region and 10 additional read regions.
Approximately 20 percent of the items stored in the account are updated hourly.
Several users will access the new application from multiple devices.
You need to ensure that the users see the same item values consistently when they browse from the different devices. The solution must not affect the other applications.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Use implicit session management when performing read requests.
B. Provide a stored session token when performing read requests.
C. Associate a session token to the user account.
D. Set the default consistency level to eventual.
E. Associate a session token to the device.
You have an application that queries an Azure Cosmos 06 for NoSQL account.
You discover that the following two queries run frequently,
You need to minimize the request units (RUs) consumed by reads and writes. What should you create?
A. a composite index for (name DESC, time stamp ASC)
B. a composite index for (name ASC, time stamp DESC)
C. a composite index for (name ASC time stamp ASC) and a composite index for (name, time stamp disc)
D. a composite index for (name ASC, time stamp ASC)
You have a database named db1in an Azure Cosmos DB for NoSQL account named account 1.
You need to write JSON data to db1 by using Azure Stream Analytics. The solution must minimize costs.
Which should you do before you can use db1 as an output of Stream Analytics?
A. in account, add a private endpoint.
B. In db1, create containers that have a custom indexing policy and analytical store disabled.
C. In account, enable a dedicated gateway.
D. In db1, create containers that have an automatic indexing policy and analytical store enabled.
You need to create a database in an Azure Cosmos DB Core (SQL) API account.
The database will contain three containers named coll1, coll2, and coll3. The coll1 container will have unpredictable read and write volumes.
The coll2 and coll3 containers will have predictable read and write volumes.
The expected maximum throughput for coll1 and coll2 is 50,000 request units per second (RU/s) each.
How should you provision the collection while minimizing costs?
A. Create a serverless account.
B. Create a provisioned throughput account. Set the throughput for coll1 to Autoscale. Set the throughput for coll2 and coll3 to Manual.
C. Create a provisioned throughput account. Set the throughput for coll1 to Manual. Set the throughput for coll2 and coll3 to Autoscale.
You plan to create an Azure Cosmos DB account that will use the NoSQL API.
You need to create a grouping strategy for items that will be stored in the account. The solution must ensure that write and read operations on the items can be performed within the same transact!
What should you use to group the items?
A. logical partitions
B. physical partitions
C. databases
D. containers
You need to implement a trigger in Azure Cosmos DB Core (SQL) API that will run before an item is inserted into a container. Which two actions should you perform to ensure that the trigger runs? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A. Append pre to the name of the JavaScript function trigger.
B. For each create request, set the access condition in RequestOptions.
C. Register the trigger as a pre-trigger.
D. For each create request, set the consistency level to session in RequestOptions.
E. For each create request, set the trigger name in RequestOptions.
You have a container in an Azure Cosmos DB Core (SQL) API account. The container stores telemetry data from IoT devices. The container uses telemetryId as the partition key and has a throughput of 1,000 request units per second (RU/s).
Approximately 5,000 IoT devices submit data every five minutes by using the same telemetryId value.
You have an application that performs analytics on the data and frequently reads telemetry data for a single IoT device to perform trend analysis.
The following is a sample of a document in the container.
You need to reduce the amount of request units (RUs) consumed by the analytics application. What should you do?
A. Decrease the offerThroughputvalue for the container.
B. Increase the offerThroughputvalue for the container.
C. Move the data to a new container that has a partition key of deviceId.
D. Move the data to a new container that uses a partition key of date.
You have an Azure Cosmos DB database.
You plan to create a new container named container1 that will store product data and product category data and will primarily support read requests.
You need to configure a partition key for container1. The solution must meet the following requirements:
Minimize the size of the partition.
Minimize maintenance effort.
Which two characteristics should you prioritize? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. unique
B. high cardinality
C. low cardinality
D. static
You need to provide a solution for the Azure Functions notifications following updates to con-product. The solution must meet the business requirements and the product catalog requirements.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Configure the trigger for each function to use a different leaseCollectionPrefix
B. Configure the trigger for each function to use the same leaseCollectionNaire
C. Configure the trigger for each function to use a different leaseCollectionName
D. Configure the trigger for each function to use the same leaseCollectionPrefix