You use Microsoft SQL Server 2012 to write code for a transaction that contains several statements.
There is high contention between readers and writers on several tables used by your transaction.
You need to minimize the use of the tempdb space. You also need to prevent reading queries from blocking writing queries.
Which isolation level should you use?
A.
SERIALIZABLE
B.
SNAPSHOT
C.
READ COMMITTED SNAPSHOT
D.
REPEATABLE READ
Explanation:
http://msdn.microsoft.com/en-us/library/ms173763.aspx
I pass exam 70-762. None of this questions presents in my exam. In 70-762 there are no questions about xml formats and over(partition) clauses.
Hi. I am studying for my exam right now. Can you help? Which of those MS SQL 2012 questions are in fact relevant for new 70-762 exam?
This dump is valid to pass Microsoft 70-762 exam and don’t just memorize the answer, you need to get through understanding of it because the question changed a little in the real exam. The material is to supplement your studies:
QUESTION 41
You are developing an application that connects to a database.
The application runs the following jobs:
The READ_COMMITTED_SNAPSHOT database option is set to OFF, and auto-content is set to ON. Within the stored procedures, no explicit transactions are defined. If JobB starts before JobA, it can finish in seconds. If JobA starts first, JobB takes a long time to complete.
You need to use Microsoft SQL Server Profiler to determine whether the blocking that you observe in JobB is caused by locks acquired by JobA.
Which trace event class in the Locks event category should you use?
A. LockAcquired
B. LockCancel
C. LockDeadlock
D. LockEscalation
Answer: A
QUESTION 42
Hotspot Question
You have a database that contains both disk-based and memory-optimized tables.
You need to create two modules.
The modules must meet the requirements described in the following table.
Which programming object should you use for each module? To answer, select the appropriate object types in the answer area.
Answer:
QUESTION 43
You use Microsoft SQL Server Profile to evaluate a query named Queryl.
The Profiler report indicates the following issues:
– At each level of the query plan, a low total number of rows are processed.
– The query uses many operations.
This results in a high overall cost for the query.
You need to identify the information that will be useful for the optimizer.
What should you do?
A. Start a SQL Server Profiler trace for the event class Auto Stats in the Performance event category.
B. Create one Extended Events session with the sqlserver.missing_column_statistics eventadded.
C. Start a SQL Server Profiler trace for the event class Soft Warnings in the Errors and Warnings event category.
D. Create one Extended Events session with the sqlserver.missing_join_predicate event added.
Answer: D
QUESTION 44
You are experiencing performance issues with the database server.
You need to evaluate schema locking issues, plan cache memory pressure points, and backup I/O problems.
What should you create?
A. a System Monitor report
B. a sys.dm_exec_query_stats dynamic management view query
C. a sys.dm_exec_session_wait_stats dynamic management view query
D. an Activity Monitor session in Microsoft SQL Management Studio.
Answer: C
QUESTION 45
Hotspot Question
You are maintaining statistics for a database table named tbiTransaction.
The table contains more than 10 million records.
You need to create a stored procedure that meets the following requirements:
– On weekdays, update statistics for a sample of the total number of records in the table.
– On weekends, update statistics by sampling all rows in the table.
A maintenance task will call this stored procedure daily.
How should you complete the stored procedure? To answer, select the appropriate Transact-SOL segments in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
QUESTION 46
Drag and Drop Question
You have a database named MyDatabase.
You must monitor all the execution plans in XML format by using Microsoft SQL Trace.
The trace must meet the following requirements:
– Capture execution plans only for queries that run the MyDatabase database.
– Filter out plans with event duration of less than or equal to 100 microseconds.
– Save trace results to a disk on the server.
You need to create the trace.
In which order should you arrange the Transact-SOL segments to develop the solution? To answer, move all Transact-SOL segments to the answer area and arrange them in the correct order. NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
DECLARE @traceEventld int = 122;
DECLARE @traceColumnldForTextData int = 1;
DECLARE @duration Filter bigint = 100
DECLARE @databaseID int;
SELECT @databaseld = DB_ID( ‘MyDatabase’);
Answer:
QUESTION 47
Hotspot Question
You are analyzing the performance of a database environment.
You need to find all unused indexes in the current database.
How should you complete the Transact-SOL statement? To answer, select the appropriate TransactSOL segments in the answer area.
Answer:
QUESTION 48
Hotspot Question
You are reviewing the execution plans in the query plan cache.
You observe the following:
– There are a large number of single use plans.
– There are a large number of simple execution plans that use multiple CPU cores.
You need to configure the server to optimize query plan execution.
Which two setting should you modify on the properties page for the Microsoft SQL Server instance? To answer, select the appropriate settings in the answer area.
Answer:
QUESTION 49
You are developing an application to track customer sales.
You need to create a database object that meets the following requirements:
– Return a value of 0 if data inserted successfully into the Customers table.
– Return a value of 1 if data is not inserted successfully into the Customers table.
– Support logic that is written by using managed code.
What should you create?
A. extended procedure
B. CLR procedure
C. user-defined procedure
D. DML trigger
E. DDL trigger
F. scalar-valued function
G. table-valued function
Answer: B
QUESTION 50
……
I have uploaded all the real questions of 70-762 exam to my Google Drive: https://drive.google.com/open?id=0B3Syig5i8gpDMW9NcjJrQXlsMGs
Welcome to download them freely!
@Seif thanks for sharing the content.
Thanks @self. Appreciate that