0% found this document useful (0 votes)
4 views

Assignment 11

Uploaded by

peddareddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Assignment 11

Uploaded by

peddareddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

MS SQL DBA TECH SUPPORT- Assignment11

1. Which statement about Object Level Security in SQL Server is true?


a. It allows restricting access to specific rows in a table.
b. It is available only in Enterprise editions of SQL Server.
c. It enables permissions on objects like tables, views, and stored
procedures.
d. It is used only for configuring Always Encrypted.

Answer Choices:

o a and c
o b and d
o Only a
o Only c

2. Which of the following tools or commands can be used to transfer


logins between servers?
a. SSMS (SQL Server Management Studio) Export Tool
b. sp_help_revlogin script
c. Data Migration Assistant (DMA)
d. CREATE LOGIN command

Answer Choices:

 a and b
 b and d,c
 c only
 b only

3. What happens if you try to connect using an orphaned user


in SQL Server?
a. The connection succeeds with limited permissions.
b. The connection fails because the user lacks a login.
c. The user is automatically re-linked to a login.
d. Orphaned users cannot exist in SQL Server.

4. What is a key limitation of contained users in SQL Server?


a. They cannot use server-level permissions.
b. They are only supported in Azure SQL Database.
c. They are automatically created for all databases.
d. They cannot be used for application roles.

5. Which roles are predefined in SQL Server?


a. db_owner
b. sysadmin
c. DB_datareader
d. All The above

Answer Choices:
MS SQL DBA TECH SUPPORT- Assignment11
1. a and b
2. b and c
3. a, b, and c
4. All of the above

6. Can a contained user be created without a login?

 Yes
 No

7. Is it possible to fix an orphaned user by using the ALTER


USER command?

 Yes
 No

8. Does the sp_help_revlogin script migrate all database-level


permissions automatically?
1. Yes
2. No
9. Match the concepts to their definitions:

Concept Definition
Object Level Security a. Allows users to exist independently of logins
Contained Users b. Permissions on individual tables or columns
Orphan Users c. Database users not linked to a server login
RevLogin Script d. Transfers logins with hashed passwords

10. Match the SQL Server roles with their descriptions:

Role Description
db_owner a. Full control over a specific database
sysadmin b. Full control over the server
db_datareader c. Can read all data in a database
db_securityadmin d. Manages database-level permissions

You might also like