MCSA Querying Microsoft SQL Server 2012/2014

Here you have the best Microsoft 70-461 practice exam questions

  • Preview the first 5 of 265 questions for free
  • These questions were last updated on May 2, 2026
  • This site is not affiliated with or endorsed by Microsoft.
Question 1 of 265

You develop a Microsoft SQL Server database that supports an application. The application contains a table that has the following definition:

CREATE TABLE Inventory -
(ItemID int NOT NULL PRIMARY KEY,
ItemsInStore int NOT NULL,
ItemsInWarehouse int NOT NULL)

You need to create a computed column that returns the sum total of the ItemsInStore and ItemsInWarehouse values for each row.

Which Transact-SQL statement should you use?

Answer

Suggested Answer

The suggested answer is A.

The correct Transact-SQL statement for creating a computed column that returns the sum total of the ItemsInStore and ItemsInWarehouse values is 'ALTER TABLE Inventory ADD TotalItems AS ItemsInStore + ItemsInWarehouse'. This syntax correctly defines a computed column named TotalItems that calculates the sum of ItemsInStore and ItemsInWarehouse for each row in the Inventory table.

Question 2 of 265

You develop a Microsoft SQL Server database. You create a view from the Orders and OrderDetails tables by using the following definition.

Exam 70-461: Question 2 - Image 1

You need to improve the performance of the view by persisting data to disk. What should you do?

Answer

Suggested Answer

The suggested answer is D.

To improve the performance of a view by persisting data to disk in SQL Server, you should create an indexed view. Creating a clustered index on the view materializes the view's data and stores it on disk, which can significantly improve performance especially for complex queries. This is done by creating a clustered index on the view. Other options like triggers (INSTEAD OF or AFTER) or using WITH VIEW_METADATA do not serve the purpose of persisting data to disk.

Question 3 of 265

Note: This question is part of a series of questions that use the same set of answer choices. An answer choice may be correct for more than one question in the series.

You develop a database for a travel application. You need to design tables and other database objects.You create the Airline_Schedules table.You need to store the departure and arrival dates and times of flights along with time zone information.What should you do?

Answer

Suggested Answer

The suggested answer is I.

To store both date and time along with time zone information, the DATETIMEOFFSET data type is appropriate. It includes the date, time, and the time zone offset, which allows the database to store the complete datetime value including time zone information. This aligns with the requirements of handling departure and arrival times in a travel application that operates across multiple time zones.

Question 4 of 265

Note: This question is part of a series of questions that use the same set of answer choices. An answer choice may be correct for more than one question in the series.

You develop a database for a travel application. You need to design tables and other database objects.You create a stored procedure. You need to supply the stored procedure with multiple event names and their dates as parameters.What should you do?

Answer

Suggested Answer

The suggested answer is E.

Question 5 of 265

SIMULATION -

You have a view that was created by using the following code:

Exam 70-461: Question 5 - Image 1

You need to create an inline table-valued function named Sales.fn_OrdersByTerritory, which must meet the following requirements:

  • Accept the @T integer parameter.
  • Use one-part names to reference columns.
  • Filter the query results by SalesTerritoryID.
Exam 70-461: Question 5 - Image 2
  • Return the columns in the same order as the order used in OrdersByTerritoryView.
  • Part of the correct Transact-SQL has been provided in the answer area below. Enter the Transact-SQL in the answer area that resolves the problem and meets the stated goals or requirements. You can add Transact-SQL within the Transact-SQL segment that has been provided as well as below it.
Exam 70-461: Question 5 - Image 3Exam 70-461: Question 5 - Image 4

260 more questions await

Unlock the full Microsoft 70-461 question bank

5 of 265 completed2%

Choose your plan

One-time payment · No subscription · No hidden fees

Standard

Quick preparation

$25

30 days access

30 day access to all questions
Instant free updates
Highest passing rate in industry
Printable PDF download
No money-back guarantee
Best Value

Premium

Guaranteed success

$60$35

90 days access

PDF

Printable PDF download

New

Save every question as a PDF for offline study or printing.

90 day access to all questions
Instant free updates
Highest passing rate in industry
Pass guaranteed or money back

100% Money-Back Guarantee

Don't pass? Full refund.

4.9/5

Based on 4,424+ reviews

Trusted by thousands of professionals

Join certified professionals who passed their exams with Examice

Examice helped me pass my AWS certification on the first try! The questions were incredibly similar to the real exam. Comments helped me understand answers I was struggling with.
S
Sarah C.
Cloud Engineer
Great results in a short prep time. Passed on my first attempt.
D
David K.
Network Engineer
I needed to pass an exam for work, and this website delivered. The quality for the price is outstanding, and the support is really good. I passed without issues.
M
Michael R.
Security Analyst
Skeptical at first, but impressed. Every question included clear, detailed explanations.
L
Lisa M.
Solutions Architect
The guarantee gave me confidence to invest in the premium package. Turns out I didn't need it. Passed comfortably. The explanations for each answer were incredibly detailed and helped me grasp security concepts that I'd been struggling with for months.
R
Robert H.
Cybersecurity Consultant
Used Examice for my PMP certification. The questions were well structured and covered all exam domains thoroughly.
J
James T.
IT Manager
After failing my first attempt with other study materials, I switched to Examice and passed confidently on my second attempt.
A
Anna W.
Data Engineer
The premium package was worth it. 90 days of access gave me the flexibility to study when it worked for me, without feeling rushed.
E
Emily J.
DevOps Engineer
Straightforward questions that matched the real exam perfectly. Studied for two weeks and passed with a great score.
K
Karen P.
Systems Administrator

Frequently Asked Questions

Everything you need to know. Contact us for more.

Our Microsoft 70-461 questions are based on real exam experiences and are continuously updated to match the current exam format. We maintain a +99% pass rate because our questions closely mirror what you'll see on the actual exam.

With our Premium package, you get a 100% money-back guarantee. If you don't pass your exam after studying with our materials, simply contact us with your exam results and we'll refund your purchase. Terms and conditions apply, read our full refund policy to learn more.

Our question bank is updated regularly based on feedback from recent exam takers. We typically review and update our content every week with reports about new questions or changes to the exam format.

Standard package access cannot be extended. However, Premium package gives you 90 days which is typically more than enough time to prepare thoroughly. If you need additional time, you can purchase a new package at any time.

This is a one-time payment with no recurring charges. Once you purchase, you get full access to all exam questions for the duration of your package (30 days for Standard, 90 days for Premium). No hidden fees or automatic renewals.

Pass on your first try

All 265questions · Detailed explanations · Printable PDF · 90 days access

Money-back guaranteeSecure checkout
$35

one-time payment