Beruflich Dokumente
Kultur Dokumente
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
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?
Answer: A
QUESTION NO: 5
Answer: D
QUESTION NO: 6
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
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?
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
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
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
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
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?
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
Answer: D
QUESTION NO: 14
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
m
<dept id="M55">
Marketing
</dept>
.co
</emp >
sts
< emp id="42366" salary="50000" gender="Female">
< name >
< first >Nicole</first >
lTe
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?
Answer: B
QUESTION NO: 18
How does Label Based Access Control (LBAC) provide more granular 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
Answer: D
QUESTION NO: 20
In order to determine the name of the application which encountered the error, which of the
following actions must be taken?
Answer: B
QUESTION NO: 21
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
Which of the following actions(s) is REOUIRED before this event monitor can start collecting and
writing data?
Answer: A
Application MYAPP uses static SQL to access table T1. For which of the following situations
should an explicit REBIND be performed?
Answer: A
QUESTION NO: 24
Which of the following would prevent an application from waiting indefinitely to obtain a lock on
m
table T1?
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
C1 C2 C3
1200 east Miller
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?
QUESTION NO: 29
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
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
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?
Answer: A
m
QUESTION NO: 33
.co
Self tuning memory will tune in intervals based on which of the following?
sts
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
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?
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
Application handle = 8
Application ID = *LOCAL.DB2.0098C5210749
Sequence number = 0001
Ac
Answer: D
m
QUESTION NO: 37
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?
Answer: A
QUESTION NO: 39
Which of the following is true for a DB2 Global Temporary Table (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
Answer: A
tua
QUESTION NO: 41
Ac
Which of the following lists all actions possible using the SET UTIL_IMPACT_PRIORITY
command?
Answer: D
QUESTION NO: 42
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
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?
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. 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?
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?
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
A. newlogpath
tua
B. failarchpath
C. mirrorlogpath
D. overflowlogpath
Ac
Answer: C
QUESTION NO: 49
What is the maximum number of applications that can be executing concurrently in the instance?
Answer: B
QUESTION NO: 50
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
Answer: C
QUESTION NO: 53
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
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);
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
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:
Which of the following will allow USER1 to successfully bind the application to database DB1?
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:
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
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
To allow index only access for the following SQL statement, which CREATE INDEX statement
must be used?
Answer: D
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
QUESTION NO: 64
m
Agent process/thread ID = 1724474
.co
Which of the following configurations would be observed?
DFT_DEGREE 1
D. INTRA_PARALLEL ON and MAX_QUERYDEGREE 4 and database configuration
DFT_DEGREE ANY
tua
Answer: D
Ac
QUESTION NO: 65
If the command fails due to the transaction logs being full, which of the following will allow the
IMPORT to complete successfully?
Answer: B
QUESTION NO: 66
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
Answer: B
Ac
QUESTION NO: 67
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.
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?
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?
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?
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
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?
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
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
What is the maximum size of table space TBS01 given that the size of fs1 is 16GB, fs2 is 10GB
and fs3 is 8GB?
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
Answer: D
Ac
QUESTION NO: 78
Which of the following queries can be used to determine whether or not table TAB1 should be
reorganized?
Answer: B
QUESTION NO: 79
If a large amount of data is being loaded into table MKT_VALUE, what does the following DB2
command do?
Answer: A
m
QUESTION NO: 80 .co
The DB2 command:
sts
Answer: C
QUESTION NO: 81
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?
Answer: C
QUESTION NO: 82
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
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?
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
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?
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
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
Answer: A
QUESTION NO: 91
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?
Answer: B
Based on the following DDL that was executed in a database with a default configuration:
A. 4 kilobytes
m
B. 32 kilobytes
C. 96 kilobytes
D. 128 kilobytes .co
Answer: D
sts
QUESTION NO: 94
lTe
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?
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
Answer: B
QUESTION NO: 97
Given the following server information, which of the following commands will catalog this node?
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
Answer: A
tua
QUESTION NO: 99
Ac
Answer: A
For a database that is enabled for automatic storage, which command will create a DMS
tablespace TBSP_10 capable of storing 1TB of data?
Answer: B
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
Answer: B
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
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
Which letter from the function name sqlpsize should be used to look up information about this
Ac
Answer: C
Which of the following statements is NOT true regarding XML indexing in DB2 9?
Answer: A
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?
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
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
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
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
Answer: B
Ac
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?
Answer: B
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:
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
Answer: D
Ac
Users are reporting slow response for queries running against the SEC. CREDITCARD table. The
following command was run:
The resulting output does not indicate a need to reorganize data in the SEC. CREDITCARD table.
What steps should be taken next?
Answer: C
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
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?
Answer: D
If an IMPORT is running with the ALLOW WRITE ACCESS option, which of the following
statements is true?
Answer: A
m
QUESTION NO: 120
.co
Which of the following statements best describes DB2's table partitioning capability?
Answer: D
tua
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
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?
m
Answer: B
Answer: C
Which of the following TWO commands will apply AUTOCONFIGURE recommended changes to
buffer pools?
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?
Answer: D
m
QUESTION NO: 126 .co
Given the following statements:
sts
(10001) ENDING at (20000), PART part3 STARTING FROM (20001) ENDING at (20010),
A. TBSP1
B. TBSP2
C. TBSP3
D. USERSPACE1
Answer: C
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
In order to update statistics for only the tables that need it, between the hours of midnight and
2am, what actions must be taken?
Answer: D
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
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
Answer: B
Ac
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
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
Answer: B
Ac
Which of the following settings would allow 20 sorts with a maximum of 10MB each to run
concurrently on a 64-bit instance?
Answer: B
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
m
point of failure, which of the following commands should be executed?
Answer: B
lTe
LOAD FROM datafile2.del OF DEL INSERT INTO tablel ALLOW READ ACCESS
What data can be read by other transactions during the LOAD operation?
Answer: D