Sie sind auf Seite 1von 54

IBM 000-731

000-731 DB2 9 DBA for Linux UNIX and Windows


Practice Test
Version 1.0
IBM 000-731: Practice Exam
QUESTION NO: 1

Given the following CREATE TABLE statement:

CREATE TABLE employee


(
empno CHAR(6) NOT NULL,
firstnmeVARCHAR(12),
midinit CHAR(1),
lastnameVARCHAR(15),
workdept CHAR(3)
)

Which of the following statements prevents two employees with the same first name, middle initial,
and last name from being inserted into the table, but allows NULL values?

m
A. CREATE INDEX e1 ON employee(firstnme, midinit, lastname)
.co
B. CREATE UNIQUE INDEX e1 ON employee(firstnme, midinit, lastname)
C. ALTER TABLE employee ADD CONSTRAINT const1 UNIQUE(firstnme, midinit, lastname)
D. ALTER TABLE employee ADD CONSTRAINT const1 PRIMARY KEY(firstnme, midinit,
sts
lastname)

Answer: B
lTe

QUESTION NO: 2
tua

A database administrator needs to benchmark a database for both SQL and XOUERY. What utility
can be used to accomplish this task?
Ac

A. db2batch
B. db2explain
C. db2analyze
D. db2benchmark

Answer: A

QUESTION NO: 3

Given the following statements:

CREATE TABLESPACE tbsp1 MANAGED BY DATABASE USING


(FILE conta 10000)

"Pass Any Exam. Any Time." - www.actualtests.com 2


IBM 000-731: Practice Exam
CREATE TABLESPACE tbsp2 MANAGED BY DATABASE USING
(FILE contb 10000)
CREATE TABLESPACE tbsp3 MANAGED BY DATABASE USING
(FILE contc 10000)

CREATE TABLE part_tab (c0 INT, c1 INT)


PARTITION BY (c0)
(PART part1 STARTING FROM (1) ENDING at (10000),
PART part2 STARTING FROM (10001) ENDING at (20000),
PART part3 STARTING FROM (20001) ENDING at (20010),
PART part4 STARTING FROM (20011) ENDING at (20020))

CREATE INDEX idx1_part_tab on partjab (c0)

In which of the following table spaces would the index be placed?

m
A. TBSP1
B. TBSP2
C. TBSP3
.co
D. USERSPACE1
sts

Answer: A
lTe

QUESTION NO: 4
tua

Which of the following commands will re-initialize the commit counter reported by the snapshot
monitor?

A. RESET MONITOR ALL


Ac

B. ZERO MONITOR COUNTERS


C. ZERO MONITOR FOR COMMIT
D. RESET MONITOR FOR COMMIT

Answer: A

QUESTION NO: 5

A database named QA that was using archival logging crashed. An attempt


to restart it failed with error code SOL0290N. Examination of the db2diag.log shows that the disk
drive containing the system catalog table space SYSCATSPACE is not responding. Backup
images of both the QA database and the SYSCATSPACE table space exist. After replacing the
failed disk drive, what is the quickest method to bring the QA database back online?

"Pass Any Exam. Any Time." - www.actualtests.com 3


IBM 000-731: Practice Exam
A. Restore the QA database from the latest off-line backup image.
B. Restore the QA database from the latest off-line backup image and rollforward to end of logs.
C. Restore the System Catalog table space from the latest SYSCATSPACE backup image without
rolling forward.
D. Restore the System Catalog table space from the latest SYSCATSPACE backup image and
rollforward to end of logs.

Answer: D

QUESTION NO: 6

A non-administrative user, USER1, can no longer access a view on which


they have been granted SELECT privilege. The DBA examines the SYSCAT.VIEWS catalog view
and finds that the view has been marked inoperative. In order to allow this view to be accessed by

m
the user, which of the following should be done?

.co
A. Determine the CREATE VIEW statement in the SYSCAT.VIEWS catalog view, DROP the
inoperative view and issue the determined CREATE VIEW statement.
B. Determine the CREATE VIEW statement in the SYSCAT.VIEWS catalog view, issue the
sts
CREATE VIEW statement, and grant SELECT privilege to USER1.
C. Determine the CREATE VIEW statement from a database backup and recreate the view
issuing this CREATE VIEW statement.
lTe

D. Determine the inoperative view, issue the ALTER VIEW statement, and grant SELECT privilege
to USER1.
tua

Answer: B
Ac

QUESTION NO: 7

Given the following DMS tablespaces:

CREATE TABLESPACE tbspO MANAGED BY DATABASE USING


(FILE conta 10000);
CREATE TABLESPACE tbsp1 MANAGED BY DATABASE USING
(FILE contb 10000);
CREATE TABLESPACE tbsp2 MANAGED BY DATABASE USING
(FILE contc 10000);
CREATE TABLESPACE tbsp3 MANAGED BY DATABASE USING
(FILE contd 10000);

Which of the following statements is used to create a partitioned table part_tab with four partitions
in which part0 will be placed in tbsp0, part1 will be placed in tbsp1, part2 will be placed in tbsp2,
"Pass Any Exam. Any Time." - www.actualtests.com 4
IBM 000-731: Practice Exam
and part3 will be placed in tbsp3?

A. CREATE TABLE part_tab (c0 INT)


PARTITION BY (c0)
(STARTING 0 ENDING at 9 IN tbsp0,
STARTING 10 ENDING 19 IN tbsp1,
STARTING 20 ENDING 29 IN tbsp2,
STARTING 30 ENDING at 39 IN tbsp3);
B. CREATE TABLE part_tab (c0 INT) LONG IN tbsp1 CYCLE INDEX IN tbsp2 PARTITION BY
(c0) (PART part0 STARTING 0 ENDING at 9, PART part1 STARTING 10 ENDING 19, PART
part2 STARTING 20 ENDING 29,
PART part3 STARTING 30 ENDING at 39);
C. CREATE TABLE part_tab (c0 INT) in tbsp0, tbsp1, tbsp2
PARTITION BY (c0)
(STARTING 0 ENDING at 9,

m
STARTING 10 ENDING 19,
STARTING 20 ENDING 29,
STARTING 30 ENDING at 39); .co
D. CREATE TABLE part_tab (c0 INT) LONG IN tbsp1 CYCLE INDEX IN tbsp2 PARTITION BY
(c0) (STARTING 0 ENDING at 9 IN tbsp0, STARTING 10 ENDING 19 IN tbsp1, STARTING 20
sts
ENDING 29 IN tbsp2,
STARTING 30 ENDING at 39 IN tbsp3);
lTe

Answer: A
tua

QUESTION NO: 8

The following statements have been executed:


Ac

CREATE TABLE empdata


