exam questions

Exam SC-100 All Questions

View all questions & answers for the SC-100 exam

Exam SC-100 topic 12 question 1 discussion

Actual exam question from Microsoft's SC-100
Question #: 1
Topic #: 13
[All SC-100 Questions]

You need to recommend a solution to secure the MedicalHistory data in the ClaimsDetail table. The solution must meet the Contoso developer requirements.
What should you include in the recommendation?

  • A. row-level security (RLS)
  • B. Transparent Data Encryption (TDE)
  • C. Always Encrypted
  • D. data classification
  • E. dynamic data masking
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
PlumpyTumbler
Highly Voted 2 years, 1 month ago
Selected Answer: C
Anyone with admin privileges can see masked data. https://docs.microsoft.com/en-us/learn/modules/protect-data-transit-rest/4-explain-object-encryption-secure-enclaves
upvoted 35 times
SuperMax
2 years, 1 month ago
@PlumpyTumbler, thank for all you're work here! You are correct. But the Contoso Developers Requirements states: The Contoso developers must be prevented from viewing the data in a column named MedicalHistory in the ClaimDetails table, there is no mentioning of admin privileges by the Contoso developers.
upvoted 9 times
doregos
2 years, 1 month ago
ContosoDevelopers group is assigned the db_owner role for the ClaimsDB database
upvoted 8 times
makkelijkzat
1 year, 5 months ago
db_owners (db level) is not the same as sysadmin (server level). Only syadmins bypass dynamic data masking. Answer E should be the correct one here!
upvoted 2 times
ConanBarb
1 year, 1 month ago
db_owner has unrevocable permission to "UNMASK" in db, so can read masked data. I.e. C - always encrypted. Please at least google before answering with that certainty, thank you! :)
upvoted 3 times
...
...
Jacquesvz
1 year, 9 months ago
Agreed. Just to make it easier for others to see the correct answer then: C - Always encrypted. Reason, ContosoDevelopers are assigned to the DB_Owner role; and Dynamic Data Masking will not mask the sensitive information for priv users.
upvoted 6 times
Gurulee
1 year, 6 months ago
Agreed as well.
upvoted 3 times
...
...
...
...
Ramye
9 months, 2 weeks ago
Correct Some more info to remove any doubt “Administrative users and roles can always view unmasked data via the CONTROL permission, which includes both the ALTER ANY MASK and UNMASK permission. Administrative users or roles such as sysadmin, serveradmin, or db_owner have CONTROL permissions on the database by design, and can view unmasked data.” Source: https://learn.microsoft.com/en-us/sql/relational-databases/security/dynamic-data-masking?view=sql-server-ver16
upvoted 2 times
...
Mithu94
5 months, 2 weeks ago
Requirment "prevented from viewing the data in a column named MedicalHistory in the ClaimDetails table", not the full table. Developer dont have admin Privilege. So E is the right answer.
upvoted 1 times
Mithu94
5 months, 2 weeks ago
Sorry, C is right as developers are db_ower group.
upvoted 1 times
...
...
...
MallonoX_111
Highly Voted 2 years, 1 month ago
Selected Answer: E
The question isn't about encryption at rest. You need to prevent the developers from seeing data in specific column in the DB.
upvoted 18 times
MallonoX_111
1 year, 11 months ago
I was wrong, C is the correct answer.
upvoted 3 times
dc2k79
1 year, 10 months ago
You are wrong now. E is the right answer.
upvoted 2 times
...
...
pangchn
2 years, 1 month ago
Agree with E rather than C. Since even encrypt all, the db_owner will still be able to see the date. To me, encrypt data is prevent external view, ie, hackers mask is prevent internal view, ie develops.
upvoted 5 times
AKS2504
1 year, 10 months ago
Always Encrypted is a feature designed to protect sensitive data, such as credit card numbers or national identification numbers (for example, U.S. social security numbers), stored in Azure SQL Database, Azure SQL Managed Instance, and SQL Server databases. Always Encrypted allows clients to encrypt sensitive data inside client applications and never reveal the encryption keys to the Database Engine. This provides a separation between those who own the data and can view it, and those who manage the data but should have no access - on-premises database administrators, cloud database operators, or other high-privileged unauthorized users. As a result, Always Encrypted enables customers to confidently store their sensitive data in the cloud, and to reduce the likelihood of data theft by malicious insiders.
upvoted 8 times
...
...
JakeCallham
2 years ago
Wrong, always encrypt prevents db_owners to read data, daya masking doesnt.
upvoted 6 times
...
...
AWSPro24
Most Recent 3 months, 1 week ago
Interesting note here describing the purpose of Always Encrypted on the secure enclaves page. https://learn.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-enclaves?view=sql-server-ver16 Always Encrypted protects the confidentiality of sensitive data from malware and high-privileged unauthorized users: Database Administrators (DBAs), computer admins, cloud admins, or anyone else who has legitimate access to server instances, hardware, etc., but shouldn't have access to some or all of the actual data.
upvoted 1 times
...
D0yle
4 months ago
Should be E - db_onwer can't read dynamically masked columns by default if UNMASK permission is not granted. Moreover, "Always encrypted" is related with Application to SQL relationship, here the requirement is more for direct viewing (presumably by SQL query).
upvoted 1 times
...
Kdosec
10 months, 2 weeks ago
From Compliance view, C is better because DDM can't help us comply 100% with HIPAA, in a few cases, we must need to use Always Encrypted option to ensure that our sensitive data is encrypted to priv users.
upvoted 1 times
...
ConanBarb
1 year, 1 month ago
Selected Answer: C
devs ar db_owner that has permission UNMASK in sql db, hence C, not E
upvoted 2 times
...
slobav
1 year, 1 month ago
Selected Answer: C https://www.youtube.com/watch?v=r-P-2lGzPFQ&list=PLQ2ktTy9rklhzzkSEZvDZT4QSIVUQZD-Y&index=9 Question113
upvoted 1 times
...
sherifhamed
1 year, 1 month ago
Selected Answer: E
To secure the MedicalHistory data in the ClaimsDetail table and meet the Contoso developer requirements, you should recommend implementing Dynamic Data Masking (DDM). Dynamic Data Masking (DDM) allows you to limit sensitive data exposure by masking parts of the data from specific users or roles. In this case, you can configure DDM to mask the MedicalHistory column for Contoso developers, ensuring they cannot view the sensitive data. So, the correct recommendation is Option E: Dynamic Data Masking (DDM).
upvoted 1 times
...
PrettyFlyWifi
1 year, 5 months ago
Selected Answer: C
C looks correct, think it's focused on the privilege level here. https://learn.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine?view=sql-server-ver16 "This provides a separation between those who own the data and can view it, and those who manage the data but should have no access - on-premises database administrators, cloud database operators, or other high-privileged unauthorized users. As a result, Always Encrypted enables customers to confidently store their sensitive data in the cloud, and to reduce the likelihood of data theft by malicious insiders."
upvoted 2 times
...
zellck
1 year, 5 months ago
Selected Answer: C
C is the answer. https://learn.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine?view=sql-server-ver16 Always Encrypted is a feature designed to protect sensitive data, such as credit card numbers or national/regional identification numbers (for example, U.S. social security numbers), stored in Azure SQL Database, Azure SQL Managed Instance, and SQL Server databases. Always Encrypted allows clients to encrypt sensitive data inside client applications and never reveal the encryption keys to the Database Engine. This provides a separation between those who own the data and can view it, and those who manage the data but should have no access - on-premises database administrators, cloud database operators, or other high-privileged unauthorized users. As a result, Always Encrypted enables customers to confidently store their sensitive data in the cloud, and to reduce the likelihood of data theft by malicious insiders.
upvoted 2 times
...
Gurulee
1 year, 7 months ago
Selected Answer: C
Privileged developers can bypass data masking
upvoted 2 times
makkelijkzat
1 year, 5 months ago
only sysadmin server role members. db_owners aren't sysadmins. E is correct!
upvoted 1 times
...
...
AzureJobsTillRetire
1 year, 8 months ago
Selected Answer: E
Please look at the comments made by D3D1997 as below. "i got it today in the exam. The wording is different: "he Contoso developers must be prevented from viewing the data in a column named MedicalHistory ONLY". And there is no reference to the db_owner role in the case study tabs I had, so be careful, because in that case Dynamic Data Masking would be a better option"
upvoted 4 times
AzureJobsTillRetire
1 year, 8 months ago
If developers have sufficient access, viewing data with always enrypted columns would not be a problem as well
upvoted 1 times
...
AzureJobsTillRetire
1 year, 7 months ago
I took the exam, and I can confirm that in my exam there was a mention of db_owner role and I chose C Always Encrypted.
upvoted 2 times
...
AzureJobsTillRetire
1 year, 7 months ago
In the exam, I would specifically look for this sentence: "The ContosoDevelopers group is assigned the db_owner role for the ClaimsDB database." If I find it in the case study, I would choose C, and if not, I would go with E
upvoted 3 times
...
...
SofiaLorean
1 year, 8 months ago
Selected Answer: E
If you want it hidden from administrators... Always Encrypted is where you need to focus. Dynamic Data masking makes it simply at the presentation layer. Correct E
upvoted 1 times
...
Mo22
1 year, 8 months ago
Selected Answer: E
E. dynamic data masking
upvoted 1 times
...
D3D1997
1 year, 8 months ago
Selected Answer: C
A-No, it's a column not a row B- TDE encrypts the database files, not the db tables when queried D- Do not play a role here E- db_owner can bypass Dynamic Data Masking, and even lower privileged users could. MS itself says: "t's important to note that unprivileged users with ad-hoc query permissions can apply techniques to gain access to the actual data." in https://learn.microsoft.com/en-us/sql/relational-databases/security/dynamic-data-masking
upvoted 2 times
D3D1997
1 year, 8 months ago
i got it today in the exam. The wording is different: "he Contoso developers must be prevented from viewing the data in a column named MedicalHistory ONLY". And there is no reference to the db_owner role in the case study tabs I had, so be careful, because in that case Dynamic Data Masking would be a better option
upvoted 4 times
God2029
1 year, 8 months ago
Thanks for your update D3D1997
upvoted 2 times
...
...
...
TJ001
1 year, 10 months ago
I will go with dynamic data masking for this one ...Always encrypted works too but this is a very specific use case for developers and it is worth to honor a capability mapped to that
upvoted 1 times
TJ001
1 year, 10 months ago
overlook that the developers are db_owners so they should not see raw data means - use Always Encrypted
upvoted 3 times
...
...
AKS2504
1 year, 10 months ago
Answer : C https://learn.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine?view=sql-server-ver16 Always Encrypted is a feature designed to protect sensitive data, such as credit card numbers or national identification numbers (for example, U.S. social security numbers), stored in Azure SQL Database, Azure SQL Managed Instance, and SQL Server databases. Always Encrypted allows clients to encrypt sensitive data inside client applications and never reveal the encryption keys to the Database Engine. This provides a separation between those who own the data and can view it, and those who manage the data but should have no access - on-premises database administrators, cloud database operators, or other high-privileged unauthorized users. As a result, Always Encrypted enables customers to confidently store their sensitive data in the cloud, and to reduce the likelihood of data theft by malicious insiders.
upvoted 2 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