You need to ensure that the stored procedure that inserts new loan requests can access data in tables that are stored in another database on the same SQL Server instance. Which two actions should you perform?()
第1题:
You need to cleanse and standardize the data on potential survey participants prior to inserting it into the staging database. What should you do?()
第2题:
You are a database administrator for your company. You are responsible for a SQL Server 2005 database that has several indexes. You need to write a stored procedure that checks the indexes for fragmentation. Which Transact-SQL statement should you use?()
第3题:
You are designing the loan application process for the customer terminals. You need to design a Transact-SQL stored procedure that fulfills the business and technical requirements. Which type of Transact-SQL stored procedure should you use?()
第4题:
You work in a company which is named Wiikigo Corp. The company uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. According to the company requirement, the names of all user-defined stored procedures must contain the prefix usp_ on all instances. Besides this, you must make sure that stored procedures that do not contain this prefix cannot be created by you. What should you do?()
第5题:
You work in a company which is named Wiikigo Corp. The company uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a database named DB1 in the instance. DB1 has a table which is named Table01 and a stored procedure named Procedure01. Procedure01 choose data from Table01 by using a sp_executesql Transact-SQL statement. You company security rules forbid users to access tables directly in any database. Look at the exception below: "Msg 229, Level 14, State 5, Line 1 The SELECT permission was denied on the object 'Table01', database 'DB1', schema 'dbo'." The exception is raised when Procedure01 is executed by users. You must make sure that e user can successfully execute Procedure1 complying with the company rules. So what action should you perform to achieve this goal?()
第6题:
A Windows Azure application stores data in a SQL Azure database. The application will start an operation that includes three insert statements. You need to recommend an approach for rolling back the entire operation if the connection to SQL Azure is lost. What should you recommend?()
第7题:
Ensure that all statements execute in the same database transaction.
Create a stored procedure in the database that wraps the insert statements in a TRY CATCH block.
Create a stored procedure in the database that wraps the insertstatements in a TRANSACTION block.
Open a new connection to the database. Use a separate transaction scope to roll back the original operation.
第8题:
You should configure the database for Read Committed Snapshot isolation.
You should modify the stored procedure to use the Snapshot isolation level
You should configure the database for Auto Update Statistics asynchronously
You should modify the stored procedure to use the Repeatable Read isolation level
第9题:
You should recapture the workload by using the data collector.
You should enable the XP_MSVER stored procedure on the local server.
You should enable the XP_MSVER stored procedure on the remote server
You should recapture the workload to a trace file by using SQL Profiler.
第10题:
You should execute the GRANT SELECT ON dbo.Table01 TO User1 Transact-SQL statement.
You should execute the GRANT EXECUTE ON dbo.Procedure1 TO User1 Transact-SQL statement.
You should alter Procedure01 and add the WITH EXECUTE AS OWNER option to its header
You should alter Procedure01 and add the EXECUTE AS USER = 'dbo' option immediately before the call to the sp_executesql stored procedure.
第11题:
For both the CustomerDB database and the master database, enable Transparent Database Encryption
You should use the built-in encryption functions to encrypt the sensitive data at the cell Ievel
You should make the CustomerDB database accessible only through stored procedures and functions.
For the CustomerDB database, enable Transparent Database Encryption and back up the transaction log.
第12题:
The sp_executesql batches are not being recovered from the procedure cache.
A database administrator executed UPDATE STATISTICS statements on all tables, and the most common stored procedures reference all the tables.
One new stored procedure is created by a database administrator.
Ad hoc batches are not being recovered from the procedure cache.
第13题:
You work in a company which uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a remote SQL Server 2008 instance. You notice that the application has a poor performance. On the remote SQL Server instance, you capture a workload of the remote instance to a trace table by using SQL Profiler. Now you have to use the Database Engine Tuning Advisor to analyze the workload of the remote SQL Server instance on a local SQL Server instance. So what action should you perform to achieve this goal?()
第14题:
You work in a company which uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a stored procedure. The stored procedure implements a database maintenance process. A SQL Server Agent job should be created to that runs the stored procedure. Besides this, you must make sure that after it is completed successfully, the job is removed. What should you do? ()
第15题:
You are a professional level SQL Server 2005 database administrator in an international corporation named Wiikigo. You are experienced in implementing high-availability solutions, monitoring the database server, and design deployment. In the company, you major job is the deployment, maintenance and support of Microsoft SQL Server 2005. You work as a database administrator for your company. You utilize the SP:Recompile event class to run SQL Server Profiler. You find that a great amount of recompiles occurring. The possible causes of the large number of recompiles should be identified. From the flowing four options, which one is the most possible cause of the problem?()
第16题:
You need to ensure that old data and current data can be queried according to the business requirements. What should you do?()
第17题:
You work in a company which is named Wiikigo Corp. The company uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a database named Service in the instance. There is a database user who is named ServiceGreatUser. A SQL Server login named ServiceGreatLogin maps to ServiceGreatUser in the Service database. According to the requirement of the company CIO, the database user can only perform the two tasks below: the database user executes all stored procedures that currently exist in the Sales database and executes all stored procedures that will be created in the Sales database. So what should you do to ensure this? ()
第18题:
You work in a company which is named Wiikigo Corp. The company uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a report which is often executed during business time. There is a stored procedure that is used as the data source for the report. You get a report from users saying that they receive the data returned by the report but the data is inconsistent. As the technical support, you check and find that phantom reads cause this problem. You must make sure that consistent data is returned by the report while not affecting other users. So what action should you perform to achieve this goal?()
第19题:
You should create a job which is assigned to the Database Maintenance category
You should create an Alert which will run another to delete the maintenance job.
You should create a job. You schedule the job to run only once.
You should create a job. The job uses the Automatically delete job option
第20题:
Ensure that the stored procedure and the tables are owned by users that are associated with the same SQL Server login.
Ensure that the stored procedure and the tables are owned by the same database user.
Ensure that the stored procedure and the tables use the same database schema.
Configure the multiuser database option on both databases.
Configure the cross-database ownership chaining option on both databases.
第21题:
For both the CustomerDB database and the master database, enable Transparent Database Encryption.
You should use the built-in encryption functions to encrypt the sensitive data at the cell level.
You should make the CustomerDB database accessible only through stored procedures and functions.
For the CustomerDB database, enable Transparent Database Encryption and back up the transaction log.
第22题:
ServiceGreatUser should be added to the appropriate fixed database roles.
You should assign the appropriate object-level permissions to ServiceGreatUser
You should assign the appropriate server-level permissions to ServiceGreatLogin
You should assign the appropriate database-level permissions to ServiceGreatUser
第23题:
You should create a policy that targets the name of the stored procedure that is evaluated on change.
You should create a policy that targets the name of the stored procedure that is evaluated on demand.
You should create a condition that targets the name of stored procedure that is evaluated on demand.
You should create a condition that targets the name of the stored procedure that isevaluated on change.