Administering a SQL Database Infrastructure — Question 104
Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.
You are the database administrator for a company that hosts Microsoft SQL Server. You manage both on-premises and Microsoft Azure SQL Database environments.
You have a user database named HRDB that contains sensitive human resources data. The HRDB backup files must be encrypted.
You need to grant the correct permission to the service account that backs up the HRDB database.
Which permission should you grant?
Answer options
- A. DDLAdmin
- B. db_datawriter
- C. dbcreator
- D. dbo
- E. View Database State
- F. View Server State
- G. View Definition
- H. sysadmin
Correct answer: G
Explanation
The correct answer is G, View Definition, as it allows the service account to view the metadata and structure of the database, which is necessary for the backup process. The other options either provide excessive permissions (like H, sysadmin) or do not grant the necessary access to view the database definitions, which is crucial for encrypting the backup files.