Académique Documents
Professionnel Documents
Culture Documents
Ver : 08-28-2008
000-731
QUESTION 1:
Answer: B
QUESTION 2:
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)
Answer: B
QUESTION 4:
A. 0
B. 1
C. 2
D. 3
Answer: A
QUESTION 5:
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
QUESTION 7:
Answer: A
QUESTION 8:
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?
Answer: D
QUESTION 11:
Answer: D
QUESTION 12:
Answer: C
QUESTION 13:
Answer: B
QUESTION 14:
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:
Answer: D
QUESTION 17:
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:
Answer: A
QUESTION 20:
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:
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
QUESTION 23:
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:
Answer: C
QUESTION 26:
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:
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:
Answer: A
QUESTION 32:
Answer: C
QUESTION 33:
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
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:
Answer: A
QUESTION 37:
Answer: B
QUESTION 38:
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
Answer: B
QUESTION 41:
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?
Answer: C
QUESTION 43:
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
Answer: A
QUESTION 45:
QUESTION 46:
QUESTION 47:
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?
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?
Answer: C
QUESTION 50:
A. DB2 registry
B. System Catalog
C. Database Configuration
D. Database Manager Configuration
Answer: D
QUESTION 51:
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:
Answer: A
QUESTION 53:
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
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:
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
Answer: C
QUESTION 58:
Which of the following statements is NOT true regarding XML indexing in DB2 9?
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:
Answer: A
QUESTION 61:
How does Label Based Access Control (LBAC) provide more granular access
control?
Answer: D
QUESTION 62:
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
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:
Answer: A
QUESTION 66:
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?
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:
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
B. DB2LABELSECURITY
C. DB2SECURITYLABEL
D. DB2SECURITYLABEL
Answer: C
QUESTION 71:
Answer: B
QUESTION 72:
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
QUESTION 74:
Answer: C
QUESTION 75:
Answer: D
QUESTION 76:
Answer: B
QUESTION 77:
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?
A. FORCE ALL
B. FORCE USERS ALL
C. FORCE APPLICATION ALL
D. FORCE USERS, APPLICATION ALL
Answer: C
QUESTION 80:
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
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:
QUESTION 86:
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:
Answer: D
QUESTION 89:
QUESTION 90:
Application MYAPP uses static SQL to access table T1. For which of the following
situations should an explicit REBIND be performed?
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
D. a,b and d
Answer: D
QUESTION 92:
QUESTION 93:
If an IMPORT is running with the ALLOW WRITE ACCESS option, which of the
following statements is true?
QUESTION 94:
Answer: A
QUESTION 95:
Answer: A
QUESTION 96:
Answer: C
QUESTION 97:
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
QUESTION 99:
Answer: A
QUESTION 100:
A. 1
B. 2
C. 3
D. 4
Answer: B
QUESTION 101:
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:
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
Answer: A
QUESTION 105:
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
Answer: A
QUESTION 108:
Answer: D
QUESTION 109:
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
Answer: D
QUESTION 111:
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:
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?
A. 34 GB
B. 26 GB
C. 24 GB
D. 18 GB
Answer: C