Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam DP-300 Topic 12 Question 94 Discussion

Actual exam question for Microsoft's DP-300 exam
Question #: 94
Topic #: 12
[All DP-300 Questions]

You have an Azure SQL database named DB1.

You have a table name Table1 that has 20 columns of type CHAR(400). Row compression for Table1 is enabled.

During a database audit, you discover that none of the fields contain more than 150 characters.

You need to ensure that you can apply page compression to Table1.

What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: D, E

Contribute your Thoughts:

Marci
18 days ago
I'm no database expert, but I'm pretty sure option A, configuring the columns as sparse, is a completely different feature. Someone's trying to trick us here!
upvoted 0 times
...
Ona
19 days ago
Hold up, why are we even using CHAR in the first place? Shouldn't we be using VARCHAR to begin with? I'd go with option C and change it to varchar (MAX).
upvoted 0 times
...
Tammy
23 days ago
Woah, 400 characters for a CHAR field? That's overkill! I'd go with option D and change it to varchar (200). Less memory usage, and it still covers the 150 character limit.
upvoted 0 times
...
Sophia
2 months ago
Hmm, I'm thinking option B. Changing the column type to nvarchar (MAX) seems like the way to go. That'll allow for the page compression to work its magic.
upvoted 0 times
Amie
20 days ago
I think option D might be better, changing the column type to varchar (200) could also work.
upvoted 0 times
...
Arminda
27 days ago
I agree with you, option B seems like the best choice here.
upvoted 0 times
...
...
Lorita
2 months ago
I'm not sure, maybe we should consider configuring the columns as sparse instead.
upvoted 0 times
...
Arthur
2 months ago
I agree with Chantell, changing the column type to varchar (200) seems like the right choice.
upvoted 0 times
...
Chantell
2 months ago
I think we should change the column type to varchar (200) to apply page compression.
upvoted 0 times
...

Save Cancel