Download Microsoft.70-462.PracticeTest.2018-05-22.175q.tqb

Vendor: Microsoft
Exam Code: 70-462
Exam Name: Administering Microsoft SQL Server 2012/2014 Databases
Date: May 22, 2018
File Size: 10 MB

Demo Questions

Question 1
You administer a Microsoft SQL Server database. 
The database contains a table that has the following definition:
   
You want to export data from the table to a flat file by using the SQL Server Import and Export Wizard. 
You need to ensure that the following requirements are met:
  • The first row of the file contains the first row of data. 
  • Each record is of the same length. 
  • The date follows the U.S. date format. 
  • The file supports international characters. 
What should you do? (To answer, configure the appropriate option or options in the dialog box in the answer area.)  
Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
References:http://msdn.microsoft.com/en-us/library/ms178804.aspxhttp://msdn.microsoft.com/en-us/library/ms187828.aspx
References:
http://msdn.microsoft.com/en-us/library/ms178804.aspx
http://msdn.microsoft.com/en-us/library/ms187828.aspx
Question 2
You administer a Microsoft SQL Server database. The database has a table named Customers owned by UserA and another table named Orders owned by UserB. You also have a stored procedure named GetCustomerOrderInfo owned by UserB. GetCustomerOrderInfo selects data from both tables. 
You create a new user named UserC. 
You need to ensure that UserC can call the GetCustomerOrderInfo stored procedure. You also need to assign only the minimum required permissions to UserC. 
Which permission or permissions should you assign to UserC? Each correct answer presents part of the solution.
  1. The Select permission on Customers
  2. The Execute permission on GetCustomerOrderInfo
  3. The Take Ownership permission on Customers
  4. The Control permission on GetCustomerOrderInfo
  5. The Take Ownership permission on Orders
  6. The Select permission on Orders
Correct answer: B
Explanation:
How Permissions Are Checked in a Chain When an object is accessed through a chain, SQL Server first compares the owner of the object to the owner of the calling object. This is the previous link in the chain. If both objects have the same owner, permissions on the referenced object are not evaluated. Due to ownership chaining, you would only need to give Execute permissions to UserC to access the Orders table since UserB is the owner. References: https://technet.microsoft.com/en-us/library/ms188676(v=sql.105).aspx
How Permissions Are Checked in a Chain 
When an object is accessed through a chain, SQL Server first compares the owner of the object to the owner of the calling object. This is the previous link in the chain. If both objects have the same owner, permissions on the referenced object are not evaluated. 
Due to ownership chaining, you would only need to give Execute permissions to UserC to access the Orders table since UserB is the owner. 
References: https://technet.microsoft.com/en-us/library/ms188676(v=sql.105).aspx
Question 3
You administer a Microsoft SQL Server 2012 database named ContosoDB. The database contains a table named Suppliers and a column named IsActive in the Purchases schemA. 
You create a new user named ContosoUser in ContosoDB. ContosoUser has no permissions to the Suppliers table. 
You need to ensure that ContosoUser can delete rows that are not active from Suppliers. You also need to grant ContosoUser only the minimum required permissions. 
Which Transact-SQL statement should you use? 
  1. GRANT DELETE ON Purchases. Suppliers TC ContosoUser
  2. CREATE PROCEDURE Purchases.PurgeInactiveSuppliers
    WITH EXECUTE AS USER = 'dbo'
    AS
    DELETE FROM Purchases.Suppliers WHERE IsActive = 0
    GO
    GRANT EXECUTE ON Purchases.PurgelnactiveSuppliers TO ContosoUser
  3. GRANT SELECT ON Purchases.Suppliers TO ContosoUser
  4. CREATE PROCEDURE Purchases. PurgeInactiveSuppliers
    AS
    DELETE FROM Purchases.Suppliers WHERE IsActive = 0
    GO
    GRANT EXECUTE ON Purchases. PurgeInactiveSuppliers TO ContosoUser
Correct answer: D
Explanation:
Incorrect:Not B: The dbo , or database owner, is a user account that has implied permissions to perform all activities in the database. This would go against the requirement to grant ContosoUser only the minimum required permissions.References:http://msdn.microsoft.com/en-us/library/ms188354.aspxhttp://msdn.microsoft.com/en-us/library/ms187926.aspx
Incorrect:
Not B: The dbo , or database owner, is a user account that has implied permissions to perform all activities in the database. This would go against the requirement to grant ContosoUser only the minimum required permissions.
References:
http://msdn.microsoft.com/en-us/library/ms188354.aspx
http://msdn.microsoft.com/en-us/library/ms187926.aspx
EXAM SIMULATOR

How to Open TQB Files?

Use Taurus Exam Simulator to open TQB files

Taurus Exam Simulator


Taurus Exam Simulator for Windows/macOS/Linus

Download

Taurus Exam Studio
Enjoy a 20% discount on Taurus Exam Studio!

You now have the chance to acquire Exam Studio at a discounted rate of 20%.

Get Now!
-->