Database 版 (精华区)

发信人: superman (☆风雨无阻☆), 信区: Database
标  题: DB2 Administration Sample Test (1)
发信站: 紫 丁 香 (Sat Sep 19 15:47:41 1998), 转信

#501 - DB2 Administration Sample Test 




 
1. Which table space characteristic may be altered for a Database Managed
   (DMS) table space?
 
        A.      Modify the extent size
        B.      Modify the prefetch size
        C.      Change the location of an existing container
        D.      Change the size of an existing container
 
2. Which of the following can be used as a container in an SMS table space?
 
        A.      Raw Device
        B.      File
        C.      Logical Volume
        D.      Directory
 
3. Which command will show you how many free pages are in a DMS table space?
 
        A.      SHOW TABLESPACES WITH DETAIL
        B.      LIST TABLESPACES
        C.      LIST TABLESPACE CONTAINERS
        D.      LIST TABLESPACES SHOW DETAIL
 
4. What action may be specified from the LOAD command?
 
        A.      REORG of the table
        B.      ROLLFORWARD of the database
        C.      COPY the table space (BACKUP)
        D.      CREATE table is it does not exist
 
5. Why might data exist in the exception table following a LOAD operation?
 
        A.      Primary key constraint violations
        B.      Triggers may have fired and populated the exception table
        C.      Referential integrity constraint violations occurred
        D.      The data types in LOAD file do not match the table definition
 
6. Which database objects can be reorganized using the REORG command?
 
        A.      Table Spaces
        B.      Containers
        C.      Tables
        D.      Columns
 
7. Following a successful RUNSTATS execution, what should be performed?
 
        A.      RESTORE a previous database backup image.
        B.      REORG for all the database objects.
        C.      REBIND applications.
        D.      RESTART the database.
 
8. Which action establishes a `Point of Consistency' for database recovery?
 
        A.      Performing a table space level RESTORE only
        B.      Performing a database level RESTORE
        C.      Performing a QUIESCE TABLESPACE command
        D.      Performing a FORCE APPLICATIONS command
 
9. What commands would update the database recovery history file?
 
        A.      EXPORT
        B.      IMPORT
        C.      BACKUP
        D.      RUNSTATS
        E.      REORG
 
10.A database is enabled for roll forward recovery. What is true about the
   database recovery time if the time between full database backup images increases?
 
        A.      RESTORE database time will increase
        B.      RESTORE database time will decrease
        C.      ROLLFORWARD database time will increase
        D.      ROLLFORWARD database time will decrease
 
11.What dictates where errors encountered during an EXPORT are reported?
 
        A.      the DB2MESSAGES environment variable
        B.      the MESSAGES parameter specified during EXPORT
        C.      the database configuration file
        D.      the errors are placed in the specified exception table
 
12.Where would you specify the size of the buffer pool?
 
        A.      in the database configuration file
        B.      in the database manager configuration file
        C.      in the DB2 node directory
        D.      in the DB2 system directory
        E.      in the DB2 system catalogs
 
13.When is the buffer pool allocated for a database?
 
        A.      during the start of the DB2 instance for the database
        B.      during each SQL statement for the database
        C.      during each COMMIT statement for the database
        D.      during the first connection to the database
 
14.What must be done prior to capturing an EXPLAIN snapshot?
 
        A.      Update the EXPLAIN directory.
        B.      Create the EXPLAIN database.
        C.      Rebind the EXPLAIN tool.
        D.      Create the EXPLAIN tables.
 
15.Which SQL statement can be analyzed using the EXPLAIN facility?
 
        A.      COMMIT
        B.      DESCRIBE
        C.      ROLLBACK
        D.      UPDATE
        E.      GRANT
 
16.What is the minimum required authority to obtain a DB2 monitor snapshot?
 
        A.      SYSADM
        B.      DBCTRL
        C.      DBADM
        D.      PUBLIC
 
17.Given the snapshot monitor output:
 
    Total sort time (ms)                        = 153
    Total buffer pool read time (ms)            = 3015
    Total elapsed asynchronous read time (ms)   = 1960
    Direct reads elapsed time (ms)              = 81
 
How much time was spent prefeteching data?
 
        A.      153 ms
        B.      3015 ms
        C.      1960 ms
        D.      81 ms
 
18.If a query is to provide a sorted result how might DB2 perform the sorting operation?
 
        A.      DB2 will not sort the result
        B.      DB2 will sort the data within the buffer pool
        C.      DB2 will always sort the data on disk
        D.      DB2 will attempt to perform the sort in memory
 
19.If a DB2 event monitor has been defined for a database and it is active,
   where would its output be found?
 
        A.      in the TEMPSPACE1 table space
        B.      in a user-defined database table
        C.      in the EXPLAIN tables
        D.      in a user-defined directory location
 
20.If you wanted to record details of each occurrence of a deadlock within a
   database, what should be performed?
 
        A.      obtain a periodic database monitor snapshot
        B.      use the EXPLAIN facility
        C.      examine the DB2DIAG.LOG for each occurrence
        D.      create an event monitor and examine its output
 
21.Where would the SQL error code (SQLSTATE/SQLCODE) be reported?
 
        A.      in the SQLDA data structure
        B.      in the SQLCA data structure
        C.      in the DB configuration file
        D.      in the event monitor log
 
 
Answer Key - DB2 Database Administration
 
1. (B)
 
2. (D)
 
3. (D)
 
4. (C)
 
5. (A)
 
6. (C)
 
7. (C)
 
8. (B)
 
9. (C)
 
10.(C)
 
11.(B)
 
12.(A)
 
13.(D)
 
14.(D)
 
15.(D)
 
16.(A)
 
17.(C)
 
18.(D)
 
19.(D)
 
20.(D)
 
21.(B)

--
     朋友一生一起走  那些日子不再有
     一句话  一辈子  一生情  一杯酒
     朋友不曾孤单过  一声朋友你会懂
     还有伤  还有痛  还要走  还有我

※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: aceraltos.hit.ed]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:3.457毫秒