exam questions

Exam AZ-203 All Questions

View all questions & answers for the AZ-203 exam

Exam AZ-203 topic 8 question 7 discussion

Actual exam question from Microsoft's AZ-203
Question #: 7
Topic #: 8
[All AZ-203 Questions]

HOTSPOT -
You need to ensure that security requirements are met.
How should you complete the code segment?
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: Explanation
Box 1: ExpenseAccount -
Scenario: User's expense account number must be visible only to logged in users. All other views of the expense account number should include only the last segment. With the remaining parts obscured.

Box 2: Text -
If MaskingFunction has a value of Number or Text, you can specify the NumberFrom and NumberTo parameters, for number masking, or the PrefixSize,
ReplacementString, and SuffixSize for text masking.

Box 3: 4 -
-SuffixSize specifies the number of characters at the end of the text that are not masked. Specify this parameter only if you specify a value of Text for the
MaskingFunction parameter.
Scenario: Format is 1234-1234-1235
Box 4: xxxx"
Scenario: Format is 1234-1234-1235
References:
https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/new-azurermsqldatabasedatamaskingrule?view=azurermps-6.13.0

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
brajen
Highly Voted 4 years, 9 months ago
Box 4 should be XXXXXXXXX as we are masking first 9 character 1234-123- and suffix will be rest 4
upvoted 20 times
chaudh
4 years, 9 months ago
YEs, All other views of the expense account number should include only the last segment with the remaining parts obscured.
upvoted 1 times
...
LTiwana
4 years, 9 months ago
As per MS docs: -ReplacementString Specifies the number of characters in the end of the text that are not masked. Specify this parameter only if you specify a value of Text for the MaskingFunction parameter. The default value is an empty string. https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/new-azurermsqldatabasedatamaskingrule?view=azurermps-6.13.0
upvoted 4 times
LTiwana
4 years, 9 months ago
So given options are correct.
upvoted 5 times
...
...
sidnyc
4 years, 8 months ago
Refer to https://docs.microsoft.com/en-us/azure/azure-sql/database/dynamic-data-masking-overview - "Dynamic Data Masking Policy" • Use XXXX or fewer Xs if the size of the field is less than 4 characters for string data types (nchar, ntext, nvarchar). Therefore, XXXX would suffice
upvoted 4 times
subrata83
4 years, 6 months ago
This is for Masking type "Default".Please refer below fault 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).
upvoted 1 times
...
ahadjithoma
4 years, 4 months ago
Masking method, which exposes the first and last characters and adds a custom padding string in the middle. If the original string is shorter than the exposed prefix and suffix, only the padding string is used. prefix[padding]suffix I think it makes sense to have suffix 4 and padding XXXX
upvoted 1 times
...
...
funfun
4 years, 3 months ago
yes, I have tested in the Azure SQL, brajen's solution is correct
upvoted 2 times
...
...
Nanaboso2
Highly Voted 4 years, 11 months ago
https://www.examtopics.com/assets/media/exam-media/02521/0013100001.jpg
upvoted 15 times
pierre_grns
2 years, 4 months ago
options ^^
upvoted 1 times
...
...
sidnyc
Most Recent 4 years, 8 months ago
https://docs.microsoft.com/en-us/rest/api/sql/datamaskingrules/createorupdate replacementString => If maskingFunction is set to Text, the character to use for masking the unexposed part of the string. Otherwise, this parameter will be ignored. suffixSize => If maskingFunction is set to Text, the number of characters to show unmasked at the end of the string. Otherwise, this parameter will be ignored.
upvoted 2 times
...
cloud_guru
4 years, 9 months ago
given options are correct
upvoted 3 times
...
Pratekk
4 years, 10 months ago
options please
upvoted 3 times
...
rubylight89
4 years, 11 months ago
Options please
upvoted 2 times
...
RaedKazan
5 years, 1 month ago
options please !
upvoted 8 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago