Practice Questions: Login Security
Three practice questions
December 3, 1999
You have a SQL Server computer set up for your development team. You want them to be able to create test databases as necessary for development and testing. You should assign them to the following server roles, so that they can perform the listed tasks (select all correct answers):
Database Creators, so they can add and delete databases.
Process Administrators, so they can control processes running on the SQL Server, in case a query or procedure enters a loop condition.
Security Administrators, so they can check how permissions on database objects affect performance and data access.
Server Administrators, so they can experiment with retaining frequently used reference tables in memory.
You add a login for a Windows NT user, set the default database to Pubs, and check the Deny Access box. Then you add another login for a group this user belongs to. You check Grant Access for the group login and set the default database to Northwind. What is the result for the user?
Grant Access overrides the previously denied access, letting the user connect to the SQL Server with no restrictions.
The user can connect to Northwind but not to Pubs.
The user can connect to any database except Pubs, and has a default database of Northwind.
The user can't connect because the deny always overrides the grant.
Your server is set up for mixed security (SQL Server and NT). Which of the following statements are true?
NT users can log in by using their NT login name and password by selecting SQL Server Authentication and supplying their credentials.
A Windows 98 user can log on by using the NT security mode.
A user with an NT logon can log in under a different name with a valid SQL Server user name and password.
All NT users have automatic access to the SQL Server, but the DBA has to set up non-NT users with a name and password.
About the Author
You May Also Like