MCQ King
45 – Database System Security MCQ
Best of luck!
1 / 25
1. What is the primary purpose of setting up database system security in SQL Server?
2 / 25
2. Which SQL Server feature is used to control user access and permissions at the database level?
3 / 25
3. What is the primary function of SQL Server roles in database security?
4 / 25
4. In SQL Server, what is the minimum role required to create and modify other user roles?
5 / 25
5. Which system role in SQL Server is used to manage user logins and passwords?
6 / 25
6. In SQL Server, what is the purpose of the sysadmin fixed server role?
7 / 25
7. Which SQL Server role allows a user to read data from all user tables within a database?
8 / 25
8. In SQL Server, what does the db_datawriter role allow a user to do?
9 / 25
9. Which SQL Server role allows a user to modify data in all user tables within a database?
10 / 25
10. In SQL Server, what is the primary function of the db_owner role?
11 / 25
11. Which SQL Server role has the highest level of privilege and control over the database?
12 / 25
12. What is the purpose of the public role in SQL Server?
13 / 25
13. In SQL Server, what is the primary purpose of database-level permissions?
14 / 25
14. Which SQL Server statement is used to grant a user database-level permissions?
15 / 25
15. What is the primary function of database schemas in SQL Server?
16 / 25
16. Which SQL Server statement is used to create a new schema in a database?
17 / 25
17. What is the purpose of the GRANT statement in SQL Server?
18 / 25
18. In SQL Server, what is the minimum required permission to create a new database user?
19 / 25
19. Which SQL Server statement is used to assign a role to a user?
20 / 25
20. In SQL Server, what is the purpose of the DENY statement?
21 / 25
21. What is the primary purpose of the REVOKE statement in SQL Server?
22 / 25
22. Which SQL Server statement is used to remove a role from a user?
23 / 25
23. In SQL Server, what is the primary purpose of the EXECUTE AS statement?
24 / 25
24. What is the primary function of server-level roles in SQL Server?
25 / 25
25. Which SQL Server role is automatically assigned to every user in a database and cannot be removed?
Your score is
Restart quiz