DB2 Online Quiz



Following quiz provides Multiple Choice Questions (MCQs) related to DB2. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Q 1 - Can a DB2 system have more than one databases?

A - No

B - Yes

Answer : B

Explanation

Yes, a DB2 system can have more than one database.

Answer : C

Explanation

A partitioned table space can house one table and allows a table to be divided by rows into partitions that the system can manage separately.

Answer : B

Explanation

An indexed is stored in B-tree format.

Answer : B

Explanation

DBRM stands for Database Request Module which contains SQL statements.

Answer : A

Explanation

You will face -811 SQLCODE when the SELECT query returns more than one number of rows.

Q 6 - Which command is used to commit a transaction in CICS program?

A - AUTO COMMIT

B - SYNCPOINT

C - ROLLBACK

D - COMMIT

Answer : B

Explanation

SYNCPOINT is used to commit a transaction in CICS program.

Q 7 - If a transaction takes a Shared lock on some data, then other transactions can get what type of lock?

A - Shared

B - Update

C - Exclusive

D - Both A & B

Answer : D

Explanation

If a transaction takes a Shared lock on some data, then other transactions can get either a Shared or Update lock on it.

Q 8 - One tablespace is associated with one bufferpool. The size of bufferpool and tablespace must be same. State whether true or false?

A - False

B - True

Answer : B

Explanation

This is self explanatory.

Q 9 - SQLCA is a SQL communication area through which DB2 passes feedback of SQL execution to the program. It tells the program whether execution was successful or not. State whether true or false?

A - False

B - True

Answer : B

Explanation

This statement is correct.

Q 10 - In which step we specify the isolation level?

A - Pre-compilation Step

B - Bind Step

C - Compilation Step

D - None of these

Answer : B

Explanation

In Bind step we specify the isolation level.

db2_questions_answers.htm
Advertisements