ibm.000-731. certification guide

57
For More Info Visit www.logicsmeet.com IBM.000-731.PrepKing

Upload: shantanuag

Post on 01-Jan-2016

28 views

Category:

Documents


0 download

DESCRIPTION

IBM.000-731. certification guide.pdf

TRANSCRIPT

Page 1: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

IBM.000-731.PrepKing

Page 2: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

Exam A

QUESTION 1A database administrator has HADR enabled and wants to do a LOAD WITH COPY NO option on the primaryserver. 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: CSection: (none)

Explanation/Reference:

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

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

Answer: BSection: (none)

Explanation/Reference:

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

A. Set BLK_LOG_DSK_FUL to NOB. Set BLK_LOG_DSK_FUL to YESC. Decrease space for the active log directoryD. Reduce the LOGPRIMARY, LOGSECOND and LOGFILSIZ

Answer: BSection: (none)

Explanation/Reference:

QUESTION 4Recovering a single table space to a point in time:

Page 3: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

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

Answer: ASection: (none)

Explanation/Reference:

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

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

Answer: ASection: (none)

Explanation/Reference:

QUESTION 6A 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 theimpact on other database users?

A. BACKUP DATABASE finance ONLINE TO <backup_location> COMPRESSB. BACKUP DATABASE finance TO <backup_location> UTIL_IMPACT_PRIORITY 5C. BACKUP DATABASE finance ONLINE TO <backup_location> UTIL_IMPACT_PRIORITY 15D. BACKUP DATABASE finance ONLINE TO <backup_location> UTIL_IMPACT_PRIORITY 100

Answer: CSection: (none)

Explanation/Reference:

QUESTION 7A recovery of database DB1 is started by issuing RECOVER DATABASE DB1 TO END OF LOGS. Therecovery fails during the rollforward phase. In order to continue the recovery from the point of failure, which ofthe following commands should be executed?

A. RECOVER DATABASE DB1 RESTART

Page 4: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

B. RECOVER DATABASE DB1 TO END OF LOGSC. RECOVER DATABASE DB1 TO END OF LOGS RESTARTD. RECOVER DATABASE DB1 CONTINUE TO END OF LOGS

Answer: BSection: (none)

Explanation/Reference:

QUESTION 8Which of the following is used to protect a database from the accidental deletion of an active log file and datacorruption of log files caused by hardware failure?

A. newlogpathB. failarchpathC. mirrorlogpathD. overflowlogpath

Answer: CSection: (none)

Explanation/Reference:

QUESTION 9A database named QA that was using archival logging crashed. An attemptto restart it failed with error code SQL0290N. Examination of the db2diag.log shows that the disk drivecontaining the system catalog table space SYSCATSPACE is not responding. Backup images of both the QAdatabase and the SYSCATSPACE table space exist. After replacing the failed disk drive, what is the quickestmethod to bring the QA database back online?

A. Restore the QA database from the latest off-line backup image.B. Restore the QA database from the latest off-line backup image and rollforward to end of logs.C. Restore the System Catalog table space from the latest SYSCATSPACE backup image without rolling

forward.D. Restore the System Catalog table space from the latest SYSCATSPACE backup image and rollforward to

end of logs.

Answer: DSection: (none)

Explanation/Reference:

QUESTION 10Given the following situation:

Table space ts1 with tables t1, t2, t3

Table space ts2 with tables t4, t5

Page 5: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

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.56 and stop tablespace(ts1)

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

Answer: CSection: (none)

Explanation/Reference:

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

A. Authentication and ClearanceB. Authorization and ValidationC. Validation and CertificationD. Authentication and Authorization

Answer: DSection: (none)

Explanation/Reference:

QUESTION 12USER1 needs to remove table TABLE1 from the PAYROLL database.

Assuming USER1 has no privileges on TABLE1, which of the following must occur before USER1 will beallowed 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 CONTROL ON table1 TO user1.C. A user granted DELETE WITH GRANT OPTION privilege on TABLE1 must execute the statement

GRANT DELETE 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: BSection: (none)

Explanation/Reference:

Page 6: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

QUESTION 13When 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. DB2SECURITYB. DB2LABELSECURITYC. DB2SECURITYLABELD. DB2SECURITYDBLABEL

Answer: CSection: (none)

Explanation/Reference:

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

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

Answer: ASection: (none)

Explanation/Reference:

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

A. EXECUTE privilege on the stored procedureB. SELECT privilege on the EMPLOYEE table INSERT privilege on the PAYROLL tableC. EXECUTE privilege on the stored procedure INSERT privilege on the PAYROLL tableD. EXECUTE privilege on the stored procedure SELECT privilege on the EMPLOYEE table

Answer: CSection: (none)

Explanation/Reference:

QUESTION 16User 1 creates table T1 and subsequently creates view V1 based on table T1.

User 1 grants SELECT WITH GRANT OPTION on view V1 to user 2. User 2 grants SELECT privileges on

Page 7: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

view V1 to user 3. The database administrator revokes CONTROL and SELECT privileges from user1. What is the status of privileges on view V1 after this sequence?

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

Answer: BSection: (none)

Explanation/Reference:

QUESTION 17Given the following notification log entry:

2006-02-13-14.34.35.965000-300 I17502H435 LEVEL: ErrorPID : 940 TID : 660 PROC : db2syscs.exeINSTANCE: DB2 NODE : 000 DB : SAMPLEAPPHDL : 0-1433 APPID: *LOCAL.DB2.050120082811FUNCTION: DB2 UDB, data protection, sqlpsize, probe:20

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

Which letter from the function name sqlpsize should be used to look up information about this function in theSupport and Troubleshooting section of the Information Center?

A. The last letterB. The fifth letterC. The fourth letterD. The second last letter

Answer: CSection: (none)

Explanation/Reference:

QUESTION 18A database server has two instances with all databases created using the default parameters. Instance inst1with databases datab1, datab2 and datab3 Instance inst2 with databases datab11, datab12 and datab13 Theinstance inst1 and the database datab12 must not be able to be seen using DISCOVERY to catalog databasesand servers. Which of the following actions are required?

A. Update the dbm cfg for instance inst1 to discover_inst = disable Update the db cfg for database datab12 todiscover_db = disable

B. Update the dbm cfg for instance inst1 to discover_inst = disable Update the dbm cfg for instance inst2 todiscover_inst = disable

C. Update the dbm cfg for instance inst1 to discover_inst = disable Update the dbm cfg for instance inst2 todiscover_db = disable datab12

