PrepAway - Latest Free Exam Questions & Answers

Category: 70-462 (v.4)

Exam 70-462: Administering Microsoft SQL Server 2012 Databases (update April 11th, 2016)

You need to ensure that all available details of the job step failures for SQL Server Agent jobs are retained

You administer a Microsoft SQL Server 2012 instance that has several SQL Server Agent jobs
configured.
When SQL Server Agent jobs fail, the error messages returned by the job steps do not provide the
required detail.
The following error message is an example error message:
“The job failed. The Job was invoked by User CONTOSO\ServiceAccount. The last step to run was
step 1 (Subplan_1).”
You need to ensure that all available details of the job step failures for SQL Server Agent jobs are
retained.
What should you do?

Which four actions should you perform in sequence?

DRAG DROP
You administer a Microsoft SQL Server database. Service accounts for SQL Agent are configured to
use a local user.
A Microsoft SQL Server Integration Services (SSIS) job step has been created within a SQL Server
Agent job.
The SSIS package accesses a network share when exporting data from a SQL Server database.
When you execute the SQL Server Agent job, it fails due to a permissions failure on a share on a
remote server.
You need to ensure that the SQL Server Agent job can execute the SSIS package.
Which four actions should you perform in sequence? (To answer, move the appropriate actions from
the list of actions to the answer area and arrange them in the correct order.)

Which Transact-SQL statement should you use before attempting the restore?

You administer a Microsoft SQL Server 2012 database.
You configure Transparent Data Encryption (TDE) on the Orders database by using the following
statements:
CREATE MASTER KEY ENCRYPTION BY PASSWORD = ‘MyPassword1!’
CREATE CERTIFICATE TDE_Certificate WITH SUBJECT = ‘TDE Certificate’;
BACKUP CERTIFICATE TDE_Certificate TO FILE = ”d:\TDE_Certificate.cer’
WITH PRIVATE KEY (FILE = ‘D:\TDE_Certificate.key’, ENCRYPTION BY PASSWORD =
‘MyPassword1!’);
CREATE DATABASE ENCRYPTION KEY
WITH ALGORITHM = AES_256
ENCRYPTION BY SERVER CERTIFICATE TDE_Certificate;
ALTER DATABASE Orders SET ENCRYPTION ON;
You attempt to restore the Orders database and the restore fails. You copy the encryption file to the
original location.
A hardware failure occurs and so a new server must be installed and configured.
After installing SQL Server to the new server, you restore the Orders database and copy the
encryption files to their original location. However, you are unable to access the database.
You need to be able to restore the database.
Which Transact-SQL statement should you use before attempting the restore?

Which Transact-SQL statement should you use?

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 Sales role, including UserA, is disallowed to select from any of the tables
in the Customers schema.
Which Transact-SQL statement should you use?

Which Transact-SQL statement should you use?

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 UserA is disallowed to select from any of the tables in the Customers
schema.
Which Transact-SQL statement should you use?

Which Transact-SQL statement should you use?

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?

Which Transact-SQL statement should you use?

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 and the Sales role is granted the Select
permission on the Customers schema.
You need to ensure that the Sales role, including UserA, is disallowed to select from the Regions
table.
Which Transact-SQL statement should you use?


Page 8 of 20« First...678910...20...Last »