All fields

“SQL Server Security & Permissions” in Information Technology

29 questions across 1 technology.

Information Technology

29 questions in 1 technology

#QuestionTechnologyTopicLevel
1What is the principle of least privilege, and how should it guide how you grant permissions in SQL Server? SQL Server › SQL Server Security & PermissionsSQL ServerSQL Server Security & PermissionsIntermediate
2How would you design a comprehensive security auditing strategy to track who accessed or modified sensitive data in a SQL Server database? SQL Server › SQL Server Security & PermissionsSQL ServerSQL Server Security & PermissionsAdvanced
3What is the difference between a SQL Server login and a database user? SQL Server › SQL Server Security & PermissionsSQL ServerSQL Server Security & PermissionsBeginner
4What is the difference between Windows Authentication and SQL Server Authentication? SQL Server › SQL Server Security & PermissionsSQL ServerSQL Server Security & PermissionsBeginner
5How do database roles help simplify managing permissions for multiple users with similar access needs? SQL Server › SQL Server Security & PermissionsSQL ServerSQL Server Security & PermissionsIntermediate
6How do you grant and revoke specific permissions, such as SELECT or EXECUTE, on individual database objects rather than through broader roles? SQL Server › SQL Server Security & PermissionsSQL ServerSQL Server Security & PermissionsIntermediate
7How do you implement row level security to restrict which specific rows a user can see within a shared table, beyond simply controlling access to entire tables or columns? SQL Server › SQL Server Security & PermissionsSQL ServerSQL Server Security & PermissionsAdvanced
8What security considerations should be kept in mind when configuring the account that SQL Server Agent jobs run under? SQL Server › SQL Server Agent & Job SchedulingSQL ServerSQL Server Agent & Job SchedulingIntermediate
9What is a linked server in SQL Server, and why would you set one up? SQL Server › Linked ServersSQL ServerLinked ServersBeginner
10What are the security considerations when configuring authentication for a linked server connection? SQL Server › Linked ServersSQL ServerLinked ServersIntermediate
11What is SQL injection, and how does it relate to writing dynamic SQL unsafely? SQL Server › Dynamic SQLSQL ServerDynamic SQLBeginner
12How do you safely use sp_executesql to execute dynamic SQL with parameters, avoiding the risks of simple string concatenation? SQL Server › Dynamic SQLSQL ServerDynamic SQLIntermediate
13How would you build a dynamic SQL query where the table or column names themselves need to change based on input, since parameters cannot be used for object names? SQL Server › Dynamic SQLSQL ServerDynamic SQLIntermediate
14How do you test and verify that a linked server connection is working correctly after it has been configured? SQL Server › Linked ServersSQL ServerLinked ServersIntermediate
15What is dynamic data masking in SQL Server, and what problem does it solve? SQL Server › Dynamic Data MaskingSQL ServerDynamic Data MaskingBeginner
16What built-in masking functions are available in SQL Server for dynamic data masking? SQL Server › Dynamic Data MaskingSQL ServerDynamic Data MaskingBeginner
17What is a view in SQL Server, and what benefits does it provide? SQL Server › ViewsSQL ServerViewsBeginner
18What is the difference between using EXEC and calling a stored procedure through parameterized application code, and why does this distinction matter for security? SQL Server › Stored Procedures & FunctionsSQL ServerStored Procedures & FunctionsIntermediate
19How do you use a view to help enforce a basic level of security by limiting which columns or rows different groups of users can see? SQL Server › ViewsSQL ServerViewsIntermediate
20What is the difference between what Transparent Data Encryption protects against compared to Dynamic Data Masking? SQL Server › Transparent Data EncryptionSQL ServerTransparent Data EncryptionBeginner
21How do you grant a specific user or role permission to see the real, unmasked data despite dynamic data masking being applied? SQL Server › Dynamic Data MaskingSQL ServerDynamic Data MaskingIntermediate
22Does dynamic data masking prevent a determined user from working around it to see the real underlying values? SQL Server › Dynamic Data MaskingSQL ServerDynamic Data MaskingIntermediate
23How do you remove dynamic data masking from a column once it is no longer needed? SQL Server › Dynamic Data MaskingSQL ServerDynamic Data MaskingIntermediate
24What is the hierarchy of encryption keys and certificates involved in setting up Transparent Data Encryption? SQL Server › Transparent Data EncryptionSQL ServerTransparent Data EncryptionIntermediate
25Why is it critically important to back up the certificate used for Transparent Data Encryption, and what happens if it is lost? SQL Server › Transparent Data EncryptionSQL ServerTransparent Data EncryptionIntermediate
26How do you check whether Transparent Data Encryption is currently enabled on a specific database? SQL Server › Transparent Data EncryptionSQL ServerTransparent Data EncryptionIntermediate
27How would you apply dynamic data masking to an existing table with sensitive columns as part of a broader compliance initiative, such as meeting data privacy regulations? SQL Server › Dynamic Data MaskingSQL ServerDynamic Data MaskingAdvanced
28How does dynamic data masking behave differently when a masked column is used in a JOIN, WHERE clause, or exported through an application, compared to a simple SELECT query? SQL Server › Dynamic Data MaskingSQL ServerDynamic Data MaskingAdvanced
29How would you design a layered set of views to progressively simplify a complex data model for different types of users, such as analysts versus casual business users? SQL Server › ViewsSQL ServerViewsAdvanced