[计算机类试卷]微软认证70-228模拟试卷2及答案与解析.doc
《[计算机类试卷]微软认证70-228模拟试卷2及答案与解析.doc》由会员分享,可在线阅读,更多相关《[计算机类试卷]微软认证70-228模拟试卷2及答案与解析.doc(15页珍藏版)》请在麦多课文档分享上搜索。
1、微软认证 70-228模拟试卷 2及答案与解析 1 You are the administrator of two SQL Server 2000 computers. One of these servers contains a 4-GB database named marketing. You want to remove the marketing database from one server and add it to the other as quickly as possible. What should you do? ( A) Detach the database
2、from the original server by using the sp_detach_db stored procedure. Copy the database and the transaction log files to the new server, and attach them by using the sp_attach_db stored procedure. ( B) Use the DTS export wizard to transfer all database objects from the original server to the new serv
3、er. Drop the database from the original server. ( C) Run a full backup of the database on the original server. Create a new database named marketing on the new server. Restore the backup in the new marketing database. Drop the database from the original server. ( D) Shut down the original server. Co
4、py the database and the transaction log files to the new server. Use the DISK INIT and DISK REFIT statements to attach the data file to the new server. Drop the database from the original server. 2 You are the administrator of a SQL Server 2000 computer. The server contains a database named Inventor
5、y. The database has a Parts table that has a field named InStock.When the parts have shipped, a table named PartsShipped is updated. When the parts are received, a table named PartsReceived is updated. The relationship of these tables is shown in the exhibit. You want the database to update the InSt
6、ock field automatically. What should you do? ( A) Add triggers to the PartsShipped and the PartsReceived tables that update the InStock field in the Parts table. ( B) Create a user-defined function that calculates current inventory by running aggregate queries on the PartsShipped and PartsReceived t
7、ables. ( C) Use a view that creates an InStock field as part of an aggregate query. ( D) Create stored procedures for modifying the PartsShipped and PartsReceived tables that also modify the InStock field in the Parts table. Use these procedures exclusively when modifying data in the PartsShipped an
8、d PartsReceived tables. 3 You are the administrator of a SQL server 2000 computer. The server contains a database named Inventory.Developers at your company upgrade an inventory tracking application. Users report that when they insert new information in the Locations table, the upgrade application r
9、eturns the following error message string or binary data would be truncated. The statement has been terminated.When you use SQL profiler to trace the activity of the application, you receive the results as shown in the trace exhibit.You examine the design of the locations table as shown in the table
10、 design exhibit.Table SchemaYou need to configure the database to support both versions of the application without affecting server performance. What should you do? ( A) Alter the data type of the description field to varchar(50). ( B) Alter the data type of the Special field to varchar(50). ( C) Al
11、ter the data type of the CubicFeet field to float. ( D) In the locations table, create an INSTEAD OF trigger that truncates the description field at 10 characters when the record is updated. ( E) In the locations table, create an INSTEAD OF trigger that truncates the Special field at 10 characters w
12、hen the record is updated. 4 You are the administrator of a SQL Server 2000 computer. The server contains a database named Accounting. The data files are configured as shown in the exhibit. The database has grown to 7 GB. The server has no more available disk space. You need to make more disk space
13、available in the accounting database without affecting system performance.What should you do? ( A) Compress drive E. ( B) Add a new hard disk to the server. Create a new file on the new hard disk as part of the PRIMARY filegroup. ( C) Add a new hard disk to the server. Create a new file on the new h
14、ard disk as part of a new filegroup. ( D) Map a network drive to the server. Create a new data file on the network drive as part of the PRIMARY filegroup. ( E) Map a network drive on the server. Create a new data file on the network drive as part of a new filegroup. 5 You are the administrator of SQ
15、L server 2000 computer. The server contains a database named MedicalRecords. Users access medical records by using the PatientID field. This field is the clustered primary key for the Patients table. When users try to access medical records, the database responds slowly. You examine the database opt
16、ions as shown in the exhibit. You want to accelerate query response time and minimize administrative overhead. How should you reconfigure the database? ( A) Create a SQL Server Agent job to execute the UPDATE STATISTICS statement, and schedule the job to run weekly. ( B) Select the Auto Update Stati
17、stics check box. ( C) Run the database maintenance plan wizard, and accept the default settings. ( D) Rebuild the primary key as a nonclustered primary key. ( E) Clear the Auto Create Statistics check box. 6 You are the administrator of several SQL Server 2000 computers. You want to retrieve informa
18、tion from an archived inventory database. You have a full tape backup of the database. The backups header information shows that the backup uses the SQL_Latin1_General_CR437_BIN collation. However, the existing SQL server computers in your office are configured to use the SQL_Latin1_General_CP1_CI_A
19、S collation. You do not want to join tables in the inventory database with tables in other databases. You need to restore the inventory database to a SQL Server 2000 computer by using the least amount of administrative effort. What should you do? ( A) Use the rebuildm utility to rebuild the system d
20、atabase on an existing SQL server computer. Configure all the databases on that server to use the SQL_Latin1_General_CR437_BIN collation. Restore the inventory database to the server. ( B) Restore the inventory database to an existing SQL server computer. Accept the SQL_Latin1_General_CR437_BIN coll
21、ation for that database. ( C) Install a new named instance of SQL Server 2000 on an existing SQL Server 2000 computer. Configure the named instance to use the SQL_Latin1_General_CR437_BIN collation. Restore the inventory database to the named instance. ( D) Install SQL Server 2000 on a new computer.
22、 Configure the new server to use the SQL_Latin1_General_CR437_BIN collation. Restore the inventory database to the new server. 7 You are the administrator of a SQL Server 2000 computer named SQL1. You want to perform ad hoc distribution queries against a database that is stored on a SQL Server 2000
23、computer named SQL2. SQL2 contains several databases, and each of these databases uses a different collation. You want to ensure that comparisons in distributed queries are evaluated correctly. You also want to minimize administrative overhead. How should you configure SQL1? ( A) Use the ALTER DATAB
24、ASE statement to change the collation of the databases on SQL1. ( B) Add SQL2 as remote server. ( C) Add SQL2 as a linked server. Select the Use Remote Collation check box, and do not specify a collation name. ( D) Add SQL2 as a linked server. Select the Use Remote Collation check box, and specify a
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机 试卷 微软 认证 70228 模拟 答案 解析 DOC
