Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

DB2 UDB V8.

1 Family Fundamentals

Accessing DB2 UDB Data: Sample Questions

1) Which of the following statement is true?


a. A tablespace cannot have more than one container
b. A container can be assigned to multiple tablespaces
c. A device can be used as a container
d. A tablespace can only have one table

2) Which of the following statement is true?


a. a table is an ordered set of data records
b. an index always accesses data in ascending order
c. a view stores the data on a different tablespace
d. an index can be used to enforce uniqueness in a table

3) Which of the following statement is true?


a. Space allocation of a DMS tablespace is managed by the operating system
b. Space is preallocated in DMS tablespace
c. DMS tablespace does not require tuning
d. DMS tablespace does not have data striping

4) CREATE DATABASE command creates some default table spaces. What are
they? Choose all that apply.
a. SYSLOGSPACE
b. TEMPSPACE1
c. USERSPACE1
d. SYSCATSPACE

5) Which of the following is true when a database is created using COLLATE


USING IDENTITY?
a. All values are compared using their binary representation
b. All values are compared based on TERRORITY
c. All values are compared based on SYSTEM
d. All values are compared based on USER DEFINED

6) What keyword is used when creating SMS tablespaces?


a. SYSTEM MANAGED
b. DATABASE MANAGED
c. MANAGED BY SYSTEM
d. MANAGED BY DATABASE

Accessing DB2 UDB Data: Sample Questions 1


DB2 UDB V8.1 Family Fundamentals

7) What keyword is used to define the number of pages that the database will write
to one container before skipping to the next container?
a. SKIPSIZE
b. PREFETCHSIZE
c. STRIPSIZE
d. EXTENTSIZE

8) Which of the following ways is used to control the extent size of a tablespace?
Choose all that apply.
a. specify the extent size at tablespace creation
b. specify the extent size at database creation
c. specify the default extent size in the database configuration parameter
d. specify the default extent size at database creation

9) Which of the following command is used to enter database location information in


a system database directory?
a. CATALOG DATABASE DIRECTORY
b. CATALOG DATABASE
c. CATALOG DATABASE LOCATION
d. CATALOG NODE DATABASE

10) Which of the following method can be used to catalog a database at a client
workstation?
a. using DB2 Discovery
b. using DB2 access profiles
c. using Configuration Assistant
d. using CATALOG commands

Accessing DB2 UDB Data: Sample Questions 2


DB2 UDB V8.1 Family Fundamentals

Answers:
1. c
2. d
3. b
4. b,c,d
5. a
6. c
7. d
8. a,b,c
9. b
10. a,b,c,d

Accessing DB2 UDB Data: Sample Questions 3

You might also like