[Free] Download New Updated (October 2016) Microsoft 70-461 Real Exam 101-110

EnsurepassQUESTION 101 You want to add a new GUID column named BookGUID to a table named dbo.Book that already contains data. BookGUID will have a constraint to ensure that it always has a value when new rows are inserted into dbo.Book. You need to ensure that the new column is assigned a GUID for existing rows. Which four Transact-SQL statements should you use? (To answer, move the appropriate SQL statements from the list of statements to the answer area and arrange them in the correct order.)   Read more […]

[Free] Download New Updated (October 2016) Microsoft 70-461 Real Exam 91-100

EnsurepassQUESTION 91 You use Microsoft SQL Server 2012 database to develop a shopping cart application. You need to invoke a table-valued function for each row returned by a query. Which Transact-SQL operator should you use?   A. CROSS JOIN B. UNPIVOT C. PIVOT D. CROSS APPLY   Correct Answer: D Explanation: http://msdn.microsoft.com/en-us/library/ms175156.aspx     QUESTION 92 You develop a database application for a university. You need to create a view that will Read more […]

[Free] Download New Updated (October 2016) Microsoft 70-461 Real Exam 111-120

EnsurepassQUESTION 111 Why is it important to use standard SQL code when possible and know what is standard and what isn’t? (Choose all that apply.)   A. It is not important to code using standard SQL. B. Standard SQL code is more portable between platforms. C. Standard SQL code is more efficient. D. Knowing what standard SQL code is makes your knowledge more portable.   Correct Answer: BD     QUESTION 112 Which of the following is not a violation of the relational Read more […]

[Free] Download New Updated (October 2016) Microsoft 70-461 Real Exam 81-90

EnsurepassQUESTION 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   Correct Answer: C Explanation: http://msdn.microsoft.com/en-us/library/ff929071.aspx Read more […]

[Free] Download New Updated (October 2016) Microsoft 70-461 Real Exam 71-80

EnsurepassQUESTION 71 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. SQL user without login B. SQL user with a custom SID C. SQL user with login D. Domain user   Correct Answer: D     QUESTION Read more […]

[Free] Download New Updated (October 2016) Microsoft 70-461 Real Exam 61-70

EnsurepassQUESTION 61 You develop a Microsoft SQL Server 2012 database. You create a view from the Orders and OrderDetails tables by using the following definition.     You need to ensure that users are able to modify data by using the view. What should you do?   A. Create an AFTER trigger on the view. B. Modify the view to use the WITH VIEW_METADATA clause. C. Create an INSTEAD OF trigger on the view. D. Modify the view to an indexed view.   Correct Answer: C Explanation: Read more […]

[Free] Download New Updated (October 2016) Microsoft 70-461 Real Exam 51-60

EnsurepassQUESTION 51 You are writing a set of queries against a FILESTREAM-enabled database. You create a stored procedure that will update multiple tables within a transaction. You need to ensure that if the stored procedure raises a run-time error, the entire transaction is terminated and rolled back. Which Transact-SQL statement should you include at the beginning of the stored procedure?   A. SET TRANSACTION ISOLATION LEVEL SERIALIZABLE B. SET XACT_ABORT OFF C. SET TRANSACTION Read more […]

[Free] Download New Updated (October 2016) Microsoft 70-461 Real Exam 41-50

EnsurepassQUESTION 41 You have a database that contains the tables as shown in the exhibit.     You have the following query:     You need to recreate the query to meet the following requirements:   – Reference columns by using one-part names only. – Sort aggregates by SalesTerritoryID, and then by ProductID. – Order the results in descending order from SalesTerritoryID to ProductID. – The solution must use the existing SELECT clause and FROM clause.   Which code Read more […]

[Free] Download New Updated (October 2016) Microsoft 70-461 Real Exam 31-40

EnsurepassQUESTION 31 You are developing a database that will contain price information. You need to store the prices that include a fixed precision and a scale of six digits. Which data type should you use?   A. Float B. Money C. Smallmoney D. Numeric   Correct Answer: D Explanation: Numeric is the only one in the list that can give a fixed precision and scale. http://msdn.microsoft.com/en-us/library/ms179882.aspx     QUESTION 32 You administer a Microsoft SQL Read more […]

[Free] Download New Updated (October 2016) Microsoft 70-461 Real Exam 21-30

EnsurepassQUESTION 21 You develop a database for a travel application. You need to design tables and other database objects. You need to store media files in several tables. Each media file is less than 1 MB in size. The media files will require fast access and will be retrieved frequently. What should you do?   A. Use the CAST function. B. Use the DATE data type. C. Use the FORMAT function. D. Use an appropriate collation. E. Use a user-defined table type. F. Use the VARBINARY Read more […]

[Free] Download New Updated (October 2016) Microsoft 70-461 Real Exam 11-20

EnsurepassQUESTION 11 Your database contains two tables named DomesticSalesOrders and InternationalSalesOrders. Both tables contain more than 100 million rows. Each table has a Primary Key column named SalesOrderId. The data in the two tables is distinct from one another. Business users want a report that includes aggregate information about the total number of global sales and total sales amounts. You need to ensure that your query executes in the minimum possible time. Which query should you use? Read more […]

[Free] Download New Updated (October 2016) Microsoft 70-461 Real Exam 1-10

EnsurepassQUESTION 1 You develop a Microsoft SQL Server 2012 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?   A. ALTER TABLE Read more […]