exam questions

Exam DP-200 All Questions

View all questions & answers for the DP-200 exam

Exam DP-200 topic 1 question 51 discussion

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

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure SQL database named DB1 that contains a table named Table1. Table1 has a field named Customer_ID that is varchar(22).
You need to implement masking for the Customer_ID field to meet the following requirements:
✑ The first two prefix characters must be exposed.
✑ The last four suffix characters must be exposed.
✑ All other characters must be masked.
Solution: You implement data masking and use a custom string function mask.
Does this meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Must use Custom Text data masking, which exposes the first and last characters and adds a custom padding string in the middle.
Reference:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-dynamic-data-masking-get-started

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
zac874997967
Highly Voted 4 years, 9 months ago
For this question the last sentence is "You implement data masking and use a custom text mask." and the answer is yes.
upvoted 17 times
...
diulin
Highly Voted 5 years ago
This question appeared as Topic 1 Question #22 earlier
upvoted 7 times
...
dumpi
Most Recent 3 years, 12 months ago
Answer is Correct only .It should be "You implement data masking and use a custom text mask."
upvoted 1 times
...
vrmei
4 years ago
It should be "Yes"; Just test by adding sample database while creating sql database in azure. Goto Dynamic Masking and click any field to add mask and edit the mask. If you check, you can see only below types. 1. Default Value 2. Credit Card 3. Email 4. Number 5. Custom String Check the latest document : 03/24/2021 https://docs.microsoft.com/en-us/sql/relational-databases/security/dynamic-data-masking?view=sql-server-ver15
upvoted 3 times
...
Wendy_DK
4 years, 1 month ago
Newly updated document (1/25/2021) online Masking function called custom text. The old document online it was called custom string.
upvoted 7 times
...
Wendy_DK
4 years, 1 month ago
Answer should be Yes
upvoted 3 times
...
JohnCrawford
4 years, 2 months ago
I think for this answer they were being too literal in their interpretation of first/last characters for the custom mask. That does not mean exactly 1 at front and back, but rather that those are parameters that let you determine how many to expose at the front and back. 0, 1 or more are all permissible.
upvoted 1 times
...
dev2dev
4 years, 4 months ago
I was expecting a question with 'Yes' solution which is to use custom text masking. this is repeative.
upvoted 2 times
...
dmnantilla9
4 years, 5 months ago
Repeated question.
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 ...