Page 8: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

D. Update the dbm cfg for instance inst1 to discover_inst = disable Update the db cfg for database datab11and datab13 to discover_db = enable

Answer: ASection: (none)

Explanation/Reference:

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

A. DBADMB. SECADMC. SYSMOND. SYSMAINT

Answer: DSection: (none)

Explanation/Reference:

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

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

Answer: BSection: (none)

Explanation/Reference:

QUESTION 21A DBA attempts to use the Task Center to schedule a daily database backup and is not successful. A GETADMIN CFG command shows that TOOLSCAT_DB, TOOLSCAT_INST, and TOOLSCAT_SCHEMA are allNULL 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.

Page 9: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

D. Create a new schema called TOOLSCAT in the database that the Task Center was trying to schedule aBackup for and then use UPDATE ADMIN CFG to reference that database, instance and schema.

Answer: BSection: (none)

Explanation/Reference:

QUESTION 22For a DB2 instance db2inst1 on a server with port 50000 available, which of the following commands must berun in order to configure DB2 to listen for incoming TCP/IP connections?

A. db2set db2comm=tcpipB. db2 UPDATE DBM CFG USING PORT_NUM 50000C. db2 UPDATE DBM CFG USING SVCENAME DB2c_db2inst1D. db2 UPDATE DBM CFG USING TP_MON_NAME db2inst1E. Add "DB2c_db2inst1 50000/tcp" to the services file F. db2set db2comm=tcp/ipF. a, b, cG. c, e, fH. a, d, eI. a, c, e

Answer: DSection: (none)

Explanation/Reference:

QUESTION 23After running AUTOCONFIGURE for a database, sort memory heap (SORTHEAP) was not enabled forautomatic tuning. Which of the following is the reason?

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

Answer: CSection: (none)

Explanation/Reference:

QUESTION 24Self tuning memory will tune in intervals based on which of the following?

A. The workload changesB. The DB2 registry entry

Page 10: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

C. The database configurationD. The autoconfig configuration file

Answer: ASection: (none)

Explanation/Reference:

QUESTION 25An excerpt from an application snapshot reveals the following :

Coordinator agent process or thread ID = 1413166Degree of parallelism requested = 6umber of agents working on statement = 4Number of subagents created for statement = 4

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

Which of the following configurations would be observed?

A. INTRA_PARALLEL ON and MAXAGENTS 4 and database configuration DFT_DEGREE 1B. INTRA_PARALLEL ON and MAX_QUERYDEGREE 3 and database configuration DFT_DEGREE 4C. INTRA_PARALLEL ON and MAX_QUERYDEGREE 6 and database configuration DFT_DEGREE 1D. INTRA_PARALLEL ON and MAX_QUERYDEGREE 4 and database configuration DFT_DEGREE ANY

Answer: DSection: (none)

Explanation/Reference:

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

A. db2set -lrB. db2set -allC. db2set -instD. db2set DB2INSTDEF

Answer: BSection: (none)

Explanation/Reference:

QUESTION 27

Page 11: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

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

A. Throttle a utility that was invoked in unthrottled modeB. Unthrottle a throttled utility (disable throttling)C. Set the default throttle for all utilitiesD. Reprioritize a throttled utilityE. a and bF. b, c and dG. a, b and cH. a, b and d

Answer: DSection: (none)

Explanation/Reference:

QUESTION 28Which of the following TWO commands will apply AUTOCONFIGURE recommended changes to bufferpools?

A. AUTOCONFIGURE USING <options> APPLY NONEB. AUTOCONFIGURE USING <options> APPLY DB ONLYC. AUTOCONFIGURE USING <options> APPLY DB AND DBMD. AUTOCONFIGURE USING <options> APPLY BUFFERPOOLS ONLYE. AUTOCONFIGURE USING <options> APPLY DB AND BUFFERPOOLS ONLY

Answer: BCSection: (none)

Explanation/Reference:

QUESTION 29The LIST APPLICATIONS command provides the following output:

Auth ID Application Appl. Application ID DB # of AgentsName Handle Name------- ----------- ------ ---------------------- ---------- ------------USR1 myapp 25667 LOCAL.DB2.060609075930 TESTDB 1USR1 db2bp.exe 25668 LOCAL.DB2.060609075931 TESTDB 1

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

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

Page 12: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

Answer: ASection: (none)

Explanation/Reference:

QUESTION 30A Database Administrator needs to create a new database mydb on /home/database and wants to haveRUNSTATS running automatically. Which of the following is/are the minimum required statements for this tooccur?

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

B. CREATE DATABASE mydb on /home/database UPDATE DB CFG for mydb using AUTO_MAINT ONC. CREATE DATABASE mydb on /home/database UPDATE DB CFG for mydb using AUTO_RUNSTATS

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

Answer: DSection: (none)

Explanation/Reference:

QUESTION 31Which of the following utilities can copy all 50 tables created under a single schema to another database withthe fewest required steps?

A. db2moveB. db2lookC. db2copyD. db2batch

Answer: ASection: (none)

Explanation/Reference:

QUESTION 32A developer wants to create a new user-defined function for the FINANCE database using the 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 "Create"option.

B. Right-click the "Routines" folder under the FINANCE database and select the "Create User-DefinedFunction wizard" option.

C. A user-defined function cannot be created using the Control Center. Proceed with using the CommandEditor or the new DB2 V9 Developer Workbench.

D. Switch to the Control Center Development View, right-click the "User-Defined Function" folder under theFINANCE database, and select the "Create" option.

Page 13: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

Answer: CSection: (none)

Explanation/Reference:

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

LOAD QUERY TABLE mkt_value

A. Displays the status of the loadB. Allows users to query the data being loadedC. Prevents any querying of the table MKT_VALUE during the loadD. Specifies a query is to be run immediately after the load operation

Answer: ASection: (none)

Explanation/Reference:

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

SELECT EMPID FROM employee WHERE EMPID > 1000

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

A. REORGB. REBINDC. REORGCHKD. RUNSTATS

Answer: DSection: (none)

Explanation/Reference:

QUESTION 35Given the following command:

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

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

A. Only the data that is being loaded into TABLE1

Page 14: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

B. No data in TABLE1 can be accessed until the load completesC. All data in TABLE1 including the data currently being loadedD. Only data in TABLE1 that existed prior to the load invocation

Answer: DSection: (none)

Explanation/Reference:

QUESTION 36Given the following IMPORT command:

IMPORT FROM myfile.ixf OF IXFXML FROM /tmp/xmlpathXMLVALIDATE USING XDSMESSAGES msg.outREPLACE_CREATE INTO newtable

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

A. Re-run the IMPORT with the NOTIMEOUT option.B. Re-run the IMPORT with the COMMITCOUNT AUTOMATIC option.C. Re-run the IMPORT with the REPLACE option instead of the REPLACE_CREATE option.D. Re-run the IMPORT without the XMLVALIDATE USING XDS option; validate the documents after the

IMPORT completes with the XMLVALIDATE function.

Answer: BSection: (none)

Explanation/Reference:

QUESTION 37What is the isolation level that the EXPORT utility is bound with?

A. Repeatable ReadB. Unrepeatable ReadC. Uncommitted ReadD. Cursor Stability

Answer: DSection: (none)

Explanation/Reference:

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

Page 15: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

--# SET FREQUENCY 1000 i

nforms the Design Advisor:

A. To run the index analysis 1,000 times.B. To execute all SQL statements in the workload file 1,000 times.C. To evaluate the SQL statement following the comment 1,000 times.D. To try up to 1,000 combinations of optimizations for the workload.

Answer: CSection: (none)

Explanation/Reference:

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

A. LOAD data into table T1 LOAD data into table T2B. IMPORT data into table T1 IMPORT data into table T2C. IMPORT data into table T1 LOAD data into table T2D. LOAD data into table T1 IMPORT data into table T2

Answer: DSection: (none)

Explanation/Reference:

QUESTION 40Users are reporting slow response for queries running against theSEC.CREDITCARD table. The following command was run:

db2 "reorgchk current statistics on table SEC.CREDITCARD"

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

A. Rebind all packages that use the SEC.CREDITCARD table.B. Drop and rebuild all indexes on the SEC.CREDITCARD table.C. Run statistics and re-run the reorgchk command on the SEC.CREDITCARD.D. Reorganize the indexes for the SEC.CREDITCARD table using a temporary table space.

Answer: CSection: (none)

Explanation/Reference:

Page 16: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

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

A. db2mtrkB. db2mchkC. db2explnD. db2memview

Answer: ASection: (none)

Explanation/Reference:

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

A. Change the Global Settings for all table spaces and then change the Object Settings for table space TS1.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 space

TS1.D. Change the Instance Settings for all table spaces and then change the Tablespace Settings for table space

TS1.

Answer: ASection: (none)

Explanation/Reference:

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

A. RESET MONITOR ALLB. ZERO MONITOR COUNTERSC. ZERO MONITOR FOR COMMITD. RESET MONITOR FOR COMMIT

Answer: ASection: (none)

Explanation/Reference:

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

A. DATABASE

Page 17: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

B. DEADLOCKSC. BUFFERPOOLSD. CONNNECTIONS

Answer: BSection: (none)

Explanation/Reference:

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

A. db2bfdB. db2lookC. db2advisD. db2expln

Answer: DSection: (none)

Explanation/Reference:

QUESTION 46A user issues the following commands:

UPDATE DBM CFG USING DFT_MON_STMT ONUPDATE MONITOR SWITCHES USING SORT ON

Then, later issues these commands:

UPDATE DBM CFG USING DFT_MON_LOCK ONUPDATE MONITOR SWITCHES USING BUFFERPOOLON UPDATE MONITOR SWITCHES USING STATEMENT OFF

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

A. STATEMENT, LOCKB. STATEMENT, SORTC. BUFFERPOOL, SORTD. BUFFERPOOL, LOCK

Answer: ASection: (none)

Explanation/Reference:

QUESTION 47

Page 18: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

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

A. BLOCKB. BUFFERC. NONBLOCKD. SHEAPTHRES_SHR

Answer: ASection: (none)

Explanation/Reference:

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

A. Hash joinB. Star joinC. Left outer joinD. Nested-loop join

Answer: ASection: (none)

Explanation/Reference:

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

A. db2bfdB. db2mtrkC. db2lookD. db2advis

Answer: ASection: (none)

Explanation/Reference:

QUESTION 50How many index keys are created by this index?

CREATE INDEX empindex on companyinfo(companydocs) GENERATE KEY USING XMLPATTERN '/company/emp/@id' AS SQL DOUBLE if the XML column contains the following two documents:

Page 19: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

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

Answer: CSection: (none)

Explanation/Reference:

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

A. DISTRIBUTE BY HASHB. PARTITION BY RANGEC. ORGANIZE BY DIMENSIONSD. ORGANIZE BY KEY SEQUENCE

Answer: DSection: (none)

Page 20: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

Explanation/Reference:

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

CREATE REGULAR TABLESPACE TBS01 PAGESIZE 16384 MANAGED BY SYSTEMUSING ('/fs1', '/fs2', '/fs3')EXTENTSIZE 32PREFETCHSIZE 64BUFFERPOOL BP016K;

A. 34 GBB. 26 GBC. 24 GBD. 18 GB

Answer: CSection: (none)

Explanation/Reference:

QUESTION 53If the following command is executed:

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

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 tablespaces for database adwprod will be created in /db2tbsp/CATALOG.

Answer: BSection: (none)

Explanation/Reference:

QUESTION 54The DB2 instance "db2inst1" has been created in the /home/db2inst1 directory. If the DFTDBPATH databasemanager configuration parameter contains no value and the following command is executed: CREATEDATABASE newdb Where will the NODE0000 subdirectory of the database NEWDB reside?

A. In the /home/db2inst1 subdirectoryB. In the /home/db2inst1/newdb subdirectoryC. In the /home/db2inst1/db2inst1 subdirectory

Page 21: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

D. In the /home/db2inst1/db2inst1/newdb subdirectory

Answer: CSection: (none)

Explanation/Reference:

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

A. The schema owner is assumed to be a user or a group.B. The new schema owner is granted the privilege to explicitly create other schemas.C. The schema owner is granted CREATEIN, DROPIN, and ALTERIN privileges on the schema with the

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

ability to grant these privileges to other users.

Answer: CSection: (none)

Explanation/Reference:

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

A. create tablespace TBSP_10 managed by databaseB. create tablespace TBSP_10 managed by automatic storageC. create regular tablespace TBSP_10 managed by automatic storageD. create large tablespace TBSP_10 managed by database automatic storage

Answer: BSection: (none)

Explanation/Reference:

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

