100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Querying Microsoft SQL Server (70-461) Certification Exam Sample Questions and answers

Rating
-
Sold
-
Pages
3
Grade
A+
Uploaded on
30-09-2023
Written in
2023/2024

Question: 01. 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 Answer: c) READ COMMITTED SNAPSHOT Question: 02. How many clustered indexes can you create on a table? a) 999 b) 1 c) 16 d) 900 Answer: b) 1 Question: 03. What is the limit for the number of steps in statistic histograms? a) 10 steps per histogram b) 200 histograms per column c) 200 pages per histogram d) 200 steps per histogram Answer: d) 200 steps per histogram Question: 04. Your database contains a table named Purchases. The table includes a DATETIME column named PurchaseTime that stores the date and time each purchase is made. There is a nonclustered index on the PurchaseTime column. The business team wants a report that displays the total number of purchases made 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 Purchases WHERE PurchaseTime = CONVERT(DATE, GETDATE()) b) SELECT COUNT(*) FROM Purchases WHERE PurchaseTime = GETDATE() c) SELECT COUNT(*) FROM Purchases WHERE CONVERT(VARCHAR, PurchaseTime, 112) = CONVERT(VARCHAR, GETDATE(), 112) d) SELECT COUNT(*) FROM Purchases WHERE PurchaseTime >= CONVERT(DATE, GETDATE()) AND PurchaseTime < DATEADD(DAY, 1, CONVERT(DATE, GETDATE())) Answer: d) SELECT COUNT(*) FROM Purchases WHERE PurchaseTime >= CONVERT(DATE, GETDATE()) AND PurchaseTime < DATEADD(DAY, 1, CONVERT(DATE, GETDATE())) Question: 05. You use Microsoft SQL Server 2012 to develop a database application. You need to create an object that meets the following requirements: - Takes an input parameter - Returns a table of values - Can be referenced within a view Which object should you use? a) inline table-valued function b) user-defined data type c) stored procedure d) scalar-valued function Answer: a) inline table-valued function How to Prepare for Querying Microsoft SQL Server Certification Exam? Click Here... https://70-461-prepara

Show more Read less








Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
September 30, 2023
Number of pages
3
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Querying Microsoft SQL Server (70-461)
Certification Exam Sample Questions
and answers
Question: 01. 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 - answer Answer:


c) READ COMMITTED SNAPSHOT


Question: 02. How many clustered indexes can you create on a table?


a) 999
b) 1
c) 16
d) 900 - answer Answer:


b) 1


Question: 03. What is the limit for the number of steps in statistic histograms?

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BRAINBOOSTERS Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
665
Member since
2 year
Number of followers
250
Documents
23023
Last sold
1 day ago

In this page you will find all documents , flashcards and package deals offered by seller BRAINBOOSTERS

4.5

341 reviews

5
265
4
30
3
21
2
5
1
20

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions