DP-420 Exam Question 26

The following is a sample of a document in orders.

The orders container uses customer as the partition key.
You need to provide a report of the total items ordered per month by item type. The solution must meet the following requirements:
Ensure that the report can run as quickly as possible.
Minimize the consumption of request units (RUs).
What should you do?
  • DP-420 Exam Question 27

    You have a database in an Azure Cosmos DB Core (SQL) API account. The database is backed up every two hours.
    You need to implement a solution that supports point-in-time restore.
    What should you do first?
  • DP-420 Exam Question 28

    You have a container named container1 in an Azure Cosmos DB Core (SQL) API account.
    The following is a sample of a document in container1.
    {
    "studentId": "631282",
    "firstName": "James",
    "lastName": "Smith",
    "enrollmentYear": 1990,
    "isActivelyEnrolled": true,
    "address": {
    "street": "",
    "city": "",
    "stateProvince": "",
    "postal": "",
    }
    }
    The container1 container has the following indexing policy.
    {
    "indexingMode": "consistent",
    "includePaths": [
    {
    "path": "/*"
    },
    {
    "path": "/address/city/?"
    }
    ],
    "excludePaths": [
    {
    "path": "/address/*"
    },
    {
    "path": "/firstName/?"
    }
    ]
    }
    For each of the following statements, select Yes if the statement is true. Otherwise, select No.
    NOTE: Each correct selection is worth one point.

    DP-420 Exam Question 29

    You have a container m an Azure Cosmos DB for NoSQL account. The container stores data about families. Data about parents, children, and pets are stored as separate documents.
    Each document contains the address of each family. Members of the same family share the same partition key named family Id You need to update the address for each member of the same family that share the same address. The solution must meet the following requirements:
    * Be atomic consistent isolated, and durable (ACID).
    * Provide the lowest latency.
    What should you do?
  • DP-420 Exam Question 30

    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.