A. list tablespacesB. list tablespaces show detailC. list tablespace containers show detailD. get snapshot for tablespace containers on sample

Answer: BSection: (none)

Page 22: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

Explanation/Reference:

QUESTION 58Given the following DMS tablespaces:

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

Which of the following statements is used to create a partitioned table part_tab with four partitions in whichpart0 will be placed in tbsp0, part1 will be placed in tbsp1, part2 will be placed in tbsp2, and part3 will beplaced in tbsp3?

A. CREATE TABLE part_tab (c0 INT)PARTITION BY (c0)(STARTING 0 ENDING at 9 IN tbsp0,STARTING 10 ENDING 19 IN tbsp1,STARTING 20 ENDING 29 IN tbsp2,STARTING 30 ENDING at 39 IN tbsp3);

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

C. CREATE TABLE part_tab (c0 INT) in tbsp0, tbsp1, tbsp2PARTITION BY (c0)(STARTING 0 ENDING at 9,STARTING 10 ENDING 19,STARTING 20 ENDING 29,STARTING 30 ENDING at 39);

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 ENDING 29 INtbsp2,STARTING 30 ENDING at 39 IN tbsp3);

Answer: ASection: (none)

Explanation/Reference:

QUESTION 59Which of the following REORG table options will compress the data in a table using the existing compressiondictionary?

A. KEEPEXISTINGB. KEEPDICTIONARY

Page 23: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

C. RESETDICTIONARYD. EXISTINGDICTIONARY

Answer: BSection: (none)

Explanation/Reference:

QUESTION 60A 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 datathat can be stored in this table space?

A. 1 GBB. 3 GBC. 5 GBD. 11 GB

Answer: BSection: (none)

Explanation/Reference:

QUESTION 61Which of the following statements best describes DB2's table partitioning capability?

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

Answer: DSection: (none)

Explanation/Reference:

QUESTION 62Which of the following Control Center features would be used to graphically discover a locking problem that isleading to poor concurrency on a database?

A. Health CenterB. Design AdvisorC. Activity MonitorD. DB2 Query Patroller Center

Answer: CSection: (none)

Page 24: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

Explanation/Reference:

QUESTION 63A database administrator creates two indexes on the same table. INX1 is in ascending order and INX2 is indescending order. The DISALLOW REVERSE SCANS option is not specified in the CREATE INDEXstatement. 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: DSection: (none)

Explanation/Reference:

QUESTION 64Given the table MYTAB:

C1 C2 C31200 east Miller1201 east Smith1201 east Miller1202 east Smith

What will happen when the following statement is issued: C

REATE UNIQUE INDEX MYINX ON MYTAB(C1)

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

table.

Answer: ASection: (none)

Explanation/Reference:

QUESTION 65What is the correct method of obtaining the global information on DB2 systems and features installed on aDB2 V9 database server on Linux?

Page 25: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

A. rpmB. db2lsC. db2gsD. pkgadd

Answer: BSection: (none)

Explanation/Reference:

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

SELECT c1, c2 FROM mytab ORDER BY c1

Which of the following statements should be executed?

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

Answer: DSection: (none)

Explanation/Reference:

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

A. create view V1 as select c1, c2 from T1 where c1 < 50000B. create view V1 as select c1, c2 from T1 where c1 < 50000 with force optionC. create view V1 as select c1, c2 from T1 where c1 < 50000 with check optionD. create view V1 as select c1, c2 from T1 where c1 < 50000 constraint definition

Answer: CSection: (none)

Explanation/Reference:

QUESTION 68The following statements have been executed:

CREATE TABLE empdata(empno INT NOT NULL,

Page 26: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

sex CHAR(1) NOT NULL CONSTRAINT sexok CHECK (sex IN ('M','F')) NOT ENFORCEDENABLE 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. 0B. 1C. 2D. 3

Answer: ASection: (none)

Explanation/Reference:

QUESTION 69Given the following CREATE TABLE statement:

CREATE TABLE employee(empno CHAR(6) NOT NULL,firstnme VARCHAR(12),midinit CHAR(1),lastname VARCHAR(15),workdept CHAR(3))

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

A. CREATE INDEX e1 ON employee(firstnme, midinit, lastname)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, lastname)

Answer: BSection: (none)

Explanation/Reference:

QUESTION 70If 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.

Page 27: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

D. If there are other applications holding an incompatible row lock, the IMPORT utility will start inserting intothe database transaction logs until all of these applications commit or rollback.

Answer: ASection: (none)

Explanation/Reference:

QUESTION 71A database administrator needs to benchmark a database for both SQL and XQUERY. What utility can beused to accomplish this task?

A. db2batchB. db2explainC. db2analyzeD. db2benchmark

Answer: ASection: (none)

Explanation/Reference:

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

A. Control Center and the CLPB. Control Center, CLI, and the CLPC. Control Center, CLP, and the ADMIN_CMD stored procedureD. Control Center, CLI, CLP, and ADMIN_CMD stored procedure

Answer: DSection: (none)

Explanation/Reference:

QUESTION 73The DB2 command:

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

will do which of the following?

A. Report an error on "/dev/null" and fail.B. Drop the table EDW.CHANL_DIM from the database.C. Delete all the rows from the table EDW.CHANL_DIM.D. Load all the columns in the table EDW.CHANL_DIM with NULLs.

Page 28: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

Answer: CSection: (none)

Explanation/Reference:

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

A. The Control Center View is set to Basic.B. The database was not cataloged correctly.C. An account with insufficient privileges is being used.D. The database administrator is connecting from a Linux workstation, and the Control Center on Linux does

not have that additional functionality.

Answer: ASection: (none)

Explanation/Reference:

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

A. Issue the following commands:db2 RESET MONITOR FOR DATABASE sampledb2advis -d sample -g

B. Write a program to get the SQL statement using the snapshot monitor API and feed it to the advisor usingthe advisor API

C. Issue the following commands:db2 RESET MONITOR FOR DATABASE sampledb2 GET SNAPSHOT FOR DYNAMIC SQL WRITE TO FILE myfiledb2advis -d sample -wf myfile

D. Create table MYSNAPTAB with the structure of the table function SNAPSHOT_DYN_SQL then issue thefollowing commands:db2 INSERT INTO mysnaptab SELECT * FROM TABLE (SNAPSHOT_DYN_SQL('',-1)) AS xdb2advis -d sample -wt mysnaptab

Answer: ASection: (none)

Explanation/Reference:

