You are a database administrator for your company. The company’s financial forecasting application uses a SQL Server 2005 database that enables business users to run both ad hoc and predefined queries. You suspect that some queries consume an excessive am

题目

You are a database administrator for your company. The company’s financial forecasting application uses a SQL Server 2005 database that enables business users to run both ad hoc and predefined queries. You suspect that some queries consume an excessive amount of server resources. You need to identify which queries consume the most resources. You want to achieve this goal as quickly as possible. What should you do?()

  • A、Use the DBCC INPUTBUFFER command.
  • B、Use the sys.dm_exec_query_stats dynamic management view (DMV).
  • C、Use the sqldiag utility.
  • D、Use the SHOWPLAN session option.
参考答案和解析
正确答案:B
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

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. The users report the slow performance of a SQL Server 2005 application. You are required to identify the queries which perform slowly because of blocking. Which action should you perform?()

  • A、In a SQL Trace log file, you should look for queries with low duration values and high read and write values.
  • B、In a query execution plan, you should look for queries with missing or out-of-date statistics.
  • C、In a SQL Trace log file, you should look for queries with high duration values and low read and write values.
  • D、In a query execution plan, you should look for queries with a large number of table scans.

正确答案:C

第2题:

You are a database administrator for your company. The company uses a SQL Server 2005 application. Each night, data is imported into a database, and the database is then set to be read-only. During business hours, users run predefined and ad hoc queries. You need to monitor the servers performance during the day. What are two possible ways to achieve this goal?()

  • A、Use the Lock Waits/sec performance counter.
  • B、Use the Number of Deadlocks/sec performance counter.
  • C、Use the Transactions/sec performance counter.
  • D、Use the Full Scans/sec performance counter.
  • E、Use the Batches/sec performance counter.

正确答案:D,E

第3题:

You are a database administrator for your company. The company uses a SQL Server 2005 database that includes a table named Inventory. The table contains a column named Price. A company policy states that the value in the Price column cannot be decreased by more than 10 percent in any single database operation. Updates to the Price column are made by various means, including by using ad hoc queries. You need to ensure that this company policy is enforced. What should you do?()

  • A、Create a trigger that rolls back changes to the Price column that violate company policy.
  • B、Create a stored procedure that disallows changes to the Price column that violate company policy.
  • C、On the Price column, create a check constraint that requires a specified minimum value.
  • D、On the Price column, create a foreign key constraint to a table that contains valid prices.

正确答案:A

第4题:

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 database named DB01 in the instance. The company CIO wants all the application developers can capture traces to troubleshoot the application that uses the database DB1, and they can perform this by using SQL Server Profiler. But they have to be given as little permission as possible. The company CIO assigns this task to you.  So what action should you perform to achieve this goal?()  

  • A、All the SQL Server logins of the application developers have to be added to a fixed server role. 
  • B、All the database users of the application developers have to be added to a fixed database role 
  • C、All SQL Server logins of the application developers should be given the appropriate server-level permissions. 
  • D、All database users of the application developers should be given the appropriate database-level permissions. 

正确答案:C

第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 SQL Server 7.0 database. You upgrade the database to the SQL Server instance. According to the company requirement, you must make sure that suspect pages can be detected in the database. So what action should you perform to achieve this goal?()

  • A、For the database, you should turn on the TRUSTWORTHY database option
  • B、For the database, the PAGE_VERIFY database option should be set to CHECKSUM
  • C、For the database, the database compatibility level option should be set to 10
  • D、For the model database, the PAGE_VERIFY database option should be set to TORN_PAGE_DETECTION. 

正确答案:B

第6题:

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. A SQL Server 2005 database is utilized in your company. And a table named Inventory is contained by the database. A column named Price is included by the table. According to the company policy, you cannot reduce more than 10 percent the value in the Price column in any single database operation. Through many kinds of method, the company makes updates to the Price column. For instance, the utilization of ad hoc queries is one of the methods. Since you are the database administrator, you should confirm that this company policy takes its effect. Which action should be performed?()

  • A、A stored procedure should be created, and changes are disallowed by the procedure to the Price column that violates company policy.
  • B、On the Price column, a check constraint should be created, and a specified minimum value is required by the check constraint.
  • C、A trigger should be created, and changes are rolled back by the trigger to the Price column that violates company policy.
  • D、On the Price column, a foreign key constraint is created to a table that valid prices are included.

正确答案:C

第7题:

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 an internal application which uses Analysis Services and Reporting Services. You use the application on the basis of SQL Server 2008. According to the requirement of company security policy, the surface area for all the deployed components of SQL Server 2008 should be configured. You have to implement the security policy and devise a method to evaluate the security policy against other database servers. What should you do?()  

  • A、You should create policies based on the appropriate facets. Apply the policies against a server group. The server group includes the database servers that need to be configured 
  • B、You should create a Transact-SQL script based on the sp_configure stored procedure. Use a configuration server to run the script against a server group that includes the database servers that need to be configured 
  • C、You should edit the RSReportServer.config configuration file. Distribute the file to all database servers that need to be configured 
  • D、You should analyze your database servers by using the SQL Server Best Practices Analyzer (BPA). Implement the recommendations of the BPA

正确答案:A

第8题:

You are a database administrator for your company. The company uses a vendor company’s application that is based on a proprietary database. You query data from the application database and import the data into a SQL Server 2005 database. The application vendor provides you with a new OLE DB driver to be used when querying the application database. Company policy prohibits connections between the SQL Server database and the application database, except when querying this data. You need to provide a way to query data from the application database. What should you?()

  • A、Configure a Linked Server connection to the application database.
  • B、Write a query that uses an OPENDATASOURCE command.
  • C、Write a query that uses an OPENQUERY command.
  • D、Configure a Remote Server connection to the application database.

正确答案:B

第9题:

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. A user database named Products is included by your SQL Server 2005 computer. SQL Server Integration Services (SSIS) packages are utilized to export data from the Products database to a text file. You deliver the text file to your company’s trading partners by utilizing FTP. You are required to make sure that your SSIS packages can be recovered from the occurrence of a disaster.  Which action should be performed to finish the task?()

  • A、To finish the task,the Products database should be backed up.
  • B、To finish the task,your server should be set to utilize the full recovery model.
  • C、To finish the task,your server should be set to utilize the bulk-logged recovery model.
  • D、To finish the task, the msdb database should be backed up.

正确答案:D

第10题:

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?()

  • A、The sp_executesql batches are not being recovered from the procedure cache.
  • B、A database administrator executed UPDATE STATISTICS statements on all tables, and the most common stored procedures reference all the tables.
  • C、One new stored procedure is created by a database administrator.
  • D、Ad hoc batches are not being recovered from the procedure cache.

正确答案:B

更多相关问题