QUESTION 58

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?

 

A.

A dynamic management view

B.

Filegroups

C.

Snapshot isolation

D.

User-defined views

 

Correct Answer: D

Explanation:

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

 

 

QUESTION 59

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:

 

clip_image002The database schemas must be synchronized from SQLDev to SQLProd.

clip_image002[1]The database on SQLDev must be deployed to SQLProd by using a package.

clip_image002[2]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.

 

A.

A database snapshot

B.

SQL Server Integration Services (SSIS)

C.

Change data capture

D.

A data-tier application

 

Correct Answer: B

Explanation:

* 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.

SSIS for Azure and Hybrid Data Movement

 

 

QUESTION 60

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?

 

A.

Query the sys.dm_os_tasks dynamic management view.

B.

Query the sys.dm_os_performance_counters dynamic management view.

C.

Query the sys.dm_io_virtual_file_stats dynamic management function.

D.

Examine the Data File I/O pane in Activity Monitor.

 

Correct Answer: C

Explanation:

sys.dm_io_virtual_file_stats

Returns I/O statistics for data and log files.

sys.dm_io_virtual_file_stats (Transact-SQL)

 

 

QUESTION 61

DRAG DROP

You plan to deploy SQL Server 2014. Your company identifies the following monitoring requirements for the database:

 

clip_image002[3]An e-mail message must be sent if the SQL Server Authentication mode changes.

clip_image002[4]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.

 

clip_image004

 

Correct Answer:

clip_image006

 

 

QUESTION 62

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?

 

A.

Create a SQL Server Agent job to execute DBCC SHOWSTATISTICS on each of the primary key columns in the database.

B.

Use the missing_column_statistics extended event.

C.

Query the sys.statistics system view to see all cases where the statistics were last needed.

D.

Write a query using the sys.dm_db_missing_index_group_stats DMV Joining to sys.indexes, filtering on is_hypothetical.

 

Correct Answer: B

Explanation:

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.

 

Missing Column Statistics Event Class

 

QUESTION 63

DRAG DROP

You plan to deploy SQL Server 2014.

 

Your company identifies the following monitoring requirements:

 

clip_image002[5]Tempdb must be monitored for insufficient free space.

clip_image002[6]Deadlocks must be analyzed by using Deadlock graphs.

 

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.

 

clip_image008

 

Correct Answer:

clip_image010

 

QUESTION 64

DRAG DROP

You plan to deploy three highly available SQL Server environments that will use SQL Server 2014.

 

You identify the following specifications for each environment as shown following table.

 

clip_image012

 

You need to recommend which high-availability feature is required for each environment.

 

Which features should you identify?

 

To answer, drag the appropriate feature to the correct requirement in the answer area.

 

clip_image014

 

Correct Answer:

clip_image016

 

 

QUESTION 65

DRAG DROP

You plan to deploy a database by using SQL Server 2014.

 

Your company identifies the following requirements for the database:

 

clip_image002[7]The name of all stored procedures must start with “usp_”always.

clip_image002[8]All distribution statistics must be updated daily.

 

You need to identify which feature must be used to meet each database requirement.

 

Which features should you identify?

 

To answer, drag the appropriate feature to the correct database requirement in the answer area.

 

clip_image018

 

Correct Answer:

clip_image020

 

 

QUESTION 66

You are troubleshooting an application that runs a query. The application frequently causes deadlocks. You need to identify which transaction causes the deadlock. What should you do? More than one answer choice may achieve the goal. Select the BEST answer.

 

A.

Query the sys.dm_exec_sessions dynamic management view.

B.

Query the sys.dm_exec_requests dynamic management view.

C.

Create a trace in SQL Server Profiler that contains the Deadlock graph event

D.

Create an extended events session to capture deadlock information.

 

Correct Answer: D

Explanation:

Troubleshooting deadlocks

You have been receiving reports from users indicating that certain applications are returning deadlock errors. To maximize the effectiveness of troubleshooting these problems, you decide to focus on the deadlocks that are hit most frequently. You create an Extended Events session that:

 

/ Configures deadlock event tracking for the session. / Specifies a target that aggregates based on an identifier for the deadlock.

 

You run the Extended Events session, and after additional deadlocks are reported you are able to obtain aggregated deadlock information, along with the complete XML deadlock graph for each source. Using this information you are able to pin point the most common deadlocks and start working on a solution.

Create an Extended Events Session

View Event Session Data

 

 

QUESTION 67

DRAG DROP

You plan to deploy SQL Server 2014.

 

You identify the following security requirements for the deployment:

 

clip_image002[9]Users must be prevented from intercepting and reading the T-SQL statements sent from the clients to the database engine.

clip_image002[10]All database files and log files must be encrypted if the files are moved to another disk on another server.

 

You need to identify which feature meets each security requirement. The solution must minimize processor overhead.

 

Which features should you identify?

 

To answer, drag the appropriate feature to the correct requirement in the answer area.

 

clip_image022

 

Correct Answer:

clip_image024

 

Free VCE & PDF File for Microsoft 70-465 Real Exam

Instant Access to Free VCE Files: MCSE|MCSA|MCITP…
Instant Access to Free PDF Files: MCSE|MCSA|MCITP…