QUESTION 76Tables T1 and T2 have INSERT triggers defined. While populating table T1, the triggers must be fired, andwhile populating table T2, the triggers must not be fired. Which of the following will accomplish this?

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

Page 29: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

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

Answer: CSection: (none)

Explanation/Reference:

QUESTION 77Given the command:

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

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 at the beginning and end of the load processing.

Answer: CSection: (none)

Explanation/Reference:

QUESTION 78Immediately after an "in place" table reorganization for the EMPLOYEE table, which sequence of operationswill 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 use 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: ASection: (none)

Explanation/Reference:

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

A. An index is added to table T1B. A view is created on table T1

Page 30: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

C. An index is dropped from table T1D. Changes are made to application MYAPP

Answer: ASection: (none)

Explanation/Reference:

QUESTION 80Which of the following is available in db2pd?

A. Information about active databasesB. Information about a stopped instanceC. Information about the administration serverD. Information about active and inactive databases

Answer: ASection: (none)

Explanation/Reference:

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

A. Start or stop the db2diag.log.B. Start or stop the Administration Notification log.C. Filter and format the information available in the db2diag.log.D. Filter and format the information available in the Administration Notification log.

Answer: CSection: (none)

Explanation/Reference:

QUESTION 82If these commands are executed in the order shown:

CREATE EVENT MONITOR TABLEMON FOR TABLESWRITE TO TABLE MON_TABLE ;SET EVENT MONITOR TABLEMON STATE 1 ;DROP EVENT MONITOR TABLEMON ;

Which of the following is true?

A. Event monitor TABLEMON is dropped and table MON_TABLE is dropped.B. Event monitor TABLEMON is dropped and output is in table MON_TABLE.C. Event monitor TABLEMON is deactivated and output is in table MON_TABLE.

Page 31: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

D. Event monitor TABLEMON is active and output is written to table MON_TABLE.

Answer: DSection: (none)

Explanation/Reference:

QUESTION 83An event monitor is created as follows:

CREATE EVENT MONITOR BPOOLMON FOR BUFFERPOOLS WRITE TO TABLE

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

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

BPOOLMON.D. Update the instance monitor switch DFT_MON_BUFPOOL to ON, create the table(s) where monitor data

will be written and activate the event monitor BPOOLMON.

Answer: ASection: (none)

Explanation/Reference:

QUESTION 84Health indicators exist at which of the following levels?

A. Global, instance, database, and table spaceB. Instance, database, table space, and buffer poolC. Global, database, table space, and table space containerD. Instance, database, table space, and table space container

Answer: DSection: (none)

Explanation/Reference:

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

A. It tells DB2 to use a specific version of the DB2 optimizer when generating an access plan.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.D. It tells DB2 that a query is extremely important and should be executed ahead of all other running queries.

Page 32: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

Answer: CSection: (none)

Explanation/Reference:

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

A. Hash joinB. Star joinC. Merge joinD. Nested-loop join

Answer: DSection: (none)

Explanation/Reference:

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

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

Answer: CSection: (none)

Explanation/Reference:

QUESTION 88Given a newly created database called PRODDB, which of the following commands were required to producethe following output?

Page 33: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

A. GET SNAPSHOT FOR LOCKS ON proddbB. RESET MONITOR ALL; GET SNAPSHOT FOR LOCKS ON proddbC. UPDATE MONITOR SWITCHES USING UOW; GET SNAPSHOT FOR LOCKS ON proddbD. UPDATE MONITOR SWITCHES USING LOCK ON; GET SNAPSHOT FOR LOCKS ON proddb

Answer: DSection: (none)

Explanation/Reference:

QUESTION 89A database administrator is granted DBADM authority on a database.

DBADM authority is later revoked when the administrator moves to a different division in the company.

Which authorities would the administrator still retain, assuming that no other authorities were granted orrevoked?

A. No authoritiesB. SYSMAINT authorityC. CREATE_EXTERNAL_ROUTINE authority

Page 34: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

D. SECADM, CONNECT, and LOAD authorities

Answer: CSection: (none)

Explanation/Reference:

QUESTION 90User USER1 writes a dynamic SQL application which reads data from table T1, inserts data into table T2 andreads 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 user1B. GRANT SELECT ON t3 TO user1C. GRANT BINDADD ON db1 TO user1D. GRANT SELECT ON t3 AND t1 TO user1

Answer: CSection: (none)

Explanation/Reference:

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

A. By providing row level access controlB. By providing rowset level access controlC. By defining access roles in external systemsD. By providing both row level and column level access control

Answer: DSection: (none)

Explanation/Reference:

QUESTION 92A database server is running two DB2 instances and each instance has three databases under its control. Todetermine the AUTHENTICATION type(s) used by the server, where must the DBA look?

A. In the DB2 registry

Page 35: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

B. In the db2profile fileC. In each database configuration fileD. In each database manager configuration file

Answer: DSection: (none)

Explanation/Reference:

QUESTION 93Which of the following identifies which users have SYSCTRL authority?

A. DB2 registryB. System catalogC. Database configurationD. Database manager configuration

Answer: DSection: (none)

Explanation/Reference:

QUESTION 94Given the following situation:

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

User USR1 has CONTROL privilege on Table T1.

User USR2 has SYSMAINT authority.

User USR2 has been explicitly granted SELECT privilege on table T1 and views V1 and V3.

If user USR1 revokes the SELECT privilege on table T1 from user USR2, what will happen with the SELECTprivilege 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 not be revoked from user USR2.C. SELECT privileges 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: BSection: (none)

Explanation/Reference:

QUESTION 95

Page 36: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

On a DB2 server with two instances, inst1 and inst2, inst1 is the default and current instance. Which of thefollowing will successfully start the instance inst2?

A. db2startB. db2start inst2C. set db2instance=inst2 db2startD. set db2instance inst2 db2start

Answer: CSection: (none)

Explanation/Reference:

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

A. FORCE ALLB. FORCE USERS ALLC. FORCE APPLICATION ALLD. FORCE USERS, APPLICATION ALL

Answer: CSection: (none)

Explanation/Reference:

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

Instance name: db2inst1Port number: 60000Service name: db2c_db2inst1Host TCP/IP address: 10.205.15.100Hostname: tcphostProtocol: TCP/IP

A. CATALOG TCPIP NODE db2tcp REMOTE 10.205.15.100B. CATALOG TCPIP NODE db2tcp REMOTE tcphost SERVER 60000C. CATALOG TCPIP NODE db2tcp REMOTE tcphost SERVER db2inst1D. CATALOG TCPIP NODE db2tcp REMOTE tcphost INSTANCE db2inst1

