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: 151 – (Topic 2)

Which of the following is a valid data source which you can import into SQL Server 2012?

  1. Oracle data file

  2. .DOC file

  3. Access 2010

  4. Oracle export file

Answer: C

Explanation: References:

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

Question No: 152 DRAG DROP – (Topic 2)

You administer a Microsoft SQL Server 2012 database.

The database contains a schema named CUSTOMER. CUSTOMER contains several tables and views with sensitive data, as well as various stored procedures and functions.

In order to configure security for CUSTOMER, you need to determine how to meet the security requirements listed in the answer area.

Which command or commands should you use? (To answer, drag the appropriate command or commands to their corresponding security requirement or requirements 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: 153 – (Topic 2)

Before moving an SQL Server 2012 database file to a new location, which of the following must first be accomplished?

  1. The database must be set to OFFLINE.

  2. The SQL Server Service must be stopped.

  3. The database must be deleted.

  4. The database must have the “shrink” operation run.

Answer: A

Explanation: References:

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

Question No: 154 – (Topic 2)

Which of the following is a prerequisite for an SQL Server 2012 installation?

  1. .NET Framework 3.5 SP1

  2. Visual Basic 6

  3. Internet Explorer 10

  4. SQL Server Integration Services

Answer: A

Explanation: References:

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

Question No: 155 – (Topic 2)

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?

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

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

  3. Add all users to the db_owner role.

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

Answer: D

Question No: 156 – (Topic 2)

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?

  1. Execute the sp_cycle_agent_errorlog stored procedure.

  2. Configure event forwarding.

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

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

  5. Disable the Include execution trace messages feature.

Answer: E

Question No: 157 – (Topic 2)

Which of the following SQL Server 2012 database is NOT created by default in a new installation?

  1. model

  2. msdb

  3. tempdb

  4. sql

  5. master

Answer: A

Question No: 158 – (Topic 2)

You are a database administrator for a Microsoft SQL Server 2012 instance.

You need to ensure that data can be replicated from a production server to two reporting servers in real time.

You also need to ensure that data on the reporting server is always accessible.

Which solution should you use?

  1. Availability Groups

  2. Extended Events

  3. Snapshot Replication

  4. Policy Based Management

Answer: A

Question No: 159 DRAG DROP – (Topic 2)

Every Sunday afternoon, a process inserts a large volume of data. Users generate reports and modify additional data throughout the week.

You need to create a backup strategy that:

  • minimizes the size of the transaction log.

  • minimizes the size of the backups, and

  • ensures a 24-hour recovery point objective (RPO) Which Strategy or strategies should you use?

Ensurepass 2018 PDF and VCE

Answer:

Ensurepass 2018 PDF and VCE

Question No: 160 – (Topic 2)

You are a database developer for an application hosted on a Microsoft SQL Server 2012 server. The database contains two tables that have the following definitions:

Ensurepass 2018 PDF and VCE

Global customers place orders from several countries. You need to view the country from which each customer has placed the most orders.

Which Transact-SQL query do you use?

  1. SELECT c.CustomerID, c.CustomerName, o.ShippingCountry FROM Customer c

    INNER JOIN

    (SELECT CustomerID, ShippingCountry, RANK() OVER (PARTITION BY CustomerID

    ORDER BY COUNT(OrderAmount) DESC) AS Rnk FROM Orders

    GROUP BY CustomerID, ShippingCountry) AS o ON c.CustomerID = o.CustomerID

    WHERE o.Rnk = 1

  2. SELECT c.CustomerID, c.CustomerName, o.ShippingCountry FROM

    (SELECT c.CustomerID, c.CustomerName, o.ShippingCountry, RANK() OVER (PARTITION BY CustomerID

    ORDER BY COUNT(o.OrderAmount) ASC) AS Rnk FROM Customer c

    INNER JOIN Orders o

    ON c.CustomerID = o.CustomerID

    GROUP BY c.CustomerID, c.CustomerName, o.ShippingCountry) cs WHERE Rnk = 1

  3. SELECT c.CustomerID, c.CustomerName, o.ShippingCountry FROM Customer c

    INNER JOIN

    (SELECT CustomerID, ShippingCountry, RANK() OVER (PARTITION BY CustomerID

    ORDER BY OrderAmount DESC) AS Rnk FROM Orders

    GROUP BY CustomerID, ShippingCountry) AS o ON c.CustomerID = o.CustomerID

    WHERE o.Rnk = 1

  4. SELECT c.CustomerID, c.CustomerName, o.ShippingCountry FROM Customer c

INNER JOIN

(SELECT CustomerID, ShippingCountry, COUNT(OrderAmount) DESC) AS OrderAmount FROM Orders

GROUP BY CustomerID, ShippingCountry) AS o ON c.CustomerID = o.CustomerID

ORDER BY OrderAmount DESC

Answer: A

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