What is the maximum precision for the DECIMAL data type?
A decimal number is a packed decimal number with an implicit decimal point. The position of the
decimal point is determined by the precision and the scale of the number. The scale, which is the
number of digits in the fractional part of the number, cannot be negative or greater than the
precision. The maximum precision is 31 digits.
Which isolation level will allow application A to immediately read the committed value of a row that
is exclusively locked by application B?
Read stability (RS) locks only those rows that an application retrieves within a unit of work. It ensures
that any qualifying row read during a unit of work is not changed by other application processes until
the unit of work completes, and that any row changed by another application process is not read
until the change is committed by that process
Your manager has asked you to review cloud service offering for hosting a DB2 database. As the DBA,
you still want to maintain control over all maintenance and patching operations. Which of the
following Cloud offerings best suits your needs?
Shadow tables are a special kind of Materialized Query Table, but what makes them different?
If you are already connected to a database, what does running the following statement do?
The DDL statement is used to create table T1:
CREATE TABLEt1 (
c2 INTEGER NOT NULL,
c4 TIMESTAMP WITH DEFAULT CURRENT TIMESTAMP
Which of the following INSERT statements will execute successfully?
The creator of an index or an index specification automatically receives which privilege on the index?
Below are the SQL statements a DBA is planning to execute on a database:
CREATE TABLE t1 (name VARCHAR (1));
INSERT INTO t1 VALUES (A), (B), (C), (D);
ALTER TABLE t1 ALTER COLUMN name SET DATA TYPE INT;
What will be the outcome of the last statement?
Application 1 executes the following statements:
INSERT INTO TAB1 (NAME,AMOUNT) VALUES (John,100);
UPDATE TAB1 SET AMOUNT=90 WHERE NAME=John;
After a few seconds, application 2 executes the following query:
SELECT AMOUNT FROM TAB1 WHERE NAME=John
Assuming the Currently Committed (CUR_COMMIT) configuration parameter is enabled, which of
the following is TRUE?
With HADR, which of the following configuration and topology choices provides the highest level of
protection from potential loss of data in a pureScale environment?
Standby databases are synchronized with the primary database through log data that is generated on
the primary and shipped to the standbys. The standbys constantly roll forward through the logs. You
can choose from four different synchronization modes. In order of most to least protection, these are
SYNC, NEARSYNC, ASYNC, and SUPERASYNC.
What is the maximum length allowed for a VARCHAR2 data type when the VARCHAR2_COMPAT
database configuration parameter is set to ON?
Which of the following DB2 objects in an efficient way of representing data without the need to
maintain it and requires no permanent storage?
Consider the following SQL statement:
SELECT workdept, empno, lastname, salary,
RANK() OVER (PARTITION BY workdept ORDER BY salary) AS rank_salary
ORDER BY workdept, lastname
What does the RANK() OVER (PARTITION BY workdept ORDER BY salary) clause do?
Which of the following features can provide significant benefits in storage savings, performance of
analytic workloads, and time to value?
Which of the following isolation levels most reduces concurrency and is most likely to cause lock