Answer: BSection: (none)

Explanation/Reference:

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

Page 37: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

SAMPLE?

A. db2set DB2_ENABLE_AUTOCONFIG_DEFAULT=YESB. update dbm cfg using AUTOMATIC_DEFAULT ON db2stop db2startC. connect to sample AUTOCONFIGURE using MEM_PERCENT 60 APPLY DB ONLY terminateD. connect to sample update db cfg for SAMPLE using AUTOCONFIGURE ON terminate

Answer: CSection: (none)

Explanation/Reference:

QUESTION 99The 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, whatactions 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: DSection: (none)

Explanation/Reference:

QUESTION 100Based on the following database manager configuration parameter values :

MAXAGENTS 400MAX_COORDAGENTS 200MAXCAGENTS 100NUM_POOLAGENTS 200NUM_INITAGENTS 50

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

A. 50B. 100C. 200D. 400

Answer: BSection: (none)

Explanation/Reference:

Page 38: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

QUESTION 101Given the following notification log entry:

2006-02-15-19.33.37.630000 Instance:DB2 Node:000PID:940(db2agent) TID: 660 Appid:*AC14B132.OB12.0138C7070500 database monitorsqm_gen_dlconn_events Probe:10 Database:SAMPLE DIA8300C A memory heap error has occurred

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

A. Issue DB2 LIST DCS APPLICATIONS and search for AC14B132.OB12.0138C7070500B. Issue DB2 LIST APPLICATIONS and search for AC14B132.OB12.0138C7070500C. Issue DB2 LIST DCS APPLICATIONS and search for 660D. Issue DB2 LIST APPLICATIONS and search for 660

Answer: BSection: (none)

Explanation/Reference:

QUESTION 102The 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 ofmemory and combined use approximately 80% of the total memory available?

A. CONNECT TO datab1 AUTOCONFIGURE USING mem_percent 20 CONNECT TO datab2AUTOCONFIGURE USING mem_percent 20

B. CONNECT TO datab1 AUTOCONFIGURE USING mem_percent 40 CONNECT TO datab2AUTOCONFIGURE USING mem_percent 40

C. CONNECT TO datab1 AUTOCONFIGURE USING mem_percent 50 CONNECT TO datab2AUTOCONFIGURE USING mem_percent 50

D. CONNECT TO datab1 AUTOCONFIGURE USING mem_percent 80 CONNECT TO datab2AUTOCONFIGURE USING mem_percent 80

Answer: BSection: (none)

Explanation/Reference:

QUESTION 103A user has reported they cannot discover a DB2 database using Configuration Assistant, which of thefollowing is most likely the cause?

A. The user has installed the wrong Windows client software.B. DAS is not running on the server where the database resides.C. The database was not ACTIVATED before attempting Discovery.

Page 39: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

D. The user's Client Access Profile is missing an entry for the database.

Answer: BSection: (none)

Explanation/Reference:

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

A. db2set DB2_ENABLE_AUTOCONFIG_DEFAULT=NOB. db2set DB2_ENABLE_AUTOCONFIG_DEFAULT=YESC. db2 update dbm cfg using AUTOMATIC_DEFAULT ON db2stop db2startD. db2 update db cfg for SAMPLE using AUTOCOFIGURE ON db2 terminate

Answer: ASection: (none)

Explanation/Reference:

QUESTION 105Which of the following would prevent an application from waiting indefinitely to obtain a lock on table T1?

A. Alter table T1 locksize tableB. Update db cfg for sample using lock_wait 10000C. Update db cfg for sample using locktimeout 10000D. Update db cfg for sample using lock_wait automatic

Answer: CSection: (none)

Explanation/Reference:

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

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

Answer: DSection: (none)

Explanation/Reference:

Page 40: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

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

A. The backup operation runs 10 times faster.B. The backup operation priority will be increased to 10.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: DSection: (none)

Explanation/Reference:

QUESTION 108What is the correct way to delete the instance level variable DB2COMM from the DB2 Profile Registry?

A. db2set DB2COMM=B. db2set DB2COMM -vC. db2set -all DB2COMMD. db2set -null DB2COMM

Answer: ASection: (none)

Explanation/Reference:

QUESTION 109Given the following table definition:

Page 41: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

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

Answer: BSection: (none)

Explanation/Reference:

QUESTION 110Given the following statements:

CREATE TABLE tabconst(c1 INTEGER NOT NULL,c2 INTEGER,CONSTRAINT gtzero CHECK (c1 > 0) ENFORCED,CONSTRAINT ltzero CHECK (c2 < 0) NOT ENFORCED ENABLE QUERY OPTIMIZATION )

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

SELECT c1, c2 FROM tabconst WHERE c2 = 0

How many rows does the SELECT statement return?

A. 0B. 1

Page 42: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

C. 2D. 3

Answer: ASection: (none)

Explanation/Reference:

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

A. Health CenterB. Query PatrollerC. Developer WorkbenchD. Command Line Processor

Answer: ASection: (none)

Explanation/Reference:

QUESTION 112Given the following statement:

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

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

A. CREATE CONSTRAINT myinx ON TABLE mytab (c1) UNIQUEB. CREATE UNIQUE INDEX myinx ON TABLE mytab (c1)C. CREATE INDEX myinx ON TABLE mytab (c1)D. CREATE INDEX myinx ON TABLE mytab

Answer: BSection: (none)

Explanation/Reference:

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

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

Page 43: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

Section: (none)

Explanation/Reference:

QUESTION 114A non-administrative user, USER1, can no longer access a view on whichthey have been granted SELECT privilege. The DBA examines the SYSCAT.VIEWS catalog view andfinds that the view has been marked inoperative. In order to allow this view to be accessed by the user, whichof the following should be done?

A. Determine the CREATE VIEW statement in the SYSCAT.VIEWS catalog view, DROP the inoperativeview and issue the determined CREATE VIEW statement.

B. Determine the CREATE VIEW statement in the SYSCAT.VIEWS catalog view, issue the CREATE VIEWstatement, and grant SELECT privilege to USER1.

C. Determine the CREATE VIEW statement from a database backup and recreate the view issuing thisCREATE VIEW statement.

D. Determine the inoperative view, issue the ALTER VIEW statement, and grant SELECT privilege toUSER1.

Answer: BSection: (none)

Explanation/Reference:

QUESTION 115Given the following requirements:

table t1 with columns c1, c2 and c3column c1 must be unique

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

SELECT c1, c2, c3 FROM t1 ORDER BY c1

A. CREATE UNIQUE INDEX 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: DSection: (none)

Explanation/Reference:

QUESTION 116Table T1 is accessed frequently by two applications. One application returns the data in column C1 inascending order and the other returns the data in column C1 in descending order. What is the minimumrequired to speed up both applications?

Page 44: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

A. CREATE INDEX inx1 ON t1(c1)B. CREATE CLUSTER INDEX inx1 ON t1(c1)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)

Answer: ASection: (none)

Explanation/Reference:

QUESTION 117After restoring a full database backup into a new database and connecting to the new database, which of thefollowing 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: CSection: (none)

Explanation/Reference:

QUESTION 118Given two servers SERV1 and SERV2 with the database IMPDB on SERV1, which steps are necessary tosetup HADR for this database using SERV2 as a standby server?

A. 1. Update the DB CFG parameters2. Start HADR on SERV23. Start HADR on SERV1

B. 1. Update the DB CFG parameters2. Start HADR on SERV13. Start HADR on SERV2

C. 1. Backup IMPDB on SERV12. Restore IMPDB on SERV23. Update the DB CFG parameters4. Start HADR on SERV15. Start HADR on SERV2

D. 1. Backup IMPDB on SERV12. Restore IMPDB on SERV23. Update the DB CFG parameters4. Start HADR on SERV25. Start HADR on SERV1

Answer: DSection: (none)

Explanation/Reference:

Page 45: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

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

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

A. BACKUP DATABASE PRODUCTS TO /fs1/products/backup COMPRESSB. BACKUP DATABASE PRODUCTS INCREMENTAL TO /fs1/products/backupC. BACKUP DATABASE PRODUCTS TO /fs1/products/backup EXCLUDE LOGSD. BACKUP DATABASE PRODUCTS INCREMENTAL DELTA TO /fs1/products/backup

Answer: DSection: (none)

Explanation/Reference:

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

A. INDEXREC=SYSTEMB. INDEXREC=ACCESSC. INDEXREC=RESTARTD. INDEXREC=FIRSTEXEC

Answer: BSection: (none)

Explanation/Reference:

QUESTION 121A database administrator changes the value of the SORTHEAP parameter online. When will this changebecome effective for running applications?

A. ImmediatelyB. At the statement boundaryC. At the connection boundaryD. At the transaction boundary

Answer: BSection: (none)

Explanation/Reference:

Page 46: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

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

A. db2inidb mydb as mirrorB. db2inidb mydb as backupC. db2inidb mydb as standbyD. db2inidb mydb as snapshot

Answer: ASection: (none)

Explanation/Reference:

QUESTION 123A 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 filereveals 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. 1. Restart the DEV database using the following command:RESTART DATABASE dev DROP PENDING TABLESPACES (tempspace1)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 TEMPSPACE1.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 DROPPENDING TABLESPACES 'TEMPSPACE1'"2. Drop the system temporary table space TEMPSPACE1.3. Recreate the system temporary table space TEMPSPACE1.

D. 1. Drop the system temporary table space TEMPSPACE1.2. Restart the DEV database using the following command: RESTART DATABASE dev3. Create the system temporary table space TEMPSPACE1.

Answer: CSection: (none)

Explanation/Reference:

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

A. COPY NO option specified and the standby database must be resynchronizedB. COPY YES option specified and the standby database must have access to the copy imageC. From the standby database issue this command:

db2set DB2_LOAD_COPY_YES_OVERRIDE=c:\loaddir

Page 47: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

D. From the primary database issue this command:UPDATE DB CFG FOR sample USING DB2_LOAD_COPY_NO_OVERRIDE c:\loaddir

Answer: BSection: (none)

Explanation/Reference:

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

A. It requires the instance parameter FAILARCHPATH to be set appropriately.B. It can only read log files from the log path where they were originally written.C. It must be to a time after the minimum recovery time from the LIST TABLESPACES command.D. It cannot be accomplished while users are connected to the database. A FORCE APPLICATION command

is required before the ROLLFORWARD command can be issued.

Answer: CSection: (none)

Explanation/Reference:

QUESTION 126Given the following scenario:

Backup database DB1 on July 15th.

Rename table space TS1 to TS1A on July 19th.

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

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

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

Answer: BSection: (none)

Explanation/Reference:

QUESTION 127Given the following statements:

CREATE TABLESPACE tbsp1 MANAGED BY DATABASE USING(FILE conta 10000)

Page 48: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

CREATE TABLESPACE tbsp2 MANAGED BY DATABASE USING(FILE contb 10000)CREATE TABLESPACE tbsp3 MANAGED BY DATABASE USING(FILE contc 10000)

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

CREATE INDEX idx1_part_tab on part_tab (c0)

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

A. TBSP1B. TBSP2C. TBSP3D. USERSPACE1

Answer: ASection: (none)

Explanation/Reference:

QUESTION 128Given the following statements:

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

