IBM DB2 9 Family Fundamentals (C2090-730) Free Practice Test
Question 1
Which of the following DB2 tools allows a user to execute an SQL statement and view a graphical representation of the access plan?
Correct Answer: A
Question 2
Which of the following DB2 data types can be used to store 1000 MB of single-byte character data?
Correct Answer: A
Question 3
Which of the following is a valid DB2 data type?
Correct Answer: C
Question 4
A table contains a list of all seats available at a football stadium. A seat consists of a section number, a seat number, and whether or not the seat has been assigned. A ticket agent working at the box office generates a list of all unassigned seats. When the agent refreshes the list, it should only change if another agent assigns one or more unassigned seats. Which of the following is the best isolation level to use for this application?
Correct Answer: D
Question 5
An index named EMPID_X exists for a table named EMPLOYEE. Which of the following will allow user USER1 to drop the EMPID_X index?
Correct Answer: B
Question 6
Which of the following is a valid wildcard character in a LIKE clause of a SELECT statement?
Correct Answer: C
Question 7
Application A holds an Exclusive lock on table TAB1 and needs to acquire an Exclusive lock on table TAB2. Application B holds an Exclusive lock on table TAB2 and needs to acquire an Exclusive lock on table TAB1. If lock timeout is set to -1 and both applications are using the Read
Stability isolation level, which of the following will occur?
Stability isolation level, which of the following will occur?
Correct Answer: A
Question 8
Given the following statement:
CREATE TABLE tab1
(col1 SMALLINT NOT NULL PRIMARY KEY,
col2 VARCHAR(200) NOT NULL WITH DEFAULT NONE,
col3 DECIMAL(5,2) CHECK (col3 >= 100.00),
col4 DATE NOT NULL WITH DEFAULT)
Which of the following definitions will cause the CREATE TABLE statement to fail?
CREATE TABLE tab1
(col1 SMALLINT NOT NULL PRIMARY KEY,
col2 VARCHAR(200) NOT NULL WITH DEFAULT NONE,
col3 DECIMAL(5,2) CHECK (col3 >= 100.00),
col4 DATE NOT NULL WITH DEFAULT)
Which of the following definitions will cause the CREATE TABLE statement to fail?
Correct Answer: C
Question 9
An application needs to store a 5 MB JPEG image in a DB2 table. Which data type should be specified for the column that will be used for storing the image?
Correct Answer: C
Question 10
When does a view get populated?
Correct Answer: A
Question 11
Which of the following will provide user USER1 and all members of the group GROUP1 with the ability to perform DML, but no other operations on table TABLE1?
Correct Answer: C
Question 12
Assuming table TAB1 contains 100 rows, which of the following queries will return only half of the rows available?
Correct Answer: D