MS SQL Server – 46 – Schemas MCQ

46 – Schemas MCQ

Best of luck!

1 / 25

1. In SQL Server, what is the primary benefit of user–schema separation?

2 / 25

2. What is the primary purpose of separating users from schemas in SQL Server?

3 / 25

3. In SQL Server, what is the default schema for a newly created user?

4 / 25

4. Which SQL Server statement is used to create a new schema in a database?

5 / 25

5. What is the primary purpose of the ALTER SCHEMA statement in SQL Server?

6 / 25

6. Which SQL Server statement is used to transfer an object from one schema to another?

7 / 25

7. In SQL Server, which statement is used to grant permission on a schema to a user or role?

8 / 25

8. What is the primary purpose of the DENY statement in SQL Server schema security?

9 / 25

9. Which SQL Server statement is used to remove a schema from the database?

10 / 25

10. In SQL Server, which role is automatically assigned to every user in a database and cannot be removed?

11 / 25

11. What is the primary function of the public role in SQL Server?

12 / 25

12. In SQL Server, what is the purpose of the sys schema?

13 / 25

13. What is the primary benefit of the sys schema in SQL Server?

14 / 25

14. In SQL Server, which statement is true about the dbo schema?

15 / 25

15. Which SQL Server statement is used to create a new user-defined schema?

16 / 25

16. In SQL Server, what is the primary purpose of the guest schema?

17 / 25

17. Which SQL Server schema is automatically used for users who have not been explicitly granted access to a schema?

18 / 25

18. What is the default schema for user objects in SQL Server?

19 / 25

19. In SQL Server, which statement is true about the sys schema?

20 / 25

20. What is the primary purpose of the INFORMATION_SCHEMA schema in SQL Server?

21 / 25

21. In SQL Server, which statement is true about the INFORMATION_SCHEMA schema?

22 / 25

22. What is the primary purpose of the sysadmin role in SQL Server?

23 / 25

23. In SQL Server, what is the primary benefit of separating user data from system data using schemas?

24 / 25

24. Which SQL Server schema is used for system objects and is owned by the database itself?

25 / 25

25. What is the primary purpose of the sys schema in SQL Server?

Your score is

0%