exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 1 question 3 discussion

Actual exam question from Microsoft's DP-300
Question #: 3
Topic #: 1
[All DP-300 Questions]

You have an Azure SQL database that contains a table named factSales. FactSales contains the columns shown in the following table.

FactSales has 6 billion rows and is loaded nightly by using a batch process. You must provide the greatest reduction in space for the database and maximize performance.
Which type of compression provides the greatest space reduction for the database?

  • A. page compression
  • B. row compression
  • C. columnstore compression
  • D. columnstore archival compression
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
yChoi
Highly Voted 9 months ago
Selected Answer: D
it is D MS Docs : For columnstore tables and indexes, all columnstore tables and indexes always use columnstore compression and this is not user configurable. Use columnstore archival compression to further reduce the data size for situations when you can afford extra time and CPU resources to store and retrieve the data. You can configure columnstore archival compression.
upvoted 7 times
...
lorenzopp
Highly Voted 9 months ago
Question may have been changed recently and now requires "...and maximize performance." Only columnstore compression can achieve both "...greatest reduction in database space and maximize performance." "Columnstore compression typically achieves 10x better compression rates over rowstore indexes. It is the standard compression method for columnstore indexes and enables fast query performance." https://docs.microsoft.com/en-us/sql/relational-databases/indexes/columnstore-indexes-design-guidance?view=sql-server-ver16. Therefore C. appears to be a better answer than D.
upvoted 6 times
JustAnotherDBA
2 years, 11 months ago
Continued in the same article is this... "Additionally, with a columnstore index, you use partitioning to: Save an additional 30% in storage costs. You can compress older partitions with the COLUMNSTORE_ARCHIVE compression options. The data will be slower for query performance, which is acceptable if the partition is queries infrequently." Therefore the correct answer is D. The question is weird and should probably not include performance...but this is a nightly process where performance probably doesn't matter much.
upvoted 9 times
...
...
voodoo_sh
Most Recent 6 months, 2 weeks ago
Selected Answer: C
Since maximize performance is in requirements, I would go with C. Who knows, if you pick columnstore archival, maybe their batch loading will take too long and cause problems :D p.s. bad question, bad job by whoever made it
upvoted 1 times
...
sca88
8 months, 3 weeks ago
Selected Answer: C
https://learn.microsoft.com/en-us/sql/relational-databases/data-compression/data-compression?view=sql-server-ver16 "When you compress columnstore indexes with archival compression, this causes the index to perform slower than columnstore indexes that don't have the archival compression. Use archival compression only when you can afford to use extra time and CPU resources to compress and retrieve the data. The benefit of archival compression is reduced storage, which is useful for data that isn't accessed frequently. For example, if you have a partition for each month of data, and most of your activity is for the most recent months, you could archive older months to reduce the storage requirements"
upvoted 1 times
...
YMMN
1 year, 2 months ago
The answer is D
upvoted 1 times
...
Dalamain
1 year, 2 months ago
The question info statement makes the point that you must provide the greatest reduction in space for the database and maximise performance. But the actual "question" is asking you to state "which type of compress provides the greatest space reduction for the database?" ... its an awful question setup by Microsoft, but based on the interpretation it's D
upvoted 1 times
...
Ben999
1 year, 2 months ago
D. Question is for maximum compression; not which compression meets the requirements.
upvoted 1 times
...
NiazDawar
1 year, 4 months ago
Columnstore with archive not give performance, while they asked for maxim compression with performance, Hence (C) option is the best suit.
upvoted 2 times
NiazDawar
1 year, 4 months ago
From microsoft documentation: ========================== When you compress columnstore indexes with archival compression, this causes the index to perform slower than columnstore indexes that don't have the archival compression. Use archival compression only when you can afford to use extra time and CPU resources to compress and retrieve the data.
upvoted 2 times
...
...
PattuKutty
1 year, 5 months ago
D. columnstore archival compression
upvoted 1 times
...
Pranava_GCP
1 year, 11 months ago
Selected Answer: D
Correct answer D, because it provides the greatest space reduction.
upvoted 1 times
victorlie
1 year, 11 months ago
But archive is not the best performance
upvoted 2 times
...
...
keenan_investigates
2 years, 1 month ago
It seems they added “and maximise performance” to the question, so it should be C?
upvoted 5 times
...
BobFar
2 years, 4 months ago
Where mentioned that is column store or row store table?
upvoted 1 times
...
PratikSap
2 years, 5 months ago
it is C to reduce space usage and improve performance.
upvoted 3 times
...
gchris7
3 years ago
Selected Answer: D
it is D
upvoted 2 times
...
azayra
3 years, 2 months ago
Selected Answer: D
it is D
upvoted 3 times
...
n500458
3 years, 3 months ago
Think it´s D Columnstore tables and indexes are always stored with columnstore compression. You can further reduce the size of columnstore data by configuring an additional compression called archival compression. https://docs.microsoft.com/en-us/sql/relational-databases/data-compression/data-compression?view=sql-server-ver15
upvoted 2 times
...
calvintcy
3 years, 4 months ago
D is the right answer because the question is asking 'Which type of compression provides the greatest space reduction for the database'
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...