(empno INT NOT NULL,

sex CHAR(1) NOT NULL CONSTRAINT sexok CHECK (sex IN (M'.F)) NOT ENFORCED
ENABLE QUERY OPTIMIZATION) INSERT INTO empdata VALUES (1, 'M'), (2, 'Q'), (3, 'Q'), (4,
f% (5, 'Q'), (6, 'K')

How many rows will the following query return? SELECT* FROM empdata WHERE sex = 'Q'

A. 0
B. 1
C. 2

"Pass Any Exam. Any Time." - www.actualtests.com 5


IBM 000-731: Practice Exam
D. 3

Answer: A

QUESTION NO: 9

Which of the following is the correct command for obtaining detailed information about a table
space, including its current status?

A. list tablespaces
B. list tablespaces show detail
C. list tablespace containers show detail
D. get snapshot for tablespace containers on sample

Answer: B

m
QUESTION NO: 10
.co
Given the command:
sts

LOAD FROM file2.dat OF DEL INSERT INTO adw.mkt_value ALLOW READ ACCESS
lTe

Which of the following is true?

A. The behavior of the load operation is dependent upon the isolation level used.
tua

B. Readers will be able to read the newly loaded data before the load operation has finished.
C. If the load operation aborts, the original data in the table is still accessible for read access.
D. Read access is provided throughout the load as well as at the beginning and end of the load
Ac

processing.

Answer: C

QUESTION NO: 11

Which of the following REORG table options will compress the data in a table using the existing
compression dictionary?

A. KEEPEXISTING
B. KEEPDICTIONARY
C. RESETDICTIONARY
D. EXISTINGDICTIONARY

"Pass Any Exam. Any Time." - www.actualtests.com 6


IBM 000-731: Practice Exam
Answer: B

QUESTION NO: 12

A DBA needs to set the DIAGLEVEL configuration parameter to 4 while users are connected to
the database. How can this change be implemented in a way that has a minimum impact to the
environment?

A. Quiesce the database and update the parameter.


B. Attach to the instance and update the parameter.
C. Connect to the database in a single user mode and update the parameter.
D. Attach to the instance, update the parameter, stop and restart the instance.

Answer: B

m
QUESTION NO: 13 .co
Given two servers SERV1 and SERV2 with the database IMPDB on SERV1 which steps are
necessary to setup HADR for this database using SERV2 as a standby server?
sts

A. 1. Update the DB CFG parameters


2. Start HADR on SERV2
lTe

3. Start HADR on SERV1


B. 1. Update the DB CFG parameters
2. Start HADR on SERV1
tua

3. Start HADR on SERV2


C. 1. Backup IMPDB on SERV1
2. Restore IMPDB on SERV2
Ac

3. Update the DB CFG parameters


4. Start HADR on SERV1
5. Start HADR on SERV2
D. 1. Backup IMPDB on SERV1
2. Restore IMPDB on SERV2
3. Update the DB CFG parameters
4. Start HADR on SERV2
5. Start HADR on SERV1

Answer: D

QUESTION NO: 14

"Pass Any Exam. Any Time." - www.actualtests.com 7


IBM 000-731: Practice Exam
For a DB2 instance db2inst1 on a server with port 50000 available, which of the following
commands must be run in order to configure DB2 to listen for incoming TCP/IP connections?

A. db2set db2comm=tcpip
B. db2 UPDATE DBM CFG USING PORT_NUM 50000
C. db2 UPDATE DBM CFG USING SVCENAME DB2c_db2inst1
D. db2 UPDATE DBM CFG USING TP_MON_NAME db2inst1
E. Add "DB2c_db2inst1 50000/tcp" to the services file F. db2set db2comm=tcp/ip
F. a, b, c
G. c, e, f
H. a, d, e
I. a, c, e

Answer: D

m
QUESTION NO: 15
.co
Which of the following Control Center features would be used to graphically discover a locking
problem that is leading to poor concurrency on a database?
sts

A. Health Center
B. Design Advisor
lTe

C. Activity Monitor
D. DB2 Query Patroller Center

Answer: C
tua

QUESTION NO: 16
Ac

How many index keys are created by this index?

CREATE INDEX empindex on companyinfo(companydocs) GENERATE KEY USING


XMLPATTERN '/company/emp/@id'AS SQL DOUBLE if the XML column contains the following
two documents:

Document for Company1:

< company name="Company1">


<emp id="31201" salary="60000" gender="Female">
< name >
<first >Laura</first >
<last >Brown</last >

"Pass Any Exam. Any Time." - www.actualtests.com 8


IBM 000-731: Practice Exam
</name >
<dept id="M25">
Finance
</dept>
</emp >
</company >

Document for Company2;

< company name="Company2">


<emp id="31664" salary="60000" gender="Male">
< name >
<first >Chris</first>
<last >Murphy</last >
</name >

m
<dept id="M55">
Marketing
</dept>
.co
</emp >
sts
< emp id="42366" salary="50000" gender="Female">
< name >
< first >Nicole</first >
lTe

< last >Murphy</last >


</name >
<dept id="K55">
tua

Sales
</dept>
</emp >
Ac

</company >

A. 0
B. 2
C. 3
D. 4

Answer: C

QUESTION NO: 17

A transaction that receives a log disk full error (SOL0963C) will fail and be rolled back. In order to
prevent the roll back, which of the following should be done?

"Pass Any Exam. Any Time." - www.actualtests.com 9


IBM 000-731: Practice Exam
A. Set BLK_LOG_DSK_FUL to NO
B. Set BLK_LOG_DSK_FUL to YES
C. Decrease space for the active log directory
D. Reduce the LOGPRIMARY, LOGSECOND and LOGFILSIZ

Answer: B

QUESTION NO: 18

How does Label Based Access Control (LBAC) provide more granular access control?

A. By providing row level access control


B. By providing rowset level access control
C. By defining access roles in external systems
D. By providing both row level and column level access control

m
Answer: D
.co
QUESTION NO: 19
sts

A Database Administrator needs to create a new database mydb on /home/database and wants to
have RUNSTATS running automatically. Which of the following is/are the minimum required
lTe

statements for this to occur?

A. CREATE DATABASE mydb on /home/database UPDATE DB CFG for mydb using


tua

AUTO_RUNSTATS ON UPDATE DB CFG for mydb using AUTO_MAINT OFF


B. CREATE DATABASE mydb on /home/database UPDATE DB CFG for mydb using
AUTO_MAINT ON
Ac

C. CREATE DATABASE mydb on /home/database UPDATE DB CFG for mydb using


AUTO_RUNSTATS ON UPDATE DB CFG for mydb using AUTO_MAINT ON
D. CREATE DATABASE mydb on /home/database

Answer: D

QUESTION NO: 20

Given the following notification log entry:

2006-02-15-19.33.37.630000 Instance: DB2 Node:000


PID:940(db2agent) TID: 660 Appid:*AC14B132.OB12.0138C7070500 database monitor
sqm_gen_dlconn_events Probe: 10 Database: SAMPLE DIA8300C A memory heap error has
occurred
"Pass Any Exam. Any Time." - www.actualtests.com 10
IBM 000-731: Practice Exam

In order to determine the name of the application which encountered the error, which of the
following actions must be taken?

A. Issue DB2 LIST DCS APPLICATIONS and search for AC14B132.OB12.0138C7070500


B. Issue DB2 LIST APPLICATIONS and search for AC14B132.OB12.0138C7070500
C. Issue DB2 LIST DCS APPLICATIONS and search for 660
D. Issue DB2 LIST APPLICATIONS and search for 660

Answer: B

QUESTION NO: 21

Which of the following is available in db2pd?

m
A. Information about active databases
B. Information about a stopped instance
C. Information about the administration server
.co
D. Information about active and inactive databases
sts
Answer: A
lTe

QUESTION NO: 22

An event monitor is created as follows:


tua

CREATE EVENT MONITOR BPOOLMON FOR BUFFERPOOLS WRITE TO TABLE


Ac

Which of the following actions(s) is REOUIRED before this event monitor can start collecting and
writing data?

A. Activate the event monitor BPOOLMON.


B. Create the table(s) where monitor data will be written and activate the event monitor
BPOOLMON.
C. Update the instance monitor switch DFT_MON_BUFPOOL to ON and activate the event
monitor BPOOLMON.
D. Update the instance monitor switch DFT_MON_BUFPOOL to ON, create the table(s) where
monitor data will be written and activate the event monitor BPOOLMON.

Answer: A

"Pass Any Exam. Any Time." - www.actualtests.com 11


IBM 000-731: Practice Exam
QUESTION NO: 23

Application MYAPP uses static SQL to access table T1. For which of the following situations
should an explicit REBIND be performed?

A. An index is added to table T1


B. A view is created on table T1
C. An index is dropped from table T1
D. Changes are made to application MYAPP

Answer: A

QUESTION NO: 24

Which of the following would prevent an application from waiting indefinitely to obtain a lock on

m
table T1?

A. Alter table T1 locksize table


B. Update db cfg for sample using lock_wait 10000
.co
C. Update db cfg for sample using locktimeout 10000
sts
D. Update db cfg for sample using lock_wait automatic

Answer: C
lTe

QUESTION NO: 25
tua

When a table is altered and a column is added for secured access by Label Based Access Control
(LBAC), what column type should be used?
Ac

A. DB2SECURITY
B. DB2LABELSECURITY
C. DB2SECURITYLABEL
D. DB2SECURITYDBLABEL

Answer: C

QUESTION NO: 26

Given the table MYTAB:

C1 C2 C3
1200 east Miller

"Pass Any Exam. Any Time." - www.actualtests.com 12


IBM 000-731: Practice Exam
1201 east Smith
1201 east Miller
1202 east Smith

What will happen when the following statement is issued: C

REATE UNIQUE INDEX MYINX ON MYTAB(C1)

A. The index MYINX will not be created.


B. The word UNIQUE will be omitted by DB2 and a non-unique index MYINX will be created.
C. The unique index MYINX will be created and the rows with duplicate keys will be deleted from
the table.
D. The unique index MYINX will be created and the rows with duplicate keys will be placed in an
exception table.

m
Answer: A

QUESTION NO: 27
.co
sts
A system managed table space is created with three containers. Container 1 is limited to 1 GB of
storage. Containers 2 and 3 are limited to 5 GB of storage each. Approximately, what is the
maximum amount of data that can be stored in this table space?
lTe

A. 1 GB
B. 3 GB
tua

C. 5 GB
D. 11 GB

Answer: B
Ac

QUESTION NO: 28

A database administrator has HADR enabled and wants to do a LOAD WITH COPY NO option on
the primary server. What happens on the standby server?

A. The Load is replicated without problems.


B. The Load will stop with an appropriate error message.
C. The Load will be automatically converted to NONRECOVERABLE and the standby database
will be marked bad.
D. The Load will be automatically converted to COPY YES if the directory or device specified on
the primary server is accessible for the standby database.

"Pass Any Exam. Any Time." - www.actualtests.com 13


IBM 000-731: Practice Exam
Answer: C

QUESTION NO: 29

The LIST APPLICATIONS command provides the following output:

Auth ID Application Appl. Application ID DB # of Agents


Name Handle Name

USR1 myapp 25667 LOCAL DB2.060609075930 TESTDB 1


USR1 db2bp.exe 25668 LOCALDB2.060609075931 TESTDB 1

The Database Administrator needs to force the application myapp executed by user usr1. Which
command must be issued?

m
A. FORCE APPLICATION (25667)
B. FORCE APPLICATION (myapp)
C. FORCE APPLICATION (myapp user usr1)
.co
D. FORCE APPLICATION (LOCAL DB2.060609075930)
sts

Answer: A
lTe

QUESTION NO: 30
tua

Which of the following commands is used to invoke the Configuration Advisor for an existing
database named SAMPLE?

A. db2set DB2_ENABLE_AUTOCONFIG_DEFAULT=YES
Ac

B. update dbm cfg using AUTOMATIC_DEFAULT ON db2stop db2start


C. connect to sample AUTOCONFIGURE using MEM_PERCENT 60 APPLY DB ONLY terminate
D. connect to sample update db cfg for SAMPLE using AUTOCONFIGURE ON terminate

Answer: C

QUESTION NO: 31

Which of the following authorities should a user have in order to QUIESCE the DB2 instance?

A. DBADM
B. SECADM
C. SYSMON

"Pass Any Exam. Any Time." - www.actualtests.com 14


IBM 000-731: Practice Exam
D. SYSMAINT

Answer: D

QUESTION NO: 32

As part of a high availability takeover strategy using HADR, the LOG INDEX BUILD table attribute
for the APPLICANT table is set to OFF. What is the most likely effect of this change?

A. After failover, the APPLICANT table index may be rebuilt.


B. An attempt to create a unique index on the APPLICANT table will fail.
C. Index builds for the APPLICANT table on the primary system will take longer.
D. The LOGINDEXBUILD database configuration parameter overrides the table attribute.

Answer: A

m
QUESTION NO: 33
.co
Self tuning memory will tune in intervals based on which of the following?
sts

A. The workload changes


B. The DB2 registry entry
lTe

C. The database configuration


D. The autoconfig configuration file
tua

Answer: A
Ac

QUESTION NO: 34

Which utility can be used to examine the SQL statements within a bind file?

A. db2bfd
B. db2mtrk
C. db2look
D. db2advis

Answer: A

QUESTION NO: 35

"Pass Any Exam. Any Time." - www.actualtests.com 15


IBM 000-731: Practice Exam
User 1 creates table T1 and subsequently creates view V1 based on table T1.

User 1 grants SELECT WITH GRANT OPTION on view V1 to user 2. User 2 grants SELECT
privileges on view V1 to user 3. The database administrator revokes CONTROL and SELECT
privileges from user 1. What is the status of privileges on view V1 after this sequence?

A. User 2 and user 3 still have SELECT privileges on view V1.


B. All privileges have been revoked and the view is marked inoperative.
C. User 3 still has SELECT privilege on view V1, but user2's privilege has been revoked.
D. User 2 still has SELECT privilege on view V1, but user 3's privilege has been revoked.

Answer: B

QUESTION NO: 36

m
Given a newly created database called PRODDB. which of the following commands were required
to produce the following output? .co
Database name = PRODDB
sts
Database path = D:\DB2\NODEOOOO\SQL00001\
Input database alias = PRODDB
Locks held = 1
lTe

Applications currently connected = 1


Agents currently waiting on locks = 0
Snapshot timestamp = 06-05-2002 17:08:25.048027
tua

Application handle = 8
Application ID = *LOCAL.DB2.0098C5210749
Sequence number = 0001
Ac

Application name = db2bp.exe


CONNECT Authorization ID = DB2USER
Application status = UOU Waiting
Status change time = Not Collected
Application code page ~ 1252
Locks held = 1
Total raait time (ms) = 0
List Of Locks
Lock Name = 0x02000300050000000000000052
Lock Attributes = 0x00000000
Release Flags = 0x00000001
Lock Count = 1
Hold Count = 0
Lock Object Name = 5

"Pass Any Exam. Any Time." - www.actualtests.com 16


IBM 000-731: Practice Exam
Object Type = Row
Tablespace Name = USERSPACE1
Table Schema = DB2ADMIN
Table Name = PRD_STAFF
Mode = U

A. GET SNAPSHOT FOR LOCKS ON proddb


B. RESET MONITOR ALL; GET SNAPSHOT FOR LOCKS ON proddb
C. UPDATE MONITOR SWITCHES USING U0W; GET SNAPSHOT FOR LOCKS ON proddb
D. UPDATE MONITOR SWITCHES USING LOCK ON; GET SNAPSHOT FOR LOCKS ON
proddb

Answer: D

m
QUESTION NO: 37

If the following command is executed: .co


create database adwprod on '/db2adw' collate using identity catalog tablespace managed by
sts
database using (FILE '/db2tbsp/CATALOG' 512);

Which of the following will occur?


lTe

A. The SYSCATSPACE would be renamed CATALOG.


B. A DMS table space will be used to hold a catalog.
tua

C. The command will fail because the catalogue tablespace is called SYSCATSPACE.
D. All of the tablespaces for database adwprod will be created in /db2tbsp/CATALOG.

Answer: B
Ac

QUESTION NO: 38

A DBA wants to grant the SELECT privilege on table T1 to user USER1 and group GRP1. USER1
and GRP1 have not been defined. What is the minimum that needs to be done to successfully
grant this privilege?

A. Grant the SELECT privilege to USER1 and GRP1.


B. Define GRP1 and then grant the SELECT privilege.
C. Define USER1 and then grant the SELECT privilege.
D. Define USER1 and GRP1 and then grant the SELECT privilege.

Answer: A

"Pass Any Exam. Any Time." - www.actualtests.com 17


IBM 000-731: Practice Exam

QUESTION NO: 39

Which of the following is true for a DB2 Global Temporary Table (GTT)?

A. GTT resides in system temporary tablespace.


B. GTT cannot have a user defined partitioning key.
C. GTT is visible by all users connected to a database.
D. Indexes can be created and runstats can be performed on GTT.

Answer: D

QUESTION NO: 40

m
Immediately after an "in place" table reorganization for the EMPLOYEE table, which sequence of
operations will provide optimal performance for SQL queries while ensuring the least disruption to
the user community?
.co
A. Reorg table indexes, perform runstats and rebind packages that use the table.
sts
B. Runstats with distribution statistics and rebind any packages that use the table.
C. Rebuild any associated indexes, rebind any packages that use the table and perform runstats.
D. Reorg the associated indexes offline, runstats with distribution statistics, rebind any packages
lTe

that use the table.

Answer: A
tua

QUESTION NO: 41
Ac

Which of the following lists all actions possible using the SET UTIL_IMPACT_PRIORITY
command?

A. Throttle a utility that was invoked in unthrottled mode


B. Unthrottle a throttled utility (disable throttling)
C. Set the default throttle for all utilities
D. Reprioritize a throttled utility
E. a and b
F. b, c and d
G. a,b and c
H. a,b and d

Answer: D

"Pass Any Exam. Any Time." - www.actualtests.com 18


IBM 000-731: Practice Exam

QUESTION NO: 42

A user issues the following commands:

UPDATE DBM CFG USING DFT_MON_STMT ON


UPDATE MONITOR SWITCHES USING SORT ON

Then, later issues these commands:

UPDATE DBM CFG USING DFT_MON_LOCK ON


UPDATE MONITOR SWITCHES USING BUFFERPOOL
ON UPDATE MONITOR SWITCHES USING STATEMENT OFF

m
Assuming no other monitor switches have been set, if the DB2 instance is stopped and restarted,
which of the following database monitor switches will be active?

A. STATEMENT, LOCK
.co
B. STATEMENT, SORT
sts
C. BUFFERPOOL, SORT
D. BUFFERPOOL, LOCK
lTe

Answer: A
tua

QUESTION NO: 43

After running AUTOCONFIGURE for a database, sort memory heap (SORTHEAP) was not
Ac

enabled for automatic tuning. Which of the following is the reason?

A. SHEAPTHRES in the database manager configuration is set to zero.


B. SHEAPTHRES in the database manager configuration is not set to -1.
C. SHEAPTHRES in the database manager configuration is not set to zero.
D. SHEAPTHRES in the database manager configuration is not set to auto.

Answer: C

QUESTION NO: 44

In an OLTP environment, if a query joins two tables on their primary key, which of the following
join methods is preferred?

"Pass Any Exam. Any Time." - www.actualtests.com 19


IBM 000-731: Practice Exam
A. Hash join
B. Starjoin
C. Merge join
D. Nested-loop join

Answer: D

QUESTION NO: 45

A database named DEV, which was using circular logging, just crashed.

The RESTART command fails with the error code SQL0290N. Close examination of the
db2diag.log file reveals that the tablespace TEMPSPACE1 may be damaged and has been placed
in Drop Pending state.

m
What needs to be done in order to successfully restart the DEV database?
.co
A. 1. Restart the DEV database using the following command:
RESTART DATABASE dev DROP PENDING TABLESPACES (tempspacel)
sts
2. Drop the damaged, offline system temporary table space TEMPSPACE1.
B. 1. Drop the system temporary table space TEMPSPACE1.
2. Recreate the system temporary table space TEMPSPACEL
lTe

3. Restart the DEV database using the following command: RESTART DATABASE dev
C. 1. Restart the DEV database using the following command: RESTART DATABASE dev DROP
PENDING TABLESPACES TEMPSPACE1'"
tua

2. Drop the system temporary table space TEMPSPACEL


3. Recreate the system temporary table space TEMPSPACEL
D. 1. Drop the system temporary table space TEMPSPACE1.
Ac

2. Restart the DEV database using the following command: RESTART DATABASE dev
3. Create the system temporary table space TEMPSPACEL

Answer: C

QUESTION NO: 46

In a split mirror environment, which of the following commands is used to initialize a mirrored
database as a backup copy that can be used to restore the primary database?

A. db2inidb mydb as mirror


B. db2inidb mydb as backup
C. db2inidb mydb as standby

"Pass Any Exam. Any Time." - www.actualtests.com 20


IBM 000-731: Practice Exam
D. db2inidb mydb as snapshot

Answer: A

QUESTION NO: 47

A DB2 application developer creates an SQL stored procedure. Inside the procedure, a static SQL
statement reads data from a table called EMPLOYEE and a dynamic SQL statement inserts data
into a table called PAYROLL Assuming that the default pre-compile and bind options are used,
what privileges would an application user need in order to successfully invoke the stored
procedure?

A. EXECUTE privilege on the stored procedure


B. SELECT privilege on the EMPLOYEE table INSERT privilege on the PAYROLL table
C. EXECUTE privilege on the stored procedure INSERT privilege on the PAYROLL table

m
D. EXECUTE privilege on the stored procedure SELECT privilege on the EMPLOYEE table

Answer: C
.co
sts

QUESTION NO: 48

Which of the following is used to protect a database from the accidental deletion of an active log
lTe

file and data corruption of log files caused by hardware failure?

A. newlogpath
tua

B. failarchpath
C. mirrorlogpath
D. overflowlogpath
Ac

Answer: C

QUESTION NO: 49

Based on the following database manager configuration parameter values :


MAXAGENTS 400
MAX_COORDAGENTS 200
MAXCAGENTS100
NUM_POOLAGENTS 200
NUMJNITAGENTS 50

What is the maximum number of applications that can be executing concurrently in the instance?

"Pass Any Exam. Any Time." - www.actualtests.com 21


IBM 000-731: Practice Exam
A. 50
B. 100
C. 200
D. 400

Answer: B

QUESTION NO: 50

Given the following situation:

Table T1 has defined views V1, V2, V3 and V4.

User USR1 has CONTROL privilege on Table T1.

m
User USR2 has SYSMAINT authority.
.co
User USR2 has been explicitly granted SELECT privilege on table T1 and views V1 and V3.
sts
If user USR1 revokes the SELECT privilege on table T1 from user USR2, what will happen with
the SELECT privilege USR2 had on the view V1?
lTe

A. SELECT privilege for the view V1 will be revoked from user USR2.
B. SELECT privilege for the view V1 will not be revoked from user USR2.
C. SELECT privileges for all views defined on table T1 will be revoked from user USR2.
tua

D. SELECT privilege for the view V1 will be revoked from user USR2; SELECT privilege for the
view V3 will not be affected.

Answer: B
Ac

QUESTION NO: 51

Which of the following event monitor types is defined and active for all databases by default?

A. DATABASE
B. DEADLOCKS
C. BUFFERPOOLS
D. CONNNECTIONS

Answer: B

"Pass Any Exam. Any Time." - www.actualtests.com 22


IBM 000-731: Practice Exam
QUESTION NO: 52

Which of the following statements about point in time recovery is true?

A. It requires the instance parameter FAILARCHPATH to be set appropriately.


B. It can only read log files from the log path where they were originally written.
C. It must be to a time after the minimum recovery time from the LIST TABLESPACES command.
D. It cannot be accomplished while users are connected to the database. A FORCE
APPLICATION command is required before the ROLLFORWARD command can be issued.

Answer: C

QUESTION NO: 53

Given the following table definition:

m
CREATE TABLE products
.co
(
prodID INTEGER NOT NULL,
sts

category CHAR(3) NOT NULL CHECK (category IN ('441', '323', '934', '832', '615')),
description VARCHAR(200) NOT NULL,
lTe

quantity INTEGER CHECK (quantity > 0),


sellprice DECIMAL(7,2),
buyprice DECIMAL(7,2) ,
tua

CONSTRAINT uniqueid PRIMARY KEY(prodlD),


CONSTRAINT zeroloss CHECK (sellprice > buyprice)
);
Ac

How many INSERT statements in the following sequence will succeed assuming the table is
initially empty?

INSERT INTO products (prodID, category, description, buyprice) VALUES (1, '832', 'medium white
shirt1, 6.99);
INSERT INTO products (prodID, category, sellprice, buyprice) VALUES (3, '323', 28.99, 26.99);
INSERT INTO products (prodID, category, description, quantity) VALUES (1, '934', 'white shoe',
10);
INSERT INTO products (prodID, category, description, buyprice, quantity) VALUES (6, '441', 'gray
sock', 0.75, 0);
INSERT INTO products (prodID, category, description, quantity, buyprice, sellprice) VALUES (2,
'615', 'blue hat',
3, 20.00, 25.65);

"Pass Any Exam. Any Time." - www.actualtests.com 23


IBM 000-731: Practice Exam
A. 1
B. 2
C. 3
D. 4

Answer: B

QUESTION NO: 54

Which of the following tools is accessible through the DB2 Control Center?

A. Health Center
B. Query Patroller
C. Developer Workbench
D. Command Line Processor

m
Answer: A
.co
QUESTION NO: 55
sts

A FINANCE database must be available 24 hours a day, seven days a week.


Which of the following commands can be issued to back up the FINANCE database, while
lTe

minimizing the impact on other database users?

A. BACKUP DATABASE finance ONLINE TO <backup_location> COMPRESS


tua

B. BACKUP DATABASE finance TO <backup_location> UTIL_IMPACT_PRIORITY 5


C. BACKUP DATABASE finance ONLINE TO <backup_location> UTIL_IMPACT_PRIORITY 15
D. BACKUP DATABASE finance ONLINE TO <backup_location> UTIL_IMPACT_PRIORITY 100
Ac

Answer: C

QUESTION NO: 56

User USER1 writes a dynamic SQL application which reads data from table T1, inserts data into
table T2 and reads data from table T3 in the database DB1. The following privileges have been
granted:

- INSERT on T2 is granted to USER1


- SELECT on T3 is granted to PUBLIC
- CONNECT to DB1 is granted to PUBLIC
- SELECT on T1 is granted to group GRP1

"Pass Any Exam. Any Time." - www.actualtests.com 24


IBM 000-731: Practice Exam
USER1 is a member of group GRP1.

Which of the following will allow USER1 to successfully bind the application to database DB1?

A. GRANT BIND ON db1 TO user1


B. GRANT SELECT ON t3 TO user1
C. GRANT BINDADD ON db1 TO user1
D. GRANT SELECT ON t3 AND t1 TO user1

Answer: C

QUESTION NO: 57

The following comment immediately before the last SQL statement in the input file -

m
#SET FREQUENCY 1000 informs the Design Advisor:

A. To run the index analysis 1,000 times.


.co
B. To execute all SQL statements in the workload file 1,000 times.
C. To evaluate the SQL statement following the comment 1,000 times.
sts

D. To try up to 1,000 combinations of optimizations for the workload.

Answer: C
lTe

QUESTION NO: 58
tua

How many extents are allocated when the following EMPLOYEE table is created in the DMS table
space TBS03?
Ac

CREATE TABLE EMPLOYEE


(ID SMALLINT NOT NULL,
NAMEVARCHAR(9),
DEPT SMALLINT CHECK (DEPT BETWEEN 10 AND 100),
JOB CHAR(5) CHECK (JOB IN ('Sales'.'Mgr','CIerk')),
HIREDATE DATE,
SALARY DECIMALS(7 ,2),
COMM DECIMALS(7 ,2),
NOTES LONG VARCHAR,
RESUME BLOB,
CONSTRAINT YEARSAL CHECK (YEAR(HIREDATE) > 1986 OR SALARY > 40500)
) IN TBS03 ;

"Pass Any Exam. Any Time." - www.actualtests.com 25


IBM 000-731: Practice Exam
CREATE UNIQUE INDEX INX_U_EMP ON EMPLOYEE (ID );
CREATE INDEX INX_EMP_01 ON EMPLOYEE ( NAME );

A. 3
B. 5
C. 6
D. 10

Answer: D

QUESTION NO: 59

Table T1 is accessed frequently by two applications. One application returns the data in column
C1 in ascending order and the other returns the data in column C1 in descending order. What is
the minimum required to speed up both applications?

m
A. CREATE INDEX inx1 ON- t1(c1)
B. CREATE CLUSTER INDEX inxl ON t1(c1)
.co
C. CREATE INDEX inx1 ON t1(c1 ASC) CREATE INDEX inx2 ON t1(c1 DESC)
D. CREATE UNIQUE INDEX inx1 ON t1(c1 ASC) CREATE UNIQUE INDEX inx2 ON t1(c1 DESC)
sts

Answer: A
lTe

QUESTION NO: 60
tua

Given the following requirements:

table t1 with columns c1, c2 and c3 column c1 must be unique


Ac

To allow index only access for the following SQL statement, which CREATE INDEX statement
must be used?

SELECT c1 , c2, c3 FROM t1 ORDER BY c1

A. CREATE UNIQUE INDEX inxl ON t1 (c1)


B. CREATE INDEX inx1 ON t1 (c1 , c2, c3)
C. CREATE INDEX inx1 ON t1 (c1) INCLUDE (c2, c3)
D. CREATE UNIQUE INDEX inx1 ON t1 (c1) INCLUDE (c2,c3)

Answer: D

"Pass Any Exam. Any Time." - www.actualtests.com 26


IBM 000-731: Practice Exam
QUESTION NO: 61

Which of the following commands can be used to force all users and applications from all
databases?

A. FORCE ALL
B. FORCE USERS ALL
C. FORCE APPLICATION ALL
D. FORCE USERS, APPLICATION ALL

Answer: C

QUESTION NO: 62

After restoring a full database backup into a new database and connecting to the new database,

m
which of the following statements is correct?

.co
A. SQL procedures do not have to be recreated after restoring the database.
B. Transaction logs from the old database can be used to roll forward the new database.
C. No incremental or incremental delta backups are allowed until a non-incremental backup is
sts
taken.
D. Incremental images and delta images from the original database can be restored in the new
database.
lTe

Answer: C
tua

QUESTION NO: 63
Ac

A database administrator creates two indexes on the same table. INX1 is in ascending order and
INX2 is in descending order. The DISALLOW REVERSE SCANS option is not specified in the
CREATE INDEX statement. Which of the following will occur?

A. INX1 and INX2 are created and both will default to ALLOW REVERSE SCANS.
B. INX1 and INX2 will be created in descending order and both will default to ALLOW REVERSE
SCANS. DB2 will issue a warning message.
C. INX1 and INX2 will be created in ascending order and both will default to ALLOW REVERSE
SCANS.
DB2 will issue a warning message.
D. INX1 will be created and default to ALLOW REVERSE SCANS. INX2 will fail to be created.
DB2 will issue a duplicate index warning message.

Answer: D

"Pass Any Exam. Any Time." - www.actualtests.com 27


IBM 000-731: Practice Exam

QUESTION NO: 64

An excerpt from an application snapshot reveals the following:

Coordinator agent process or thread ID = 1413166


Degree of parallelism requested = 6
umber of agents working on statement = 4
Number of subagents created for statement = 4

Agent process/thread ID = 1413166


Agent process/thread ID = 2670796
Agent process/thread ID = 2703374
Agent process/thread ID = 1736882

m
Agent process/thread ID = 1724474

.co
Which of the following configurations would be observed?

A. INTRA_PARALLEL ON and MAXAGENTS 4 and database configuration DFT_DEGREE 1


sts
B. INTRA_PARALLEL ON and MAX_QUERYDEGREE 3 and database configuration
DFT_DEGREE 4
C. INTRA_PARALLEL ON and MAX_QUERYDEGREE 6 and database configuration
lTe

DFT_DEGREE 1
D. INTRA_PARALLEL ON and MAX_QUERYDEGREE 4 and database configuration
DFT_DEGREE ANY
tua

Answer: D
Ac

QUESTION NO: 65

Given the following IMPORT command:

IMPORT FROM myfile.ixf OF IXF


XML FROM /tmp/xmlpath
XMLVALIDATE USING XDS
MESSAGES msg.out
REPLACE_CREATE INTO newtable

If the command fails due to the transaction logs being full, which of the following will allow the
IMPORT to complete successfully?

"Pass Any Exam. Any Time." - www.actualtests.com 28


IBM 000-731: Practice Exam
A. Re-run the IMPORT with the NOTIMEOUT option.
B. Re-run the IMPORT with the COMMITCOUNT AUTOMATIC option.
C. Re-run the IMPORT with the REPLACE option instead of the REPLACE_CREATE option.
D. Re-run the IMPORT without the XMLVALIDATE USING XDS option; validate the documents
after the IMPORT completes with the XMLVALIDATE function.

Answer: B

QUESTION NO: 66

Given the following CREATE DATABASE statement:

create database v9cert on /database/dbuser using codeset utf-8 territory US restrictive

m
Which of the following comments is true if the DBA wants to enable automatic storage for all user-
created table spaces within the v9cert database?
.co
A. Automatic storage is enabled for this database which will have the database created in
/database/dbuser while user table spaces will be created in dftdbpath.
sts
B. Automatic storage is enabled for the database which will have the database created in
/database/dbuser and user table spaces created in /database/dbuser.
C. Automatic storage is enabled for the database which will have the database created in
lTe

dftdbpath and user table spaces created in /database/dbuser.


D. Automatic storage is not enabled for the database because multiple paths are not supplied in
the CREATE DATABASE command.
tua

Answer: B
Ac

QUESTION NO: 67

Given the following CREATE DATABASE command:

create database v9cert on /database/dbuser using codeset utf-8 territory US restrictive

Which of the following comments are true?

A. The PUBLIC group will not be granted any privileges automatically since all privileges will be
restricted.
B. The PUBLIC group will only be granted CONNECT privilege for the database automatically and
all other privileges will be restricted.
C. The PUBLIC group will automatically be granted SELECT access to the SYSCAT and
SYSSTAT catalog views with all other privileges being restricted.

"Pass Any Exam. Any Time." - www.actualtests.com 29


IBM 000-731: Practice Exam
D. The PUBLIC group will automatically be granted privileges such as CONNECT and SELECT for
catalog views as well as USE privilege on USERSPACE1 with all other privileges being restricted.

Answer: A

QUESTION NO: 68

A user wants to create view V1 on table T1 and wants to make sure that every row which is
inserted or updated via the view conforms to the view definition. Which of the following statements
should be used to create the view?

A. create view V1 as select c1 c2 from T1 where c1 < 50000


B. create view V1 as select c1, c2 from T1 where c1 < 50000 with force option
C. create view V1 as select c1, c2 from T1 where c1 < 50000 with check option
D. create view V1 as select c1, c2 from T1 where c1 < 50000 constraint definition

m
Answer: C
.co
QUESTION NO: 69
sts

Tables T1 and T2 have INSERT triggers defined. While populating table T1, the triggers must be
fired, and while populating table T2, the triggers must not be fired. Which of the following will
lTe

accomplish this?

A. Populate table T1 with LOAD Populate table T2 with LOAD


tua

B. Populate table T1 with LOAD Populate table T2 with IMPORT


C. Populate table T1 with IMPORT Populate table T2 with LOAD
D. Populate table T1 with IMPORT Populate table T2 with IMPORT
Ac

Answer: C

QUESTION NO: 70

To get the Design Advisor to give recommendations on a workload based on a set of dynamic
SQL statements on database SAMPLE captured by the snapshot monitor, which of the following
should be done?

A. Issue the following commands:


db2 RESET MONITOR FOR DATABASE sample
db2advis -d sample -g
B. Write a program to get the SQL statement using the snapshot monitor API and feed it to the
advisor using the advisor API
"Pass Any Exam. Any Time." - www.actualtests.com 30
IBM 000-731: Practice Exam
C. Issue the following commands:
db2 RESET MONITOR FOR DATABASE sample
db2 GET SNAPSHOT FOR DYNAMIC SQL WRITE TO FILE myfile
db2advis -d sample -wf myfile
D. Create table MYSNAPTAB with the structure of the table function SNAPSHOT_DYN_SQL then
issue the following commands:
db2 INSERT INTO mysnaptab SELECT* FROM TABLE (SNAPSHOT_DYN_SQL(",-1)) AS x
db2advis -d sample -wt mysnaptab

Answer: A

QUESTION NO: 71

Which of the following utilities can copy all 50 tables created under a single schema to another

m
database with the fewest required steps?

A. db2move
B. db2look
.co
C. db2copy
sts
D. db2batch

Answer: A
lTe

QUESTION NO: 72
tua

Which of the following event monitor options can increase application response time as the
suspended agent and any dependent agents cannot run until the event monitor buffers are clear?
Ac

A. BLOCK
B. BUFFER
C. NONBLOCK
D. SHEAPTHRES SHR

Answer: A

QUESTION NO: 73

Which of the following commands is used to disable the Configuration Advisor for a new
database?

A. db2set DB2_ENABLE_AUTOCONFIG_DEFAULT=NO

"Pass Any Exam. Any Time." - www.actualtests.com 31


IBM 000-731: Practice Exam
B. db2set DB2_ENABLE_AUTOCONFIG_DEFAULT=YES
C. db2 update dbm cfg using AUTOMATIC_DEFAULT ON db2stop db2start
D. db2 update db cfg for SAMPLE using AUTOCOFIGURE ON db2 terminate

Answer: A

QUESTION NO: 74

The instance INST1 has two active databases DATAB1 and DATAB2.
Which of the following commands must be used to specify that the databases use an equal
amount of memory and combined use approximately 80% of the total memory available?

A. CONNECTTO datab1 AUTOCONFIGURE USING mem_percent 20 CONNECTTO datab2


AUTOCONFIGURE USING mem_percent 20
B. CONNECTTO datab1 AUTOCONFIGURE USING mem_percent 40 CONNECTTO datab2

m
AUTOCONFIGURE USING mem_percent 40
.co
C. CONNECTTO datab1 AUTOCONFIGURE USING mem_percent 50 CONNECTTO datab2
AUTOCONFIGURE USING mem_percent 50
D. CONNECTTO datab1 AUTOCONFIGURE USING mem_percent 80 CONNECTTO datab2
sts
AUTOCONFIGURE USING mem_percent 80

Answer: B
lTe

QUESTION NO: 75
tua

A table named EMPLOYEE contains 100,000 records. The following query seems to take a long
time to execute when it is run against the EMPLOYEE table:
Ac

SELECT EMPID FROM employee WHERE EMPID > 1000

A DBA creates an index on the EMPID column but performance does not improve. Which of the
following operations will correct this problem?

A. REORG
B. REBIND
C. REORGCHK
D. RUNSTATS

Answer: D

"Pass Any Exam. Any Time." - www.actualtests.com 32


IBM 000-731: Practice Exam
QUESTION NO: 76

What is the maximum size of table space TBS01 given that the size of fs1 is 16GB, fs2 is 10GB
and fs3 is 8GB?

CREATE REGULAR TABLESPACE TBS01 PAGESIZE 16384 MANAGED BY SYSTEM


USING (7fs1', '/fs2,1 Vfe3)
EXTENTSIZE 32
PREFETCHSIZE 64
BUFFERPOOLBP016K;

A. 34 GB
B. 26 GB
C. 24 GB
D. 18 GB

m
Answer: C

.co
QUESTION NO: 77
sts

Which of the following is the most complete list of methods by which the EXPORT utility can be
invoked?
lTe

A. Control Center and the CLP


B. Control Center, CLI, and the CLP
C. Control Center, CLP, and the ADMIN_CMD stored procedure
tua

D. Control Center, CLI, CLP, and ADMIN_CMD stored procedure

Answer: D
Ac

QUESTION NO: 78

Which of the following queries can be used to determine whether or not table TAB1 should be
reorganized?

A. SELECT TABNAME, LAST_REORG_TIME FROM SYSCATTABLES WHERE TABNAME =


TAB1'
B. SELECT TABNAME, OVERFLOW FROM SYSCATTABLES WHERE TABNAME = TAB1'
C. SELECT TABNAME, PCTFREE FROM SYSCATTABLES WHERE TABNAME = TAB1
D. SELECT TABNAME, CARD FROM SYSCATTABLES WHERE TABNAME = TAB1'

Answer: B

"Pass Any Exam. Any Time." - www.actualtests.com 33


IBM 000-731: Practice Exam

QUESTION NO: 79

If a large amount of data is being loaded into table MKT_VALUE, what does the following DB2
command do?

LOAD QUERY TABLE mkt value

A. Displays the status of the load


B. Allows users to query the data being loaded
C. Prevents any querying of the table MKT_VALUE during the load
D. Specifies a query is to be run immediately after the load operation

Answer: A

m
QUESTION NO: 80 .co
The DB2 command:
sts

LOAD FROM /dev/null OF DEL REPLACE INTO edw.chanl_dim;


lTe

Will do which of the following?

A. Report an error on "/dev/null" and fail.


B. Drop the table EDW.CHANL_DIM from the database.
tua

C. Delete all the rows from the table EDW.CHANL_DIM.


D. Load all the columns in the table EDW.CHANL DIM with NULLs.
Ac

Answer: C

QUESTION NO: 81

Given the following situation:

Table space ts1 with tables t1, t2, t3

Table space ts2 with tables t4, t5

Tables t1 and t4 have defined referential integrity on them (t1 is the parent, t4 is the child)

What happens after restoring the table space ts1 and issuing the following command?

"Pass Any Exam. Any Time." - www.actualtests.com 34


IBM 000-731: Practice Exam

db2 rollforward db sample to 2006-06-16-14.21.56 and stop tablespace(ts1)

A. The roll forward is executed to the end of logs.


B. The roll forward is not executed and an error message is generated.
C. The roll forward is executed and table t4 is placed in set integrity pending state.
D. The roll forward is executed and tables t1 and t4 are placed in set integrity pending state.

Answer: C

QUESTION NO: 82

What is the effect of increasing the Optimization Class from 5 to 7?

A. It tells DB2 to use a specific version of the DB2 optimizer when generating an access plan.

m
B. It tells the DB2 optimizer to use less optimization techniques when generating an access plan.
C. It tells the DB2 optimizer to use more optimization techniques when generating an access plan.
.co
D. It tells DB2 that a query is extremely important and should be executed ahead of all other
running queries.
sts
Answer: C
lTe

QUESTION NO: 83

A user has reported they cannot discover a DB2 database using Configuration Assistant, which of
tua

the following is most likely the cause?

A. The user has installed the wrong Windows client software.


Ac

B. DAS is not running on the server where the database resides.


C. The database was not ACTIVATED before attempting Discovery.
D. The user's Client Access Profile is missing an entry for the database.

Answer: B

QUESTION NO: 84

A database server has two instances with all databases created using the default parameters.
Instance instl with databases databl, datab2 and datab3 Instance inst2 with databases datab11,
datab12 and datab13 The instance instl and the database datab12 must not be able to be seen
using DISCOVERY to catalog databases and servers. Which of the following actions are required?

"Pass Any Exam. Any Time." - www.actualtests.com 35


IBM 000-731: Practice Exam
A. Update the dbm cfg for instance inst1 to discoverjnst = disable Update the db cfg for database
datab12 to discover_db = disable
B. Update the dbm cfg for instance inst1 to discoverjnst = disable Update the dbm cfg for instance
inst2 to discoverjnst = disable
C. Update the dbm cfg for instance inst1 to discoverjnst = disable Update the dbm cfg for instance
inst2 to discover_db = disable datab12
D. Update the dbm cfg for instance inst1 to discoverjnst = disable Update the db cfg for database
databl 1 and datab13 to discover db = enable

Answer: A

QUESTION NO: 85

What are the two security mechanisms that enable users to access DB2 data?

m
A. Authentication and Clearance
B. Authorization and Validation
C. Validation and Certification
.co
D. Authentication and Authorization
sts

Answer: D
lTe

QUESTION NO: 86

A developer wants to create a new user-defined function for the FINANCE database using the
tua

Control Center. Which statement best describes how the developer should proceed?

A. Right-click the "User-Defined Functions" folder under the FINANCE database and select the
Ac

"Create" option.
B. Right-click the "Routines" folder under the FINANCE database and select the "Create User-
Defined Function wizard" option.
C. A user-defined function cannot be created using the Control Center. Proceed with using the
Command Editor or the new DB2 V9 Developer Workbench.
D. Switch to the Control Center Development View, right-click the "User-Defined Function" folder
under the FINANCE database, and select the "Create" option.

Answer: C

QUESTION NO: 87

Which of the following describes the functionality of the db2diag tool?

"Pass Any Exam. Any Time." - www.actualtests.com 36


IBM 000-731: Practice Exam
A. Start or stop the db2diag.log.
B. Start or stop the Administration Notification log.
C. Filter and format the information available in the db2diag.log.
D. Filter and format the information available in the Administration Notification log.

Answer: C

QUESTION NO: 88

A DB2 database administrator can only see a subset of the database object folders in Control
Center. Which of the following is the most likely cause of this?

A. The Control Center View is set to Basic.


B. The database was not cataloged correctly.
C. An account with insufficient privileges is being used.

m
D. The database administrator is connecting from a Linux workstation, and the Control Center on
Linux does not have that additional functionality. .co
Answer: A
sts

QUESTION NO: 89
lTe

When a schema is explicitly created with the CREATE SCHEMA statement, which of the following
is true?
tua

A. The schema owner is assumed to be a user or a group.


B. The new schema owner is granted the privilege to explicitly create other schemas.
C. The schema owner is granted CREATEIN, DROPIN, and ALTERIN privileges on the schema
Ac

with the ability to grant these privileges to other users.


D. The schema owner is granted CREATEIN, DROPIN, and ALTERIN privileges on the schema
without the ability to grant these privileges to other users.

Answer: C

QUESTION NO: 90

In a decision support environment, if a query joins two tables, which of the following join methods
is preferred?

A. Hash join
B. Star join

"Pass Any Exam. Any Time." - www.actualtests.com 37


IBM 000-731: Practice Exam
C. Left outer join
D. Nested-loop join

Answer: A

QUESTION NO: 91

A DBA takes a full backup of the PRODUCTS database every Sunday.

During the week, two other backups are taken, one on Tuesday and one on Thursday. The weekly
backup images are retained for two months. The PRODUCTS database is about 800 GB, and
minimal updates to the database occur during the week. Assuming that storage costs are the
primary concern, which of the following commands would produce the smallest image for
Thursday's backup?

m
A. BACKUP DATABASE PRODUCTS TO /fs1/products/backup COMPRESS
.co
B. BACKUP DATABASE PRODUCTS INCREMENTAL TO /fs1/products/backup
C. BACKUP DATABASE PRODUCTS TO /fs1/products/backup EXCLUDE LOGS
D. BACKUP DATABASE PRODUCTS INCREMENTAL DELTA TO /fs1/products/backup
sts

Answer: D
lTe

QUESTION NO: 92

A DBA attempts to use the Task Center to schedule a daily database backup and is not
tua

successful. A GET ADMIN CFG command shows that TOOLSCAT_DB, TOOLSCATJNST, and
TOOLSCAT_SCHEMA are all NULL on the DB2 server where the backup task was attempted.
Ac

What must be done to enable scheduling of tasks on this server using the Task Center?

A. Use the CREATE DATABASE command to create a database called TOOLSDB.


B. Use the CREATE TOOLS CATALOG command to create the DB2 tools catalog tables in a new
or existing database.
C. Create a table space called SYSTOOLSPACE in the database that the Task Center was trying
to schedule a Backup for using CREATE TABLESPACE.
D. Create a new schema called TOOLSCAT in the database that the Task Center was trying to
schedule a Backup for and then use UPDATE ADMIN CFG to reference that database, instance
and schema.

Answer: B

"Pass Any Exam. Any Time." - www.actualtests.com 38


IBM 000-731: Practice Exam
QUESTION NO: 93

Based on the following DDL that was executed in a database with a default configuration:

CREATE REGULAR TABLESPACE TS_NAME1 IN DATABASE PARTITION GROUP


IBMDEFAULTGROUP
PAGESIZE 4096
MANAGED BY SYSTEM
USING (<container 1 >, <container 2>, <container 3>)
EXTENTSIZE 32
PREFETCHSIZE 96
BUFFERPOOL IBMDEFAULTBP
How much space does DB2 allocate when all existing pages in the table space are full?

A. 4 kilobytes

m
B. 32 kilobytes
C. 96 kilobytes
D. 128 kilobytes .co
Answer: D
sts

QUESTION NO: 94
lTe

Given the following statements:


tua

CREATE TABLE tabconst


(
c1 INTEGER NOT NULL,
c2 INTEGER,
Ac

CONSTRAINT gtzero CHECK (c1 > 0) ENFORCED,


CONSTRAINT Itzero CHECK (c2 < 0) NOT ENFORCED ENABLE QUERY OPTIMIZATION )

INSERT INTO tabconst (c1 c2) VALUES (0, 0)


INSERT INTO tabconst (c1 c2) VALUES (0, 1)
INSERT INTO tabconst (c1 c2) VALUES (1, -1)
INSERT INTO tabconst (c1 c2) VALUES (2, 0)
INSERT INTO tabconst (c1 c2) VALUES (1, 0)

SELECT c1 , c2 FROM tabconst WHERE (2 = 0


How many rows does the SELECT statement return?

A. 0
B1
"Pass Any Exam. Any Time." - www.actualtests.com 39
IBM 000-731: Practice Exam
C. 2
D. 3

Answer: A

QUESTION NO: 95

An application working with the SAMPLE database is experiencing poor performance. Which of
the following queries can be used to determine if lock contention is causing the problem?

A. SELECT* FROM SNAPSHOT_LOCK ('sample', -1)


B. SELECT* FROM SNAPSHOT_INFO ('sample', LOCK)
C. SELECT* FROM TABLE (SNAPSHOT_LOCK ('sample', -1)) AS SNAP_INFO
D. SELECT* FROM TABLE (SNAPSHOT_INFO ('sample', LOCK)) AS SNAP_INFO

m
Answer: C

.co
QUESTION NO: 96
sts
Given the following statement:

CREATE TABLE mytab (c1 INTEGER NOT NULL, c2 VARCHAR(20) NOT NULL, c3
lTe

VARCHAR(30))

What additional command will ensure that column C1 has unique values?
tua

A. CREATE CONSTRAINT myinx ON TABLE mytab (c1) UNIQUE


B. CREATE UNIQUE INDEX myinx ON TABLE mytab (c1)
Ac

C. CREATE INDEX myinx ON TABLE mytab (c1)


D. CREATE INDEX myinx ON TABLE mytab

Answer: B

QUESTION NO: 97

Given the following server information, which of the following commands will catalog this node?

Instance name: db2inst1


Port number: 60000
Service name: db2c_db2inst1
Host TCP/IP address: 10.205.15.100
Hostname: tcphost
"Pass Any Exam. Any Time." - www.actualtests.com 40
IBM 000-731: Practice Exam
Protocol: TCP/IP

A. CATALOG TCPIP NODE db2tcp REMOTE 10.205.15.100


B. CATALOG TCPIP NODE db2tcp REMOTE tcphost SERVER 60000
C. CATALOG TCPIP NODE db2tcp REMOTE tcphost SERVER db2inst1
D. CATALOG TCPIP NODE db2tcp REMOTE tcphost INSTANCE db2inst1

Answer: B

QUESTION NO: 98

A database administrator needs an alert generated when table space TS1 is filled up to 70% and
all other table spaces are filled up to 80%. How can the DBA accomplish this using the Health
Center?

m
A. Change the Global Settings for all table spaces and then change the Object Settings for table
space TS1.
.co
B. Change the Global Settings for all table spaces and then change the Instance Settings for table
space TS1.
C. Change the Instance Settings for all table spaces and then change the Object Settings for table
sts

space TS1.
D. Change the Instance Settings for all table spaces and then change the Tables pace Settings for
lTe

table space TS1.

Answer: A
tua

QUESTION NO: 99
Ac

Recovering a single table space to a point in time:

A. requires archive log files from the last restorable backup.


B. is not possible, table spaces must be recovered to end of logs.
C. is not possible if the disks for that table space are not recoverable.
D. requires the sysadmin to connect to the target database prior to issuing the command.

Answer: A

QUESTION NO: 100

For a database that is enabled for automatic storage, which command will create a DMS
tablespace TBSP_10 capable of storing 1TB of data?

"Pass Any Exam. Any Time." - www.actualtests.com 41


IBM 000-731: Practice Exam
A. create tablespace TBSP_10 managed by database
B. create tablespace TBSP_10 managed by automatic storage
C. create regular tablespace TBSP_10 managed by automatic storage
D. create large tablespace TBSP_10 managed by database automatic storage

Answer: B

QUESTION NO: 101

Which of the following identifies which users have SYSCTRL authority?

A. DB2 registry
B. System catalog
C. Database configuration
D. Database manager configuration

m
Answer: D
.co
QUESTION NO: 102
sts

In an HADR setup, which of the following options must be used to avoid the table space being
placed in restore pending state when the LOAD utility is run on the primary database?
lTe

A. COPY NO option specified and the standby database must be resynchronized


B. COPY YES option specified and the standby database must have access to the copy image
tua

C. From the standby database issue this command:


db2setDB2_LOAD_COPY_YES_OVERRIDE=c:\loaddir
D. From the primary database issue this command:
Ac

UPDATE DB CFG FOR sample USING DB2_LOAD_COPY_NO_OVERRIDE c:\loaddir

Answer: B

QUESTION NO: 103

What is the correct way to delete the instance level variable DB2C0MM from the DB2 Profile
Registry?

A. db2set DB2C0Mlv1=
B. db2set DB2C0MM-v
C. db2set -all DB2C0MM
D. db2set-null DB2C0MM

"Pass Any Exam. Any Time." - www.actualtests.com 42


IBM 000-731: Practice Exam
Answer: A

QUESTION NO: 104

Which of the following DB2 utilities can produce a graph of an optimizer query plan?

A. db2bfd
B. db2look
C. db2advis
D. db2expln

Answer: D

m
QUESTION NO: 105

Given the following notification log entry:


.co
2006-02-13-14.34.35.965000-300 I17502H435 LEVEL: Error
PID : 940 TID : 660 PROC : db2syscs.exe
sts

INSTANCE: DB2 NODE : 000 DB : SAMPLE


APPHDL : 0-1433 APPID: *LOCALDB2.050120082811
lTe

FUNCTION: DB2 UDB, data protection, sqlpsize, probe:20

RETCODE : ZRC=0x860F000A=-2045837302=SQLO_FNEX "File not found." DIAS411C A file ""


tua

could not be found.

Which letter from the function name sqlpsize should be used to look up information about this
Ac

function in the Support and Troubleshooting section of the Information Center?

A. The last letter


B. The fifth letter
C. The fourth letter
D. The second last letter

Answer: C

QUESTION NO: 106

Which of the following statements is NOT true regarding XML indexing in DB2 9?

A. XML indexes cannot contain relational data columns.

"Pass Any Exam. Any Time." - www.actualtests.com 43


IBM 000-731: Practice Exam
B. Unique XML indexes can be created by combining multiple columns.
C. DB2 might generate multiple index keys when it inserts values for a single document into the
index.
D. An index over XML data can be used to improve the efficiency of queries on XML documents
that are stored in an XML column.

Answer: A

QUESTION NO: 107

When a Database Administrator updates the UTIL_IMPACT_LIM parameter in the DBM CFG to a
value of 10, what can be expected when a backup operation is invoked?

A. The backup operation runs 10 times faster.


B. The backup operation priority will be increased to 10.

m
C. The backup operation will impact the workload by 90 percent.
.co
D. The backup operation will not impact the workload by more than 10 percent.

Answer: D
sts

QUESTION NO: 108


lTe

Which of the following utilities provides a report of memory status for instances, databases, and
agents?
tua

A. db2mtrk
B. db2mchk
C. db2expln
Ac

D. db2memview

Answer: A

QUESTION NO: 109

Which of the following utilities or commands can be used to estimate the space that will be saved
if a table is compressed?

A. db2pd
B. inspect
C. reorgchk
D. runstats

"Pass Any Exam. Any Time." - www.actualtests.com 44


IBM 000-731: Practice Exam
Answer: B

QUESTION NO: 110

A database administrator is granted DBADM authority on a database.


DBADM authority is later revoked when the administrator moves to a different division in the
company.
Which authorities would the administrator still retain, assuming that no other authorities were
granted or revoked?

A. No authorities
B. SYSMAINT authority
C. CREATE_EXTERNAL_ROUTINE authority
D. SECADM, CONNECT, and LOAD authorities

m
Answer: C
.co
QUESTION NO: 111
sts

A database administrator changes the value of the SORTHEAP parameter online. When will this
change become effective for running applications?
lTe

A. Immediately
B. At the statement boundary
C. At the connection boundary
tua

D. At the transaction boundary

Answer: B
Ac

QUESTION NO: 112

How can a DMS table space be created in a database such that as more data is stored in it, it can
automatically expand beyond its original file storage definition?

A. By using RESIZE YES in the CREATE TABLESPACE statement


B. By using AUTORESIZE YES in the CREATE TABLESPACE statement
C. Only SMS table spaces can dynamically expand based on its underlying file system
D. This feature is turned on automatically for DMS table spaces and can be disabled by RESIZE
NO by the ALTER TABLESPACE statement

Answer: B

"Pass Any Exam. Any Time." - www.actualtests.com 45


IBM 000-731: Practice Exam

QUESTION NO: 113

Given a Table MYTAB with columns C1, C2 and C3. C1 must be unique, C2 is not unique. To get
the best possible performance for the frequently issued SQL statement:

SELECT c1 , c2 FROM mytab ORDER BY c1


Which of the following statements should be executed?

A. CREATE INDEX ix1 ON mytab (c1, c2)


B. CREATE INDEX ix1 ON mytab (c2, d)
C. CREATE UNIQUE INDEX ix1 ON mytab(c1) CREATE INDEX ix2 ON mytab (c2)
D. CREATE UNIQUE INDEX ix1 ON mytab (c1) INCLUDE (c2)

Answer: D

m
QUESTION NO: 114
.co
A database server is running two DB2 instances and each instance has three databases under its
sts

control. To determine the AUTHENTICATION type(s) used by the server, where must the DBA
look?
lTe

A. In the DB2 registry


B. In the db2profile file
C. In each database configuration file
tua

D. In each database manager configuration file

Answer: D
Ac

QUESTION NO: 115

Users are reporting slow response for queries running against the SEC. CREDITCARD table. The
following command was run:

db2 "reorgchk current statistics on table SEC. CREDITCARD"

The resulting output does not indicate a need to reorganize data in the SEC. CREDITCARD table.
What steps should be taken next?

A. Rebind all packages that use the SEC. CREDITCARD table.


B. Drop and rebuild all indexes on the SEC. CREDITCARD table.

"Pass Any Exam. Any Time." - www.actualtests.com 46


IBM 000-731: Practice Exam
C. Run statistics and re-run the reorgchk command on the SEC. CREDITCARD.
D. Reorganize the indexes for the SEC. CREDITCARD table using a temporary table space.

Answer: C

QUESTION NO: 116

Health indicators exist at which of the following levels?

A. Global, instance, database, and table space


B. Instance, database, table space, and buffer pool
C. Global, database, table space, and table space container
D. Instance, database, table space, and table space container

Answer: D

m
QUESTION NO: 117
.co
What is the isolation level that the EXPORT utility is bound with?
sts

A. Repeatable Read
B. Unrepeatable Read
lTe

C. Uncommitted Read
D. Cursor Stability
tua

Answer: D
Ac

QUESTION NO: 118

A DBA needs to populate table T1 with a large amount of data and wants to incur a minimal
amount of logging. The DBA also needs to populate table T2 with data and make sure that
constraints are enforced during population. What is the best approach for populating the tables?

A. LOAD data into table T1 LOAD data into table T2


B. IMPORT data into table T1 IMPORT data into table T2
C. IMPORT data into table T1 LOAD data into table T2
D. LOAD data into table T1 IMPORT data into table T2

Answer: D

"Pass Any Exam. Any Time." - www.actualtests.com 47


IBM 000-731: Practice Exam
QUESTION NO: 119

If an IMPORT is running with the ALLOW WRITE ACCESS option, which of the following
statements is true?

A. IMPORT has to request a table lock after every commit.


B. If there are other applications holding an incompatible table lock, the IMPORT utility will start
inserting data into pages where other applications are not writing.
C. While IMPORT is running, any other application requesting an incompatible table lock will write
data to the database transaction logs until the IMPORT commits or rolls back.
D. If there are other applications holding an incompatible row lock, the IMPORT utility will start
inserting into the database transaction logs until all of these applications commit or rollback.

Answer: A

m
QUESTION NO: 120
.co
Which of the following statements best describes DB2's table partitioning capability?

A. It does not work with DPF.


sts
B. It is not allowed with MQTs.
C. It is the same as using UNION of multiple tables.
D. It improves performance through data partition elimination.
lTe

Answer: D
tua

QUESTION NO: 121


Ac

On a DB2 server with two instances, instl and inst2, instl is the default and current instance. Which
of the following wil successfully start the instance inst2?

A. db2start
B. db2start inst2
C. set db2instance=inst2 db2start
D. set db2instance inst2 db2start

Answer: C

QUESTION NO: 122

Given the following scenario:

"Pass Any Exam. Any Time." - www.actualtests.com 48


IBM 000-731: Practice Exam
Backup database DB1 on July 15th.

Rename table space TS1 to TS1A on July 19th.

Restore this table space from the backup taken on July 15th.

In order to roll forward the table space to 2006-08-03-14.21.56, which of the following commands
must be issued?

A. ROLLFORWARD DB dbl TO 2006-08-03-14.21.56 AND STOP TABLESPACE(ts)


B. ROLLFORWARD DB dbl TO 2006-08-03-14.21.56 AND STOP TABLESPACE(ts1a)
C. ROLLFORWARD DB dbl TO 2006-08-03-14.21.56 AND STOP TABLESPACE(ts1 TO ts1a)
D. ROLLFORWARD DB dbl TO 2006-08-03-14.21.56 AND STOP TABLESPACE(ts1 RENAME
ts1a)

m
Answer: B

QUESTION NO: 123


.co
sts
The DB2 instance "db2inst1" has been created in the /home/db2inst1 directory. If the
DFTDBPATH database manager configuration parameter contains no value and the following
command is executed: CREATE DATABASE newdb Where will the NODE0000 subdirectory of
lTe

the database NEWDB reside?

A. In the /home/db2inst1 subdirectory


tua

B. In the /home/db2inst1/newdb subdirectory


C. lnthe/home/db2inst1/db2inst1 subdirectory
D. In the /home/db2inst1/db2inst1/newdb subdirectory
Ac

Answer: C

QUESTION NO: 124

Which of the following TWO commands will apply AUTOCONFIGURE recommended changes to
buffer pools?

A. AUTOCONFIGURE USING <options> APPLY NONE


B. AUTOCONFIGURE USING <options> APPLY DB ONLY
C. AUTOCONFIGURE USING <options> APPLY DB AND DBM
D. AUTOCONFIGURE USING <options> APPLY BUFFERPOOLS ONLY
E. AUTOCONFIGURE USING <options> APPLY DB AND BUFFERPOOLS ONLY

"Pass Any Exam. Any Time." - www.actualtests.com 49


IBM 000-731: Practice Exam
Answer: B,C

QUESTION NO: 125

There is a job in Task Center scheduled to run every Saturday. The Scheduler is turned off on
Friday for system maintenance and then restarted on Monday. Under which of the following
conditions is the job scheduled for Saturday executed when the Scheduler is restarted?

A. The exec_exp_task DB2 registry is set to yes.


B. The exec_exp_task Database configuration parameter is set to yes.
C. The exec_exp_task Database Manager configuration parameter is set to yes.
D. The exec_exp_task Administration server configuration parameter is set to yes.

Answer: D

m
QUESTION NO: 126 .co
Given the following statements:
sts

CREATE TABLESPACE tbspl MANAGED BY DATABASE USING


(FILE conta 10000);
lTe

CREATE TABLESPACE tbsp2 MANAGED BY DATABASE USING


(FILE contb 10000);
CREATE TABLESPACE tbsp3 MANAGED BY DATABASE USING
tua

(FILE contc 10000);


CREATE TABLE partjab (cO INT, d INT) LONG IN tbspl CYCLE INDEX IN tbsp2 PARTITION BY
(cO) (PART parti STARTING FROM (1) ENDING at (10000), PART part2 STARTING FROM
Ac

(10001) ENDING at (20000), PART part3 STARTING FROM (20001) ENDING at (20010),

PART part4 STARTING FROM (20011) ENDING at (20020));

CREATE INDEX idx1_part_tab on partjab (cO) IN tbsp3;

In which of the following table spaces would the index be placed?

A. TBSP1
B. TBSP2
C. TBSP3
D. USERSPACE1

Answer: C

"Pass Any Exam. Any Time." - www.actualtests.com 50


IBM 000-731: Practice Exam

QUESTION NO: 127

Which of the following statements about SCHEMA objects is true?

A. A schema must always be associated with a user.


B. Triggers and sequences do not have schemas associated with them.
C. After creating a new database, all users who successfully authenticate with the database have
the ability to create a new schema.
D. If a schema is not explicitly specified in a SQL statement, the PUBLIC schema is assumed.

Answer: C

m
QUESTION NO: 128

What is the correct method of obtaining the global information on DB2 systems and features
installed on a DB2 V9 database server on Linux?
.co
A. rpm
sts
B. db2ls
C. db2gs
D. pkgadd
lTe

Answer: B
tua

QUESTION NO: 129


Ac

The database sample is created using the following command:

CREATE DATABASE sample ON /databases

In order to update statistics for only the tables that need it, between the hours of midnight and
2am, what actions must be taken?

A. Enable HEALTH MONITOR for the database.


B. Update the relevant database configuration parameters.
C. Update the relevant database manager configuration parameters.
D. Use automatic maintenance and define an appropriate maintenance window.

Answer: D

"Pass Any Exam. Any Time." - www.actualtests.com 51


IBM 000-731: Practice Exam
QUESTION NO: 130

Which command will list all registry variables that are set for the current or default instance?

A. db2set-lr
B. db2set -all
C. db2set-inst
D. db2set DB2INSTDEF

Answer: B

QUESTION NO: 131

USER1 needs to remove table TABLE1 from the PAYROLL database.

m
Assuming USER1 has no privileges on TABLE1, which of the following must occur before USER1
will be allowed to drop the table?
.co
A. A user with SYSADM authority must execute the statement GRANT DELETE ON tablel TO
used.
sts
B. A user with DBADM authority must execute the statement GRANT CONTROL ON tablel TO
used.
C. A user granted DELETE WITH GRANT OPTION privilege on TABLE1 must execute the
lTe

statement GRANT DELETE ON tablel TO used.


D. A user granted CONTROL WITH GRANT OPTION privilege on TABLE1 must execute the
statement GRANT CONTROL ON tablel TO used.
tua

Answer: B
Ac

QUESTION NO: 132

Which of the following database manager configuration settings can cause queries to be resolved
slower than usual the first time they are executed after a database restart?

A. INDEXREC=SYSTEM
B. INDEXREC=ACCESS
C. INDEXREC=RESTART
D. INDEXREC=FIRSTEXEC

Answer: B

"Pass Any Exam. Any Time." - www.actualtests.com 52


IBM 000-731: Practice Exam
QUESTION NO: 133

If these commands are executed in the order shown:

CREATE EVENT MONITOR TABLEMON FOR TABLES


WRITE TO TABLE MON_TABLE;
SET EVENT MONITOR TABLEMON STATE 1;
DROP EVENT MONITOR TABLEMON;

Which of the following is true?

A. Event monitor TABLEMON is dropped and table MON_TABLE is dropped.


B. Event monitor TABLEMON is dropped and output is in table MON_TABLE.
C. Event monitor TABLEMON is deactivated and output is in table MON_TABLE.
D. Event monitor TABLEMON is active and output is written to table MON_TABLE.

m
Answer: D

.co
QUESTION NO: 134
sts

Which of the following is the correct command for obtaining detailed information about a table
space, including its current status?
lTe

A. select * from syscat.tablespaces


B. get snapshot for tablespaces on sample
C. list tablespace containers show detail
tua

D. get snapshot for tablespace containers on sample

Answer: B
Ac

QUESTION NO: 135

Which of the following settings would allow 20 sorts with a maximum of 10MB each to run
concurrently on a 64-bit instance?

A. Set the DB SHEAPTHRES to 50000 and the DB SORTHEAP to 2500.


B. Set the DBM SHEAPTHRES to 50000 and the DB SORTHEAP to 2500.
C. Set the DBM SHEAPTHRES to 50000 and the DBM SORTHEAP to 2500.
D. Set the DBM SHEAPTHRES SHR to 50000 and the DBM SHEAPTHRES to 2500.

Answer: B

"Pass Any Exam. Any Time." - www.actualtests.com 53


IBM 000-731: Practice Exam
QUESTION NO: 136

Which one of the following data organization schemes should be used in isolation?

A. DISTRIBUTE BY HASH
B. PARTITION BY RANGE
C. ORGANIZE BY DIMENSIONS
D. ORGANIZE BY KEY SEQUENCE

Answer: D

QUESTION NO: 137

A recovery of database DB1 is started by issuing RECOVER DATABASE DB1 TO END OF


LOGS. The recovery fails during the rollforward phase. In order to continue the recovery from the

m
point of failure, which of the following commands should be executed?

A. RECOVER DATABASE DB1 RESTART


B. RECOVER DATABASE DB1 TO END OF LOGS
.co
C. RECOVER DATABASE DB1 TO END OF LOGS RESTART
sts
D. RECOVER DATABASE DB1 CONTINUE TO END OF LOGS

Answer: B
lTe

QUESTION NO: 138


tua

Given the following command:


Ac

LOAD FROM datafile2.del OF DEL INSERT INTO tablel ALLOW READ ACCESS

What data can be read by other transactions during the LOAD operation?

A. Only the data that is being loaded into TABLE1


B. No data in TABLE1 can be accessed until the load completes
C. All data in TABLE1 including the data currently being loaded
D. Only data in TABLE1 that existed prior to the load invocation

Answer: D

"Pass Any Exam. Any Time." - www.actualtests.com 54

Das könnte Ihnen auch gefallen