CREATE TABLE part_tab (c0 INT, c1 INT) LONG IN tbsp1 CYCLE INDEX IN tbsp2 PARTITION BY (c0)(PART part1 STARTING FROM (1) ENDING at (10000), PART part2 STARTING FROM (10001) ENDING at(20000), PART part3 STARTING FROM (20001) ENDING at (20010),

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

CREATE INDEX idx1_part_tab on part_tab (c0) IN tbsp3;

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

A. TBSP1B. TBSP2C. TBSP3D. USERSPACE1

Answer: CSection: (none)

Page 49: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

Explanation/Reference:

QUESTION 129How many extents are allocated when the following EMPLOYEE table is created in the DMS table spaceTBS03?

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

CREATE UNIQUE INDEX INX_U_EMP ON EMPLOYEE ( ID );CREATE INDEX INX_EMP_01 ON EMPLOYEE ( NAME );

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

Answer: DSection: (none)

Explanation/Reference:

QUESTION 130Given 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-createdtable spaces within the v9cert database?

A. Automatic storage is enabled for this database which will have the database created in /database/dbuserwhile user table spaces will be created in dftdbpath.

B. Automatic storage is enabled for the database which will have the database created in /database/dbuserand user table spaces created in /database/dbuser.

C. Automatic storage is enabled for the database which will have the database created in dftdbpath and usertable spaces created in /database/dbuser.

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

Answer: B

Page 50: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

Section: (none)

Explanation/Reference:

QUESTION 131Which of the following statements about SCHEMA objects is true?

A. A schema must always be associated with a user.B. Triggers and sequences do not have schemas associated with them.C. After creating a new database, all users who successfully authenticate with the database have the ability to

create a new schema.D. If a schema is not explicitly specified in a SQL statement, the PUBLIC schema is assumed.

Answer: CSection: (none)

Explanation/Reference:

QUESTION 132Given the following CREATE DATABASE command:

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

Which of the following comments are true?

A. The PUBLIC group will not be granted any privileges automatically since all privileges will be restricted.B. The PUBLIC group will only be granted CONNECT privilege for the database automatically and all other

privileges will be restricted.C. The PUBLIC group will automatically be granted SELECT access to the SYSCAT and SYSSTAT catalog

views with all other privileges being restricted.D. The PUBLIC group will automatically be granted privileges such as CONNECT and SELECT for catalog

views as well as USE privilege on USERSPACE1 with all other privileges being restricted.

Answer: ASection: (none)

Explanation/Reference:

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

CREATE REGULAR TABLESPACE TS_NAME1 IN DATABASE PARTITION GROUPIBMDEFAULTGROUPPAGESIZE 4096MANAGED BY SYSTEMUSING ( <container 1>, <container 2>, <container 3> )EXTENTSIZE 32PREFETCHSIZE 96BUFFERPOOL IBMDEFAULTBP

Page 51: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

How much space does DB2 allocate when all existing pages in the table space are full?

A. 4 kilobytesB. 32 kilobytesC. 96 kilobytesD. 128 kilobytes

Answer: DSection: (none)

Explanation/Reference:

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

A. db2pdB. inspectC. reorgchkD. runstats

Answer: BSection: (none)

Explanation/Reference:

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

A. select * from syscat.tablespacesB. get snapshot for tablespaces on sampleC. list tablespace containers show detailD. get snapshot for tablespace containers on sample

Answer: BSection: (none)

Explanation/Reference:

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

A. XML indexes cannot 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.

Page 52: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

D. An index over XML data can be used to improve the efficiency of queries on XML documents that arestored in an XML column.

Answer: ASection: (none)

Explanation/Reference:

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

A. By using RESIZE YES in the CREATE TABLESPACE statementB. By using AUTORESIZE YES in the CREATE TABLESPACE statementC. Only SMS table spaces can dynamically expand based on its underlying file systemD. This feature is turned on automatically for DMS table spaces and can be disabled by RESIZE NO by the

ALTER TABLESPACE statement

Answer: BSection: (none)

Explanation/Reference:

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

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

Answer: DSection: (none)

Explanation/Reference:

QUESTION 139A recovery of database DB1 is started by issuing RECOVER DATABASE DB1 TO END OF LOGS. Therecovery fails during the rollforward phase. In order to continue the recovery from the point of failure, which ofthe following commands should be executed?

A. RECOVER DATABASE DB1 RESTARTB. RECOVER DATABASE DB1 TO END OF LOGSC. RECOVER DATABASE DB1 TO END OF LOGS RESTARTD. RECOVER DATABASE DB1 CONTINUE TO END OF LOGS

Answer: B

Page 53: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

Section: (none)

Explanation/Reference:

QUESTION 140When 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. DB2SECURITYB. DB2LABELSECURITYC. DB2SECURITYLABELD. DB2SECURITYDBLABEL

Answer: CSection: (none)

Explanation/Reference:

QUESTION 141A DBA attempts to use the Task Center to schedule a daily database backup and is not successful. A GETADMIN CFG command shows that TOOLSCAT_DB, TOOLSCAT_INST, and TOOLSCAT_SCHEMA are allNULL 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: BSection: (none)

Explanation/Reference:

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

A. db2bfdB. db2lookC. db2advisD. db2expln

Answer: DSection: (none)

Page 54: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

Explanation/Reference:

QUESTION 143The DB2 instance "db2inst1" has been created in the /home/db2inst1 directory. If the DFTDBPATH databasemanager configuration parameter contains no value and the following command is executed: CREATEDATABASE newdb Where will the NODE0000 subdirectory of the database NEWDB reside?

A. In the /home/db2inst1 subdirectoryB. In the /home/db2inst1/newdb subdirectoryC. In the /home/db2inst1/db2inst1 subdirectoryD. In the /home/db2inst1/db2inst1/newdb subdirectory

Answer: CSection: (none)

Explanation/Reference:

QUESTION 144Given the table MYTAB:

C1 C2 C31200 east Miller1201 east Smith1201 east Miller1202 east Smith

What will happen when the following statement is issued: C

REATE UNIQUE INDEX MYINX ON MYTAB(C1)

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

table.

Answer: ASection: (none)

Explanation/Reference:

QUESTION 145A database administrator is granted DBADM authority on a database.

DBADM authority is later revoked when the administrator moves to a different division in the company.

Which authorities would the administrator still retain, assuming that no other authorities were granted orrevoked?

Page 55: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

A. No authoritiesB. SYSMAINT authorityC. CREATE_EXTERNAL_ROUTINE authorityD. SECADM, CONNECT, and LOAD authorities

Answer: CSection: (none)

Explanation/Reference:

QUESTION 146Based on the following database manager configuration parameter values :

MAXAGENTS 400MAX_COORDAGENTS 200MAXCAGENTS 100NUM_POOLAGENTS 200NUM_INITAGENTS 50

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

A. 50B. 100C. 200D. 400

Answer: BSection: (none)

Explanation/Reference:

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

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

Answer: DSection: (none)

Explanation/Reference:

QUESTION 148

Page 56: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com

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

A. XML indexes cannot 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 of queries on XML documents that are

stored in an XML column.

Answer: ASection: (none)

Explanation/Reference:

QUESTION 149When 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. DB2SECURITYB. DB2LABELSECURITYC. DB2SECURITYLABELD. DB2SECURITYDBLABEL

Answer: CSection: (none)

Explanation/Reference:

QUESTION 150Given the table MYTAB:

C1 C2 C31200 east Miller1201 east Smith1201 east Miller1202 east Smith

What will happen when the following statement is issued: C

REATE UNIQUE INDEX MYINX ON MYTAB(C1)

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

table.

Answer: ASection: (none)

Explanation/Reference:

Page 57: IBM.000-731. certification guide

For More Info Visit www.logicsmeet.com