DP-200 Exam QuestionsBrowse all questions from this exam

DP-200 Exam - Question 170


HOTSPOT -

You have an Azure Cosmos DB database.

You need to use Azure Stream Analytics to check for uneven distributions of queries that can affect performance.

Which two settings should you configure? To answer, select the appropriate settings in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Exam DP-200 Question 170
Show Answer
Correct Answer:
Exam DP-200 Question 170

Box 1: RIGHT -

Use right for dates.

1- RIGHT means < or >=

2- LEFT means <= and >.

Box 2: 20090101, 201001010, 20110101, 20120101

Four values are better than three or two.

Reference:

https://medium.com/@selcukkilinc23/what-it-means-range-right-and-left-in-table-partitioning-2d654cb99ade

Discussion

4 comments
Sign in to comment
rakadhar
Apr 16, 2021

The answer is correct . See this link --> https://www.cathrinewilhelmsen.net/table-partitioning-in-sql-server/ From this link below excerpt :- Partition functions are created as either range left or range right, it is not possible to combine both in the same partition function. In a range left partition function, all boundary values are upper boundaries, they are the last values in the partitions. If you partition by year, you use December 31st. If you partition by month, you use January 31st, February 28th / 29th, March 31st, April 30th and so on. In a range right partition function, all boundary values are lower boundaries, they are the first values in the partitions. If you partition by year, you use January 1st. If you partition by month, you use January 1st, February 1st, March 1st, April 1st and so on:

vaseva1
Apr 5, 2021

i think its should be LEFT

MsIrene
Apr 11, 2021

The answer is correct. Should be RIGHT. Basically, it means that partition starts from the given value, i.e. from 20090101 to 20091231, the next one from 20100101 to 20101231 and so on.

satyamkishoresingh
Dec 16, 2021

This question doesn't make any sense !