Sei sulla pagina 1di 57

IBM.000-731.

PrepKing

For More Info Visit www.logicsmeet.com

Exam A QUESTION 1 A database administrator has HADR enabled and wants to do a LOAD WITH COPY NO option on the primary server. What happens on the standby server? A. The Load is replicated without problems. B. The Load will stop with an appropriate error message. C. The Load will be automatically converted to NONRECOVERABLE and the standby database will be marked bad. D. The Load will be automatically converted to COPY YES if the directory or device specified on the primary server is accessible for the standby database. Answer: C Section: (none) Explanation/Reference:

QUESTION 2 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? A. B. C. D. Quiesce the database and update the parameter. Attach to the instance and update the parameter. Connect to the database in a single user mode and update the parameter. Attach to the instance, update the parameter, stop and restart the instance.

Answer: B Section: (none) Explanation/Reference:

QUESTION 3 A transaction that receives a log disk full error (SQL0968C) will fail and be rolled back. In order to prevent the roll back, which of the following should be done? A. B. C. D. Set BLK_LOG_DSK_FUL to NO Set BLK_LOG_DSK_FUL to YES Decrease space for the active log directory Reduce the LOGPRIMARY, LOGSECOND and LOGFILSIZ

Answer: B Section: (none) Explanation/Reference:

QUESTION 4 Recovering a single table space to a point in time: For More Info Visit www.logicsmeet.com

A. B. C. D.

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

Answer: A Section: (none) Explanation/Reference:

QUESTION 5 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? A. B. C. D. After failover, the APPLICANT table index may be rebuilt. An attempt to create a unique index on the APPLICANT table will fail. Index builds for the APPLICANT table on the primary system will take longer. The LOGINDEXBUILD database configuration parameter overrides the table attribute.

Answer: A Section: (none) Explanation/Reference:

QUESTION 6 A FINANCE database must be available 24 hours a day, seven days a week. Which of the following commands can be issued to back up the FINANCE database, while minimizing the impact on other database users? A. B. C. D. BACKUP DATABASE finance ONLINE TO <backup_location> COMPRESS BACKUP DATABASE finance TO <backup_location> UTIL_IMPACT_PRIORITY 5 BACKUP DATABASE finance ONLINE TO <backup_location> UTIL_IMPACT_PRIORITY 15 BACKUP DATABASE finance ONLINE TO <backup_location> UTIL_IMPACT_PRIORITY 100

Answer: C Section: (none) Explanation/Reference:

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

For More Info Visit www.logicsmeet.com

B. RECOVER DATABASE DB1 TO END OF LOGS C. RECOVER DATABASE DB1 TO END OF LOGS RESTART D. RECOVER DATABASE DB1 CONTINUE TO END OF LOGS Answer: B Section: (none) Explanation/Reference:

QUESTION 8 Which of the following is used to protect a database from the accidental deletion of an active log file and data corruption of log files caused by hardware failure? A. B. C. D. newlogpath failarchpath mirrorlogpath overflowlogpath

Answer: C Section: (none) Explanation/Reference:

QUESTION 9 A database named QA that was using archival logging crashed. An attempt to restart it failed with error code SQL0290N. Examination of the db2diag.log shows that the disk drive containing the system catalog table space SYSCATSPACE is not responding. Backup images of both the QA database and the SYSCATSPACE table space exist. After replacing the failed disk drive, what is the quickest method 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: D Section: (none) Explanation/Reference:

QUESTION 10 Given the following situation: Table space ts1 with tables t1, t2, t3 Table space ts2 with tables t4, t5

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. B. C. D. The roll The roll The roll The roll forward is executed to the end of logs. forward is not executed and an error message is generated. forward is executed and table t4 is placed in set integrity pending state. forward is executed and tables t1 and t4 are placed in set integrity pending state.

Answer: C Section: (none) Explanation/Reference:

QUESTION 11 What are the two security mechanisms that enable users to access DB2 data? A. B. C. D. Authentication and Clearance Authorization and Validation Validation and Certification Authentication and Authorization

Answer: D Section: (none) Explanation/Reference:

QUESTION 12 USER1 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 be allowed to drop the table? A. A user with SYSADM authority must execute the statement GRANT DELETE ON table1 TO user1. B. A user with DBADM authority must execute the statement GRANT 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: B Section: (none) Explanation/Reference:

For More Info Visit www.logicsmeet.com

QUESTION 13 When a table is altered and a column is added for secured access by Label Based Access Control (LBAC), what column type should be used? A. B. C. D. DB2SECURITY DB2LABELSECURITY DB2SECURITYLABEL DB2SECURITYDBLABEL

Answer: C Section: (none) Explanation/Reference:

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

Answer: A Section: (none) Explanation/Reference:

QUESTION 15 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? A. B. C. D. EXECUTE privilege on the stored procedure SELECT privilege on the EMPLOYEE table INSERT privilege on the PAYROLL table EXECUTE privilege on the stored procedure INSERT privilege on the PAYROLL table EXECUTE privilege on the stored procedure SELECT privilege on the EMPLOYEE table

Answer: C Section: (none) Explanation/Reference:

QUESTION 16 User 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 For More Info Visit www.logicsmeet.com

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? A. B. C. D. User 2 and user 3 still have SELECT privileges on view V1. All privileges have been revoked and the view is marked inoperative. User 3 still has SELECT privilege on view V1, but user 2's privilege has been revoked. User 2 still has SELECT privilege on view V1, but user 3's privilege has been revoked.

Answer: B Section: (none) Explanation/Reference:

QUESTION 17 Given the following notification log entry: 2006-02-13-14.34.35.965000-300 I17502H435 LEVEL: Error PID : 940 TID : 660 PROC : db2syscs.exe INSTANCE: DB2 NODE : 000 DB : SAMPLE APPHDL : 0-1433 APPID: *LOCAL.DB2.050120082811 FUNCTION: DB2 UDB, data protection, sqlpsize, probe:20 RETCODE : ZRC=0x860F000A=-2045837302=SQLO_FNEX "File not found." DIA8411C A file "" could not be found. Which letter from the function name sqlpsize should be used to look up information about this function in the Support and Troubleshooting section of the Information Center? A. B. C. D. The last letter The fifth letter The fourth letter The second last letter

Answer: C Section: (none) Explanation/Reference:

QUESTION 18 A database server has two instances with all databases created using the default parameters. Instance inst1 with databases datab1, datab2 and datab3 Instance inst2 with databases datab11, datab12 and datab13 The instance inst1 and the database datab12 must not be able to be seen using DISCOVERY to catalog databases and 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 to discover_db = disable B. Update the dbm cfg for instance inst1 to discover_inst = disable Update the dbm cfg for instance inst2 to discover_inst = disable C. Update the dbm cfg for instance inst1 to discover_inst = disable Update the dbm cfg for instance inst2 to discover_db = disable datab12

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 datab11 and datab13 to discover_db = enable Answer: A Section: (none) Explanation/Reference:

QUESTION 19 Which of the following authorities should a user have in order to QUIESCE the DB2 instance? A. B. C. D. DBADM SECADM SYSMON SYSMAINT

Answer: D Section: (none) Explanation/Reference:

QUESTION 20 Which of the following settings would allow 20 sorts with a maximum of 10MB each to run concurrently on a 64-bit instance? A. B. C. D. Set the DB SHEAPTHRES to 50000 and the DB SORTHEAP to 2500. Set the DBM SHEAPTHRES to 50000 and the DB SORTHEAP to 2500. Set the DBM SHEAPTHRES to 50000 and the DBM SORTHEAP to 2500. Set the DBM SHEAPTHRES_SHR to 50000 and the DBM SHEAPTHRES to 2500.

Answer: B Section: (none) Explanation/Reference:

QUESTION 21 A DBA attempts to use the Task Center to schedule a daily database backup and is not successful. A GET ADMIN CFG command shows that TOOLSCAT_DB, TOOLSCAT_INST, and TOOLSCAT_SCHEMA are all NULL on the DB2 server where the backup task was attempted. What must be done to enable scheduling of tasks on this server using the Task Center? A. Use the CREATE DATABASE command to create a database called TOOLSDB. B. Use the CREATE TOOLS CATALOG command to create the DB2 tools catalog tables in a new or existing database. C. Create a table space called SYSTOOLSPACE in the database that the Task Center was trying to schedule a Backup for using CREATE TABLESPACE.

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 a Backup for and then use UPDATE ADMIN CFG to reference that database, instance and schema. Answer: B Section: (none) Explanation/Reference:

QUESTION 22 For a DB2 instance db2inst1 on a server with port 50000 available, which of the following commands must be run in order to configure DB2 to listen for incoming TCP/IP connections? A. B. C. D. E. F. G. H. I. db2set db2comm=tcpip db2 UPDATE DBM CFG USING PORT_NUM 50000 db2 UPDATE DBM CFG USING SVCENAME DB2c_db2inst1 db2 UPDATE DBM CFG USING TP_MON_NAME db2inst1 Add "DB2c_db2inst1 50000/tcp" to the services file F. db2set db2comm=tcp/ip a, b, c c, e, f a, d, e a, c, e

Answer: D Section: (none) Explanation/Reference:

QUESTION 23 After running AUTOCONFIGURE for a database, sort memory heap (SORTHEAP) was not enabled for automatic tuning. Which of the following is the reason? A. B. C. D. SHEAPTHRES in the database manager configuration is set to zero. SHEAPTHRES in the database manager configuration is not set to -1. SHEAPTHRES in the database manager configuration is not set to zero. SHEAPTHRES in the database manager configuration is not set to auto.

Answer: C Section: (none) Explanation/Reference:

QUESTION 24 Self tuning memory will tune in intervals based on which of the following? A. The workload changes B. The DB2 registry entry

For More Info Visit www.logicsmeet.com

C. The database configuration D. The autoconfig configuration file Answer: A Section: (none) Explanation/Reference:

QUESTION 25 An excerpt from an application snapshot reveals the following : Coordinator agent process or thread ID = 1413166 Degree of parallelism requested = 6 umber of agents working on statement = 4 Number of subagents created for statement = 4 Agent process/thread ID = 1413166 Agent process/thread ID = 2670796 Agent process/thread ID = 2703374 Agent process/thread ID = 1736882 Agent process/thread ID = 1724474 Which of the following configurations would be observed? A. B. C. D. INTRA_PARALLEL ON and MAXAGENTS 4 and database configuration DFT_DEGREE 1 INTRA_PARALLEL ON and MAX_QUERYDEGREE 3 and database configuration DFT_DEGREE 4 INTRA_PARALLEL ON and MAX_QUERYDEGREE 6 and database configuration DFT_DEGREE 1 INTRA_PARALLEL ON and MAX_QUERYDEGREE 4 and database configuration DFT_DEGREE ANY

Answer: D Section: (none) Explanation/Reference:

QUESTION 26 Which command will list all registry variables that are set for the current or default instance? A. B. C. D. db2set -lr db2set -all db2set -inst db2set DB2INSTDEF

Answer: B Section: (none) Explanation/Reference:

QUESTION 27

For More Info Visit www.logicsmeet.com

Which of the following lists all actions possible using the SET UTIL_IMPACT_PRIORITY command? A. B. C. D. E. F. G. H. Throttle a utility that was invoked in unthrottled mode Unthrottle a throttled utility (disable throttling) Set the default throttle for all utilities Reprioritize a throttled utility a and b b, c and d a, b and c a, b and d

Answer: D Section: (none) Explanation/Reference:

QUESTION 28 Which of the following TWO commands will apply AUTOCONFIGURE recommended changes to buffer pools? A. B. C. D. E. AUTOCONFIGURE USING <options> APPLY NONE AUTOCONFIGURE USING <options> APPLY DB ONLY AUTOCONFIGURE USING <options> APPLY DB AND DBM AUTOCONFIGURE USING <options> APPLY BUFFERPOOLS ONLY AUTOCONFIGURE USING <options> APPLY DB AND BUFFERPOOLS ONLY

Answer: BC Section: (none) Explanation/Reference:

QUESTION 29 The LIST APPLICATIONS command provides the following output: Auth ID Application Appl. Application ID DB # of Agents Name Handle Name ------- ----------- ------ ---------------------- ---------- -----------USR1 myapp 25667 LOCAL.DB2.060609075930 TESTDB 1 USR1 db2bp.exe 25668 LOCAL.DB2.060609075931 TESTDB 1 The Database Administrator needs to force the application myapp executed by user usr1. Which command must be issued? A. B. C. D. FORCE APPLICATION (25667) FORCE APPLICATION (myapp) FORCE APPLICATION (myapp user usr1) FORCE APPLICATION (LOCAL.DB2.060609075930)

For More Info Visit www.logicsmeet.com

Answer: A Section: (none) Explanation/Reference:

QUESTION 30 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 statements for this to occur? A. CREATE DATABASE mydb on /home/database UPDATE DB CFG for mydb using AUTO_RUNSTATS ON UPDATE DB CFG for mydb using AUTO_MAINT OFF B. CREATE DATABASE mydb on /home/database UPDATE DB CFG for mydb using AUTO_MAINT ON C. CREATE DATABASE mydb on /home/database UPDATE DB CFG for mydb using AUTO_RUNSTATS ON UPDATE DB CFG for mydb using AUTO_MAINT ON D. CREATE DATABASE mydb on /home/database Answer: D Section: (none) Explanation/Reference:

QUESTION 31 Which of the following utilities can copy all 50 tables created under a single schema to another database with the fewest required steps? A. B. C. D. db2move db2look db2copy db2batch

Answer: A Section: (none) Explanation/Reference:

QUESTION 32 A 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-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.

For More Info Visit www.logicsmeet.com

Answer: C Section: (none) Explanation/Reference:

QUESTION 33 If a large amount of data is being loaded into table MKT_VALUE, what does the following DB2 command do? LOAD QUERY TABLE mkt_value A. B. C. D. Displays the status of the load Allows users to query the data being loaded Prevents any querying of the table MKT_VALUE during the load Specifies a query is to be run immediately after the load operation

Answer: A Section: (none) Explanation/Reference:

QUESTION 34 A table named EMPLOYEE contains 100,000 records. The following query seems to take a long time to execute when it is run against the EMPLOYEE table: SELECT EMPID FROM employee WHERE EMPID > 1000 A DBA creates an index on the EMPID column but performance does not improve. Which of the following operations will correct this problem? A. B. C. D. REORG REBIND REORGCHK RUNSTATS

Answer: D Section: (none) Explanation/Reference:

QUESTION 35 Given 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

For More Info Visit www.logicsmeet.com

B. No data in TABLE1 can be accessed until the load completes C. All data in TABLE1 including the data currently being loaded D. Only data in TABLE1 that existed prior to the load invocation Answer: D Section: (none) Explanation/Reference:

QUESTION 36 Given the following IMPORT command: IMPORT FROM myfile.ixf OF IXF XML FROM /tmp/xmlpath XMLVALIDATE USING XDS MESSAGES msg.out REPLACE_CREATE INTO newtable If the command fails due to the transaction logs being full, which of the following will allow the IMPORT to complete successfully? A. B. C. D. Re-run the IMPORT with the NOTIMEOUT option. Re-run the IMPORT with the COMMITCOUNT AUTOMATIC option. Re-run the IMPORT with the REPLACE option instead of the REPLACE_CREATE option. Re-run the IMPORT without the XMLVALIDATE USING XDS option; validate the documents after the IMPORT completes with the XMLVALIDATE function.

Answer: B Section: (none) Explanation/Reference:

QUESTION 37 What is the isolation level that the EXPORT utility is bound with? A. B. C. D. Repeatable Read Unrepeatable Read Uncommitted Read Cursor Stability

Answer: D Section: (none) Explanation/Reference:

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

For More Info Visit www.logicsmeet.com

--# SET FREQUENCY 1000 i nforms the Design Advisor: A. B. C. D. To run the index analysis 1,000 times. To execute all SQL statements in the workload file 1,000 times. To evaluate the SQL statement following the comment 1,000 times. To try up to 1,000 combinations of optimizations for the workload.

Answer: C Section: (none) Explanation/Reference:

QUESTION 39 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? A. B. C. D. LOAD data into table T1 LOAD data into table T2 IMPORT data into table T1 IMPORT data into table T2 IMPORT data into table T1 LOAD data into table T2 LOAD data into table T1 IMPORT data into table T2

Answer: D Section: (none) Explanation/Reference:

QUESTION 40 Users are reporting slow response for queries running against the SEC.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. What steps should be taken next? A. B. C. D. Rebind all packages that use the SEC.CREDITCARD table. Drop and rebuild all indexes on the SEC.CREDITCARD table. Run statistics and re-run the reorgchk command on the SEC.CREDITCARD. Reorganize the indexes for the SEC.CREDITCARD table using a temporary table space.

Answer: C Section: (none) Explanation/Reference:

For More Info Visit www.logicsmeet.com

QUESTION 41 Which of the following utilities provides a report of memory status for instances, databases, and agents? A. B. C. D. db2mtrk db2mchk db2expln db2memview

Answer: A Section: (none) Explanation/Reference:

QUESTION 42 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? 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: A Section: (none) Explanation/Reference:

QUESTION 43 Which of the following commands will re-initialize the commit counter reported by the snapshot monitor? A. B. C. D. RESET MONITOR ALL ZERO MONITOR COUNTERS ZERO MONITOR FOR COMMIT RESET MONITOR FOR COMMIT

Answer: A Section: (none) Explanation/Reference:

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

For More Info Visit www.logicsmeet.com

B. DEADLOCKS C. BUFFERPOOLS D. CONNNECTIONS Answer: B Section: (none) Explanation/Reference:

QUESTION 45 Which of the following DB2 utilities can produce a graph of an optimizer query plan? A. B. C. D. db2bfd db2look db2advis db2expln

Answer: D Section: (none) Explanation/Reference:

QUESTION 46 A user issues the following commands: UPDATE DBM CFG USING DFT_MON_STMT ON UPDATE MONITOR SWITCHES USING SORT ON Then, later issues these commands: UPDATE DBM CFG USING DFT_MON_LOCK ON UPDATE MONITOR SWITCHES USING BUFFERPOOL ON UPDATE MONITOR SWITCHES USING STATEMENT OFF 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. B. C. D. STATEMENT, LOCK STATEMENT, SORT BUFFERPOOL, SORT BUFFERPOOL, LOCK

Answer: A Section: (none) Explanation/Reference:

QUESTION 47

For More Info Visit www.logicsmeet.com

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? A. B. C. D. BLOCK BUFFER NONBLOCK SHEAPTHRES_SHR

Answer: A Section: (none) Explanation/Reference:

QUESTION 48 In a decision support environment, if a query joins two tables, which of the following join methods is preferred? A. B. C. D. Hash join Star join Left outer join Nested-loop join

Answer: A Section: (none) Explanation/Reference:

QUESTION 49 Which utility can be used to examine the SQL statements within a bind file? A. B. C. D. db2bfd db2mtrk db2look db2advis

Answer: A Section: (none) Explanation/Reference:

QUESTION 50 How 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:

For More Info Visit www.logicsmeet.com

A. B. C. D.

0 2 3 4

Answer: C Section: (none) Explanation/Reference:

QUESTION 51 Which one of the following data organization schemes should be used in isolation? A. B. C. D. DISTRIBUTE BY HASH PARTITION BY RANGE ORGANIZE BY DIMENSIONS ORGANIZE BY KEY SEQUENCE

Answer: D Section: (none)

For More Info Visit www.logicsmeet.com

Explanation/Reference:

QUESTION 52 What is the maximum size of table space TBS01 given that the size of fs1 is 16GB, fs2 is 10GB and fs3 is 8GB? CREATE REGULAR TABLESPACE TBS01 PAGESIZE 16384 MANAGED BY SYSTEM USING ('/fs1', '/fs2', '/fs3') EXTENTSIZE 32 PREFETCHSIZE 64 BUFFERPOOL BP016K; A. B. C. D. 34 GB 26 GB 24 GB 18 GB

Answer: C Section: (none) Explanation/Reference:

QUESTION 53 If the following command is executed: create database adwprod on '/db2adw' collate using identity catalog tablespace managed by database using (FILE '/db2tbsp/CATALOG' 512); Which of the following will occur? A. B. C. D. The SYSCATSPACE would be renamed CATALOG. A DMS table space will be used to hold a catalog. The command will fail because the catalogue tablespace is called SYSCATSPACE. All of the tablespaces for database adwprod will be created in /db2tbsp/CATALOG.

Answer: B Section: (none) Explanation/Reference:

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

For More Info Visit www.logicsmeet.com

D. In the /home/db2inst1/db2inst1/newdb subdirectory Answer: C Section: (none) Explanation/Reference:

QUESTION 55 When 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: C Section: (none) Explanation/Reference:

QUESTION 56 For a database that is enabled for automatic storage, which command will create a DMS tablespace TBSP_10 capable of storing 1 TB of data? A. B. C. D. create tablespace TBSP_10 managed by database create tablespace TBSP_10 managed by automatic storage create regular tablespace TBSP_10 managed by automatic storage create large tablespace TBSP_10 managed by database automatic storage

Answer: B Section: (none) Explanation/Reference:

QUESTION 57 Which of the following is the correct command for obtaining detailed information about a table space, including its current status? A. B. C. D. list tablespaces list tablespaces show detail list tablespace containers show detail get snapshot for tablespace containers on sample

Answer: B Section: (none)

For More Info Visit www.logicsmeet.com

Explanation/Reference:

QUESTION 58 Given 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 which part0 will be placed in tbsp0, part1 will be placed in tbsp1, part2 will be placed in tbsp2, and part3 will be placed 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) (PART part0 STARTING 0 ENDING at 9, PART part1 STARTING 10 ENDING 19, PART part2 STARTING 20 ENDING 29, PART part3 STARTING 30 ENDING at 39); C. CREATE TABLE part_tab (c0 INT) in tbsp0, tbsp1, tbsp2 PARTITION 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 IN tbsp2, STARTING 30 ENDING at 39 IN tbsp3); Answer: A Section: (none) Explanation/Reference:

QUESTION 59 Which of the following REORG table options will compress the data in a table using the existing compression dictionary? A. KEEPEXISTING B. KEEPDICTIONARY

For More Info Visit www.logicsmeet.com

C. RESETDICTIONARY D. EXISTINGDICTIONARY Answer: B Section: (none) Explanation/Reference:

QUESTION 60 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? A. B. C. D. 1 GB 3 GB 5 GB 11 GB

Answer: B Section: (none) Explanation/Reference:

QUESTION 61 Which of the following statements best describes DB2's table partitioning capability? A. B. C. D. It does not work with DPF. It is not allowed with MQTs. It is the same as using UNION of multiple tables. It improves performance through data partition elimination.

Answer: D Section: (none) Explanation/Reference:

QUESTION 62 Which of the following Control Center features would be used to graphically discover a locking problem that is leading to poor concurrency on a database? A. B. C. D. Health Center Design Advisor Activity Monitor DB2 Query Patroller Center

Answer: C Section: (none)

For More Info Visit www.logicsmeet.com

Explanation/Reference:

QUESTION 63 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 Section: (none) Explanation/Reference:

QUESTION 64 Given the table MYTAB: C1 C2 C3 1200 east Miller 1201 east Smith 1201 east Miller 1202 east Smith What will happen when the following statement is issued: C REATE UNIQUE INDEX MYINX ON MYTAB(C1) A. B. C. D. The index MYINX will not be created. The word UNIQUE will be omitted by DB2 and a non-unique index MYINX will be created. The unique index MYINX will be created and the rows with duplicate keys will be deleted from the table. The unique index MYINX will be created and the rows with duplicate keys will be placed in an exception table.

Answer: A Section: (none) Explanation/Reference:

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

For More Info Visit www.logicsmeet.com

A. B. C. D.

rpm db2ls db2gs pkgadd

Answer: B Section: (none) Explanation/Reference:

QUESTION 66 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: SELECT c1, c2 FROM mytab ORDER BY c1 Which of the following statements should be executed? A. B. C. D. CREATE INDEX ix1 ON mytab (c1, c2) CREATE INDEX ix1 ON mytab (c2, c1) CREATE UNIQUE INDEX ix1 ON mytab(c1) CREATE INDEX ix2 ON mytab (c2) CREATE UNIQUE INDEX ix1 ON mytab (c1) INCLUDE (c2)

Answer: D Section: (none) Explanation/Reference:

QUESTION 67 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? A. B. C. D. create view V1 as select c1, c2 from create view V1 as select c1, c2 from create view V1 as select c1, c2 from create view V1 as select c1, c2 from T1 where c1 < 50000 T1 where c1 < 50000 with force option T1 where c1 < 50000 with check option T1 where c1 < 50000 constraint definition

Answer: C Section: (none) Explanation/Reference:

