It is impossible to pass Microsoft 70-462 exam without any help in the short term. Come to Ucertify soon and find the most advanced, correct and guaranteed Microsoft 70-462 practice questions. You will get a surprising result by our Rebirth Administering Microsoft SQL Server 2012 Databases practice guides.

2021 Mar 70-462 exam fees

Q71. You are a database developer of a Microsoft SQL Server 2012 database. You are designing a table that will store Customer data from different sources. The table will include a column that contains the CustomerID from the source system and a column that contains the SourceID. A sample of this data is as shown in the following table. 

You need to ensure that the table has no duplicate CustomerID within a SourceID. You also need to ensure that the data in the table is in the order of SourceID and then CustomerID. Which Transact- SQL statement should you use? 

A. CREATE TABLE Customer (SourceID int NOT NULL IDENTITY, CustomerID int NOT NULL IDENTITY, CustomerName varchar(255) NOT NULL); 

B. CREATE TABLE Customer 

(SourceID int NOT NULL, 

CustomerID int NOT NULL PRIMARY KEY CLUSTERED, 

CustomerName varchar(255) NOT NULL); 

C. CREATE TABLE Customer 

(SourceID int NOT NULL PRIMARY KEY CLUSTERED, 

CustomerID int NOT NULL UNIQUE, 

CustomerName varchar(255) NOT NULL); 

D. CREATE TABLE Customer 

(SourceID int NOT NULL, 

CustomerID int NOT NULL, 

CustomerName varchar(255) NOT NULL, 

CONSTRAINT PK_Customer PRIMARY KEY CLUSTERED 

(SourceID, CustomerID)); 

Answer: D


Q72. You administer a Microsoft SQL Server 2012 failover cluster. 

You need to ensure that a failover occurs when the server diagnostics returns query_processing error. 

Which server configuration property should you set? 

A. SqlOumperDumpFlags 

B. FailureConditionLevel 

C. HealthCheckTimeout 

D. SqlDumperDumpPath 

Answer:


Q73. You use Microsoft SQL Server 2012 to develop a database application. You create a stored procedure named dbo.ModifyData that can modify rows. 

You need to ensure that when the transaction fails, dbo.ModifyData meets the following requirements: 

. Does not return an error 

. Closes all opened transactions 

Which Transact-SQL statement should you use? 

A. BEGIN TRANSACTION BEGIN TRY EXEC dbo.ModifyData COMMIT TRANSACTION END TRY BEGIN CATCH IF @@ TRANCOUNT = 0 ROLLBACK TRANSACTION; END CATCH 

B. BEGIN TRANSACTION BEGIN TRY EXEC dbo.ModifyData COMMIT TRANSACTION END TRY BEGIN CATCH IF @@ERROR != 0 ROLLBACK TRANSACTION; THROW; END CATCH 

C. BEGIN TRANSACTION BEGIN TRY EXEC dbo.ModifyData COMMIT TRANSACTION END TRY BEGIN CATCH IF @@TRANCOUNT = 0 ROLLBACK TRANSACTION; THROW; END CATCH 

D. BEGIN TRANSACTION BEGIN TRY EXEC dbo.ModifyData COMMIT TRANSACTION END TRY BEGIN CATCH IF @@ERROR != 0 ROLLBACK TRANSACTION; END CATCH 

Answer:


Q74. You administer two Microsoft SQL Server 2012 servers. Each server resides in a different, untrusted domain. 

You plan to configure database mirroring. 

You need to be able to create database mirroring endpoints on both servers. 

What should you do? 

A. Configure the SQL Server service account to use Network Service. 

B. Use a server certificate. 

C. Use a database certificate. 

D. Configure the SQL Server service account to use Local System. 

Answer:


Leading 70-462 exam prep:

Q75. You administer two instances of Microsoft SQL Server 2012. You deploy an application that uses a database on the named instance. 

The application is unable to connect to the database on the named instance. 

You need to ensure that the application can connect to the named instance. 

What should you do? 

A. Configure the application as data-tiered. 

B. Open port 1433 on the Windows firewall on the server. 

C. Configure the named SQL Server instance to use an account that is a member of the Domain Admins group. 

D. Start the SQL Server Browser Service. 

Answer:


Q76. You administer a SQL 2012 server that contains a database named SalesDB. SalesDb contains a schema named Customers that has a table named Regions. A user named UserA is a member of a role named Sales. 

UserA is granted the Select permission on the Regions table. The Sales role is granted the Select permission on the Customers schema. 

You need to remove the Select permission for UserA on the Regions table. You also need to ensure that UserA can still access all the tables in the Customers schema, including the Regions table, through the Sales role permissions. 

Which Transact-SQL statement should you use? 

A. DENY SELECT ON Object::Regions FROM UserA 

B. DENY SELECT ON Schema::Customers FROM UserA 

C. EXEC sp_addrolemember 'Sales', 'UserA' 

D. REVOKE SELECT ON Object::Regions FROM UserA 

E. REVOKE SELECT ON Object::Regions FROM Sales 

F. EXEC sp_droproiemember 'Sales', 'UserA' 

G. REVOKE SELECT ON Schema::Customers FROM UserA 

H. DENY SELECT ON Object::Regions FROM Sales 

I. DENY SELECT ON Schema::Customers FROM Sales 

J. REVOKE SELECT ON Schema::Customers FROM Sales 

Answer:


Q77. You administer a Windows Azure SQL Database database named Inventory that contains a stored procedure named p_AddInventory. 

Users need to be able to SELECT from all tables in the database and execute the stored procedure. 

You need to grant only the necessary permissions. 

What should you do? 

A. Grant EXECUTE permission on p_AddInventory to all users. Grant VIEW DEFINITION to all users. 

B. Grant EXECUTE permission on p_AddInventory to all users. Add all users to the db_datawriter role. 

C. Add all users to the db_owner role. 

D. Grant EXECUTE permission on p_Add!nventory to all users. Add all users to the db_datareader role. 

Answer:


Q78. You administer a Microsoft SQL Server 2012 instance. 

You discover that the SQL Agent Error Log file is rapidly growing in size. 

You need to ensure that the SQL Agent Error Log file does not grow rapidly when SQL Server agent jobs execute. 

What should you do? 

A. Execute the sp_cycle_agent_errorlog stored procedure. 

B. Configure event forwarding. 

C. Enable the Auto Shrink option on the master database. 

D. Enable the Auto Shrink option on the msdb database. 

E. Disable the Include execution trace messages feature. 

Answer:


Q79. You administer a Microsoft SQL Server 2012 database named Orders. 

Users report that during peak usage periods, certain operations are taking more time than expected. Your initial analysis suggests that blocking is the cause. 

You need to gather more data to be able to determine which processes are being blocked and to identify the root cause. 

What should you do? 

A. Start a trace using SQL Server Profiler to catch the Lock: Deadlock event. 

B. Use sp_configure to set the blocked process threshold. Start a trace using SQL Server Profiler to catch the Blocked Process Report event. 

C. Schedule a SQL Agent job to run every 60 seconds and insert the results of executing the sys.dm_os_wait_stats DMV into a table. 

D. Use System Monitor to catch the Lock Waits/sec event. 

Answer: