Exam : 000-731
Title : DB2 9 DBA for Linux UNIX and Windows������������
���
Ver : 09-03-07
000-731
Actualtests.com - The Power of Knowing
QUESTION 1
1. A system Managed Table space is created with three containers. Container 1 is
limited to 1 GB of storage. Containers 2 each. Approximately, what is the maximum
amount of data that can be stored in this table space?
A. 1 GB
B. 3 GB
C. 5 GB
D. 11 GB
Answer: B
QUESTION 2
Which of the following utilities provides a report of memory status for instances,
databases and agents?
A. db2mtrk
B. db2mchk
C. db2expln
D. db2Memview
Answer: A
QUESTION 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?
A. CREATE INDEX e1 on Employee(firstname, midinit, lastname)
B. CREATE UNIQUE INDEX e1 on employee(firstname, midinit, lastname)
C. ALTER TABLE EMPLOYEE ADD CONSTRAINT Const1
UNIQUE(Firstname,midinit,lastname)
D. ALTER TABLE employee ADD CONSTRAINT const1 Primary
KEY(Firstname,midinit,lastname)
000-731
Actualtests.com - The Power of Knowing
Answer: B
QUESTION 4
A. 0
B. 1
C. 2
D. 3
Answer: A
QUESTION 5
Please refer to the exhibit.
A. CREATE UNIQUE INDEX inx1 ON t1 (c1)
B. CREATE INDEX inx1 ON t1 (c1,c2,c3)
C. CREATE INDEX inx1 ON t1 INCLUDE (c2,c3)
D. CREATE UNIQUE INDEX inx1 ON t1(c1) INCLUDE(c2,c3)
Answer: D
QUESTION 6
Which of the following event monitor types is defined and active for all by default?
A. DATABASE
B. DEADLOCKS
C. BUFFERPOOLS
D. CONNECTIONS
Answer: B
000-731
Actualtests.com - The Power of Knowing
QUESTION 7
A Database administrator needs to benchmark a database for both SQL and
XQUERY. What utility can be used to accomplish this task?
A. db2batch
B. db2explain
C. db2analyze
D. db2benchmark
Answer: A
QUESTION 8
Which of the following TWO commands will apply AUTOCONFIGURE
recommended changes to buffer pools?
A. AUTOCONFIGURE USING APPLY NONE
B. AUTOCONFIGURE USING APPLY DB ONLY
C. AUTOCONFIGURE USING APPLY db AND dbm
D. AUTOCONFIGURE USING APPLY DB AND BUFFERPOOLS ONLY
Answer: B,C
QUESTION 9
Which of the following settings would allow 20 sorts with a maximum of 10MB each
to run currently on a 64-bit instance?
A. Set the DB SHEAPTHERS to 50000 and DB SORTHEAP to 2500
B. Set the DBM SHEAPTHERES to 50000 and DB SORTHEAP to 2500
C. Set the DBM SHEAPTHERS to 50000 and DBM SORTHEAP to 2500
D. Set the DBM SHEAPTHERS_SHR to 50000 and DBM SHEAPTHRES to 2500
Answer: B
QUESTION 10
Which of the following is the most complete list of methods by which the EXPORT
utility can be invoked?
A. Control Center and the CLP
B. Control Center, CLI and the CLP
C. Control Center, CLP and the ADMIN_CMD stored procedures
D. Control Center, CLI,CLP and ADMIN_CMD stored procedures
Answer: D
000-731
Actualtests.com - The Power of Knowing
QUESTION 11
Which of the following authorities should a user have in order to QUIESCE the
DB2 instance?
A. DBADM
B. SECADM
C. SYSMON
D. SYSMAINT
Answer: D
QUESTION 12
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
Answer: C
QUESTION 13
A Recovery of database DB1 is started by issuing RECOVERY DATABSE DB1 TO
END Of LOGS. The Recovery fails during the rollforward phase. In order to
continue the recovery from the point of failure, which of the following commands
should be executed?
A. RECOVER DATABASE DB1 TO RESTART
B. RECOVER DATABSAE DB1 TO END OF LOGS
C. RECOVER DATABSAE DB1 TO END OF LOGS RESTART
D. RECOVER DATABSAE DB1 CONTINUE TO END OF LOGS
Answer: B
QUESTION 14
Given the Following Situation:
If user USR1 revokes the SELECT privilege on table T1 form user USR2, what will
happen with the SELECT privilege USR2 had on the view V1?
000-731
Actualtests.com - The Power of Knowing
A. SELECT privilege for the view V1 will be revoked from user USR2
B. SELECT privilege for the view V1 will be not revoked from user USR2
C. SELECT privilege for all views defined on Table T1 will be revoked from user USR2
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
QUESTION 15
Which of the following event monitor types is defined and active for all by default?
A. DATABASE
B. DEADLOCKS
C. BUFFERPOOLS
D. CONNECTIONS
Answer: B
QUESTION 16
Which of the following DB2 utilities can product a graph of an optimizer query
plan?
A. db2bfd
B. db2look
C. db2advis
D. db2expln
Answer: D
QUESTION 17
Given the following statements:
In which of the following table spaces would the index be placed?
000-731
Actualtests.com - The Power of Knowing
A. TBSP1
B. TBSP2
C. TBSP3
D. USERSPACE1
Answer: A
QUESTION 18
Which of the following queries can be used to determine whether or not table TAB1
should be recognized?
A. SELECT TABNAME, LAST_REORG_TIME FROM SYSCAT.TABLES WHERE
TABNAME='TAB1'
B. SELECT TABNAME, OVERFLOW FROM SYSCAT.TABLES WHERE
TABNAME='TAB1'
C. SELECT TABNAME,PCTFREE FROM SYSCAT.TABLES WHERE
TABNAME='TAB1'
D. SELECT TABNAME,CARD FROM SYSCAT.TABLES WHERE
TABNAME='TAB1'
Answer: B
QUESTION 19
Self tuning memory will tune in intervals based on which of the following?
A. The workload changes
B. The DB2 registry entry
C. The database configuration
D. The autoconfig configuration file
Answer: A
QUESTION 20
Given the following IMPORT command:
If the command fails due to the transaction logs being full, which of the following
will allow the IMPORT to complete successfully?
A. Re-ruin the IMPORT with NOTIMEOUT option
B. Re-run the IMPORT with the COMMOTCOUNT AUTOMATIC option
C. Re-run the IMPORT with the REPLACE option instead of the REPLACE_CREATE
000-731
Actualtests.com - The Power of Knowing
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 21
Which of the following is used to protect a database from the accidental deletion of
an active log file and data corruption of log files caused by hardware failure?
A. newlogpath
B. failarchpath
C. mirrorlogpath
D. overflowlogpath
Answer: C
QUESTION 22
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 manager 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
QUESTION 23
Which of the following authorities should a user have in order to QUIESCE the
DB2 instance?
A. DBADM
B. SECADM
C. SYSMON
D. SYSMAINT
Answer: D
QUESTION 24
How many extents are allocated when the following EMPLOYEE table is created in
the DMS table space TBS03?
000-731
Actualtests.com - The Power of Knowing
A. 3
B. 5
C. 6
D. 10
Answer: D
QUESTION 25
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 statements inserts data into a table called PAYROL. 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 procedures?
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
D. EXECUTE privilege on the stored procedure SELECT privilege on the EMPLOYEE
table
Answer: C
QUESTION 26
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?
Db2 rollforward db sample to 2006-06-16-14.21 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
000-731
Actualtests.com - The Power of Knowing
D. The roll forward is executed and tables t1 and t4 are placed in set integrity pending
state
Answer: C
QUESTION 27
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 accomplish this?
A. Populate table T1 with LAOD populate table T2 with LOAD
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 INMPORT
Answer: C
QUESTION 28
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 schema is not explicitly specified in a SQL statement, the PUBLIC schema is
assumed
Answer: C
QUESTION 29
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 it's original file storage definitions?
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
QUESTION 30
What is the correct method of obtaining the global information on DB2 systems and
features installed on a DB2 V9 database server on Linux?
A. rpm
000-731
Actualtests.com - The Power of Knowing
B. db2ls
C. db2gs
D. pkgadd
Answer: B
QUESTION 31
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. dbinidb mydb as backup
C. db2inidb mydb as standby
D. db2inidb mydb as snapshot
Answer: A
QUESTION 32
Given the following DMS tablespace:
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 and tbsp3 will be placed in tbsp3?
A. A
B. B
C. C
D. D
Answer: C
QUESTION 33
Given the following statement:
CREATE TABLE mytab(c1 INTEGER NOT NULL, c2 VARCHAR(20) NOT
NULL, c3 CARCHAR(30))
What additional command will ensure that column C1 has unique values?
A. CREATE CONSTRAINT myinx ON TABLE mytab(c1) UNIQUE
B. CREATE UNIQUE INDEX myinx ON TABLE mytab(c1)
000-731
Actualtests.com - The Power of Knowing
C. CREATE INDEX myinx ON TABLE mytab(c1)
D. CREATE INDEX myinx ON TABLE mytab
Answer: B
QUESTION 34
Which of the following event monitor options can increase application response time
as the suspended agent and any dependent agents can't run until the event monitor
buffers are clear?
A. BLOCK
B. BUFFER
C. NONBLOCK
D. SHEAPTHRES_SHR
Answer: A
QUESTION 35
user1 needs to remove table TABLE1 from the PAYROL database. Assuming
USER1 has no privileges on TABLE1, which of the following must occur before
USER1 will be allowed to drop the table?
A. A User with SYSADM authority must execute the statement GRANT DELETE ON
table1 TO user1
B. A user with DBADM authority must execute the statement GRANT COMNTROL ON
table1 TO user1
C. A user granted DELETE WITH GRANT OPTION privilege on TABLE1 must
execute the statement GRANT DELTE ON table1 to user1
D. A user granted CONTROL WITH GRANT OPTION privilege on TABLE1 must
execute the statement GRANT CONTROL ON table1 TO user1
Answer: B
QUESTION 36
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
Answer: A
QUESTION 37
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
000-731
Actualtests.com - The Power of Knowing
view and finds that the view has been marked inoperative. In order to allow this
view to be accessed by the user, which of the following should be done?
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 statements in the SYSCAT.VIEW catalog view, issue
the CREATE VIEW statement and grant SELECT privilege to user1
C. Determine the CREATE VIEW statement from a database backup and restore the view
issuing this CREATE VIEW statement
D. Determine the inoperative view, issue the ALTER VIEW statement and grant
SELECT privilege to user1
Answer: B
QUESTION 38
Based on the following database manager configuration parameter values:
What is the maximum number of applications that can be executing concurrently in
the instance?
A. 50
B. 100
C. 200
D. 400
Answer: B
QUESTION 39
What is the maximum size of the table space TBS01 given that the size of fs 1 is 16
GB, fs2 is 10 GB and fs3 is 8GB?
A. 34GB
B. 26GB
C. 24Gb
D. 18Gb
Answer: C
000-731
Actualtests.com - The Power of Knowing
QUESTION 40
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 41
Which of the following correct command for obtaining detailed information about a
table space, including its current status?
A. Select * from syscat.tablespaces
B. get snapshot for tablespace on sample
C. list tablespace containers show detail
D. get snapshot for tablespace containers on sample
Answer: B
QUESTION 42
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
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 BINDADO ON db1 TO user1
D. GRANT SELECT ON t3 AND t1 TO user1
Answer: C
QUESTION 43
How many index keys are created by this index?
000-731
Actualtests.com - The Power of Knowing
CREATE INDEX empindex on Companyinfo(Companydocs) GENREATE KEY
USING XMLPATTERN '/company/emp/@id' AS SQL DOUBLE if the XML
column contains the following two documents.
A. 0
B. 2
C. 3
D. 4
Answer: C
QUESTION 44
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 then grant the SELECT privilege
000-731
Actualtests.com - The Power of Knowing
Answer: A
QUESTION 45
Which of the following describes the functionality of the db2diag tool?
A. Start or stop the db2diag.log
B. Start or stop the Administrator Notification log
C. Filter and format the information available in the db2diag.log
D. Filter and Format the information available in the Administrator Notification Log.
Answer: C
QUESTION 46
When a Database Administrator Updates the UTIL_IMPPACT_LIM parameter in
the DBM CFG to a value of 10, what can be expected when a backup operations is
invoked?
A. The Backup operation runs 10 times faster
B. The Backup Operation priority will be increased to 10
C. The Backup operation will impact the workload by 90 Percent
D. The Backup operation will not impact the workload by more than 10 percent
Answer: D
QUESTION 47
Self tuning memory will tune in intervals based on which of the following?
A. The workload changes
B. The DB2 registry Entry
C. The database configuration
D. The autoconfig configuration file
Answer: A
QUESTION 48
User1 creates table T1 and subsequently creates view V1 based on table T1. user1
grants SELECT WITH GRANT OPTION on view V1 to user2. user2 grants
SELECT privileges on view V1 to user3. The database administrator revokes
CONTROL and SELECT privileges from user1. What is the status of privileges on
view V1 after this sequence?
A. user2 and user3 still have SELECT privileges on View V1
B. All privileges have been revoked and the view is marked inoperative
C. User3 still has SELECT privilege on View V1 but user2's privileges has been revoked
D. User2 still has SELECT privilege on View V1 but user3's privilege has been revoked
000-731
Actualtests.com - The Power of Knowing
Answer: B
QUESTION 49
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. What needs to be done in order to
successfully restart the DEV database?
A. i. Restart the DEV database using the following comman:
ii. RESTART DATABASE DEV DROP PENDING TABLESPACE (tempspace1)
iii. Drop the damaged, offline system temporary table space TEMPSPAACE1.
B. i. Drop the system temporary table space TEMPSPACE1
ii. Recreate the system temporary table space TEMPSPACE1
iii. Restart the DEV database using the command: RESTART DATABASE DEV
C. i. Restart the DEV database using: RESTART DATABASE DEV DROP PENDING
TABLESPACES 'TEMPSPACE1'
ii. Drop the System temporary table space TEMPSPACE1
iii. Recreate the System Temporary Table Space TEMPSPACE1
D. i. Drop the system temporary table space TEMSPACE1
ii. Restart the DEV database using the following command: RESTART DATABASE
DEV
iii. Create the system temporary table space TEMPSPACE1
Answer: C
QUESTION 50
Which of the following identifies which users have SYSCTRL authority?
A. DB2 registry
B. System Catalog
C. Database Configuration
D. Database Manager Configuration
Answer: D
Q