You need to select the partition key for con-iot1. The solution must meet the IoT telemetry requirements. What should you select?
- A. the timestamp
- B. the humidity
- C. the temperature
- D. the device ID
Free DP-420 sample questions for the Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB exam. No account required: study at your own pace.
Want an interactive quiz? Take the full DP-420 practice testLooking for more? Click here to get the full PDF with 68+ practice questions for $10 for offline study and deeper preparation.
You need to select the partition key for con-iot1. The solution must meet the IoT telemetry requirements. What should you select?
You have a container in an Azure Cosmos DB for NoSQL account. You need to create an alert based on a custom Log Analytics query. Which signal type should you use?
You have an Azure Cosmos DB for NoSQL account that uses the default consistency level. How can the consistency level be modified as part of a query request?
Your company develops an application named App1 that uses the Azure Cosmos DB SDK and the Eventual consistency level. App1 queries an Azure Cosmos DB for NoSQL account named account1. You need to identify which consistency level to assign to App1 to meet the following requirements: • Maximize the throughput of the queries generated by App1 without increasing the number of request units currently used by the queries. • Provide the highest consistency guarantees. Which consistency level should you identify?
You provision an Azure Cosmos DB for NoSQL container. You set the throughput to Autoscale, and the maximum request units per second (RU/s) to 20,000. For how many RU/s will you be charged when the actual RU/s usage is zero?
You need to configure an Apache Kafka instance to ingest data from an Azure Cosmos DB Core (SQL) API account. The data from a container named telemetry must be added to a Kafka topic named iot. The solution must store the data in a compact binary format. Which three configuration items should you include in the solution? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. You need to provide a user named User1 with the ability to insert items into container1 by using role-based access control (RBAC). The solution must use the principle of least privilege. Which roles should you assign to User1?
You plan to store order data in an Azure Cosmos DB Core (SQL) API account. The data contains information about orders and their associated items. You need to develop a model that supports order read operations. The solution must minimize the number of requests. What should you do?
You have an Azure Cosmos DB for NoSQL account. You configure the diagnostic settings to send all log information to a Log Analytics workspace. You need to identify when the provisioned request units per second (RU/s) for resources within the account were modified. You write the following query. AzureDiagnostics - | where Category == "ControlPlaneRequests" What should you include in the query?
You plan to create an Azure Cosmos DB for NoSQL account that will have a single write region and three read regions. You need to set the consistency level for the account. The solution must meet the following requirements: • In the write region, writes must replicate synchronously across at least three replicas. • In the read regions, reads must see writes in order for transactional batches. • Throughput for reads and writes must be maximized. Which consistency level should you select?
You have an Azure Cosmos DB for NoSQL account named account1. You need to create a container named Container1 in account1 by using the Azure Cosmos DB .NET SDK. The solution must ensure that the items in Container1 never expire. What should you set?
You have a database named db1 in an Azure Cosmos DB Core (SQL) API account. You have a third-party application that is exposed through a REST API. You need to migrate data from the application to a container in db1 on a weekly basis. What should you use?
You have an Azure Cosmos DB for NoSQL container named Contained that has a provisioned throughput of 1,000 request units per second (RU/s). Contained is queried by using an app named App1. Users of App1 report that several times a day, they receive the following error message: “HTTP error code 429” You need to improve the reliability of App1 without affecting the performance of the app. What are two ways to improve the reliability? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
You plan to create an Azure Cosmos DB for NoSQL database named db1 that will contain two containers. One of the containers will contain blog posts, and the other will contain users. Each item in the blog post container will include: • A single blog post • The top 10 comments associated to the blog post • The names of the users who created the blog post and the associated comments You need to automatically update the usernames in the blog post container whenever a username in the user container changes. What should you implement for the user container?
You have an Azure Cosmos DB Core (SQL) API account. You need to create an Azure Monitor query that lists recent modifications to the regional failover policy. Which Azure Monitor table should you query?
You have an Azure Cosmos DB for NoSQL container named Container1 that contains 20,000 items. The items have 1,000 unique partition key values. Each item is 50 KB. You need to evaluate the cost of running cross-partition queries by using Container1. What should you do first?
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?
You plan to create an operational system that will store data in an Azure Cosmos DB Core (SQL) API account. You need to configure the account to meet the following requirements: • Support Spark queries. • Support the analysis of data from the last six months. • Only pay for analytical compute when running queries. Which three actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
You have an Azure subscription that contains an Azure Cosmos DB for NoSQL database named DB1. In DB1, you plan to create a container that will use a hierarchical partition key. You need to identify which hierarchical partition key path to use when adding new items to the container. Which SDK class should you use?
You have an Azure subscription. The subscription contains an Azure Cosmos DB for NoSQL account named account1 that hosts a container named Container1. Container1 has a provisioned throughput of 100 request units per second (RU/s) and uses a single physical partition. You are evaluating the available throughput for Container1. What is the maximum burst capacity that Container1 can accumulate?
Download the complete DP-420 study bundle with 68+ questions in a single printable PDF.