exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 2 question 11 discussion

Actual exam question from Microsoft's DP-300
Question #: 11
Topic #: 2
[All DP-300 Questions]

You are designing an enterprise data warehouse in Azure Synapse Analytics that will contain a table named Customers. Customers will contain credit card information.
You need to recommend a solution to provide salespeople with the ability to view all the entries in Customers. The solution must prevent all the salespeople from viewing or inferring the credit card information.
What should you include in the recommendation?

  • A. row-level security
  • B. data masking
  • C. Always Encrypted
  • D. column-level security
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
madab
Highly Voted 3 years, 2 months ago
Selected Answer: D
inferring work is the key. With data-masking you cannot prevent to ask if a column is equal to a certain value. Also, the salespeople don't need any information of the credit card, maybe customer support would have a use of the masked credit card. So, column-level security is the solution.
upvoted 16 times
CaptainJameson
3 years, 1 month ago
To back this up, it is also mentioned by ms that data-masking will not prevent against inferring with an example: https://docs.microsoft.com/en-us/sql/relational-databases/security/dynamic-data-masking?view=sql-server-ver15
upvoted 4 times
...
...
charliebasssssss
Highly Voted 2 years, 7 months ago
Selected Answer: B
Data- Masking is correct Question says "...solution to provide salespeople with the ability to view all the entries in Customers" See use cases of column-level security https://docs.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/column-level-security#use-cases
upvoted 6 times
jm2015
1 year, 9 months ago
Agree with you column-level security prevents users incl. sales from viewing credit card entry.
upvoted 1 times
...
...
learnazureportal
Most Recent 4 months, 1 week ago
Selected Answer: B
Data masking is a feature in Azure Synapse Analytics that allows you to obfuscate sensitive data, such as credit card information, while still enabling users (like salespeople) to view the rest of the data in the table.
upvoted 1 times
...
bingomutant
7 months ago
Agree its D. Data masking may still leave part of the data visible , allowing educated guesses or brute-force attempts to complete it. Only column-level security completely obscures the data to prevent inference.
upvoted 1 times
...
Koe24
1 year ago
Exam Topics team needs to work on this. Misleading answers and explanation is disappointing.
upvoted 2 times
...
yyc585
1 year, 3 months ago
Selected Answer: D
To provide salespeople with the ability to view all the entries in the Customers table while preventing them from viewing or inferring the credit card information, you can use **column-level security**. Column-level security allows you to restrict access to specific columns in a table based on user roles or permissions. To implement column-level security, you can create a new role in the database and grant the role SELECT permission on the Customers table. You can then use the **DENY** statement to deny the role access to the credit card information column. Therefore, the solution you should recommend is **column-level security**.
upvoted 1 times
...
samers
1 year, 5 months ago
Answer is row level security To achieve the goal of allowing salespeople to view entries in the Customers table while preventing access to credit card information, you can implement Row-Level Security (RLS) in Azure Synapse Analytics. RLS allows you to control access to rows in a table based on the characteristics of the user executing a query.
upvoted 1 times
...
thatguythere
1 year, 5 months ago
Answer is column-level security "Column-level security simplifies the design and coding of security in your application, allowing you to restrict column access to protect sensitive data. " Reference: https://docs.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/column-level-security
upvoted 1 times
...
[Removed]
1 year, 8 months ago
Selected Answer: D
Data masking do not prevent inferring with critical data. Column level security is more adapted to this situation (https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/column-level-security).
upvoted 1 times
...
testdumps2017
1 year, 8 months ago
Final answer for me is column level security. https://learn.microsoft.com/en-us/sql/relational-databases/security/encryption/encrypt-a-column-of-data?view=sql-server-ver16.
upvoted 1 times
...
mhaskins
2 years, 1 month ago
Selected Answer: D
Data masking isn't enough to ensure the data cannot be viewed or inferred
upvoted 1 times
mhaskins
2 years, 1 month ago
This is simply solved with a GRANT SELECT excluding the credit card column
upvoted 1 times
...
...
BrenFa101
2 years, 2 months ago
Selected Answer: D
Column-level security is the most appropriate answer (it can be used to restrict the salespeople from seeing the SSN column) although you could argue for Always On with Randomised encryption. Data Masking is incorrect becasue of the potential ability of users to infer the data
upvoted 1 times
...
rctm_bm
2 years, 7 months ago
Selected Answer: D
My vote goes to D. And here is why - data masking prevent unauthorized access of viewing data, but it "doesn't aim to prevent database users from connecting directly to the database and running exhaustive queries that expose pieces of the sensitive data" and we assume that in this question salespeople does have access to DB. So column-level security on my opinion is the best choice as it is allowing you to restrict column access to protect sensitive data even if you have access to DB. Links https://docs.microsoft.com/en-us/sql/relational-databases/security/dynamic-data-masking?view=sql-server-ver16 and https://docs.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/column-level-security
upvoted 1 times
...
AlCubeHead
3 years, 2 months ago
B is correct as in data masking there is even a specific option to mask credit card numbers in the Azure Portal for your database that uses the partial masking function: MASKED WITH (FUNCTION = 'partial(0, "xxxx-xxxx-xxxx-", 4)')
upvoted 1 times
...
calvintcy
3 years, 2 months ago
C is met the requirement, however D (Always Encrypted) would provide best protection to secure the credit card info.
upvoted 1 times
AlCubeHead
3 years, 2 months ago
Always encrypted would restrict to ALL users not just salespeople. Data mask can be applied to roles
upvoted 1 times
...
...
Surjit24
3 years, 5 months ago
It needs to be D
upvoted 3 times
Zonq
3 years, 5 months ago
I would say both would work at least in some way but I agree for me D seems to be more proper in this case.
upvoted 1 times
...
...
valente_sven1
3 years, 7 months ago
I wunder why isn't Always On?
upvoted 1 times
valente_sven1
3 years, 7 months ago
I'm sorry Always Encrypted.
upvoted 1 times
quermi
3 years, 5 months ago
If you use Always encrypted, you must change the access to aplication because you need a certificate. Howeber if you use data mask only need alter column by example: ALTER TABLE Data.Membership ALTER COLUMN LastName varchar(100) MASKED WITH (FUNCTION = 'default()'); Then the salespeople see the data with masking, Only the administrartors o the user with UNMASK permision see the real data.
upvoted 5 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