getcertified4sure.com

70-462 forum(71 to 79) for consumer: Apr 2021 Edition




Act now and download your Microsoft 70-462 test today! Do not waste time for the worthless Microsoft 70-462 tutorials. Download Replace Microsoft Administering Microsoft SQL Server 2012 Databases exam with real questions and answers and begin to learn Microsoft 70-462 with a classic professional.

2021 Apr 70-462 exams

Q71. You use a Microsoft SQL Server 2012 database that contains two tables named SalesOrderHeader and SalesOrderDetail. The indexes on the tables are as shown in the exhibit. (Click the Exhibit button.) 

You discover that the performance of the query is slow. Analysis of the query plan shows table scans where the estimated rows do not match the actual rows for SalesOrderHeader by using an unexpected index on SalesOrderDetail. 

You need to improve the performance of the query. 

What should you do? 

A. Use a FORCESCAN hint in the query. 

B. Add a clustered index on SalesOrderId in SalesOrderHeader. 

C. Use a FORCESEEK hint in the query. 

D. Update statistics on SalesOrderId on both tables. 

Answer: D


Q72. You administer a Microsoft SQL Server 2012 environment. One of the SQL Server 2012 instances contains a database named Sales. 

You plan to migrate Sales to Windows Azure SQL Database. 

To do so, you need to implement a contained database. 

What should you do? (Each correct answer presents part of the solution. Choose all that apply.) 

A. Enable server property Contained Database Authentication 

B. Set database containment to partial 

C. Set database containment to full 

D. Disable server property cross db ownership chaining 

E. Set database containment to AZURE 

F. Disable server property Contained Database Authentication 

Answer: ABE 


Q73. You administer a Microsoft SQL Server 2012 database that has multiple tables in the Sales schema. 

Some users must be prevented from deleting records in any of the tables in the Sales schema. 

You need to manage users who are prevented from deleting records in the Sales schema. You need to achieve this goal by using the minimum amount of administrative effort. 

What should you do? 

A. Create a custom database role that includes the users. Deny Delete permissions on the Sales schema for the custom database role. 

B. Include the Sales schema as an owned schema for the db_denydatawriter role. Add the users to the db_denydatawriter role. 

C. Deny Delete permissions on each table in the Sales schema for each user. 

D. Create a custom database role that includes the users. Deny Delete permissions on each table in the Sales schema for the custom database role. 

Answer:


Q74. 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? 

A. GRANT DELETE ON Purchases. Suppliers TC ContosoUser 

B. CREATE PROCEDURE Purchases.PurgelnactiveSuppliers WITH EXECUTE AS USER = 'dbo' AS DELETE FROM Purchases.Suppliers WHERE IsActive = 0 GO GRANT EXECUTE ON Purchases.PurgelnactiveSuppliers TO ContosoUser 

C. GRANT SELECT ON Purchases.Suppliers TO ContosoUser 

D. CREATE PROCEDURE Purchases. PurgeInactiveSuppliers AS DELETE FROM Purchases.Suppliers WHERE IsActive = 0 GO GRANT EXECUTE ON Purchases. PurgeInactiveSuppliers TO ContosoUser 

Answer:


Up to the minute 70-462 exam price:

Q75. You administer a Microsoft SQL Server 2012 database named Contoso on a server named Server01. 

You need to write messages to the Application Log when users are added to or removed from a fixed server role in Server01. 

What should you create? 

A. A Database Audit Specification 

B. A Policy 

C. An Alert 

D. A SQL Profiler Trace 

E. A Resource Pool 

F. An Extended Event session 

G. A Server Audit Specification 

Answer:


Q76. 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. 

You discover that all files except Sales_2.ndf are corrupt. 

You need to recover the corrupted data in the minimum amount of time. 

What should you do? 

A. Perform a restore from a full backup. 

B. Perform a transaction log restore. 

C. Perform a file restore. 

D. Perform a filegroup restore. 

Answer:


Q77. You administer a Microsoft SQL Server 2012 server that hosts a transactional database and a reporting database. The transactional database is updated through a web application and is operational throughout the day. The reporting database is only updated from the transactional database. 

The recovery model and backup schedule are configured as shown in the following table: 

The differential backup of the reporting database fails. Then, the reporting database fails at 14:00 hours. 

You need to ensure that the reporting database is restored. You also need to ensure that data loss is minimal. 

What should you do? 

A. Restore the latest full backup, and restore the latest differential backup. Then, restore the latest log backup. 

B. Perform a point-in-time restore. C Restore the latest full backup. 

C. Restore the latest full backup, and restore the latest differential backup. Then, restore each log backup taken before the time of failure from the most recent differential backup. 

D. Restore the latest full backup. Then, restore the latest differential backup. 

E. Restore the latest full backup. Then, restore each differential backup taken before the time of failure from the most recent full backup. 

F. Perform a page restore. 

G. Perform a partial restore. 

Answer:


Q78. You have three tables that contain data for vendors, customers, and agents. You create a view that is used to look up telephone numbers for these companies. 

The view has the following definition: You need to ensure that users can update only the phone numbers by using this view. What should you do? 

A. Alter the view. Use the EXPAND VIEWS query hint along with each SELECT statement. 

B. Drop the view. Re-create the view by using the SCHEMABINDING clause, and then create an index on the view. 

C. Create an AFTER UPDATE trigger on the view. 

D. Create an INSTEAD OF UPDATE trigger on the view. 

Answer: D


Q79. 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. User mapped to an asymmetric key 

C. Domain user 

D. login mapped to a virtual account 

Answer: