Free DP-420 Exam Braindumps (page: 5)

Page 4 of 23

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Cosmos DB Core (SQL) API account named account 1 that uses autoscale throughput. You need to run an Azure function when the normalized request units per second for a container in account1 exceeds a speci c value.
Solution: You con gure an Azure Monitor alert to trigger the function.
Does this meet the goal?

  1. Yes
  2. No

Answer(s): A

Explanation:

You can set up alerts from the Azure Cosmos DB pane or the Azure Monitor service in the Azure portal.
Note: Alerts are used to set up recurring tests to monitor the availability and responsiveness of your Azure Cosmos DB resources. Alerts can send you a noti cation in the form of an email, or execute an Azure Function when one of your metrics reaches the threshold or if a speci c event is logged in the activity log.


Reference:

https://docs.microsoft.com/en-us/azure/cosmos-db/create-alerts



Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Cosmos DB Core (SQL) API account named account 1 that uses autoscale throughput. You need to run an Azure function when the normalized request units per second for a container in account1 exceeds a speci c value.
Solution: You con gure the function to have an Azure CosmosDB trigger.
Does this meet the goal?

  1. Yes
  2. No

Answer(s): B

Explanation:

Instead con gure an Azure Monitor alert to trigger the function.
You can set up alerts from the Azure Cosmos DB pane or the Azure Monitor service in the Azure portal.


Reference:

https://docs.microsoft.com/en-us/azure/cosmos-db/create-alerts



Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Cosmos DB Core (SQL) API account named account 1 that uses autoscale throughput. You need to run an Azure function when the normalized request units per second for a container in account1 exceeds a speci c value. Solution: You con gure an application to use the change feed processor to read the change feed and you con gure the application to trigger the function.
Does this meet the goal?

  1. Yes
  2. No

Answer(s): B

Explanation:

Instead con gure an Azure Monitor alert to trigger the function.
You can set up alerts from the Azure Cosmos DB pane or the Azure Monitor service in the Azure portal.


Reference:

https://docs.microsoft.com/en-us/azure/cosmos-db/create-alerts



You have a database named db1 in an Azure Cosmos DB Core (SQL) API account.
You are designing an application that will use db1.
In db1, you are creating a new container named coll1 that will store online orders.
The following is a sample of a document that will be stored in coll1.



The application will have the following characteristics:
New orders will be created frequently by different customers.
Customers will often view their past order history.
You need to select the partition key value for coll1 to support the application. The solution must minimize costs.
To what should you set the partition key?

  1. orderId
  2. customerId
  3. orderDate
  4. id

Answer(s): B

Explanation:

If most of your workload's requests are queries and most of your queries have an equality lter on the same property, this property can be a good partition key choice. For example, if you frequently run a query that lters on UserID, then selecting UserID as the partition key would reduce the number of cross-partition queries.


Reference:

https://docs.microsoft.com/en-us/azure/cosmos-db/partitioning-overview






Post your Comments and Discuss Microsoft DP-420 exam with other Community members: