exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 1 question 40 discussion

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

You have an Azure subscription that contains an Azure SQL database. The database contains a table named tablet that uses partitioned columnstores.

You need to configure table1 to meet the following requirements:

• Each partition must be compressed.
• The compression ratio must be maximized.
• You must be able to index the compressed data.

What should you use?

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

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
voodoo_sh
5 months, 1 week ago
Selected Answer: D
My answer: D Used below code to test if nonclustered index can be created on a table that has partitioned clustered columnstore index with archival compression: CREATE PARTITION FUNCTION myRangePF1 (int) AS RANGE RIGHT FOR VALUES (1, 2, 3) ; CREATE PARTITION SCHEME myRangePS1 AS PARTITION myRangePF1 ALL TO ('PRIMARY') ; GO create table Test_Columnstore_Archival ( ID int, tName varchar(5)) on myRangePS1 (ID) insert into Test_Columnstore_Archival (ID, tName) values (1,'aaa'),(2,'bbb'),(3,'ccc') create clustered columnstore index CCIX_ID on Test_Columnstore_Archival order (ID) with (data_compression=columnstore_archive) create nonclustered index IX_tName on Test_Columnstore_Archival (tName) with (data_compression=page) select * from Test_Columnstore_Archival exec sp_BLitzIndex @databasename = 'MyDB', @tablename = 'Test_Columnstore_Archival'
upvoted 2 times
voodoo_sh
5 months, 1 week ago
Also note that data compressed with the COMPRESS function (GZIP algorithm) cannot be indexed, so not C.
upvoted 1 times
...
...
fmelendezcr
5 months, 4 weeks ago
Selected Answer: D
D correct
upvoted 2 times
...
Davidjsanchez
6 months, 3 weeks ago
https://learn.microsoft.com/en-us/sql/relational-databases/data-compression/data-compression?view=sql-server-ver16
upvoted 1 times
...
Davidjsanchez
6 months, 3 weeks ago
• For partitioned columnstore tables and columnstore indexes, you can configure the archival compression option for each partition, and the various partitions don't have to have the same archival compression setting. Archival compression would be correct
upvoted 1 times
...
bingomutant
7 months, 3 weeks ago
D -Columnstore archival compression is a feature of Azure SQL Database and SQL Server that allows for maximum compression of columnstore index data. It is specifically designed for large datasets and is ideal for read-heavy workloads where maximizing compression is crucial.
upvoted 2 times
...
tapsAch
9 months ago
Selected Answer: B
The correct Answer is B A clustered columnstore index (CCI) will compress your data and maximize the compression ratio. It also allows you to index the compressed data.
upvoted 2 times
...
yousiftech
1 year ago
I think the B. columnstore compression is better answer, who is sure about this answer ?
upvoted 1 times
...
yyc585
1 year, 4 months ago
Selected Answer: B
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. To perform archival compression, SQL Server runs the Microsoft XPRESS compression algorithm on the data ¹. However, it is important to note that archival compression is not an indexing technique. Important (Only when you can afford extra time and CPU) Archival compression is a data compression technique that can be used to further reduce the size of columnstore data for situations when you can afford extra time and CPU resources to store and retrieve the data.
upvoted 1 times
...
kkkiet
2 years, 2 months ago
While columnstore archival compression can be used to compress columnstore data in a way that minimizes storage costs, it is not optimized for query performance, as it is designed for long-term storage of cold data. In this scenario, the requirement is to maximize compression ratio while still being able to perform index operations on the compressed data. Columnstore archival compression is not optimized for indexing, and as such, it would not meet this requirement. Therefore, the correct answer is B. columnstore compression.
upvoted 3 times
victorlie
1 year, 10 months ago
The questions only asks to achieve max compression. It doesn´t ask for any query or index Optimization. So IMHO, it´s Archival.
upvoted 3 times
ofzrgrz
1 year, 8 months ago
Yeah I agree
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago