PrepAway - Latest Free Exam Questions & Answers

You are developing a database application by using Microsoft SQL Server 2012.

You are developing a database application by using Microsoft SQL Server 2012.

An application that uses a

database begins to run slowly.

You discover that during reads, the transaction experiences blocking from concurrent updates.

You need to ensure that throughout the transaction the data maintains the original version.

What should you do?

A. Add a HASH h

int to the query.

B. Add a LOOP hint to the query.

C. Add a FORCESEEK hint to the query.

D. Add an INCLUDE clause to the index.

E. Add a FORCESCAN hint to the Attach query.

F. Add a columnstore index to cover the query.

G. Enable the optimize for ad hoc wo

rkloads option.

H. Cover the unique clustered index with a columnstore index.

I. Include a SET FORCEPLAN ON statement before you run the query.

J. Include a SET STATISTICS PROFILE ON statement before you run the query.

K. Include a SET STATISTICS SHOWPLAN_

XML ON statement before you run the query.

L. Include a SET TRANSACTION ISOLATION LEVEL REPEATABLE READ statement before you run the query.

M. Include a SET TRANSACTION ISOLATION LEVEL SNAPSHOT statement before you run the query.

N. Include a SET TRANSACTI

ON ISOLATION LEVEL SERIALIZABLE statement before you run the query.

Explanation:


Leave a Reply

PrepAway - Latest Free Exam Questions & Answers

You are developing a database application by using Microsoft SQL Server 2012.

You are developing a database application by using Microsoft SQL Server 2012.

You have a query that runs slower than expected.

You need to

capture execution plans that will include detailed information on missing indexes recommended by the query optimizer.

What should you do?

A. Add a HASH hint to the query.

B. Add a LOOP hint to the query.

C. Add a FORCESEEK hint to the query.

D. Add an IN

CLUDE clause to the index.

E. Add a FORCESCAN hint to the Attach query.

F. Add a columnstore index to cover the query.

G. Enable the optimize for ad hoc workloads option.

H. Cover the unique clustered index with a columnstore index.

I. Include a SET FORCEP

LAN ON statement before you run the query.

J. Include a SET STATISTICS PROFILE ON statement before you run the query.

K. Include a SET STATISTICS SHOWPLAN_XML ON statement before you run the query.

L. Include a SET TRANSACTION ISOLATION LEVEL REPEATABLE RE

AD statement before you run the query.

M. Include a SET TRANSACTION ISOLATION LEVEL SNAPSHOT statement before you run the query.

N. Include a SET TRANSACTION ISOLATION LEVEL SERIALIZABLE statement before you run the query.

Explanation:


Leave a Reply

PrepAway - Latest Free Exam Questions & Answers

You are developing a database application by using Microsoft SQL Server 2012.

You are developing a database application by using Microsoft SQL Server 2012.

An application that uses a database begins to run slowly.

You discover that a large amount of memory is consumed by single-use dynamic queries.

You need to

reduce procedure cache usage from these statements without creating any additional indexes.

What should you do?

A. Add a HASH hint to the query.

B. Add a LOOP hint to the query.

C. Add a FORCESEEK hint to the query.

D. Add an INCLUDE clause to the index.

E. Add a FORCESCAN hint to the Attach query.

F. Add a columnstore index to cover the query.

G. Enable the optimize for ad hoc workloads option.

H. Cover the unique clustered index with a columnstore index.

I. Include a SET FORCEPLAN ON statement before yo

u run the query.

J. Include a SET STATISTICS PROFILE ON statement before you run the query.

K. Include a SET STATISTICSSHOWPLAN_XML ON statement before you run the query.

L. Include a SET TRANSACTION ISOLATION LEVEL REPEATABLE READ statement before you run

the query.

M. Include a SET TRANSACTION ISOLATION LEVEL SNAPSHOT statement before you run the query.

N. Include a SETTRANSACTION ISOLATION LEVEL SERIALIZABLE statement before you run the query.

Reference: http://msdn.microsoft.com/en-us/library

/cc645587.aspx


Leave a Reply

PrepAway - Latest Free Exam Questions & Answers

You are developing a database application by using Microsoft SQL Server 2012.

You are developing a database application by using Microsoft SQL Server 2012.

An application that uses a database begins to run slowly.

You discover that the root cause

is a query against a frequently updated table that has a clustered index. The query returns four columns: three columns in its WHERE clause contained in a non-clustered index and one additional column.

You need to optimize the statement.

What should you

do?

A. Add a HASH hint to the query.

B. Add a LOOP hint to the query.

C. Add a FORCESEEK hint to the query.

D. Add an INCLUDE clause to the index.

E. Add a FORCESCAN hint to the Attach query.

F. Add a columnstore index to cover the query.

G. Enable the o

ptimize for ad hoc workloads option.

H. Cover the unique clustered index with a columnstore index.

I. Include a SET FORCEPLAN ON statement before you run the query.

J. Include a SET STATISTICS PROFILE ON statement before you run the query.

K. Include a SET

STATISTICS SHOWPLAN_XML ON statement before you run the query.

L. Include a SET TRANSACTIONISOLATION LEVEL REPEATABLE READ statement before you run the query.

M. Include a SET TRANSACTION ISOLATION LEVEL SNAPSHOT statement before you run the query.

N.

Include a SET TRANSACTION ISOLATION LEVEL SERIALIZABLE statement before you run the query.

Explanation:


Leave a Reply