Dumps4cert.com : Latest Dumps with PDF and VCE Files
2018 May Microsoft Official New Released 70-462
100% Free Download! 100% Pass Guaranteed!

Administering Microsoft SQL Server 2012 Databases

Question No: 141 – (Topic 2)

You administer a Microsoft SQL Server 2012 database.

You have a SQL Server Agent job instance that runs using the service account. You have a job step within the job that requires elevated permissions.

You need to ensure that the job step can run using a different user account. What should you use?

  1. A notification

  2. A schedule

  3. A job category

  4. A proxy

Answer: D

Question No: 142 – (Topic 2)

Your database contains tables named Products and ProductsPriceLog. The Products table contains columns named ProductCode and Price. The ProductsPriceLog table contains columns named ProductCode, OldPrice, and NewPrice. The ProductsPriceLog table stores the previous price in the OldPrice column and the new price in the NewPrice column.

You need to increase the values in the Price column of all products in the Products table by 5 percent.

You also need to log the changes to the ProductsPriceLog table. Which Transact-SQL query should you use?

  1. UPDATE Products SET Price = Price * 1.05

    OUTPUT inserted.ProductCode, deleted.Price, inserted.Price INTO ProductsPriceLog(ProductCode, OldPrice, NewPrice)

  2. UPDATE Products SET Price = Price * 1.05

    OUTPUT inserted.ProductCode, inserted.Price, deleted.Price INTO ProductsPriceLog(ProductCode, OldPrice, NewPrice)

  3. UPDATE Products SET Price = Price * 1.05

    OUTPUT inserted.ProductCode, deleted.Price, inserted.Price * INTO ProductsPriceLog(ProductCode, OldPrice, NewPrice)

  4. UPDATE Products SET Price = Price * 1.05

INSERT INTO ProductsPriceLog (ProductCode, CldPnce, NewPrice; SELECT ProductCode, Price, Price * 1.05 FROM Products

Answer: A

Reference: http://msdn.microsoft.com/en-us/library/ms177564.aspx

Question No: 143 – (Topic 2)

Which of the following SQL Server 2012 features generates numeric values at a defined interval and order?

  1. sequence

  2. number table

  3. index

  4. bigint

Answer: A

Explanation: References:

https://msdn.microsoft.com/en-us/library/ff878091(v=sql.110).aspx

Question No: 144 – (Topic 2)

You administer a Microsoft SQL Server 2012 server. One of the databases on the server supports a highly active OLTP application.

Users report abnormally long wait times when they submit data into the application.

You need to gather blocking data over an extended period of time. You also need to ensure minimum impact to server performance.

What should you do?

  1. use SQL Profiler to trace all queries that are processing on the server. Filter queries that have a Duration value of more than 1,000.

  2. Use sp_configure to set a value for blocked process threshold. Create an extended event session.

  3. Use the Job Activity monitor to review all processes that are actively running. Review the Job History to find out the duration of each step.

  4. Run the sp_who command from a query window and examine the BlkBy column.

  5. Run the DBCC TRACEON 1222 command from a query window and review the SQL Server event log.

Answer: C

Question No: 145 DRAG DROP – (Topic 2)

You are configuring a Microsoft SQL Server 2012 server and setting up a new database. You need to ensure that the following requirements are met:

Provide access to the database for a Windows group named CORP\Employees.

The database can be moved to another server with no additional changes to the security configuration of the database or server.

What should you do? (To answer, move the appropriate action or actions from the list of actions to the answer area and arrange them in the correct order.)

Dumps4Cert 2018 PDF and VCE

Answer:

Dumps4Cert 2018 PDF and VCE

Explanation:

Use sp_configure to change the contained database authentication setting to 1 Create the database and set the Containment setting to Partial.

Create a contained database user named CORP/Employees in the database.

References:

https://msdn.microsoft.com/en-us/library/ff929139(v=sql.110).aspx http://www.sqlcoffee.com/SQLServer2012_0009.htm

Question No: 146 DRAG DROP – (Topic 2)

You are migrating an OLTP database from Windows Azure SQL Database to on-premise. You are planning the installation of a Microsoft SQL Server 2012 server failover cluster.

The server has the following partitions:

Dumps4Cert 2018 PDF and VCE

You install the operating system on the C: drive.

The database solution will use row versioning, triggers, and cursors. The tempdb database cannot be placed on the same disk subsystem as the OLTP database.

The OLTP database needs to be on the fastest disk subsystem possible. The database is currently 200GB in size. It will not substantially increase in size in the next 3 years.

You need to plan the usage of the disk subsystems.

To which hard disk should each database belong? (To answer, drag the appropriate database or databases to their corresponding hard disk or disks in the answer area. Answer choices may be used once, more than once, or not at all. Answer targets may be used once or not at all. Additionally, you may need to drag the split bar between panes or scroll to view content.)

Dumps4Cert 2018 PDF and VCE

Answer:

Dumps4Cert 2018 PDF and VCE

Question No: 147 – (Topic 2)

You use Microsoft SQL Server 2012 to develop a database application. You need to create an object that meets the following requirements:

->Takes an input variable

->Returns a table of values

->Cannot be referenced within a view

Which object should you use?

  1. Scalar-valued function

  2. Inline function

  3. User-defined data type

  4. Stored procedure

Answer: D

Question No: 148 – (Topic 2)

You administer a Microsoft SQL Server 2012 database named Orders. Orders contain a table named OrderShip that is defined as follows:

Dumps4Cert 2018 PDF and VCE

A NULL value represents a domestic order. Ninety percent of the values in CountryCode are NULL.

Customers require a procedure that will return orders for all customers from a specified country. You create a new procedure:

Dumps4Cert 2018 PDF and VCE

Performance on this procedure is slow.

You need to alter the schema to optimize this query. Objects created must use a minimum amount of resources.

Which Transact-SQL statement should you use?

  1. CREATE NONCLUSTERED INDEX IX_CountryCode ON Ordership (CountryCode) WHERE CountryCode IS NOT NULL

  2. CREATE STATISTICS ST_CountryCode ON OrderShip (CountryCode) WHERE CountryCode IS NOT NULL

  3. CREATE CLUSTERED INDEX IX_CountryCode ON OrderShip (CountryCode)

  4. CREATE INDEX IX_CountryCode ON OrderShip (CustomerID) WHERE CountryCode IS NOT NULL

Answer: B

Question No: 149 – (Topic 2)

You administer a Microsoft SQL Server 2012 database that contains a table named OrderDetail.

You discover that the NCI_OrderDetail_CustomerID non-clustered index is fragmented.

You need to reduce fragmentation. You need to achieve this goal without taking the index offline.

Which Transact-SQL batch should you use?

  1. CREATE INDEX NCI_OrderDetail_CustomerID ON OrderDetail.CustomerID WITH DROP EXISTING

  2. ALTER INDEX NCI_OrderDetail_CustomerID ON OrderDetail.CustomerID REORGANIZE

  3. ALTER INDEX ALL ON OrderDetail REBUILD

  4. ALTER INDEX NCI_OrderDetail_CustomerID ON OrderDetail.CustomerID REBUILD

Answer: B

Reference: http://msdn.microsoft.com/en-us/library/ms188388.aspx

Question No: 150 – (Topic 2)

Which of the following features can you install if you are installing SQL Server 2012 Enterprise edition on a computer running Windows Server 2008 R2 SP1 Enterprise edition in the Server Core configuration? (Choose all that apply.)

  1. Database Engine Services

  2. SQL Server Replication

  3. Analysis Services

  4. Reporting Services

Answer: A,B,C

100% Dumps4cert Free Download!
Download Free Demo:70-462 Demo PDF
100% Dumps4cert Pass Guaranteed!
70-462 Dumps

Dumps4cert ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No