Exit demo 70-458 Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 2 PDF format · free preview

Microsoft 70-458 - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/70-458.html

Question 1
Single choice

Note: This question is part of a series of questions that use the same set of answer choices. An answer choice may be correct for more than one question in the series.

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:

One of the hard disk drives that stores the reporting database fails at 16:40 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.

Perform a page restore.

B.

Perform a partial restore.

C.

Perform a point-in-time restore.

D.

Restore the latest full backup.

E.

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

F.

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

G.

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.

H.

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

Question 2
Single choice

Note: This question is part of a series of questions that use the same set of answer choices. An answer choice may be correct for more than one question in the series.

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:

One of the hard disk drives chat stores the transactional database fails at 23:32 hours. Attempts to create a tail log backup are unsuccessful.

You need to ensure that the transactional database is restored.

You also need to ensure that data loss is minimal, What should you do?

A.

Perform a page restore.

B.

Perform a partial restore.

C.

Perform a point-in-time restore.

D.

Restore the latest full backup.

E.

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

F.

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

G.

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.

H.

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

Question 3
Single choice

Note: This question is part of a series of questions that use the same set of answer choices. An answer choice may be correct for more than one question in the series.

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:

At 16:20 hours, you discover that pages 17, 137, and 205 on one of the database files are corrupted on the transactional database.

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

What should you do?

A.

Perform a page restore.

B.

Perform a partial restore.

C.

Perform a point-in-time restore.

D.

Restore the latest full backup.

E.

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

F.

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

G.

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.

H.

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

Question 4
Single choice

Note: This question is part of a series of questions that use the same set of answer choices. An answer choice may be correct for more than one question in the series.

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.

Perform a page restore.

B.

Perform a partial restore.

C.

Perform a point-in-time restore.

D.

Restore the latest full backup.

E.

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

F.

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

G.

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.

H.

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

Question 5
Single choice

You administer a Microsoft SQL Server 2012 database named Contoso that contains a single user-defined database role namedBillingUsers.

All objects in Contoso are in the dbo schema.

You need to grant EXECUTE permissions for all stored procedures in Contoso to BillingUsers.

Which Transact-SQL statement should you use?

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 6
Single choice

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.

Add EXECUTE AS OWNER to the stored procedure. Add all users to the db_datareader role.

B.

Add all users to the db_datawriter role. Add all users to the db_datareader role.

C.

Create a new database role. Grant EXECUTE permission on p_AddInventory to the newrole.
Add all users to the role. Add all users to the db_datareader role.

D.

Create a new database role. Grant EXECUTE permission on p_AddInventory to the new role.
Grant VIEW DEFINITION to to the role. Add all users to the role.

Question 7
Multiple choice

You administer a Microsoft SQL Server 2012 database that has Trustworthy set to on. You create a stored procedure that returns database-level information from Dynamic Management Views.

You grant User1 access to execute the stored procedure.

You need to ensure that the stored procedure returns the required information when User1 executes the stored procedure. You need to achieve this goal by granting the minimum permissions required.

What should you do? Choose all that apply.

A.

Grant the db_datareader role on the database to User1.

B.

Modify the stored procedure to include the EXECUTE AS OWNER statement. Grant VIEW SERVER STATE permissions to the owner of the stored procedure.

C.

Create a SQL Server login that has VIEW SERVER STATE permissions. Modify the stored procedure to include the EXECUTE AS {newlogin} statement.

D.

Move the stored procedure to the User1 schema.

E.

Grant the VIEW SERVER STATE permission to User1.

Question 8
Single choice

You administer a SQL Server 2012 database instance.

You need to configure the SQL Server Database Engine service on a failover cluster.

Which user account should you use?

A.

a domain user

B.

the SQLBrowser account

C.

the BUILTIN\SYSTEM account

D.

a local user with Run as Service permissions

Question 9
Single choice

You administer a Microsoft SQL Server 2012 database instance.

You plan to migrate the database to Windows Azure SQL Database. You verify that all objects contained in the database are compatible with Windows Azure SQL Database.

You need to ensure that database users and required server logins are migrated to Windows Azure SQL Database.

What should you do?

A.

Back up the database from the local server and restore it to Windows Azure SQL Database.

B.

Use the Copy Database wizard.

C.

Use the Database Transfer wizard.

D.

Use SQL Server Management Studio to deploy the database to Windows Azure SQL Database.

Question 10
Single choice

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

You want to deploy a new application that will scale out the workload to at least five different SQL Server instances.

You need to ensure that for each copy of the database, users are able to read and write data that will then be synchronized between all of the database instances.

Which feature should you use?

A.

peer-to-peer replication

B.

snapshot replication

C.

failover clustering

D.

database audits

Showing 10 of 89 questions · Unlock the full set