Database 版 (精华区)
发信人: superman (☆风雨无阻☆), 信区: Database
标 题: DB2 UDB V5 Fundamentals Sample Test (3)
发信站: 紫 丁 香 (Sat Sep 19 15:49:48 1998), 转信
1. How does the defining of a stored procedure affect the size of a DB2
database?
a) It increases the size of the database.
b) It decreases the size of the database.
c) It does not affect the size of the database.
2. Which protocol is used to communicate between DB2 Connect and DB2 for OS/390?
a) TCP/IP
b) NetBIOS
c) APPC
d) IPX/SPX
3. Which component is installed with all DB2 Universal Database products?
a) DB2 Connect
b) DB2 Client Application Enabler (CAE)
c) Visual Explain
d) Control Center
4. What is contained in the DB2 nodelock file?
a) database names
b) database user names
c) license keys
d) server names
5. Which authority can be granted to a group of users using the GRANT statement?
a) SYSCTRL
b) SYSADM
c) DBCTRL
d) DBADM
6. How much disk space is pre-allocated for the following database?
CREATE DATABASE data1 DFT_EXTENT_SZ 6
CATALOG TABLESPACE MANAGED BY DATABASE
USING (FILE 'fname' 1000)
USER TABLESPACE MANAGED BY SYSTEM
USING ('dirname')
a) 4 MB for SYSCATSPACE
b) 6 MB for SYSCATSPACE
c) 6 KB for USERSPACE1
d) 24 KB for USERSPACE1
7. Given the tables and the SQL statement:
-----------------COUNTRY--------------------------------|------------STAFF---|
id name person cities id last_name
--------------------------------------------------------|--------------------|
1 Argentina 1 10 1 Jones
2 Canada 2 20 2 Smith
3 Cuba 2 10
4 Germany 1 0
5 France 7 5
SELECT DISTINCT 'ID', s.id FROM staff s, country c
WHERE s.id =c.person
How many rows will be returned?
a) 1
b) 2
c) 3
d) 4
8. Given the table:
-----------STAFF----------------
id lastname
--------------------------------
1 Jones
2 Smith
Which SQL statement updates each row in the table?
a) UPDATE lastname IN staff SET lastname = 'Greyson'
b) UPDATE lastname IN staff SET lastname TO 'Greyson'
c) UPDATE staff SET lastname = 'Greyson'
d) UPDATE staff WHERE lastname SET TO 'Greyson'
9. Which SQL command successfully removes uncommitted changes from a DB2 database?
a) ROLLBACK
b) DELETE
c) DROP
d) DECOMMIT
10. Where is a view definition stored when the view is created?
a) in the database log files
b) in the user tablespace
c) in the system catalog tablespace
d) in the index tablespace
11. Given the statement:
CREATE VIEW v1 AS SELECT a.c1, b.name
FROM t1 a, t2 b
WHERE a.c1 = b.c1
Which type of SQL statement will succeed using this view?
a) SELECT
b) INSERT
c) DELETE
d) UPDATE
12. For which database object can a lock be obtained?
a) a database directory
b) a database tablespace
c) a database bufferpool
d) a database column
13. Which DB2 product includes built in DRDA functionality?
A) DB2 Universal Database Personal Edition
B) DB2 Universal Database Workgroup Edition
C) DB2 Universal Database Enterprise Edition
14. How many bufferpools are created in the following database?
CREATE DATABASE data1 DFT_EXTENT_SZ 6
CATALOG TABLESPACE MANAGED BY DATABASE
USING (FILE 'fname' 1000)
USER TABLESPACE MANAGED BY SYSTEM
USING ('dirname')
a) 0
b) 1
c) 2
d) 3
Answer Key - DB2 UDB V5 Fundamentals Exam Sample Test
1. c
2. c
3. b
4. c
5. d
6. a
7. b
8. c
9. a
10. c
11. a
12. b
13. c
14. b
--
朋友一生一起走 那些日子不再有
一句话 一辈子 一生情 一杯酒
朋友不曾孤单过 一声朋友你会懂
还有伤 还有痛 还要走 还有我
※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: aceraltos.hit.ed]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.373毫秒