Sie sind auf Seite 1von 39

Exam : 000-731

Title : DB2 9 DBA for Linux UNIX and Windows

Ver : 08-28-2008
000-731

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
A. 1 GB of data that can be stored in this table space?
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)

Actualtests.com - The Power of Knowing


000-731

D. ALTER TABLE employee ADD CONSTRAINT const1 Primary


KEY(Firstname,midinit,lastname)

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

Actualtests.com - The Power of Knowing


000-731

C. BUFFERPOOLS
D. CONNECTIONS

Answer: B

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 <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

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?

Actualtests.com - The Power of Knowing


000-731

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

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

Actualtests.com - The Power of Knowing


000-731

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?

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:

Actualtests.com - The Power of Knowing


000-731

Given the following statements:

In which of the following table spaces would the index be


placed?
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

Actualtests.com - The Power of Knowing


000-731

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
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
Actualtests.com - The Power of Knowing
000-731

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?

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
A. EXECUTE
need in orderprivilege on the stored
to successfully invokeprocedure
the stored procedures?
Actualtests.com - The Power of Knowing
000-731

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
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

Actualtests.com - The Power of Knowing


000-731

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
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

Actualtests.com - The Power of Knowing


000-731

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
A. A will be placed in tbsp2 and tbsp3 will be placed in tbsp3?
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)
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
A. BLOCKare clear?
B. BUFFER
C. NONBLOCK
D. SHEAPTHRES_SHR

Actualtests.com - The Power of Knowing


000-731

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
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

Actualtests.com - The Power of Knowing


000-731

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

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

Actualtests.com - The Power of Knowing


000-731

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?

Actualtests.com - The Power of Knowing


000-731

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

Actualtests.com - The Power of Knowing


000-731

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?

Actualtests.com - The Power of Knowing


000-731

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
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

QUESTION 51:

Which of the following is the correct command for obtaining detailed


information

Actualtests.com - The Power of Knowing


000-731

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

QUESTION 52:

The List APPLICATIONS command provides the following output:

The database Administrator needs to force the application myapp executed by


user
usr1. Which command must be issued?
A. FORCE APPLICATON(25667)
B. FORCE APPLICATION(MYAPP)
C. FORCE APPLICATION(myapp user user1)
D. FORCE APPLICATION (LOCAL.DB2.060609075930)

Answer: A

QUESTION 53:

Health Indicators exists 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

QUESTION 54:

Immediately after an "in place" table reorganization for the EMPLOUYEE table,
which sequence of operations will provide optimal performance for SQL
queries
while ensuring the least disruption to the user community?
A. Reorg table indexes, perform runstats and rebind packages that user the table
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

Actualtests.com - The Power of Knowing


000-731

runstats
D. Reorg the associated indexes offline, runstats with distribution statistics, rebind
any
packages that use the table
Answer: A

QUESTION 55:

The following comment immediately before the last SQL statement in the input
file:
---# set FREQUENCY 1000 i
informs the Design Advisor.
A. To run the index analysis 1,000 times
B. To execute all SQL statements in the workload file 1,00 times
C. To evaluate the SQL statement flowing the comment 1,00 times
D. To try up to 1,000 combinations of optimizations for the
workload
Answer: C

QUESTION 56:

Given the command:

Which of the following is true?

A. The behavior of the load operation is dependent upon the isolation level used
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 the beginning and end of
the
load processing
Answer: C

QUESTION 57:

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
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

Actualtests.com - The Power of Knowing


000-731

Answer: C

QUESTION 58:

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

A. XML indexes can't contain relational data columns


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 if queries on XML
documents that are stored in an XML column
Answer: A

QUESTION 59:

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

Answer: B

QUESTION 60:

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


the
snapshot monitor?
A. RESET MONITOR ALL
B. ZERO MONITOR COUNTERS
C. ZERO MONITOR FOR COMMIT
D. RESET MONITOR FOR COMMIT

Answer: A

QUESTION 61:

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

A. By providing row level access control

Actualtests.com - The Power of Knowing


000-731

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

Answer: D

QUESTION 62:

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 63:

A database server is running tow DB2 instances and each instance has three
databases under it's control. To determine the AUTHENTICATON type(s) used
by
the server, where must the DBA look?
A. In the DB2 Registry
B. In the db2profile file
C. In each database configuration file
D. In each database manager configuration file

Answer: D

QUESTION 64:

A DBA attempts to use the task Center to schedule a daily database backup
and is
not successful. A GET ADMIN CFG command shows that TOOLSCAT_DB,
TOOLSCAT_INST and toolsCAT_SCHEMA are all NULL on the DB2 server
where the backup task was attempted. 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

Actualtests.com - The Power of Knowing


000-731

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

QUESTION 65:

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
C. Left Outer Join
D. Nested-loop Join

Answer: A

QUESTION 66:

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 can't 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 67:

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?

A. i. update the DB CFG parameters


ii. Start HADR on SERV2
iii. Start HADR on SERV1
B. i. Update the DB CFG parameters
ii. Start HADR on SERV1
iii. Start HADR on SERV2
C. i. BACKUP IMPDB on SERV1
ii. Restore the DB CFG parameters

