Each question in the series contains a unique solution that might meet the

Each question in the series contains a unique

This preview shows page 157 - 163 out of 163 pages.

Note: This question is part of 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 database that contains a container named Container1. The partition key for Container1 is set to /day . Container1 contains the items shown in the following table.
Image of page 157
885CB989129A5F974833949052CFB2F2 You need to programmatically query Azure Cosmos DB and retrieve Item1 and Item2 only. Solution: You run the following query. You set the EnableCrossPartitionQuery property to False . Does this meet the goal?
Image of page 158
885CB989129A5F974833949052CFB2F2 A. Yes B. No Correct Answer: B Section: (none) Explanation Explanation/Reference: Explanation: Returns Item1 only as EnableCrossPartitionQuery property to False. If EnableCrossPartitionQuery property is set to true, it will return Item1 and Item3. Reference: QUESTION 6 Note: This question is part of 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 database that contains a container named Container1. The partition key for Container1 is set to /day . Container1 contains the items shown in the following table.
Image of page 159
885CB989129A5F974833949052CFB2F2 You need to programmatically query Azure Cosmos DB and retrieve Item1 and Item2 only. Solution: You run the following query. You set the EnableCrossPartitionQuery property to False . Does this meet the goal?
Image of page 160
885CB989129A5F974833949052CFB2F2 A. Yes B. No Correct Answer: B Section: (none) Explanation Explanation/Reference: Explanation: Returns Item1 only as EnableCrossPartitionQuery property to False. If EnableCrossPartitionQuery property is set to true, it will return Item1, Item2, and Item3. Reference: QUESTION 7 You have an Azure SQL database named DB1. You plan to create the following four tables in DB1 by using the following code.
Image of page 161
885CB989129A5F974833949052CFB2F2 You need to identify which table must be created last.
Image of page 162
885CB989129A5F974833949052CFB2F2 What should you identify? To answer, select the appropriate options in the answer area.
Image of page 163

You've reached the end of your free preview.

Want to read all 163 pages?

  • Spring '20
  • IP address, virtual machine, Private network, Azure

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture