Braindump2go Microsoft 70-461 Practice Tests Latest Questions Free Share (81-90)

70-461 Exam Dumps Free Shared By Braindump2go For Instant Download Now! Download Latest 70-461 Exam Questions and pass 70-461 one time easily! Do you want to be a winner?!

Vendor: Microsoft
Exam Code: 70-461
Exam Name: Querying Microsoft SQL Server 2012

110

QUESTION 81
You use a contained database named ContosoDb within a domain.
You need to create a user who can log on to the ContosoDb database.
You also need to ensure that you can port the database to different database servers within the domain without additional user account configurations.
Which type of user should you create?

A.    User mapped to a certificate
B.    SQL user without login
C.    Domain user
D.    SQL user with login

Answer: B

QUESTION 82
You administer a Microsoft SQL Server 2012 server. You plan to deploy new features to an application. You need to evaluate existing and potential clustered and non-clustered indexes that will improve performance. What should you do?

A.    Query the sys.dm_db_index_usage_stats DMV.
B.    Query the sys.dm_db_missing_index_details DMV.
C.    Use the Database Engine Tuning Advisor.
D.    Query the sys.dm_db_missing_index_columns DMV.

Answer: C

QUESTION 83
You administer a Microsoft SQL Server database named Sales. The database is 3 terabytes in size. The Sales database is configured as shown in the following table.

wps2F0E.tmp_thumb

You discover that Sales_2.ndf is corrupt. You need to recover the corrupted data in the minimum amount of time. What should you do?

A.    Perform a file restore.
B.    Perform a transaction log restore.
C.    Perform a restore from a full backup.
D.    Perform a filegroup restore.

Answer: A

QUESTION 84
Your database contains a table named SalesOrders. The table includes a DATETIME column named OrderTime that stores the date and time each order is placed. There is a non-clustered index on the OrderTime column. The business team wants a report that displays the total number of orders placed on the current day. You need to write a query that will return the correct results in the most efficient manner. Which Transact-SQL query should you use?

A.    SELECT COUNT (*) FROM SaLeaOrders WHERE OrderTime = CONVERT(DATE, GETDATE ())
B.    SELECT COUNT(*) FROM SalesOrders WHERE OrderTime – GETDATE()
C.    SELECT COUNT(-) FROM SaLesCrders WHERE CONCERT(VARCHAR, OrderTime, 112) =
CONVERT (VARCHAR, GETDATE(I, 112)
D.    SELECT CCUNT(*) FROM SalesCrder3 WHERE CrderTime >= CONVERT(DATE, GETDATE())
AND CrderTime < DATEADD(DAY, CONVERT(DATS, GETDATE()))

Answer: D

QUESTION 85
Your application contains a stored procedure for each country. Each stored procedure accepts an employee identification number through the @EmpID parameter. You plan to build a single process for each employee that will execute the stored procedure based on the country of residence. Which approach should you use?

A.    a recursive stored procedure
B.    Trigger
C.    An UPDATE statement that includes CASE
D.    Cursor
E.    The foreach SQLCLR statement

Answer: D

QUESTION 86
You use Microsoft SQL Server 2012 to develop a database application. You create a stored procedure named dbo.ModifyData that can modify rows. You need to ensure that when the transaction fails, dbo.ModifyData meets the following requirements:
– Does not return an error
– Closes all opened transactions
Which Transact-SQL statement should you use?

A.    BEGIN TRANSACTION
BEGIN TRY
EXEC dbo.ModifyData
COMMIT TRANSACTION
END TRY
BEGIN CATCH
IF @@ TRANCOUNT = 0
ROLLBACK TRANSACTION;
END CATCH
B.    BEGIN TRANSACTION
BEGIN TRY
EXEC dbo.ModifyData
COMMIT TRANSACTION
END TRY
BEGIN CATCH
IF @@ERRCR != 0
ROLLBACK TRANSACTION;
THROW;
END CATCH
C.    BEGIN TRANSACTION
BEGIN TRY
EXEC dbo.ModifyData
COMMIT TRANSACTION
END TRY
BEGIN CATCH
IF @@TRANCOUNT = 0
ROLLBACK TRANSACTION;
THROW;
END CATCH
D.    BEGIN TRANSACTION
BEGIN TRY
EXEC dbo.ModifyData
COMMIT TRANSACTION
END TRY
BEGIN CATCH
IF @@ZRROR !- 0
ROLLBACK TRANSACTION;
END CATCH

Answer: D

QUESTION 87
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 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 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 TRANSACTION ISOLATION LEVEL SERIALIZABLE statement before you run the query.

Answer: M

QUESTION 88
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 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 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 TRANSACTION ISOLATION LEVEL SERIALIZABLE statement before you run the query.

Answer: K

QUESTION 89
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 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 TRANSACTION ISOLATION LEVEL SERIALIZABLE statement before you run the query.

Answer: G
Explanation:
http://msdn.microsoft.com/en-us/library/cc645587.aspx

QUESTION 90
You have a database that contains the tables as shown below:

wps6F0B.tmp_thumb

You have a stored procedure named Procedure1. Procedure1 retrieves all order ids after a specific date. The rows for Procedure1 are not sorted. Procedure1 has a single parameter named Parameter1. Parameter1 uses the varchar type and is configured to pass the specific date to Procedure1. A database administrator discovers that OrderDate is not being compared correctly to Parameter1 after the data type of the column is changed to datetime. You need to update the SELECT statement to meet the following requirements:
– The code must NOT use aliases.
– The code must NOT use object delimiters.
– The objects called in Procedure1 must be able to be resolved by all users.
– OrderDate must be compared to Parameter1 after the data type of Parameter1 is changed to datetime.
Which SELECT statement should you use? To answer, type the correct code in the answer area.
Answer:
SELECT Orders.OrderID
FROM Orders
WHERE Orders.OrderDate>CONVERT(datetime,@Parameter1)


Braindump2go New Released Premium 70-461 Exam Dumps Guarantee You a 100% Exam Success Or We Promise Full Money Back! Download Microsoft 70-461 Exam Dumps Full Version From Braindump2go Instantly!

15

http://www.braindump2go.com/70-461.html

         

Categories 70-461 Dumps/Microsoft Dumps

Post Author: mavis

Categories

Archives

Cisco Exam Dumps Download

200-301 PDF and VCE Dumps

200-901 PDF and VCE Dumps

350-901 PDF and VCE Dumps

300-910 PDF and VCE Dumps

300-915 PDF and VCE Dumps

300-920 PDF and VCE Dumps

350-401 PDF and VCE Dumps

300-410 PDF and VCE Dumps

300-415 PDF and VCE Dumps

300-420 PDF and VCE Dumps

300-425 PDF and VCE Dumps

300-430 PDF and VCE Dumps

300-435 PDF and VCE Dumps

350-401 PDF and VCE Dumps

350-401 PDF and VCE Dumps

350-801 PDF and VCE Dumps

300-810 PDF and VCE Dumps

300-815 PDF and VCE Dumps

300-820 PDF and VCE Dumps

300-835 PDF and VCE Dumps

350-801 PDF and VCE Dumps

200-201 PDF and VCE Dumps

350-601 PDF and VCE Dumps

300-610 PDF and VCE Dumps

300-615 PDF and VCE Dumps

300-620 PDF and VCE Dumps

300-625 PDF and VCE Dumps

300-635 PDF and VCE Dumps

600-660 PDF and VCE Dumps

350-601 PDF and VCE Dumps

352-001 PDF and VCE Dumps

350-701 PDF and VCE Dumps

300-710 PDF and VCE Dumps

300-715 PDF and VCE Dumps

300-720 PDF and VCE Dumps

300-725 PDF and VCE Dumps

300-730 PDF and VCE Dumps

300-735 PDF and VCE Dumps

350-701 PDF and VCE Dumps

350-501 PDF and VCE Dumps

300-510 PDF and VCE Dumps

300-515 PDF and VCE Dumps

300-535 PDF and VCE Dumps

350-501 PDF and VCE Dumps

010-151 PDF and VCE Dumps

100-490 PDF and VCE Dumps

810-440 PDF and VCE Dumps

820-445 PDF and VCE Dumps

840-450 PDF and VCE Dumps

820-605 PDF and VCE Dumps

700-805 PDF and VCE Dumps

700-070 PDF and VCE Dumps

600-455 PDF and VCE Dumps

600-460 PDF and VCE Dumps

500-173 PDF and VCE Dumps

500-174 PDF and VCE Dumps

200-401 PDF and VCE Dumps

644-906 PDF and VCE Dumps

600-211 PDF and VCE Dumps

600-212 PDF and VCE Dumps

600-210 PDF and VCE Dumps

600-212 PDF and VCE Dumps

700-680 PDF and VCE Dumps

500-275 PDF and VCE Dumps

500-285 PDF and VCE Dumps

600-455 PDF and VCE Dumps

600-460 PDF and VCE Dumps

Microsoft Exams Will Be Retired

AZ-103(retiring August 31, 2020)

AZ-203(retiring August 31, 2020)

AZ-300(retiring August 31, 2020)

AZ-301(retiring August 31, 2020)

77-419(retiring June 30, 2020)

70-333(retiring January 31, 2021)

70-334(retiring January 31, 2021)

70-339(retiring January 31, 2021)

70-345(retiring January 31, 2021)

70-357(retiring January 31, 2021)

70-410(retiring January 31, 2021)

70-411(retiring January 31, 2021)

70-412(retiring January 31, 2021)

70-413(retiring January 31, 2021)

70-414(retiring January 31, 2021)

70-417(retiring January 31, 2021)

70-461(retiring January 31, 2021)

70-462(retiring January 31, 2021)

70-463(retiring January 31, 2021)

70-464(retiring January 31, 2021)

70-465(retiring January 31, 2021)

70-466(retiring January 31, 2021)

70-467(retiring January 31, 2021)

70-480(retiring January 31, 2021)

70-483(retiring January 31, 2021)

70-486(retiring January 31, 2021)

70-487(retiring January 31, 2021)

70-537(retiring January 31, 2021)

70-705(retiring January 31, 2021)

70-740(retiring January 31, 2021)

70-741(retiring January 31, 2021)

70-742(retiring January 31, 2021)

70-743(retiring January 31, 2021)

70-744(retiring January 31, 2021)

70-745(retiring January 31, 2021)

70-761(retiring January 31, 2021)

70-762(retiring January 31, 2021)

70-764(retiring January 31, 2021)

70-765(retiring January 31, 2021)

70-767(retiring January 31, 2021)

70-768(retiring January 31, 2021)

70-777(retiring January 31, 2021)

70-778(retiring January 31, 2021)

70-779(retiring January 31, 2021)

MB2-716(retiring January 31, 2021)

MB6-894(retiring January 31, 2021)

MB6-897(retiring January 31, 2021)

MB6-898(retiring January 31, 2021)