Ensurepass.com : Ensure you pass the IT Exams
2018 May Microsoft Official New Released 70-462
100% Free Download! 100% Pass Guaranteed!

Administering Microsoft SQL Server 2012 Databases

Question No: 61 DRAG DROP – (Topic 2)

You administer a Microsoft SQL Server 2012 database. The database contains two tables named Table A and Table B.

You perform an import and export operation by using the following steps in sequence, as shown in the exhibit. (Click the Exhibit button.)

Ensurepass 2018 PDF and VCE

Load data from a third-party database to Table A. Insert a subset of records from Table A to Table B. Export the data from Table B to a flat file.

You also create a format file for the data export.

You need to choose the correct command or tool for each task. You need to ensure that each task is performed efficiently.

Which command(s) or tool(s) should you use? (To answer, drag the appropriate command(s) or tool(s) to their corresponding task or tasks 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.)

Ensurepass 2018 PDF and VCE

Answer:

Ensurepass 2018 PDF and VCE

Question No: 62 DRAG DROP – (Topic 2)

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

Ensurepass 2018 PDF and VCE

Answer:

Ensurepass 2018 PDF and VCE

Question No: 63 DRAG DROP – (Topic 2)

You administer a Microsoft SQL Server 2012 database called Human_Resources. The database contains a table named dbo.Salary.

You need to ensure that all read activity against dbo.Salary is audited and written to the Windows Security Log.

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

Ensurepass 2018 PDF and VCE

Answer:

Ensurepass 2018 PDF and VCE

Explanation:

Box 1:

Ensurepass 2018 PDF and VCE

Box 2:

Ensurepass 2018 PDF and VCE

Box 3:

Ensurepass 2018 PDF and VCE

Note:

  • An audit must exist before creating a server audit specification for it. When a server audit specification is created, it is in a disabled state.

  • The general process for creating and using an audit is as follows.

->Create an audit and define the target.

->Create either a server audit specification or database audit specification that maps to the audit. Enable the audit specification.

->Enable the audit.

->Read the audit events by using the Windows Event Viewer, Log File Viewer, or the fn_get_audit_file function.

* Example (step 2) (we should audit SELECT on the Salary table): USE AdventureWorks2012 ;

GO

– Create the database audit specification.

CREATE DATABASE AUDIT SPECIFICATION Audit_Pay_Tables

FOR SERVER AUDIT Payrole_Security_Audit ADD (SELECT, INSERT

ON HumanResources.EmployeePayHistory BY dbo ) WITH (STATE = ON);

GO

Question No: 64 – (Topic 2)

You administer a SQL Server 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 ensure that the following requirements are met:

->The Sales role does not have the Select permission on the Customers schema.

->UserA has the Select permission on the Regions table.

Which Transact-SQL statement should you use?

  1. DENY SELECT ON Object::Regions FROM Sales

  2. DENY SELECT ON Schema::Customers FROM Sales

  3. REVOKE SELECT ON Object::Regions FROM Sales

  4. REVOKE SELECT ON Schema::Customers FROM Sales

  5. DENY SELECT ON Object::Regions FROM UserA

  6. DENY SELECT ON Schema::Customers FROM UserA

  7. REVOKE SELECT ON Object::Regions FROM UserA

  8. REVOKE SELECT ON Schema::Customers FOR UserA

  9. EXEC sp_addrolemember ‘Sales’, ‘UserA’

  10. EXEC sp_droprolemember ‘Sales’, ‘UserA’

Answer: D Explanation: References:

http://msdn.microsoft.com/en-us/library/ms188369.aspx http://msdn.microsoft.com/en-us/library/ms187750.aspx http://msdn.microsoft.com/en-us/library/ff848791.aspx

Question No: 65 – (Topic 2)

You are planning on deploying a server that will be dedicated for ETL (Extraction, Transformation, and Loading) processes.

You want to ensure that SSIS (SQL Server Integration Services) packages will run on this dedicated ETL server and not on any other server on which they were started.

Which of the following features must you install on the ETL server in addition to SSIS to accomplish this goal?

  1. Database Engine

  2. SQL Server Reporting Services

  3. SQL Server Analysis Services

  4. Client Tools SDK

Answer: A

Question No: 66 – (Topic 2)

Which of the following transaction safety setting in SQL Server 2012 mirroring forces the mirror to be synchronized with the primary at all times?

  1. SAFETY FULL

  2. SAFETY OFF

  3. MIRROR SYNC

  4. MIRROR 100

Answer: A

Explanation: References:

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

Question No: 67 – (Topic 2)

If you are required to move an SQL 2012 database from one server to another, which of the following will do this at the database level?

  1. You just have to mirror the database.

  2. Detach the database, move the database files, and attach the database on the new server.

  3. Use the SQL Server Move Wizard to define the old and new server as well as the scheduled move time.

  4. The database must be created on the new machine and then the data moved with Export/Import.

Answer: B

Explanation: References:

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

Question No: 68 – (Topic 2)

You maintain several databases on a 32-bit Microsoft SQL Server 2005 instance on a Windows Server 2008 R2 64-bit server.

You need to migrate the databases to a 64-bit SQL Server 2012 instance on the same server. You also need to ensure that the new Transact-SQL functionality in SQL Server 2012 can be used in the database after the migration.

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

  1. Perform a side-by-side installation of a 32-bit SQL Server 2012 instance.

  2. Perform a side-by-side installation of a 64-bit SQL Server 2012 instance.

  3. Perform an in-place upgrade to 64-bit SQL Server 2012.

  4. Detach the database from the old instance and attach it to the new instance.

  5. Change the compatibility level of the database.

Answer: B,D,E

Reference:

Use detach and attach operations to upgrade a SQL Server 2005, SQL Server 2008 or SQL Server 2008 R2 database in SQL Server 2012. After being attached to SQL Server 2012, the database is available immediately and is automatically upgraded.

Question No: 69 – (Topic 2)

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

Ensurepass 2018 PDF and VCE

You write the following Transact-SQL query:

Ensurepass 2018 PDF and VCE

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?

  1. Use a FORCESCAN hint in the query.

  2. Add a clustered index on SalesOrderId in SalesOrderHeader.

  3. Use a FORCESEEK hint in the query.

  4. Update statistics on SalesOrderId on both tables.

Answer: D

Reference:

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

Question No: 70 – (Topic 2)

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

You need to collect data for a long period of time to troubleshoot wait statistics when querying Contoso. You also need to ensure minimum impact to the server.

What should you create?

  1. An Alert

  2. A Resource Pool

  3. An Extended Event session

  4. A Server Audit Specification

  5. A SQL Profiler Trace

  6. A Database Audit Specification

  7. A Policy

Answer: C

100% Ensurepass Free Download!
Download Free Demo:70-462 Demo PDF
100% Ensurepass Free Guaranteed!
Download 2018 EnsurePass 70-462 Full Exam PDF and VCE

EnsurePass 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