Actualtests.com - The Power of Knowing


000-731

iii. Start HADR on SERV1


iv. Start HADR on SERV2
D. i. Backup IMPDB on SERV!
ii. Restore IMPDB on SERV2
iii. Update the DB CFG parameters
iv. Start HADR on SERV2
v. Start HADR on SERV1

Answer: D

QUESTION 68:

In a 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
A. COPY database?
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
C. From the standby database issue this command:
Db2set DB2_LOAD_COPY_YES_OVERRIDE=c:\loaddir
D. From the primary database issue this command:
UPDATE DB CFG FOR sample USING DB2_LOAD_COPY_NO_OVERRIDE
c:\loaddir

Answer: B

QUESTION 69:

If the following command is executed:

Which of the following will occur?

A. The SYSCATSPACE would be renamed CATALOG


B. A DMS table space will be used to hold a catalog
C. The command will fail because the catalogue tablespace is called
SYSCATSPACE
D. All of the tablespace for database adwprod will be created in
/db2tbsp/CATALOG
Answer: B

QUESTION 70:

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?
A. DB2SECURITY

Actualtests.com - The Power of Knowing


000-731

B. DB2LABELSECURITY
C. DB2SECURITYLABEL
D. DB2SECURITYLABEL

Answer: C

QUESTION 71:

Given the following notification log entry:

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 72:

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

QUESTION 73:

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

Actualtests.com - The Power of Knowing


000-731

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

QUESTION 74:

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 SNAMSHOT_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

Answer: C

QUESTION 75:

If these commands are executed in the order


shown:

Which of the following is true?

A. Event Monitoring 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 TABLEMOMN is deactivated and output is in table MON_TABLE
D. Event Monitor TABLEMON is active and output is written to table MON_TABLE

Answer: D

QUESTION 76:

Which of the following is the correct command for obtaining detailed


information
about a table space, including its current status?
A. Select * from syscat.tablespaces
B. get snapshot for tablespaces on sample
C. list tablespace containers show detail
D. get snapshot for tablespace containers on
sample

Actualtests.com - The Power of Knowing


000-731

Answer: B

QUESTION 77:

Given the following notification log entry:

Which letter from the function name sqlpsize should be used to look up
information
about this 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 78:

A database server has two instances with all databases created using the
default
parameters. Instance inst1 with databases datab1, datab2 and datab3.
Instance inst2
with databases datab11, datab12 and datab13. The instance inst1 and the
database
datab12 must not be able to be seen using DISCOVERY to catalog databases
A.
andUpdate the dbm cfg for instance inst1 to discover_inst=disable update the db
cfg for Which of the following actions are required?
servers.
database datab12 to discover_db=disable
B. Update dbm cfg for instance inst1 to discover_inst=disable Update the dbm cfg
for
instance inst2 to discover_inst=disable
C. Update the dbm cfg for instance inst1 to discover_inst=disable update the dbm
the
dbm cfg for instance inst2 to discover_db=disable datab12
D. update the dbm cfg for instance inst1 to discover_inst=disable update the db
Answer:
cfg for A
database datab11 and datab13 to discover_db=enable
QUESTION 79:

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

Actualtests.com - The Power of Knowing


000-731

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

Answer: C

QUESTION 80:

Which of the following would prevent an application from waiting indefinitely


to
obtain a lock on table T1?
A. After Table T1 locksize table
B. Update db cfg for sample using lock_wait 10000
C. Update db cfg for samepl using locktimeout 10000
D. Update db cfg for sample using lock_wait automatic

Answer: C

QUESTION 81:

After restoring a full database backup into a new database and connecting to
the
new database, which of the following statements is correct?
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 taken
D. Incremental Images and delta images from the original database can be restored
in the
new database
Answer: C

QUESTION 82:

A DBA needs to populate table T1 with a large 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 and IMPORT data into table T2

Answer: D

Actualtests.com - The Power of Knowing


000-731

QUESTION 83:

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.
SELECT EMPIND 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

QUESTION 84:

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 85:

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

QUESTION 86:

An Excerpt from an application snapshot reveals the following:

Actualtests.com - The Power of Knowing


000-731

Which of the following configurations would be observed?

A. INTRA_PARALLEL ON and MAXAGENTS 4 and database configuration


DFT_DEGREE 1
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
DFT_DEFREE 1
D. INTRA_PARALLEN ON and MAX_QUERYDEGREE 4 and database Configuration
DFT_DEGREE ANY

Answer: D

QUESTION 87:

What is the maximum size of table space TBs01 given that the size of fs1 is 16
GB
and fs3 is 8 GB?

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

Answer: C

QUESTION 88:

Which of the following statements best describes DB2's table


partitioning
capability?
A. It does not work with DPF
B. It is not allowed with MQT's
C. It is the same as using UNION of multiple tables
D. It improves performance through data partition
elimination

Actualtests.com - The Power of Knowing


000-731

Answer: D

QUESTION 89:

Given the following CREATE DATABASE statement


create database v9cert on /database/dbuser using codeset utf-8 territory US
restrictive
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?
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.
B. Automatic storage is enabled for the database which will have the database
created
/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
dftdbpath and user table spaces created in /database/dbuser
D. Automatic storage is not enabled for the database because multiple paths are not
Answer:
supplied Bin the CREATE DATABASE command

QUESTION 90:

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 create on Table T1
C. An Index is dropped from table
D. Changes are made to application MyAPP

Answer: A

QUESTION 91:

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

A. a and b
B. b,c and d
C. a,b and c

Actualtests.com - The Power of Knowing


000-731

D. a,b and d

Answer: D

QUESTION 92:

After running AUTOCONFIGURE for a database, sort memory heap


(SORTHEAP) was not enabled for automatic tuning. Which of the following is the
reason?

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


B. SHEAPTHERS 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 93:

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

QUESTION 94:

Which of the following commands is used to disable the configuration advisor


for a
new database?
A. db2set DB2_ENABLE_AUTOCONFIG_DEFAULT=No
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 AUTOCONFIGURE ON db2 terminate

Answer: A

Actualtests.com - The Power of Knowing


000-731

QUESTION 95:

Which of the following is available in db2pd?

A. Information about active databases


B. Information about a Stopped instance
C. Information about the administration server
D. Information About active and inactive databases

Answer: A

QUESTION 96:

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?
A. Health Center
B. Design Advisor
C. Activity Monitor
D. DB2 Query Patroller Center

Answer: C

QUESTION 97:

Recovering a single table space to a point in time:

A. Requires archive log files form 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 database prior too issuing the
command
Answer: A

QUESTION 98:

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 SELECT privilege
C. Define user1 and then grant the SELECT privilege
D. Define user1 and grp1 and then grant the SELECt privilege

Answer: A

Actualtests.com - The Power of Knowing


000-731

QUESTION 99:

Give the table MYTAB:

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

Answer: A

QUESTION 100:

Given the following table definition.


Please refer to the exhibit.

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

Answer: B

QUESTION 101:

Given the following statements:

Actualtests.com - The Power of Knowing


000-731

How many rows does the SELECT statement return?

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

Answer: A

QUESTION 102:

On a DB2 server with two instances, inst1 and inst2, inst1 is the default and
current
instance. Which of the following will successfully start the instance instt2?
A. db2start
B. db2start inst2
C. set db2instance=inst2 db2start
D. set db2instance inst2 db2start

Answer: C

QUESTION 103:

The DB2 command:


LOAD FROM /dev/null OF DEL REPLACE INTO edw.chnl_dim;
Will do which of the following?

A. Report an error on "/dev/null? And fail


B. Drop the table EDW.CHANL_DIM form the database
C. Delete all the rows form the table EDW.CHANL_DIM
D. Load all the columns in the table EDW.CHANL_DIM with NULLS

Answer: C

QUESTION 104:

Which of the following utilities can copy all 50 tables created under a single
schema
Actualtests.com - The Power of Knowing
000-731

to another database with the fewest required


steps?
A. db2move
B. db2look
C. db2copy
D. b2bathch

Answer: A

QUESTION 105:

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
minimizing the impact finance
A. BACKUP DATABASE on otherONLINE
database users?
to <BACKUP_LOCATION> COMPRESS
B. BACKUP DATABASE finance TO <BACKUP_LOCATION>
TUIL_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

Answer: C

QUESTION 106:

For a database that is enabled for automatic storage, which command will
create a
DMS tablespace TBSP_10 capable of storing 1 TB of data?
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 107:

What is the correct way to delete the instance level variable DB2COMM from
the
DB2 Profile Registry?
A. db2set DB2COMM=
B. db2set DB2COMM -v
C. db2set -all DB2COMM
D. db2set -null DB2COMM

Actualtests.com - The Power of Knowing


000-731

Answer: A

QUESTION 108:

Given the following requirements:


table t1 with columns c1, c2 and c3
Column c1 must be unique
To allow index only access for the following SQL statement, which CREATE
INDEX statements must be used?
SELECT c1, c2,c3 FROM t1 ORDER BY c1

A. CREATE UNIQUE INDEX inx1 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

QUESTION 109:

A system managed table space is created with three containers. Container 1 is


limited to 1 GB of storage. Containers 2 and 2 are limited to 5 GB of storage
each.
Approximately 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 110:

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. a,b,c,
B. c,e,f
C. a,d,e
D. a,c,e

Actualtests.com - The Power of Knowing


000-731

Answer: D

QUESTION 111:

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 112:

For a database that is enabled for automatic storage, which command will
create a
DMS tablespace TBSP_10 capable of storing 1 TB of data?
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 113:

Recovering a single table space to a point in time:

A. Requires archive log files form 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 database prior too issuing the
command
Answer: A

QUESTION 114:

What is the maximum size of table space TBs01 given that the size of fs1 is 16
GB
and fs3 is 8 GB?

Actualtests.com - The Power of Knowing


000-731

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

Answer: C

Actualtests.com - The Power of Knowing

Das könnte Ihnen auch gefallen