Dumps4cert.com : Latest Dumps with PDF and VCE Files
2018 Aug Microsoft Official New Released 70-469
100% Free Download! 100% Pass Guaranteed!

Recertification for MCSE: Data Platform

Question No: 171 – (Topic 12)

You have a query that is used by a reporting dashboard.

Users report that the query sometimes takes a long time to run.

You need to recommend a solution to identify what is causing the issue. What should you recommend?

More than one answer choice may achieve the goal. Select the BEST answer.

  1. Set the blocked process threshold, and then run SQL Server Profiler.

  2. Set the blocked process threshold, and then create an alert.

  3. Enable trace flag 1204, and then create an alert.

  4. Create a job that queries the sys.dm_os_waiting_tasks dynamic management view.

Answer: B

Explanation: Step 1: Turn on the blocked process report. This will look for any blocking taking 20 seconds or longer.

-Make sure you don#39;t have any pending changes SELECT *

FROM sys.configurations WHERE value lt;gt; value_in_use; GO

exec sp_configure #39;show advanced options#39;, 1; GO

RECONFIGURE GO

exec sp_configure #39;blocked process threshold (s)#39;, 20; GO

RECONFIGURE GO

Step 2: Set up a trace to capture the blocked process report. Run it as a server side trace. blocked process threshold Server Configuration Option

Question No: 172 – (Topic 12)

You have two SQL Server 2014 instances named SQLDev and SQLProd.

You plan to create a new database on SQLProd that will use SQL Server Authentication.

You need to ensure that when the new database is copied from SQLProd to SQLDev, users can connect to the database on SQLDev even if they do not have a login on the SQLDev instance.

What should you use?

More than one answer choice may achieve the goal. Select the BEST answer.

  1. Triggers

  2. Contained database

  3. SQL Server Analysis Services (SSAS) scripts

  4. Extended Events

  5. SQL Server Integration Services (SSIS) scripts

Answer: B

Explanation: A fully contained database includes all the settings and metadata required to define the database and has no configuration dependencies on the instance of the SQL Server Database Engine where the database is installed.

Contained Databases

Question No: 173 – (Topic 12)

You are troubleshooting an application that runs a query. The application frequently causes deadlocks.

You need to identify the isolation level used by the query when a deadlock occurs. What should you do?

More than one answer choice may achieve the goal. Select the BEST answer.

  1. Query the sys.dm_exec_requests dynamic management view.

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

  3. Query the sys.dm_exec_sessions dynamic management view.

  4. Enable trace flag 1222, and then view the SQL Server error log.

Answer: C Explanation:

  • sys.dm_exec_sessions

  • Returns one row per authenticated session on SQL Server. sys.dm_exec_sessions is a server-scope view that shows information about all active user connections and internal tasks.

    Include the column: transaction_isolation_level smallint

    Transaction isolation level of the session.

    0 = Unspecified

    1 = ReadUncomitted

    2 = ReadCommitted

    3 = Repeatable

    4 = Serializable

    5 = Snapshot Is not nullable.

    sys.dm_exec_sessions (Transact-SQL)

    Question No: 174 – (Topic 12)

    You administer a SQL Server 2014 instance.

    Users report that the SQL Server has seemed slow today. A large database was being restored for much of the day, which could be causing issues.

    You want to write a query of the system views that will report the following:

    ->Number of users that have a connection to the server

    ->Whether a user#39;s connection is active

    ->Whether any connections are blocked

    ->What queries are being executed

    Whether the database restore is still executing and, if it is, what percentage of the restore is complete.

    Which system objects should you use in your query to best achieve this task?

    1. sys.dm_exec_requests, sys.dm_exec_sessions, sys.objects

    2. sys.dm_exec_sessions, sys.dm_exec_query_stats, sys.dm_exec_query_text,sys.objects

    3. sys.sysprocesses, sys.dm_exec_query_text, sys.objects

    4. sys.dm_exec_requests, sys.dm_exec_sessions, sys.dm_exec_query_text

    Answer: D

    Explanation: * sys.dm_exec_requests

    Returns information about each request that is executing within SQL Server.

    • sys.dm_exec_sessions

      Returns one row per authenticated session on SQL Server. sys.dm_exec_sessions is a server-scope view that shows information about all active user connections and internal tasks. This information includes client version, client program name, client login time, login user, current session setting, and more.

    • sys.dm_exec_query_text

    Returns the text of the SQL batch that is identified by the specified sql_handle.

    sys.dm_exec_requests (Transact-SQL) sys.dm_exec_sessions (Transact-SQL)

    Incorrect:

    • sys.dm_exec_query_stats

      Returns aggregate performance statistics for cached query plans in SQL Server. The view contains one row per query statement within the cached plan, and the lifetime of the rows are tied to the plan itself.

    • sys.objects

    Contains a row for each user-defined, schema-scoped object that is created within a database.

    Topic 13, Mix Questions Set 2

    Question No: 175 – (Topic 13)

    You have a database named database1.

    Database developers report that there are many deadlocks.

    You need to implement a solution to monitor the deadlocks. The solution must meet the following requirements:

    ->Support real-time monitoring.

    ->Be enabled and disabled easily.

    ->Support querying of the monitored data.

    What should you implement?

    More than one answer choice may achieve the goal. Select the BEST answer.

    1. Log errors by using trace flag 1222

    2. Log errors by using trace flag 1204

    3. A SQL Server Profiler template

    4. An Extended Events session

    Answer: D Explanation:

    http://www.sqlservercentral.com/blogs/james-sql-footprint/2012/08/12/monitor-deadlock-in- sql-2012/ http://blogs.technet.com/b/mspfe/archive/2012/06/28/how_2d00_to_2d00_monitor_2d00_d eadlocks_2d00_in_2d00_sql_2d00_server.aspx

    Question No: 176 DRAG DROP – (Topic 13)

    You are planning two stored procedures named SProc1 and SProc2. You identify the following requirements:

    ->SProc1 must return a table.

    ->SProc2 must return a status code.

    You need to identify which options must be implemented to meet each stored procedure requirement.

    Which options should you identify?

    To answer, drag the appropriate option to the correct requirement in the answer area. (Answer choices may be used once, more than once, or not at all.)

    Dumps4Cert 2018 PDF and VCE

    Answer:

    Dumps4Cert 2018 PDF and VCE

    Question No: 177 – (Topic 13)

    You execute the following code:

    Dumps4Cert 2018 PDF and VCE

    You need to select the task that has an IsFinished value of true from the Project that has an Id value of 1.

    Which code segment should you use?

    Dumps4Cert 2018 PDF and VCE

    1. Option A

    2. Option B

    3. Option C

    4. Option D

    Answer: B

    Question No: 178 – (Topic 13)

    You run the following code:

    Dumps4Cert 2018 PDF and VCE

    You need to ensure that the root node of the XML data stored in the Details column is

    lt;Order_Detailsgt;.

    What should you implement?

    More than one answer choice may achieve the goal. Select the BEST answer.

    1. A user-defined data type

    2. An XML index

    3. A Data Definition Language (DDL) trigger

    4. A data manipulation language (DML) trigger

    5. An XML schema collection

    Answer: E Explanation:

    http://msdn.microsoft.com/en-us/library/ms187856.aspx

    Question No: 179 – (Topic 13)

    You have database objects that were created by using the following script:

    Dumps4Cert 2018 PDF and VCE

    The dbo.Customers table has 1 million rows.

    You discover that usp_GetCustomersByDate takes a long time to complete.

    The query plan used by the stored procedure is shown in the exhibit. (Click the Exhibit button.)

    Dumps4Cert 2018 PDF and VCE

    You need to ensure that usp_GetCustomersByDate completes as quickly as possible. What should you do?

    1. Modify the stored procedure to include the OPTIMIZE FOR UNKNOWN query hint.

    2. Execute the sp_recompile #39;dbo.GetCustomersByDate#39; statement.

    3. Execute the ALTER INDEXIX_Customers_CreationDate WITH REBUILD statement.

    4. Modify the stored procedure to include the OPTIMIZE FOR(#39;1/1/2008#39;) query hint.

    Answer: A

    Question No: 180 – (Topic 13)

    You are creating a table to support an application that will cache data outside of SQL Server.

    The application will detect whether cached values were changed before it updates the values.

    You need to create the table, and then verify that you can insert a row into the table. Which code segment should you use?

    Dumps4Cert 2018 PDF and VCE

    1. Option A

    2. Option B

    3. Option C

    4. Option D

    Answer: C Explanation:

    http://msdn.microsoft.com/en-us/library/ms182776.aspx http://msdn.microsoft.com/en-us/library/ms187942.aspx http://msdn.microsoft.com/en-us/library/ms190348.aspx

    100% Dumps4cert Free Download!
    70-469 PDF
    100% Dumps4cert Pass Guaranteed!
    70-469 Dumps

    Dumps4cert ExamCollection Testking
    Lowest Price Guarantee Yes No No
    Up-to-Dated Yes No No
    Real Questions Yes No No
    Explanation Yes No No
    PDF VCE Yes No No
    Free VCE Simulator Yes No No
    Instant Download Yes No No

    Comments are closed.