QUESTION 68 The following statements have been executed: CREATE TABLE empdata (empno INT NOT NULL, For More Info Visit www.logicsmeet.com

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. B. C. D. 0 1 2 3

Answer: A Section: (none) Explanation/Reference:

QUESTION 69 Given 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 last name from being inserted into the table, but allows NULL values? A. B. C. D. CREATE INDEX e1 ON employee(firstnme, midinit, lastname) CREATE UNIQUE INDEX e1 ON employee(firstnme, midinit, lastname) ALTER TABLE employee ADD CONSTRAINT const1 UNIQUE(firstnme, midinit, lastname) ALTER TABLE employee ADD CONSTRAINT const1 PRIMARY KEY(firstnme, midinit, lastname)

Answer: B Section: (none) Explanation/Reference:

QUESTION 70 If an IMPORT is running with the ALLOW WRITE ACCESS option, which of the following statements is true? A. IMPORT has to request a table lock after every commit. B. If there are other applications holding an incompatible table lock, the IMPORT utility will start inserting data into pages where other applications are not writing. C. While IMPORT is running, any other application requesting an incompatible table lock will write data to the database transaction logs until the IMPORT commits or rolls back.

For More Info Visit www.logicsmeet.com

D. If there are other applications holding an incompatible row lock, the IMPORT utility will start inserting into the database transaction logs until all of these applications commit or rollback. Answer: A Section: (none) Explanation/Reference:

QUESTION 71 A database administrator needs to benchmark a database for both SQL and XQUERY. What utility can be used to accomplish this task? A. B. C. D. db2batch db2explain db2analyze db2benchmark

Answer: A Section: (none) Explanation/Reference:

QUESTION 72 Which of the following is the most complete list of methods by which the EXPORT utility can be invoked? A. B. C. D. Control Control Control Control Center and the CLP Center, CLI, and the CLP Center, CLP, and the ADMIN_CMD stored procedure Center, CLI, CLP, and ADMIN_CMD stored procedure

Answer: D Section: (none) Explanation/Reference:

QUESTION 73 The DB2 command: LOAD FROM /dev/null OF DEL REPLACE INTO edw.chanl_dim; will do which of the following? A. B. C. D. Report an error on "/dev/null" and fail. Drop the table EDW.CHANL_DIM from the database. Delete all the rows from the table EDW.CHANL_DIM. Load all the columns in the table EDW.CHANL_DIM with NULLs.

For More Info Visit www.logicsmeet.com

Answer: C Section: (none) Explanation/Reference:

QUESTION 74 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? A. B. C. D. The Control Center View is set to Basic. The database was not cataloged correctly. An account with insufficient privileges is being used. The database administrator is connecting from a Linux workstation, and the Control Center on Linux does not have that additional functionality.

Answer: A Section: (none) Explanation/Reference:

QUESTION 75 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? A. Issue the following commands: db2 RESET MONITOR FOR DATABASE sample db2advis -d sample -g B. Write a program to get the SQL statement using the snapshot monitor API and feed it to the advisor using the advisor API C. Issue the following commands: db2 RESET MONITOR FOR DATABASE sample db2 GET SNAPSHOT FOR DYNAMIC SQL WRITE TO FILE myfile db2advis -d sample -wf myfile D. Create table MYSNAPTAB with the structure of the table function SNAPSHOT_DYN_SQL then issue the following commands: db2 INSERT INTO mysnaptab SELECT * FROM TABLE (SNAPSHOT_DYN_SQL('',-1)) AS x db2advis -d sample -wt mysnaptab Answer: A Section: (none) Explanation/Reference:

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

For More Info Visit www.logicsmeet.com

B. Populate table T1 with LOAD Populate table T2 with IMPORT C. Populate table T1 with IMPORT Populate table T2 with LOAD D. Populate table T1 with IMPORT Populate table T2 with IMPORT Answer: C Section: (none) Explanation/Reference:

QUESTION 77 Given the command: LOAD FROM file2.dat OF DEL INSERT INTO adw.mkt_value ALLOW READ ACCESS Which of the following is true? A. B. C. D. The behavior of the load operation is dependent upon the isolation level used. Readers will be able to read the newly loaded data before the load operation has finished. If the load operation aborts, the original data in the table is still accessible for read access. Read access is provided throughout the load as well as at the beginning and end of the load processing.

Answer: C Section: (none) Explanation/Reference:

QUESTION 78 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? A. B. C. D. Reorg table indexes, perform runstats and rebind packages that use the table. Runstats with distribution statistics and rebind any packages that use the table. Rebuild any associated indexes, rebind any packages that use the table and perform runstats. Reorg the associated indexes offline, runstats with distribution statistics, rebind any packages that use the table.

Answer: A Section: (none) Explanation/Reference:

QUESTION 79 Application MYAPP uses static SQL to access table T1. For which of the following situations should an explicit REBIND be performed? A. An index is added to table T1 B. A view is created on table T1

For More Info Visit www.logicsmeet.com

C. An index is dropped from table T1 D. Changes are made to application MYAPP Answer: A Section: (none) Explanation/Reference:

QUESTION 80 Which of the following is available in db2pd? A. B. C. D. Information about active databases Information about a stopped instance Information about the administration server Information about active and inactive databases

Answer: A Section: (none) Explanation/Reference:

QUESTION 81 Which of the following describes the functionality of the db2diag tool? A. B. C. D. Start or stop the db2diag.log. Start or stop the Administration Notification log. Filter and format the information available in the db2diag.log. Filter and format the information available in the Administration Notification log.

Answer: C Section: (none) Explanation/Reference:

QUESTION 82 If these commands are executed in the order shown: CREATE EVENT MONITOR TABLEMON FOR TABLES WRITE 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.

For More Info Visit www.logicsmeet.com

D. Event monitor TABLEMON is active and output is written to table MON_TABLE. Answer: D Section: (none) Explanation/Reference:

QUESTION 83 An 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: A Section: (none) Explanation/Reference:

QUESTION 84 Health indicators exist at which of the following levels? A. B. C. D. Global, instance, database, and table space Instance, database, table space, and buffer pool Global, database, table space, and table space container Instance, database, table space, and table space container

Answer: D Section: (none) Explanation/Reference:

QUESTION 85 What is the effect of increasing the Optimization Class from 5 to 7? A. B. C. D. It tells DB2 to use a specific version of the DB2 optimizer when generating an access plan. It tells the DB2 optimizer to use less optimization techniques when generating an access plan. It tells the DB2 optimizer to use more optimization techniques when generating an access plan. It tells DB2 that a query is extremely important and should be executed ahead of all other running queries.

For More Info Visit www.logicsmeet.com

Answer: C Section: (none) Explanation/Reference:

QUESTION 86 In an OLTP environment, if a query joins two tables on their primary key, which of the following join methods is preferred? A. B. C. D. Hash join Star join Merge join Nested-loop join

Answer: D Section: (none) Explanation/Reference:

QUESTION 87 An application working with the SAMPLE database is experiencing poor performance. Which of the following queries can be used to determine if lock contention is causing the problem? A. B. C. D. SELECT * FROM SNAPSHOT_LOCK ('sample', -1) SELECT * FROM SNAPSHOT_INFO ('sample', LOCK) SELECT * FROM TABLE (SNAPSHOT_LOCK ('sample', -1)) AS SNAP_INFO SELECT * FROM TABLE (SNAPSHOT_INFO ('sample', LOCK)) AS SNAP_INFO

Answer: C Section: (none) Explanation/Reference:

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

For More Info Visit www.logicsmeet.com

A. B. C. D.

GET SNAPSHOT FOR LOCKS ON proddb RESET MONITOR ALL; GET SNAPSHOT FOR LOCKS ON proddb UPDATE MONITOR SWITCHES USING UOW; GET SNAPSHOT FOR LOCKS ON proddb UPDATE MONITOR SWITCHES USING LOCK ON; GET SNAPSHOT FOR LOCKS ON proddb

Answer: D Section: (none) Explanation/Reference:

QUESTION 89 A 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 or revoked? A. No authorities B. SYSMAINT authority C. CREATE_EXTERNAL_ROUTINE authority

For More Info Visit www.logicsmeet.com

D. SECADM, CONNECT, and LOAD authorities Answer: C Section: (none) Explanation/Reference:

QUESTION 90 User USER1 writes a dynamic SQL application which reads data from table T1, inserts data into table T2 and reads data from table T3 in the database DB1. The following privileges have been granted: - INSERT on T2 is granted to USER1 - SELECT on T3 is granted to PUBLIC - CONNECT to DB1 is granted to PUBLIC - SELECT on T1 is granted to group GRP1 USER1 is a member of group GRP1. Which of the following will allow USER1 to successfully bind the application to database DB1? A. B. C. D. GRANT BIND ON db1 TO user1 GRANT SELECT ON t3 TO user1 GRANT BINDADD ON db1 TO user1 GRANT SELECT ON t3 AND t1 TO user1

Answer: C Section: (none) Explanation/Reference:

QUESTION 91 How does Label Based Access Control (LBAC) provide more granular access control? A. B. C. D. By providing row level access control By providing rowset level access control By defining access roles in external systems By providing both row level and column level access control

Answer: D Section: (none) Explanation/Reference:

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

For More Info Visit www.logicsmeet.com

B. In the db2profile file C. In each database configuration file D. In each database manager configuration file Answer: D Section: (none) Explanation/Reference:

QUESTION 93 Which of the following identifies which users have SYSCTRL authority? A. B. C. D. DB2 registry System catalog Database configuration Database manager configuration

Answer: D Section: (none) Explanation/Reference:

QUESTION 94 Given 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 SELECT privilege USR2 had on the view V1? A. B. C. D. SELECT privilege for the view V1 will be revoked from user USR2. SELECT privilege for the view V1 will not be revoked from user USR2. SELECT privileges for all views defined on table T1 will be revoked from user USR2. SELECT privilege for the view V1 will be revoked from user USR2; SELECT privilege for the view V3 will not be affected.

Answer: B Section: (none) Explanation/Reference:

QUESTION 95

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 the following will successfully start the instance inst2? A. B. C. D. db2start db2start inst2 set db2instance=inst2 db2start set db2instance inst2 db2start

Answer: C Section: (none) Explanation/Reference:

QUESTION 96 Which of the following commands can be used to force all users and applications from all databases? A. B. C. D. FORCE ALL FORCE USERS ALL FORCE APPLICATION ALL FORCE USERS, APPLICATION ALL

Answer: C Section: (none) Explanation/Reference:

QUESTION 97 Given the following server information, which of the following commands will catalog this node? Instance name: db2inst1 Port number: 60000 Service name: db2c_db2inst1 Host TCP/IP address: 10.205.15.100 Hostname: tcphost Protocol: TCP/IP A. B. C. D. CATALOG TCPIP NODE db2tcp REMOTE 10.205.15.100 CATALOG TCPIP NODE db2tcp REMOTE tcphost SERVER 60000 CATALOG TCPIP NODE db2tcp REMOTE tcphost SERVER db2inst1 CATALOG TCPIP NODE db2tcp REMOTE tcphost INSTANCE db2inst1

Answer: B Section: (none) Explanation/Reference:

QUESTION 98 Which of the following commands is used to invoke the Configuration Advisor for an existing database named For More Info Visit www.logicsmeet.com

SAMPLE? A. B. C. D. db2set DB2_ENABLE_AUTOCONFIG_DEFAULT=YES update dbm cfg using AUTOMATIC_DEFAULT ON db2stop db2start connect to sample AUTOCONFIGURE using MEM_PERCENT 60 APPLY DB ONLY terminate connect to sample update db cfg for SAMPLE using AUTOCONFIGURE ON terminate

Answer: C Section: (none) Explanation/Reference:

QUESTION 99 The database sample is created using the following command: CREATE DATABASE sample ON /databases In order to update statistics for only the tables that need it, between the hours of midnight and 2am, what actions must be taken? A. B. C. D. Enable HEALTH MONITOR for the database. Update the relevant database configuration parameters. Update the relevant database manager configuration parameters. Use automatic maintenance and define an appropriate maintenance window.

Answer: D Section: (none) Explanation/Reference:

QUESTION 100 Based on the following database manager configuration parameter values : MAXAGENTS 400 MAX_COORDAGENTS 200 MAXCAGENTS 100 NUM_POOLAGENTS 200 NUM_INITAGENTS 50 What is the maximum number of applications that can be executing concurrently in the instance? A. B. C. D. 50 100 200 400

Answer: B Section: (none) Explanation/Reference: For More Info Visit www.logicsmeet.com

QUESTION 101 Given the following notification log entry: 2006-02-15-19.33.37.630000 Instance:DB2 Node:000 PID:940(db2agent) TID: 660 Appid:*AC14B132.OB12.0138C7070500 database monitor sqm_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 actions must be taken? A. B. C. D. Issue DB2 LIST DCS APPLICATIONS and search for AC14B132.OB12.0138C7070500 Issue DB2 LIST APPLICATIONS and search for AC14B132.OB12.0138C7070500 Issue DB2 LIST DCS APPLICATIONS and search for 660 Issue DB2 LIST APPLICATIONS and search for 660

Answer: B Section: (none) Explanation/Reference:

QUESTION 102 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? A. CONNECT TO datab1 AUTOCONFIGURE USING mem_percent 20 CONNECT TO datab2 AUTOCONFIGURE USING mem_percent 20 B. CONNECT TO datab1 AUTOCONFIGURE USING mem_percent 40 CONNECT TO datab2 AUTOCONFIGURE USING mem_percent 40 C. CONNECT TO datab1 AUTOCONFIGURE USING mem_percent 50 CONNECT TO datab2 AUTOCONFIGURE USING mem_percent 50 D. CONNECT TO datab1 AUTOCONFIGURE USING mem_percent 80 CONNECT TO datab2 AUTOCONFIGURE USING mem_percent 80 Answer: B Section: (none) Explanation/Reference:

QUESTION 103 A user has reported they cannot discover a DB2 database using Configuration Assistant, which of the following 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.

For More Info Visit www.logicsmeet.com

D. The user's Client Access Profile is missing an entry for the database. Answer: B Section: (none) Explanation/Reference:

QUESTION 104 Which of the following commands is used to disable the Configuration Advisor for a new database? A. B. C. D. db2set DB2_ENABLE_AUTOCONFIG_DEFAULT=NO db2set DB2_ENABLE_AUTOCONFIG_DEFAULT=YES db2 update dbm cfg using AUTOMATIC_DEFAULT ON db2stop db2start db2 update db cfg for SAMPLE using AUTOCOFIGURE ON db2 terminate

Answer: A Section: (none) Explanation/Reference:

QUESTION 105 Which of the following would prevent an application from waiting indefinitely to obtain a lock on table T1? A. B. C. D. Alter table T1 locksize table Update db cfg for sample using lock_wait 10000 Update db cfg for sample using locktimeout 10000 Update db cfg for sample using lock_wait automatic

Answer: C Section: (none) Explanation/Reference:

QUESTION 106 There is a job in Task Center scheduled to run every Saturday. The Scheduler is turned off on Friday for system maintenance and then restarted on Monday. Under which of the following conditions is the job scheduled for Saturday executed when the Scheduler is restarted? A. B. C. D. The exec_exp_task DB2 registry is set to yes. The exec_exp_task Database configuration parameter is set to yes. The exec_exp_task Database Manager configuration parameter is set to yes. The exec_exp_task Administration server configuration parameter is set to yes.

Answer: D Section: (none) Explanation/Reference:

For More Info Visit www.logicsmeet.com

QUESTION 107 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? A. B. C. D. The backup operation runs 10 times faster. The backup operation priority will be increased to 10. The backup operation will impact the workload by 90 percent. The backup operation will not impact the workload by more than 10 percent.

Answer: D Section: (none) Explanation/Reference:

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

Answer: A Section: (none) Explanation/Reference:

QUESTION 109 Given the following table definition:

For More Info Visit www.logicsmeet.com

A. B. C. D.

1 2 3 4

Answer: B Section: (none) Explanation/Reference:

QUESTION 110 Given 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. 0 B. 1

For More Info Visit www.logicsmeet.com

C. 2 D. 3 Answer: A Section: (none) Explanation/Reference:

QUESTION 111 Which of the following tools is accessible through the DB2 Control Center? A. B. C. D. Health Center Query Patroller Developer Workbench Command Line Processor

Answer: A Section: (none) Explanation/Reference:

QUESTION 112 Given 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. B. C. D. CREATE CONSTRAINT myinx ON TABLE mytab (c1) UNIQUE CREATE UNIQUE INDEX myinx ON TABLE mytab (c1) CREATE INDEX myinx ON TABLE mytab (c1) CREATE INDEX myinx ON TABLE mytab

Answer: B Section: (none) Explanation/Reference:

QUESTION 113 Which of the following queries can be used to determine whether or not table TAB1 should be reorganized? A. B. C. D. SELECT TABNAME, LAST_REORG_TIME FROM SYSCAT.TABLES WHERE TABNAME = 'TAB1' SELECT TABNAME, OVERFLOW FROM SYSCAT.TABLES WHERE TABNAME = 'TAB1' SELECT TABNAME, PCTFREE FROM SYSCAT.TABLES WHERE TABNAME = 'TAB1' SELECT TABNAME, CARD FROM SYSCAT.TABLES WHERE TABNAME = 'TAB1'

Answer: B

For More Info Visit www.logicsmeet.com

Section: (none) Explanation/Reference:

QUESTION 114 A non-administrative user, USER1, can no longer access a view on which they have been granted SELECT privilege. The DBA examines the SYSCAT.VIEWS catalog view and finds that the view has been marked inoperative. In order to allow this view to be accessed by the user, which of the following should be done? A. Determine the CREATE VIEW statement in the SYSCAT.VIEWS catalog view, DROP the inoperative view and issue the determined CREATE VIEW statement. B. Determine the CREATE VIEW statement in the SYSCAT.VIEWS catalog view, issue the 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. D. Determine the inoperative view, issue the ALTER VIEW statement, and grant SELECT privilege to USER1. Answer: B Section: (none) Explanation/Reference:

QUESTION 115 Given the following requirements: table t1 with columns c1, c2 and c3 column c1 must be unique To allow index only access for the following SQL statement, which CREATE INDEX statement must be used? SELECT c1, c2, c3 FROM t1 ORDER BY c1 A. B. C. D. CREATE UNIQUE INDEX inx1 ON t1 (c1) CREATE INDEX inx1 ON t1 (c1, c2, c3) CREATE INDEX inx1 ON t1 (c1) INCLUDE (c2, c3) CREATE UNIQUE INDEX inx1 ON t1 (c1) INCLUDE (c2,c3)

Answer: D Section: (none) Explanation/Reference:

QUESTION 116 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?

For More Info Visit www.logicsmeet.com

A. B. C. D.

CREATE INDEX inx1 ON t1(c1) CREATE CLUSTER INDEX inx1 ON t1(c1) CREATE INDEX inx1 ON t1(c1 ASC) CREATE INDEX inx2 ON t1(c1 DESC) CREATE UNIQUE INDEX inx1 ON t1(c1 ASC) CREATE UNIQUE INDEX inx2 ON t1(c1 DESC)

Answer: A Section: (none) Explanation/Reference:

QUESTION 117 After restoring a full database backup into a new database and connecting to the new database, which of the following statements is correct? A. B. C. D. SQL procedures do not have to be recreated after restoring the database. Transaction logs from the old database can be used to roll forward the new database. No incremental or incremental delta backups are allowed until a non-incremental backup is taken. Incremental images and delta images from the original database can be restored in the new database.

Answer: C Section: (none) Explanation/Reference:

QUESTION 118 Given two servers SERV1 and SERV2 with the database IMPDB on SERV1, which steps are necessary to setup HADR for this database using SERV2 as a standby server? A. 1. Update the DB CFG parameters 2. Start HADR on SERV2 3. Start HADR on SERV1 B. 1. Update the DB CFG parameters 2. Start HADR on SERV1 3. Start HADR on SERV2 C. 1. Backup IMPDB on SERV1 2. Restore IMPDB on SERV2 3. Update the DB CFG parameters 4. Start HADR on SERV1 5. Start HADR on SERV2 D. 1. Backup IMPDB on SERV1 2. Restore IMPDB on SERV2 3. Update the DB CFG parameters 4. Start HADR on SERV2 5. Start HADR on SERV1 Answer: D Section: (none) Explanation/Reference:

For More Info Visit www.logicsmeet.com

QUESTION 119 A 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 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? A. B. C. D. BACKUP DATABASE PRODUCTS TO /fs1/products/backup COMPRESS BACKUP DATABASE PRODUCTS INCREMENTAL TO /fs1/products/backup BACKUP DATABASE PRODUCTS TO /fs1/products/backup EXCLUDE LOGS BACKUP DATABASE PRODUCTS INCREMENTAL DELTA TO /fs1/products/backup

Answer: D Section: (none) Explanation/Reference:

QUESTION 120 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. B. C. D. INDEXREC=SYSTEM INDEXREC=ACCESS INDEXREC=RESTART INDEXREC=FIRSTEXEC

Answer: B Section: (none) Explanation/Reference:

QUESTION 121 A database administrator changes the value of the SORTHEAP parameter online. When will this change become effective for running applications? A. B. C. D. Immediately At the statement boundary At the connection boundary At the transaction boundary

Answer: B Section: (none) Explanation/Reference:

For More Info Visit www.logicsmeet.com

QUESTION 122 In a split mirror environment, which of the following commands is used to initialize a mirrored database as a backup copy that can be used to restore the primary database? A. B. C. D. db2inidb mydb as mirror db2inidb mydb as backup db2inidb mydb as standby db2inidb mydb as snapshot

Answer: A Section: (none) Explanation/Reference:

QUESTION 123 A database named DEV, which was using circular logging, just crashed. The RESTART command fails with the error code SQL0290N. Close examination of the db2diag.log file reveals that the tablespace TEMPSPACE1 may be damaged and has been placed in Drop Pending state. What needs to be done in order to successfully restart the DEV database? A. 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 DROP PENDING 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 dev 3. Create the system temporary table space TEMPSPACE1. Answer: C Section: (none) Explanation/Reference:

QUESTION 124 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? A. COPY NO option specified and the standby database must be resynchronized B. COPY YES option specified and the standby database must have access to the copy image C. From the standby database issue this command: db2set DB2_LOAD_COPY_YES_OVERRIDE=c:\loaddir

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: B Section: (none) Explanation/Reference:

QUESTION 125 Which of the following statements about point in time recovery is true? A. B. C. D. It requires the instance parameter FAILARCHPATH to be set appropriately. It can only read log files from the log path where they were originally written. It must be to a time after the minimum recovery time from the LIST TABLESPACES command. 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: C Section: (none) Explanation/Reference:

QUESTION 126 Given 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 be issued? A. B. C. D. ROLLFORWARD DB db1 TO 2006-08-03-14.21.56 AND STOP TABLESPACE(ts1) ROLLFORWARD DB db1 TO 2006-08-03-14.21.56 AND STOP TABLESPACE(ts1a) ROLLFORWARD DB db1 TO 2006-08-03-14.21.56 AND STOP TABLESPACE(ts1 TO ts1a) ROLLFORWARD DB db1 TO 2006-08-03-14.21.56 AND STOP TABLESPACE(ts1 RENAME ts1a)

Answer: B Section: (none) Explanation/Reference:

QUESTION 127 Given the following statements: CREATE TABLESPACE tbsp1 MANAGED BY DATABASE USING (FILE conta 10000) 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. B. C. D. TBSP1 TBSP2 TBSP3 USERSPACE1

Answer: A Section: (none) Explanation/Reference:

QUESTION 128 Given 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. B. C. D. TBSP1 TBSP2 TBSP3 USERSPACE1

Answer: C Section: (none)

For More Info Visit www.logicsmeet.com

Explanation/Reference:

QUESTION 129 How many extents are allocated when the following EMPLOYEE table is created in the DMS table space TBS03? 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. B. C. D. 3 5 6 10

Answer: D Section: (none) Explanation/Reference:

QUESTION 130 Given the following CREATE DATABASE statement: create database v9cert on /database/dbuser using codeset utf-8 territory US restrictive Which of the following comments is true if the DBA wants to enable automatic storage for all user-created table spaces within the v9cert database? A. Automatic storage is enabled for this database which will have the database created in /database/dbuser while user table spaces will be created in dftdbpath. B. Automatic storage is enabled for the database which will have the database created 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 dftdbpath and user table spaces created in /database/dbuser. D. Automatic storage is not enabled for the database because multiple paths are not supplied in the CREATE DATABASE command. Answer: B

For More Info Visit www.logicsmeet.com

Section: (none) Explanation/Reference:

QUESTION 131 Which of the following statements about SCHEMA objects is true? A. A schema must always be associated with a user. B. Triggers and sequences do not have schemas associated with them. C. After creating a new database, all users who successfully authenticate with the database have the ability to create a new schema. D. If a schema is not explicitly specified in a SQL statement, the PUBLIC schema is assumed. Answer: C Section: (none) Explanation/Reference:

QUESTION 132 Given 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: A Section: (none) Explanation/Reference:

QUESTION 133 Based on the following DDL that was executed in a database with a default configuration: CREATE REGULAR TABLESPACE TS_NAME1 IN DATABASE PARTITION GROUP IBMDEFAULTGROUP PAGESIZE 4096 MANAGED BY SYSTEM USING ( <container 1>, <container 2>, <container 3> ) EXTENTSIZE 32 PREFETCHSIZE 96 BUFFERPOOL IBMDEFAULTBP

For More Info Visit www.logicsmeet.com

How much space does DB2 allocate when all existing pages in the table space are full? A. B. C. D. 4 kilobytes 32 kilobytes 96 kilobytes 128 kilobytes

Answer: D Section: (none) Explanation/Reference:

QUESTION 134 Which of the following utilities or commands can be used to estimate the space that will be saved if a table is compressed? A. B. C. D. db2pd inspect reorgchk runstats

Answer: B Section: (none) Explanation/Reference:

QUESTION 135 Which of the following is the correct command for obtaining detailed information about a table space, including its current status? A. B. C. D. select * from syscat.tablespaces get snapshot for tablespaces on sample list tablespace containers show detail get snapshot for tablespace containers on sample

Answer: B Section: (none) Explanation/Reference:

QUESTION 136 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.

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 are stored in an XML column. Answer: A Section: (none) Explanation/Reference:

QUESTION 137 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? A. B. C. D. By using RESIZE YES in the CREATE TABLESPACE statement By using AUTORESIZE YES in the CREATE TABLESPACE statement Only SMS table spaces can dynamically expand based on its underlying file system This feature is turned on automatically for DMS table spaces and can be disabled by RESIZE NO by the ALTER TABLESPACE statement

Answer: B Section: (none) Explanation/Reference:

QUESTION 138 Which of the following is true for a DB2 Global Temporary Table (GTT)? A. B. C. D. GTT resides in system temporary tablespace. GTT cannot have a user defined partitioning key. GTT is visible by all users connected to a database. Indexes can be created and runstats can be performed on GTT.

Answer: D Section: (none) Explanation/Reference:

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

Answer: B

For More Info Visit www.logicsmeet.com

Section: (none) Explanation/Reference:

QUESTION 140 When a table is altered and a column is added for secured access by Label Based Access Control (LBAC), what column type should be used? A. B. C. D. DB2SECURITY DB2LABELSECURITY DB2SECURITYLABEL DB2SECURITYDBLABEL

Answer: C Section: (none) Explanation/Reference:

QUESTION 141 A DBA attempts to use the Task Center to schedule a daily database backup and is not successful. A GET ADMIN CFG command shows that TOOLSCAT_DB, TOOLSCAT_INST, and TOOLSCAT_SCHEMA are all NULL on the DB2 server where the backup task was attempted. What must be done to enable scheduling of tasks on this server using the Task Center? A. Use the CREATE DATABASE command to create a database called TOOLSDB. B. Use the CREATE TOOLS CATALOG command to create the DB2 tools catalog tables in a new or existing database. C. Create a table space called SYSTOOLSPACE in the database that the Task Center was trying to schedule a Backup for using CREATE TABLESPACE. D. Create a new schema called TOOLSCAT in the database that the Task Center was trying to schedule a Backup for and then use UPDATE ADMIN CFG to reference that database, instance and schema. Answer: B Section: (none) Explanation/Reference:

QUESTION 142 Which of the following DB2 utilities can produce a graph of an optimizer query plan? A. B. C. D. db2bfd db2look db2advis db2expln

Answer: D Section: (none) For More Info Visit www.logicsmeet.com

Explanation/Reference:

QUESTION 143 The DB2 instance "db2inst1" has been created in the /home/db2inst1 directory. If the DFTDBPATH database manager configuration parameter contains no value and the following command is executed: CREATE DATABASE newdb Where will the NODE0000 subdirectory of the database NEWDB reside? A. B. C. D. In the /home/db2inst1 subdirectory In the /home/db2inst1/newdb subdirectory In the /home/db2inst1/db2inst1 subdirectory In the /home/db2inst1/db2inst1/newdb subdirectory

Answer: C Section: (none) Explanation/Reference:

QUESTION 144 Given the table MYTAB: C1 C2 C3 1200 east Miller 1201 east Smith 1201 east Miller 1202 east Smith What will happen when the following statement is issued: C REATE UNIQUE INDEX MYINX ON MYTAB(C1) A. B. C. D. The index MYINX will not be created. The word UNIQUE will be omitted by DB2 and a non-unique index MYINX will be created. The unique index MYINX will be created and the rows with duplicate keys will be deleted from the table. The unique index MYINX will be created and the rows with duplicate keys will be placed in an exception table.

Answer: A Section: (none) Explanation/Reference:

QUESTION 145 A 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 or revoked?

For More Info Visit www.logicsmeet.com

A. B. C. D.

No authorities SYSMAINT authority CREATE_EXTERNAL_ROUTINE authority SECADM, CONNECT, and LOAD authorities

Answer: C Section: (none) Explanation/Reference:

QUESTION 146 Based on the following database manager configuration parameter values : MAXAGENTS 400 MAX_COORDAGENTS 200 MAXCAGENTS 100 NUM_POOLAGENTS 200 NUM_INITAGENTS 50 What is the maximum number of applications that can be executing concurrently in the instance? A. B. C. D. 50 100 200 400

Answer: B Section: (none) Explanation/Reference:

QUESTION 147 There is a job in Task Center scheduled to run every Saturday. The Scheduler is turned off on Friday for system maintenance and then restarted on Monday. Under which of the following conditions is the job scheduled for Saturday executed when the Scheduler is restarted? A. B. C. D. The exec_exp_task DB2 registry is set to yes. The exec_exp_task Database configuration parameter is set to yes. The exec_exp_task Database Manager configuration parameter is set to yes. The exec_exp_task Administration server configuration parameter is set to yes.

Answer: D Section: (none) Explanation/Reference:

QUESTION 148 For More Info Visit www.logicsmeet.com

Which of the following statements is NOT true regarding XML indexing in DB2 9? A. B. C. D. XML indexes cannot contain relational data columns. Unique XML indexes can be created by combining multiple columns. DB2 might generate multiple index keys when it inserts values for a single document into the index. 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: A Section: (none) Explanation/Reference:

QUESTION 149 When a table is altered and a column is added for secured access by Label Based Access Control (LBAC), what column type should be used? A. B. C. D. DB2SECURITY DB2LABELSECURITY DB2SECURITYLABEL DB2SECURITYDBLABEL

Answer: C Section: (none) Explanation/Reference:

QUESTION 150 Given the table MYTAB: C1 C2 C3 1200 east Miller 1201 east Smith 1201 east Miller 1202 east Smith What will happen when the following statement is issued: C REATE UNIQUE INDEX MYINX ON MYTAB(C1) A. B. C. D. The index MYINX will not be created. The word UNIQUE will be omitted by DB2 and a non-unique index MYINX will be created. The unique index MYINX will be created and the rows with duplicate keys will be deleted from the table. The unique index MYINX will be created and the rows with duplicate keys will be placed in an exception table.

Answer: A Section: (none) Explanation/Reference: For More Info Visit www.logicsmeet.com

For More Info Visit www.logicsmeet.com

Potrebbero piacerti anche