PrepAway - Latest Free Exam Questions & Answers

Category: 70-432

Exam 70-432: ts microsoft sql server 2008 implementation and maintenance

Which statement should you use to create the trigger?

You are the database administrator for your company and manage all the SQL Server 2008 databases of the company.
You are responsible for performing the daily backup activities on all the databases on the server. Database users regularly create new objects in one of the databases.
You want to be notified when new objectsare created in the database. You want to create a trigger that will fire whenever a new user-defined function is created in the database.
The trigger should insert statement-specific data, such as the name of the database user who issued the CREATE FUNCTION statement, the time the statement was issued, and the Transact-SQL statement that was issued, intoa database table named Log_structures . The Log_structures table was created by using the followingstatement:
CREATE TABLE Log_structures (
user1 nvarchar(100),
createtime datetime,
SQL_stat nvarchar(2000));
Which statement should you use to create the trigger?

What should you do?

You are the SQL administrator for your company. You manage all of the SQL Server 2008 computers for yourcompany. All of your databases use Windows Authentication.
Because of recent security issues with human resources information, you have been asked to grant a user inhuman resources the right to remove access for Windows logins to the HR database. You do not want to grantthe user more permissions than required. What should you do?

Which system stored procedure should you use to configure the MaintenanceTasks_sp stored procedure?

You are responsible for managing an instance of SQL Server 2008. You create a stored procedure named MaintenanceTasks_sp to perform maintenance tasks in the tempdb database. You want to ensure that the MaintenanceTasks_sp stored procedure executes automatically when the SQL Server starts.
Which system stored procedure should you use to configure the MaintenanceTasks_sp stored procedure?

What should you do?

You are a database administrator in your company. You maintain the Corpdb database on the Sql1 SQL Server 2008 computer.
The database contains data that is specific to the corporate department of the company and isaccessed only by corporate department members.
Due to an organizational restructuring, the corporatedepartment has been relocated.
You are required to transfer the Corpdb database to a SQL Server 2008 instance named Sql2 installed at the new location.
You successfully transfer the database to Sql2 by using SSIS packages.
The managers of the corporatedepartment complain they cannot log in to Sql2 .
Although you can log in, you receive a Select permissiondenied error after executing Transact-SQL queries on the database tables.
You want to ensure that managers inthe corporate department are able to successfully access the Corpdb database and configure security for theusers in the corporate department. What should you do?

Which SQL Server entity should you use?

You are the database administrator of your company. You create a logon trigger on a SQL Server 2008 computer.
The trigger will be used to deny login attempts to the server that are initiated by a login named Admin_login ifthere are already two existing sessions for that login.
You want to view the metadata for the logon trigger youcreated. Which SQL Server entity should you use?

Which Transact-SQL statement should you use first?

You are your company’s SQL administrator. A SQL Server 2008 computer named SQL_main contains adatabase named Finance.
The Finance database is used by the accounting department to manage yourcompany’s accounts payable and accounts receivable.
All users use SQL logins to access this database.Password expiration is not enabled by default.
A user named Amy in the accounting department took a medical leave of absence and has just returned.
Duringthat time, her SQL login, Amy16 , was disabled. She has forgotten her password. She contacts you requestingthat you change her password.
However, you must ensure that your password change is only temporary and thatshe resets the password at login.
Which Transact-SQL statement should you use first?


Page 13 of 33« First...1112131415...2030...Last »