一起答

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

  • 卷面总分:0分
  • 浏览次数:0
  • 测试费用:免费
  • 答案解析:是
  • 练习次数:11次
  • 作答时间:30分钟
试卷简介

  • 1.单选题
  • 2.多选题
  • 3.不定项选择题
部分试题预览
  1. You are the administrator of a new multiprocessor SQL Server 2000 computer. You are migrating data from other database management systems to this server. You need to load data from two data files into a new table on the server. The table is empty and has no indexes.

    You want to complete the data load as quickly as possible. What should you do? (Each correct answer represents part of the solution. Choose all that apply.)

    • A.Apply a bulk update lock to the table.
    • B.Use separate client connections to load the files into the table simultaneously.
    • C.Create a clustered index on the table.
    • D.Specify the Full Recovery model for the database.
    • E.Specify the Bulk-Logged Recovery model for the database.
  2. You are the administrator of a SQL Server 2000 computer. You have two new hard disks on which you will create a database named inventory. You want to insert, update, and delete data as quickly as possible.

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

    A. Configure the hard disks as two mirrored NTFS volumes.

    B. Configure the hard disks as one mirrored NTFS volumes.

    C. Configure the hard disks as two independent NTFS volumes.

    D. Configure the hard disks as one extended NTFS volume.

    E. Place inventory_data.mdf on the first volume and inventory_log.ldf on the second volume.

    F. Place inventory_data.mdf on the first volume and inventory_data2.ndf and inventory_log.ldf on the second volume.

    G. Place inventory_data.mdf and inventory_log.ldf on the same volume.

  3. You are the administrator of a SQL Server 2000 computer. The server contains a database named MedicalRecords.

    The database tables are configured as shown in the exhibit.

    The existing PatientID field is an identity field. According to a new government regulation, the patient IDs must include a three-character prefix before the numeric portion of the ID. The patient’s home address defines the prefix.

    You want to comply the regulation while minimizing changes to the database. Which two actions should you take? (Each correct answer presents part of the solution. Choose Two)

    A. Drop the FOREIGN KEY constraints. In each table, change the data type of the PatientID field to char.

    B. Add an On Update constraints to the Patients table, and link it to the PatientID field. Update the field in the Patients table.

    C. In the Patients table, add a new field named StatePatientID that has a data type of char. Populate the field with the prefix and the existing PatientID.

    D. In each table, update the PatientID field. Re-create the FOREIGN KEY constraints.

    E. In the Patients table, update the PatientID field.

    F. Create a trigger that populates the StatePatientID field when a new patient is created.

  4. You are the administrator of a SQL Server 2000 computer. The server contains your company's order processing database. Two-hundred operators take orders by telephone 24 hours a day. Threehundred data entry personnel enter data from orders received by mail.

    To ensure that order data will not be lost, your company's disaster recovery policy requires that backups be written to tape. Copies of these tapes must be stored at an off-site company location. Orders must be entered into the database before they can be filled. If the server fails, you must be able to recover the order data as quickly as possible.

    You need to create a backup strategy that meets the company requirements and minimizes server workload. Which two actions should you take? (Each correct answer represents part of the solution. Choose two.)

    • A.Perform. a combination of full database and filegroup backups.
    • B.Perform. a combination of full database and file backups.
    • C.Perform. a combination of full database, differential, and transaction log backups.
    • D.Back up the data to a local tape drive.
    • E.Back up the data to a network share, and then use enterprise backup software to write the disk backups to tape.
  5. You are the administrator of a SQL Server 2000 computer. Your company purchased an accounting application from a vendor. The application stores its data in a database named Accounting on the server. The tables in this database contain columns that function as primary keys, but PRIMARY KEY and FOREIGN KEY constraints are not used.

    You need to replicate data from this database to another SQL Server computer. This server will use the replicated data to generate reports. Most reports will run each month, but the accounting department needs to have the ability to run reports at any time. Reports should be accurate through the last full working day.

    You cannot make any changes to the database, but you need to implement replication. Which two actions should you take? (Each correct answer presents part of the solution. Choose two)

    • A.Implement merge replication.
    • B.Implement snapshot replication.
    • C.Implement transactional replication.
    • D.Schedule replication to run continuously.
    • E.Schedule replication to run during off-peak hours.
  6. You are the administrator of a SQL Server 2000 computer. The server contains a database named Acct. You purge the Acct database of old records and perform. a full backup. The database now uses 4 GB of space. The database files are configured as shown in the Acct Properties exhibit.

    The server has two hard disks that are configured as shown in the Server Configuration exhibit.

    The 3 GB transaction log file for the Acct database is stored on drive C. You need to make room for a new database that has a 3 GB data file and a 1 GB transaction log file. You want to optimize database performance on both databases. You also want to minimize administrative overhead.

    What should you do?

    • A.Shrink the empty data file on drive E. Place the new data file and the new log file on drive E.
    • B.Shrink the empty data file on drive E. Backup and shrink the log file on drive C to 2 GB. Place the new data file on drive E and the new log file on drive C.
    • C.Shrink the data file on drive D to 1 GB, and then shrink the data file on drive E to 2 GB. Place the new data file on drive D and the new log file on drive E.
    • D.Shrink and delete the data file on drive C, and then shrink the database files on drives D and E so that they are both 2 GB. Place the new data file and the new log file on drive C.
  7. You are the administrator of a SQL Server 2000 computer. You are configuring a database for an inventory application. The hard disks on your server are configured as shown in the exhibit.

    The operating system files are located on drive C. Your database will store a maximum of 6 GB of data and requires a maximum of 2 GB of disk space for the transaction log.

    You want to optimize database performance. What should you do?

    • A.Add a 2-GB transaction log to drive D, a 3-GB data file to drive E, and a 3-GB data file to drive F
    • B.Add a 1-GB transaction log to drive C, a 1-GB transaction log to drive D, a 3-GB data file to drive E, and a 3-GB data file to drive F
    • C.Add a 1-GB transaction log to drive E, a 1-GB transaction log to drive F, a 3-GB data file to drive E, and a 3-GB data file to drive F
    • D.Add a 2-GB transaction log to drive F, a 3-GB data file to drive D, and a 3-GB data file to drive E
  8. You are the administrator of a SQL Server 2000 computer. The server contains a database that stores financial data. You want to use Data Transformation Services packages to import numeric data from other SQL server computers. The precision and scale values of this data are not defined consistently on the other servers.

    You want to prevent any loss of data during the import operations. What should you do?

    • A.Use the ALTER COLUMN clause of the ALTER TABLE statement to change data types in the source tables. Change the data types so that they will use the lowest precision and scale values of the data that will be transferred.
    • B.Use the ALTER COLUMN clause of the ALTER TABLE statement to change data types in the destination tables. Change the data types to reflect the highest precision and scale values involved in data transfer.
    • C.Set a flag on each DTS transformation to require an exact match between source and destination columns.
    • D.Set the maximum error count for each DTS transformation task equal to the number of rows of data you are importing. Use an exception file to store any rows of data that generate errors.
    • E.Write Microsoft ActiveX script. for each DTS transformation. Use the script. to recast data types to the destinations precision and scale values.
  9. You are the administrator of a SQL Server computer. Users report that the database times out when they attempt to modify data. You use the Current Activity window to examine locks held in the database as shown in the following screenshot.

    You need to discover why users cannot modify data in the database, but you do not want to disrupt normal database activities. What should you do?

    • A.Use the spid 52 icon in the Current Activity window to discover which SQL statement is being executed
    • B.Use the sp_who stored procedure to discover who is logged in as spid 52
    • C.Use SQL Profiler to capture the activity of the user who is logged in as spid 52
    • D.Use System Monitor to log the locks that are granted in the database
  10. You are the administrator of a SQL Server 2000 computer. The server contains database named Sales. Users report that they cannot add new data to the database. You examine the properties of the database. The database is configured as shown in the Sales Properties exhibit.

    You examine drive E. The hard disk is configured as shown in the Local Disk Properties exhibit.

    You want the users to be able to add data, and you want to minimize administrative overhead. What should you do?

    • A.Increase the maximum file size of Sales_Data to 1,500MB.
    • B.Use the DBCC SHRINKDATABASE statement.
    • C.Set automatic file growth to 10 percent.
    • D.Create another data file named Sales_Data2 in a new SECONDARY filegroup.