exam questions

Exam DP-200 All Questions

View all questions & answers for the DP-200 exam

Exam DP-200 topic 20 question 4 discussion

Actual exam question from Microsoft's DP-200
Question #: 4
Topic #: 20
[All DP-200 Questions]

HOTSPOT -
You need to mask tier 1 data. Which functions should you use? To answer, select the appropriate option in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
A: Default -
Full masking according to the data types of the designated fields.
For string data types, use XXXX or fewer Xs if the size of the field is less than 4 characters (char, nchar, varchar, nvarchar, text, ntext).

B: email -

C: Custom text -
Custom StringMasking method which exposes the first and last letters and adds a custom padding string in the middle. prefix,[padding],suffix
Tier 1 Database must implement data masking using the following masking logic:

References:
https://docs.microsoft.com/en-us/sql/relational-databases/security/dynamic-data-masking

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
Narender_Bhadrecha
Highly Voted 5 years, 3 months ago
For B - it should be Custom because Email masking show the only first letter and domain not mask them
upvoted 29 times
z8zhong
5 years, 3 months ago
It's custom text for B indeed but email masking show the first letter and .com only like "[email protected]" https://docs.microsoft.com/en-us/sql/relational-databases/security/dynamic-data-masking?view=sql-server-ver15
upvoted 8 times
...
Steve92873197
3 years, 12 months ago
B = email - from the Dynamic Data Masking link: EMAIL - "Masking method that exposes the first letter of an email address and the constant suffix ".com", in the form of an email address. [email protected].
upvoted 2 times
...
...
avestabrzn
Highly Voted 5 years, 3 months ago
given answer is correct. email masking : [email protected] both first letter and domain
upvoted 12 times
z8zhong
5 years, 3 months ago
Yes therefore B should be custom text because the question asks for masking the first letter and domain but email masking like you mentioned expose the first letter.
upvoted 16 times
abeworld
5 years, 1 month ago
Email is correct, just look at the example given by microsoft here : https://docs.microsoft.com/en-us/azure/sql-database/sql-database-dynamic-data-masking-get-started
upvoted 4 times
runningman
5 years ago
we get what email masking is. but it says to mask the first char and the domain. the exact opposite of what email masking is. b should be custom. (or the question fixed)
upvoted 9 times
...
Luke97
5 years ago
Question ask to MASK (not show) first letter and domain (unless there was a typo).
upvoted 6 times
diulin
4 years, 11 months ago
agree, A,B, and C should be custom text
upvoted 4 times
Ikrom
4 years, 11 months ago
Nope. A - Default: For a string value, the default masking function uses XXXX to mask the values. B - Custom. C -Custom.
upvoted 16 times
...
...
...
...
...
...
MMM777
Most Recent 4 years ago
A is correct: Default Full masking according to the data types of the designated fields • Use XXXX or fewer Xs if the size of the field is less than 4 characters for string data types (nchar, ntext, nvarchar). • Use a zero value for numeric data types (bigint, bit, decimal, int, money, numeric, smallint, smallmoney, tinyint, float, real). • Use 01-01-1900 for date/time data types (date, datetime2, datetime, datetimeoffset, smalldatetime, time). https://docs.microsoft.com/en-us/azure/azure-sql/database/dynamic-data-masking-overview B is messed up
upvoted 2 times
Steve92873197
3 years, 12 months ago
B = email - from the link you posted EMAIL - "Masking method that exposes the first letter of an email address and the constant suffix ".com", in the form of an email address. [email protected]. "
upvoted 1 times
...
...
deepz8
4 years, 2 months ago
For B - Custom. The requirement is to mask first letter and domain, whereas email mask does the opposite.
upvoted 2 times
...
I
4 years, 2 months ago
If the second answer is Email, then the question description is wrong. https://docs.microsoft.com/en-us/azure/azure-sql/database/dynamic-data-masking-overview
upvoted 1 times
...
SilNilanjan
4 years, 3 months ago
I agree A- Default, B - Custom, C - Custom
upvoted 1 times
...
dumpsm42
4 years, 6 months ago
Hi to all, to avoid confusion the answer to email masking is correct. take a look at this example: https://www.sqlshack.com/implementing-dynamic-data-masking-in-azure-sql-database/ text taken: "....Log in to the Azure SQL Server and query the table again to see the data which is masked with email function. The only first character is visible, and the rest of part is masked with [email protected]..." it is concordant with type B : mask first letter and domain regards
upvoted 1 times
maynard13x8
4 years, 5 months ago
All you said support that B must be custom, because "Mask first letter and domain" means that First letter and Domain must be masked/hidden, not visible. Email masking does exactly the opposite.
upvoted 6 times
...
...
syu31svc
4 years, 6 months ago
Answer is correct except for B It should be custom
upvoted 1 times
...
Quish
4 years, 8 months ago
All options by Exam topics is right. Please stick to default for fist Thanks
upvoted 1 times
maynard13x8
4 years, 6 months ago
No, all options are not right. Email does not mask first letter.
upvoted 1 times
maynard13x8
4 years, 6 months ago
Even the first one is confused because does not clarify if these 4 or less masked characters are all. I mean, you can mask 4 characters or less from a string of 10 characters. The question does not specify if this 4 or less masked characters are the only ones you see.
upvoted 1 times
...
...
...
JJBarns
4 years, 11 months ago
Guys, the second requirement is wrong and makes no sense. It should be mask Email, expose first letter, mask domain, expose domain suffix. -> Email function masking.
upvoted 1 times
M0e
4 years, 8 months ago
Even the first one makes no sense. Default masks everything with four X if the column width allows otherwise it puts as many X's as the length of the column... the wording of the question is absolute non-sense.
upvoted 3 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 ...