PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which code segment should you add at line 03?

You use SQL Server 2012 to maintain the data used by the applications at your company.
You plan to create a table named Table1 by using the following statement. (Line numbers
are included for reference only.)

You need to ensure that Table1 contains a column named UserName. The UserName
column will:
Store string values in any language.
Accept a maximum of 200 characters.
Be case-insensitive and accent-insensitive.
Which code segment should you add at line 03?

You need to ensure that User1 can run sp1

Your company has a SQL Azure subscription.
You implement a database named Database1. Database1 has two tables named Table1 and
Table2.
You create a stored procedure named sp1. Sp1 reads data from Table1 and inserts data into
Table2.
A user named User1 informs you that he is unable to run sp1.
You verify that User1 has the SELECT permission on Table1 and Table2.
You need to ensure that User1 can run sp1. The solution must minimize the number of
permissions assigned to User1.
What should you do?

Which code segment should you execute?

DRAG DROP
You run the following code segment:

After you add 10,000 rows to Customers, you discover that the index is fragmented.
You need to defragment the index in the least amount of time.
Which code segment should you execute?
To answer, drag the appropriate value to the correct location in the code segment in the
answer area. (Answer choices may be used once, more than once, or not at all.)

You need to recommend a solution to reduce the amount of time it takes to execute the query

You have a table named Rooms that contains three columns.
You execute the following query:

You discover the execution plan shown in the exhibit. (Click the Exhibit button.)

You need to recommend a solution to reduce the amount of time it takes to execute the
query.
What should you do?
More than one answer choice may achieve the goal. Select the BEST answer.

What should you implement?

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.

Which advanced server option should you modify?

You have a database for a mission-critical web application. The database is stored on a SQL
Server 2012 instance and is the only database on the instance.
The application generates all T-SQL statements dynamically and does not use stored
procedures.
You need to maximize the amount of memory available for data caching.
Which advanced server option should you modify?