Does this meet the goal?

Posted by: Pdfprep Category: DP-200 Tags: , ,

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 prefix characters must be exposed.

– All other characters must be masked.

Solution: You implement data masking and use a credit card function mask.

Does this meet the goal?
A . Yes
B . No

Answer: A

Explanation:

We 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

Leave a Reply

Your email address will not be published.