Microsoft 70-465 Exam Practice Questions (P. 3)
- Full Access (64 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #11
Your network contains an Active Directory domain that has two groups named Group1 and Group2.
The domain contains two SQL Server instances named SQLDev and SQLProd. Each SQL Server instance has access to various storage media.
The SQL Server instances have a database that contains a table named Table1.
Table1 contains a column named Column1. The value for Column1 can be either Value1 or Value2.
You need to recommend a solution to ensure that users in Group1 can retrieve only rows from Column1 that contain the value of Value1.
What should you recommend?
The domain contains two SQL Server instances named SQLDev and SQLProd. Each SQL Server instance has access to various storage media.
The SQL Server instances have a database that contains a table named Table1.
Table1 contains a column named Column1. The value for Column1 can be either Value1 or Value2.
You need to recommend a solution to ensure that users in Group1 can retrieve only rows from Column1 that contain the value of Value1.
What should you recommend?
- AA dynamic management view
- BFilegroups
- CSnapshot isolation
- DUser-defined views
Correct Answer:
D
A view is a virtual table whose contents are defined by a query. Like a table, a view consists of a set of named columns and rows of data. Unless indexed, a view does not exist as a stored set of data values in a database. The rows and columns of data come from tables referenced in the query defining the view and are produced dynamically when the view is referenced.
A view acts as a filter on the underlying tables referenced in the view. http://msdn.microsoft.com/en-us/library/ms190174.aspx
Incorrect:
Not A: Dynamic management views and functions return server state information that can be used to monitor the health of a server instance, diagnose problems, and tune performance. http://technet.microsoft.com/en-us/library/ms188754(v=sql.120).aspx
D
A view is a virtual table whose contents are defined by a query. Like a table, a view consists of a set of named columns and rows of data. Unless indexed, a view does not exist as a stored set of data values in a database. The rows and columns of data come from tables referenced in the query defining the view and are produced dynamically when the view is referenced.
A view acts as a filter on the underlying tables referenced in the view. http://msdn.microsoft.com/en-us/library/ms190174.aspx
Incorrect:
Not A: Dynamic management views and functions return server state information that can be used to monitor the health of a server instance, diagnose problems, and tune performance. http://technet.microsoft.com/en-us/library/ms188754(v=sql.120).aspx
send
light_mode
delete
Question #12
You have two SQL Server instances named SQLDev and SQLProd that have access to various storage media.
You plan to synchronize SQLDev and SQLProd.
You need to recommend a solution that meets the following requirements:
✑ The database schemas must be synchronized from SQLDev to SQLProd.
✑ The database on SQLDev must be deployed to SQLProd by using a package.
✑ The package must support being deployed to Windows Azure SQL Database.
What should you recommend?
More than one answer choice may achieve the goal. Select the BEST answer.
You plan to synchronize SQLDev and SQLProd.
You need to recommend a solution that meets the following requirements:
✑ The database schemas must be synchronized from SQLDev to SQLProd.
✑ The database on SQLDev must be deployed to SQLProd by using a package.
✑ The package must support being deployed to Windows Azure SQL Database.
What should you recommend?
More than one answer choice may achieve the goal. Select the BEST answer.
- AA database snapshot
- BSQL Server Integration Services (SSIS)
- CChange data capture
- DA data-tier application
Correct Answer:
B
* SIS supports connections to SQL Database by using the ADO.NET provider. OLEDB is not supported at this time. You can build the SSIS package connecting to
SQL Database and create the data flow tasks the same way as you would against a typical on-premise SQL Server.
Reference:
SSIS for Azure and Hybrid Data Movement
B
* SIS supports connections to SQL Database by using the ADO.NET provider. OLEDB is not supported at this time. You can build the SSIS package connecting to
SQL Database and create the data flow tasks the same way as you would against a typical on-premise SQL Server.
Reference:
SSIS for Azure and Hybrid Data Movement
send
light_mode
delete
Question #13
You manage a SQL Server 2014 instance that contains a database named DB1.
Users report that some queries to DB1 take longer than expected. Although most queries run in less than one second, some queries take up to 20 seconds to run.
You need to view all of the performance statistics for each database file.
Which method should you use?
Users report that some queries to DB1 take longer than expected. Although most queries run in less than one second, some queries take up to 20 seconds to run.
You need to view all of the performance statistics for each database file.
Which method should you use?
- AQuery the sys.dm_os_tasks dynamic management view.
- BQuery the sys.dm_os_performance_counters dynamic management view.
- CQuery the sys.dm_io_virtual_file_stats dynamic management function.
- DExamine the Data File I/O pane in Activity Monitor.
Correct Answer:
C
sys.dm_io_virtual_file_stats
Returns I/O statistics for data and log files.
Reference:
sys.dm_io_virtual_file_stats (Transact-SQL)
C
sys.dm_io_virtual_file_stats
Returns I/O statistics for data and log files.
Reference:
sys.dm_io_virtual_file_stats (Transact-SQL)
send
light_mode
delete
Question #14
DRAG DROP -
You plan to deploy SQL Server 2014.
Your company identifies the following monitoring requirements for the database:
✑ An e-mail message must be sent if the SQL Server Authentication mode changes.
✑ An e-mail message must be sent if CPU utilization exceeds 90 percent.
You need to identify which feature meets each monitoring requirement.
Which features should you identify?
To answer, drag the appropriate feature to the correct monitoring requirement in the answer area.
Select and Place:

You plan to deploy SQL Server 2014.
Your company identifies the following monitoring requirements for the database:
✑ An e-mail message must be sent if the SQL Server Authentication mode changes.
✑ An e-mail message must be sent if CPU utilization exceeds 90 percent.
You need to identify which feature meets each monitoring requirement.
Which features should you identify?
To answer, drag the appropriate feature to the correct monitoring requirement in the answer area.
Select and Place:

Correct Answer:
* Policy-Based Management is helpful in resolving the issues presented in the following scenario:
A company policy prohibits enabling Database Mail or SQL Mail. A policy is created to check the server state of those two features. An administrator compares the server state to the policy. If the server state is out of compliance, the administrator chooses the Configure mode and the policy brings the server state into compliance.
* Events are generated by SQL Server and entered into the Microsoft Windows application log. SQL Server Agent reads the application log and compares events written there to alerts that you have defined. When SQL Server Agent finds a match, it fires an alert, which is an automated response to an event. In addition to monitoring SQL Server events, SQL Server Agent can also monitor performance conditions and Windows Management Instrumentation (WMI) events.
To define an alert, you specify:
The name of the alert.
The event or performance condition that triggers the alert.
The action that SQL Server Agent takes in response to the event or performance condition.
Reference:
Configure Alerts to Notify Policy Administrators of Policy Failures
SQL Server Agent

* Policy-Based Management is helpful in resolving the issues presented in the following scenario:
A company policy prohibits enabling Database Mail or SQL Mail. A policy is created to check the server state of those two features. An administrator compares the server state to the policy. If the server state is out of compliance, the administrator chooses the Configure mode and the policy brings the server state into compliance.
* Events are generated by SQL Server and entered into the Microsoft Windows application log. SQL Server Agent reads the application log and compares events written there to alerts that you have defined. When SQL Server Agent finds a match, it fires an alert, which is an automated response to an event. In addition to monitoring SQL Server events, SQL Server Agent can also monitor performance conditions and Windows Management Instrumentation (WMI) events.
To define an alert, you specify:
The name of the alert.
The event or performance condition that triggers the alert.
The action that SQL Server Agent takes in response to the event or performance condition.
Reference:
Configure Alerts to Notify Policy Administrators of Policy Failures
SQL Server Agent
send
light_mode
delete
Question #15
You are the new database administrator for a SQL Server 2014 instance.
You conduct an assessment on the instance and determine that the auto create statistics setting on the database named DB1 has been turned off. You see no evidence that any maintenance has been occurring.
You want to set up monitoring to see if query performance is being affected.
You need to set up a monitoring process that will capture any cases where statistics could have been useful if they existed.
What should you do?
You conduct an assessment on the instance and determine that the auto create statistics setting on the database named DB1 has been turned off. You see no evidence that any maintenance has been occurring.
You want to set up monitoring to see if query performance is being affected.
You need to set up a monitoring process that will capture any cases where statistics could have been useful if they existed.
What should you do?
- ACreate a SQL Server Agent job to execute DBCC SHOWSTATISTICS on each of the primary key columns in the database.
- BUse the missing_column_statistics extended event.
- CQuery the sys.statistics system view to see all cases where the statistics were last needed.
- DWrite a query using the sys.dm_db_missing_index_group_stats DMV Joining to sys.indexes, filtering on is_hypothetical.
Correct Answer:
B
The Missing Column Statistics event class indicates that column statistics that could have been useful for the optimizer are not available.
By monitoring the Missing Column Statistics event class, you can determine if there are statistics missing for a column used by a query. This can cause the optimizer to choose a less efficient query plan than expected.
Reference:
Missing Column Statistics Event Class
B
The Missing Column Statistics event class indicates that column statistics that could have been useful for the optimizer are not available.
By monitoring the Missing Column Statistics event class, you can determine if there are statistics missing for a column used by a query. This can cause the optimizer to choose a less efficient query plan than expected.
Reference:
Missing Column Statistics Event Class
send
light_mode
delete
All Pages