Certification Practice Test Sample Questions For
Administering a Microsoft SQL Server Database Infrastructure (MS-20764)
QuickStart is now offering sample questions for Administering a Microsoft SQL Server Database Infrastructure (MS-20764). Whether you are deciding which exam to sign up for, or simply want to practice the materials necessary to complete certification for this course, we have provided a practice test to better aid in certification. 100% of the questions are real test questions; from a recent version of the Administering a Microsoft SQL Server Database Infrastructure (MS-20764) exam.
PowerShell for SQL Server Administrators (MS-55069)
Enroll now today and get 30% off using discount code PRACTICE30 at checkout.
Administering a Microsoft SQL Server Database Infrastructure (MS-20764) Sample Exam Questions
Module 1
SQL Server Security
Which of the following statements Authentication in SQL Server are not correct. Choose all that applies:
- A. Windows Authentication: Principals authenticated by either SQL Server or Windows, both can connect
-
Correct!
- B. SQL Server uses Kerberos as an Authentication Protocol.
-
Incorrect.
- D. All the above.
-
Incorrect.
Logins cannot access databases if they have not been granted access. To grant access to a principal, you create a user. Following are some Create User statements, in which you have to choose which one is correct. You can also choose none or more than one.
- B. CREATE USER Dan Drayton FOR LOGIN Dan Drayton;
-
Correct!
- D. None of the above
-
Incorrect.
You are configuring Linked Servers, and you already know that distributed queries reach the correct data source and return the data, the deployment of the linked server require building of three Tiers. Which one of the following is not a tier in Linked Server Configuration?
- A. Client Tier
-
Incorrect.
- B. Database Server Tier
-
Incorrect.
- C. Server Tier
-
Incorrect.
- D. None of the above
-
Correct!
These are actual data sources and you can use multiple SQL Server databases for your distributed query. Which of the following Tier describes the above-mentioned statement?
- A. Client Tier
-
Incorrect.
- B. Database Server Tier
-
Correct!
- C. Server Tier
-
Incorrect.
- D. None of the above
-
Incorrect.
Back To Top
Module 2
Assigning Server and Database Roles
Permission at the server level generally relate to administrative actions, such as:
- A. Creating Databases
-
Incorrect.
- B. Altering logins
-
Incorrect.
- C. Shutting down the server
-
Incorrect.
- D. All the above
-
Correct!
You can add and remove database principals from database roles using the Alter Role command. Which of the following statements about Assigning Database Principals to Database Roles are correct. Choose All that are correct.
- C. Membership of Database roles can be assigned to both database principals and Server Principals
-
Incorrect.
- D. All the above
-
Incorrect.
You have been given a task by your manager to assign roles based on Finance department’s request. Their main requirement is to restrict a group of users to Select Permissions on a table or Execute permissions on a stored procedure on Database Level. Also, note that accounts are both application and service based. Which of the following T-SQL statements can be used to achieve this objective?
- B. GRANT SELECT ON SCHEMA::Production TO example_role;
GO
GRANT Execute ON SCHEMA::Production TO example_role;
GO -
Incorrect.
- D. None of the Above
-
Incorrect.
- E. DDL and DML are almost same functionality wise
-
Incorrect.
- F. None of the Above
-
Incorrect.
Back To Top
Module 3
Authorizing Users to Access Resources
Which of the following is true about Column Level Security:
- A. Can Assig permissions at column level
-
Correct!
- D. All the above
-
Incorrect.
Which of the following permission enables a user to change the definition of a stored procedure?
- A. Change
-
Incorrect.
- B. Change Definition
-
Incorrect.
- C. Alter
-
Correct!
- D. Alter Definition
-
Incorrect.
Choose all the options below which describes User-Schema Separation:
- A. They are containers of database objects
-
Incorrect.
- B. Listed by querying sys.schemas
-
Incorrect.
- C. Can have default schemas
-
Incorrect.
- D. All the above
-
Correct!
Back To Top
Module 4
Protecting Data with Encryption and Auditing
Triggers are a form of stored procedure that is triggered automatically in response to an event .There are three forms of Triggers in SQL Server. Which of the following Trigger/s is/are not supported in Azure SQL database?
- A. Data Manipulation Language (DML) triggers
-
Incorrect.
- B. Logon Triggers
-
Correct!
- C. Data Definition Language (DDL) triggers
-
Incorrect.
- D. None of the above
-
Incorrect.
SQL Server Supports 3 forms of triggers DDL,DML and Logon Triggers. But, they have some limitations . Choose all the statements below which are not true about Trigger limitations:
- A. System performance can be significantly impacted by DML triggers running alongside the usual load on the server.
-
Incorrect.
- B. Users with appropriate permissions can disable triggers. This can be a significant issue for auditing requirements.
-
Incorrect.
- D. None of the above.
-
Correct!
Given below is a statement to create a temporal table with System Versioning feature on:
CREATE TABLE db. Employee
(
EmployeeID int NOT NULL PRIMARY KEY CLUSTERED,
ManagerID int NULL,
FirstName varchar(50) NOT NULL,
LastName varchar(50) NOT NULL,
SysStartTime datetime2 GENERATED ALWAYS AS ROW START NOT NULL,
SysEndTime datetime2 GENERATED ALWAYS AS ROW END NOT NULL,
PERIOD FOR SYSTEM_TIME (SysStartTime,SysEndTime)
)
WITH (SYSTEM_VERSIONING = ON (HISTORY_TABLE = dbo.EmployeeHistory));
GO
But, Temporal tables have some limitations. Choose all the answers below which does not fall under the limitations of Temporal Table:
- C. The history table used to create a temporal table can be created in any other database as the current table.
-
Correct!
- D. All the above
-
Incorrect.
Back To Top
Module 5
Recovery Models and Backup Strategies
You are considering to Backup your on-premises SQL Server database to Microsoft Azure Blob storage. But, only you are aware of its benefits and not your Project Manager. Your Project Manager wants to know the benefits of it. Consider the following statements below and choose all those options which you think are the Benefit/s of Microsoft Azure Blob storage:
- A. Offsite Backup Available instantly
-
Incorrect.
- B. No Backup hardware to purchase or maintain
-
Incorrect.
- C. Unlimited storage
-
Incorrect.
- D. All of the above
-
Correct!
Which of the following options are true about SQL Server Transaction Logs. Mark all that are correct:
- A. Data Modification is sent by the Server
-
Incorrect.
- D. Checkpoints writes dirty pages to data files
-
Incorrect.
SQL Server has three database recovery models : Simple , Full and Bulk Logged. There are four options given below regarding Bulk Logged . You have to select all answers which you think is true about Bulk Logged:
- B. Avoid Data Loss due to damaged or missing data file.
-
Incorrect.
- D. Requires Log Backups for manageability.
-
Correct!
Back To Top
Module 6
Backing Up SQL Server Databases
Being the database administrator of your organization you want to perform Backup of your database. You have chosen Full Database Backup but also know about Differential Backup and when to use it . Below mentioned are two statements one for each : Full Database Backup and Differential Backup. Choose the correct option through which you can do the Full Backup of your database:
- D. None of the above
-
Incorrect.
Which of the following statements about Transaction Log Backups are correct?
- A. Backups both the transaction log and database as well.
-
Incorrect.
- B. Backs up the log from the last successfully executed log backup of the current end of the log.
-
Correct!
- D. All the above
-
Incorrect.
SQL Server tracks all of the backup activity in the following tables in the msdb database Mark all which are correct:
- A. Backup File
-
Incorrect.
- B. Backup File Group
-
Incorrect.
- C. Backup Set
-
Correct!
- D. All the above.
-
Correct!
Back To Top
Module 7
Restoring SQL Server 2016 Database
The restore process of a SQL Server database consist of how many phases ?
Among the 3 categories of Restoring databases namely : Complete database(Simple and Full), System database restore and Advanced restores. Given below are some options in which advance restore works best .Choose all that are correct:
- A. Page restores
-
Incorrect.
- B. File or Filegroup restore
-
Correct!
- C. Encrypted backup restores
-
Correct!
- D. All the above
-
Correct!
Following are the phases of restore process ,mark all or none which are correct:
Back To Top
Module 8
Automating SQL Server Management
As a database administrator you have certain tasks that should be performed regularly in terms of Automating SQL Server . Given below are some technologies through which you can automate regular tasks.
• SQL Server Agent
• Maintenance Plans
• PowerShell
• System Center Operations Manager
Which of the following statements about SQL Server Agent is true?
- A. Runs as Windows Service
-
Correct!
- B. One Job can perform only one task at a time
-
Incorrect.
- C. Schedules can be defined to run one or more jobs
-
Correct!
- D. Operators can be notified by jobs or alerts
-
Correct!
There are four core object types provided by SQL Server Agent. From the options below choose all that are correct
Part1: Sometimes Job fails and does not execute as expected. It is important to follow a consistent process when attempting to work out why job is failing. How many Steps are there for troubleshooting jobs?
Part2: Which of the following is not a part of Job troubleshooting process ?
- A. SQL Server Agent Status
-
Incorrect.
- B. Access to Dependencies
-
Incorrect.
- C. Job Execution
-
Correct!
- D. None of the above
-
Correct!
Back To Top
Module 9
Configuring Security for SQL Server Agent
What happens to a credential when the password of the windows user that the credential references is changed?
- A. The credential is automatically deleted
-
Incorrect.
- B. The credential is disabled
-
Incorrect.
- D. The credential continues to operate normally
-
Incorrect.
Credentials can be created by using the Transact-SQL CREATE statement, or by using SQL Server management Studio. Below mentioned are some steps to configure it. Choose the one which is incorrect:
- C. When the master server encryption key is changed, stored password is automatically re-encrypted for the new key
-
Incorrect.
- D. None of the above
-
Correct!
There are three types of SQL Server Agent Roles namely : SQLAgentUserRole, SQLAgentReaderRole and SQLAgentOperatorRole. Which of the following statements are true about SQLAgentOperatorRole?
- A. It Manage Own Jobs
-
Incorrect.
- B. View Definitions for jobs owned by other users
-
Incorrect.
- C. Enable and disable jobs owned by other users
-
Incorrect.
- D. All the Above
-
Correct!
Back To Top
Module 10
Monitoring SQL Server with Alerts and Notifications
Part1: How many types of Error Severity levels are there in SQL Server?
Part2: The severity of an error indicates the type of problem that SQL Server encounters. Which of the following is correct in both description as well as Error Ranges?
- A. Range: 0-9 (Informational Messages)
-
Correct!
- C. 11-20 (Errors that can be connected by the user)
-
Incorrect.
- D. 21-24 (Serious System Errors)
-
Incorrect.
Choose all the statements below which are correct regarding Database Mail Profiles. (Database Mail Profile is a collection of one or more database mail accounts.
- A. Collection of one or more accounts
-
Incorrect.
- B. Enable multiple accounts for Reliability
-
Incorrect.
- C. Defines Configuration for sending mail
-
Incorrect.
- D. All of the above
-
Correct!
There are 4 types of Alerts in Azure SQL Database. Choose all the correct options below which are correct:
- A. Alerting uses the common Azure Alert system
-
Incorrect.
- D. All the Above
-
Correct!
Back To Top
Module 11
Introduction to managing SQL Server using PowerShell
Which of the following statements about PowerShell is/are not correct?
- C. Is not case sensitive
-
Correct!
- D. Includes aliases , or shortcuts, such as cd, cls and dir
-
Incorrect.
You can change SQL Server Database settings by assigning new values to the properties of objects. Which of the following options below is correct regarding amending SQL Server Database Settings:
- B. Use the Modify Method to make the change
-
Incorrect.
- C. PowerShell works with objects
-
Correct!
What is an SMO Object?
- A. A SQL PowerShell provider
-
Incorrect.
- C. A SQL Server feature that improves performance
-
Incorrect.
- D. Part of the windows operating system
-
Incorrect.
Back To Top
Module 12
Tracing Access to SQL Server with Extended Events
There are total 3 types in the Architecture of Extended Events. Which of the following is not part of the architecture?
- A. User Defines Session
-
Incorrect.
- B. Extended Events engine provides capabilities
-
Incorrect.
- C. A package defines the objects available to a session
-
Incorrect.
- D. None of the above
-
Correct!
Packages acts as containers for the Extended Events objects and their definitions. For which of the following object type/s does a Package not act as a container?
Which system Dynamic Management View provides the list of events configured in an active Extended Event session?
- A. sys.dm_xe_session_targets
-
Incorrect.
- B. sys.dm_xe_session_events
-
Correct!
- C. sys.dm_xe_sessions
-
Incorrect.
- D. sys.dm_xe_session_event_actions
-
Incorrect.
Back To Top
Module 13
Monitoring SQL Server
The component/s that make up the data collection system in SQL Server is/are:
- A. Data collector SQL Server Agent jobs
-
Incorrect.
- B. Management data warehouse
-
Incorrect.
- C. Rich Reports
-
Incorrect.
- D. all of the above
-
Correct!
Data Collector is a toolkit for collecting SQL Server performance information into a single location which includes:
- A. Simplification of Reports
-
Incorrect.
- B. Persistence of DMO data over restarting of service
-
Incorrect.
- C. Is disabled by Default
-
Incorrect.
- D. all of the above
-
Correct!
Fixed Roles for data collection security are created in the msdb system database. Which of the following is not a fixed role in Data Collection Security?
- A. Dc_admin
-
Incorrect.
- B. Dc_operator
-
Incorrect.
- C. Dc_proxy
-
Incorrect.
- D. None of the above
-
Correct!
Back To Top
Module 14
Troubleshooting SQL Server
A key characteristic of good troubleshooters is that they follow a clear methodology in a logical manner. There are many different methodologies, with 4 most common phases namely : Investigate, Validate, Analyze and Implement. From the options below what should be the logical order of these phases?
- A. Investigate, Implement, Analyze and Validate
-
Incorrect.
- B. Analyze , Investigate, Validate and Implement
-
Incorrect.
- C. Validate, Investigate, Analyze and Implement
-
Incorrect.
- D. Investigate, Analyze, Implement and Validate
-
Correct!
When troubleshooting Service Related issues, the most common one is SQL Server service not starting or cannot be accessed. If it does not start from the options below which options should be selected to resolve the issue?
- A. Check the Windows system Log
-
Correct!
- B. Check master and model databases for corruption
-
Correct!
- D. Try to start the service from the command prompt
-
Correct!
Choose all the answers below which are correct about SQL Server Error Log:
- B. Review all the available log files; a problem may not have started in the current logging period
-
Incorrect.
- C. By Default, the current log, plus copies of the six most recent log files, are retained
-
Incorrect.
- D. all of the above
-
Correct!
Back To Top
Module 15
Importing and Exporting Data
You want to import data from a text file into a SQL Server table, which of the following data transfer tools you can use to accomplish this task?
- A. SQL SERVER Integration Services
-
Incorrect.
- B. BCP(Bulk Copy Program)
-
Incorrect.
- C. BULK INSERT
-
Incorrect.
- D. Any of the above
-
Correct!
SSIS is an extensible platform for building complex ETL solutions. It is included with SQL Server and consists of a Microsoft Windows service that manages the execution of ETL workflows, along with tools and components for developing them. In SSIS a service called SSIS Service is used to perform management of control flow , execution of task workflows, which are defined in the packages. Which of the following statements below are false about SSIS Service?
- B. Runtime resources and operational support for data flow
-
Incorrect.
- C. Installed as a feature of SQL Server
-
Incorrect.
- D. None of the above
-
Incorrect.
A DAC is a logical collection of all the database objects—such as tables, stored procedures, logins, and users—associated with a SQL Server user database. Definitions for all the objects in a DAC can be combined into a deployment package file, called a DAC package (DACPAC), which can be used to install or upgrade a DAC across multiple instances of the database engine. Which of the following operations can you perform on a DAC?
Back To Top
Tell Us About You:
- Home
- Practice Exam - Administering a Microsoft SQL Server Database
Practice Exam - Administering a Microsoft SQL Server Database
More Information:
- Learning Style: On Demand
- Learning Style: Practice Exam
- Difficulty: Beginner
- Course Duration: 1 Hour
- Course Info: Download PDF
- Certificate: See Sample
Contact a Learning Consultant
Need Training for 5 or More People?
Customized to your team's need:
- Annual Subscriptions
- Private Training
- Flexible Pricing
- Enterprise LMS
- Dedicated Customer Success Manager
Course Information