微软认证70-228模拟试卷7

0
收藏   分享
  • 卷面总分:0分
  • 试卷类型:模拟考试
  • 测试费用:免费
  • 答案解析:是
  • 练习次数:12次
  • 作答时间:30分钟
试卷简介

  • 1.单选题
  • 2.多选题
试卷预览
1

You are the administrator of three SQL Server 2000 computers at Five Lakes Publishing. One server, FLPSQL01, stores order data. You want to be able to use the other two servers, FLPSQL02 and FLPSQL03, to answer queries and run report. The planned network configuration is shown in the exhibit.

You want to use the database Maintenance Plan wizard to configure log shipping from FLPSQL01 to FLPSQL02 and FLPSQL03. You do not want users to add any new data on FLPSQL02 and FLPSQL03, but they must be able to run queries and reports.

Which two actions should you take? (Each correct answer presents part of the solution. Choose two)

  • A.Set the database load state for each destination server to No recovery mode.
  • B.Set the database load state for each destination server to standby mode.
  • C.Enable the allow database to assume primary role option for both destination servers.
  • D.Enable the allow database to assume primary role option for one destination server and then disable this option for other destination server.
  • E.Disable the allow database to assume primary role option for both destination servers.
1

You are the administrator of a SQL server computer. The server is running SQL Server 6.5 and SQL Server 7.0.

You install a named instance of SQL Server 2000, and then run the SQL server upgrade wizard. On the database selection screen, some of the SQL Server 6.5 databases are not listed.

You cancel the SQL Server upgrade wizard.

You need to ensure that the SQL Server 6.5 databases are listed in the wizard. What should you do?

  • A.Uninstall SQL Server 7.0, and then rerun the SQL Server upgrade wizard.
  • B.Run the Microsoft SQL Server-switch application, and then rerun the SQL Server upgrade wizard.
  • C.Create a data transformation services package that imports the databases from SQL Server 6.5 to SQL Server 2000, and then execute the package.
  • D.Uninstall SQL Server 2000, and then reinstall SQL Server 2000 as the default instance.
6

Exhibit:

UPDATE EzonexamConsolidated

SET District = ‘Mexico’

WHERE RtvID = 45

You work as database administrator at Ezonexam.com. You handle one SQL Server 2000 computer and one database.

When users run the query in the exhibit above the receive the following error message:

Server: Mrh3612, Level 16, Stats 1, Line 1

View or function ‘EzonexamConsolidated’ is not updateable because it

contains aggregates:

How should you enable the query to run?

  • A.Create a non-normalized EzonexamConsolidated table and populate the table with data from the base tables.
  • B.The appropriate users should be granted UPDATE permissions on each base table.
  • C.To enable updates on the composite tables create an INSTEAD OF trigger on the view.
  • D.On each base table add a cascading update trigger.
5

You are the administrator of a SQL Server 2000 database. Using the default options configures the database. You drop indexes to facilitate a large import of data, and rebuild them after the import is complete.

Users report that response times from a stored procedure have become slower. In the stored procedure, you examine the following code.

CREATE PROCEDURE GetCustomer

( @CustomerID Int )

  • AS    SELECT FirstName, LastName, Address1, Address2, City,    State, Zip, MAX(PurchaseDate) AS LastPurchase
  • FROM Customers C
  • JOIN Addresses A ON A.AddressID = C.AddressID
  • JOIN Purchases P ON P.CustomerID = C.CustomerID    WHERE C.CustomerID = @CustomerID
  • GROUP BY FirstName, LastName, Address1, Address2, City, State, Zip    You want to improve the performance of the procedure by using the least amount of administrative effort. What should you do?
  • A.Recompile the stored procedure.
  • B.Update the database statistics.
  • C.Check the consistency of the database and repair errors.
  • D.Create a view and modify the stored procedure to use the view.