DP-200 Exam QuestionsBrowse all questions from this exam

DP-200 Exam - Question 121


HOTSPOT -

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

Exam DP-200 Question 121

You plan to implement a dynamic data mask for the Customer_Phone column. The mask must meet the following requirements:

✑ The first six numerals of the customer phone numbers must be masked.

✑ The last four digits of the customer phone numbers must be visible.

✑ Hyphens must be preserved and displayed.

How should you configure the dynamic data mask? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Exam DP-200 Question 121
Show Answer
Correct Answer:
Exam DP-200 Question 121

Exposed Prefix: 0 -

The first six digits must be masked. There is thus no exposed prefix.

Padding String: XXX-XXX -

The first six digits must be masked and hyphens must be preserved.

Exposed Suffix: 5 -

The last 4 digits must be visible. There is not option for 4 but we can use 5 as it would include the hyphen before the last 4 digits.

Reference:

https://docs.microsoft.com/en-us/sql/relational-databases/security/dynamic-data-masking?view=sql-server-ver15

Discussion

2 comments
Sign in to comment
NamishBansal
Apr 28, 2021

correct, nice question

Abouraa
May 10, 2021

the answer of padding string , must be : XXX-XXX or XXX-XXX- ?

kaigalmane
May 14, 2021

Yeah I too have doubt.

kaigalmane
May 14, 2021

Since we don't have 4 for 3rd option, it should be XXX-XXX

kaigalmane
May 14, 2021

Since we don't have 4 for 3rd option, it should be XXX-XXX

Puffin
May 28, 2021

I think it should be xxx-xxx- as all hyphens must be preserved. It also says xxx-xxx- in the answer explanation, so I'm 95% sure.

lgtiza
Jun 28, 2021

No, because the last hyphen is preserved in any case because of the "5" in the exposed suffix. Thus you only need XXX-XXX, but I'm 95% sure also, so flip your coin!

lgtiza
Jun 28, 2021

No, because the last hyphen is preserved in any case because of the "5" in the exposed suffix. Thus you only need XXX-XXX, but I'm 95% sure also, so flip your coin!