Question 16

You have a container named container1 in an Azure Cosmos DB Core (SQL) API account. Upserts of items in container1 occur every three seconds.
You have an Azure Functions app named function1 that is supposed to run whenever items are inserted or replaced in container1.
You discover that function1 runs, but not on every upsert.
You need to ensure that function1 processes each upsert within one second of the upsert.
Which property should you change in the Function.json file of function1?
  • Question 17

    You have an on-premises network.
    You have an Azure subscription that contains an Azure Cosmos DB account named account1 and an Azure virtual network named VNet1. VNet1 contains two virtual machines named VM1 and VM2. VNet1 is connected to the on-premises network by using a Site-to-Site (S2S) VPN.
    You need to meet the following requirements:
    * Block access to the public endpoint of account1.
    * Allow only VM1 to access account1.
    What should you include in the solution? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    Question 18

    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?
  • Question 19

    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?
  • Question 20

    You plan to use a multi-region Azure Cosmos DB for NoSQL account to store data for a new application suite.
    The suite contains the applications shown in the following table.

    Each application should use the weakest consistency level possible.
    Which consistency level should you configure for each application? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.