These DB2 Administration multiple-choice questions and their answers will help you strengthen your grip on the subject of DB2 Administration. You can prepare for an upcoming exam or job interview with these 100+ DB2 Administration MCQs.
So scroll down and start answering.
A. A federated database is a system including a DB2 DBMS (federated database) and one or more data sources.
B. A federated database is a database that exists on a cloud network.
C. A federated database is a database that uses a Java wrapper.
D. A federated database is a database that is totally isolated.
A. Rows, blocks, and tables.
B. Rows, blocks, and tuples.
C. Rows, blocks, and blips.
D. Rows, blocks, and units.
A. - -START TRACE AUDIT CLASS (4,5) and ALTER TABLE OWNER.Smartemp DATA
B. - -START TRACE AUDIT CLASS (5)
C. - -START TRACE AUDIT CLASS (4,5) and ALTER TABLE OWNER.Smartemp AUDIT ALL
D. - -START TRACE AUDIT CLASS (4,5)
A. Relational
B. Both Hierarchical and Network
C. Hierarchical
D. Multi Dimensional
A. It would be applied to primary keys.
B. It would be applied to locked threads.
C. It would be applied to redundant SQL statements.
D. It would not be applied. The DISTINCT clause is redundant.
A. So the organizer chooses the fastest access plan for that query.
B. So the optimizer chooses the most efficient access plan for that query.
C. So the optimizer chooses the slowest access plan for that query.
D. So that Optimus Prime chooses the slowest access plan for that query.
A. LOAD authority on the table
B. ALTER privilege on the table
C. SYSCTRL authority
D. INSERT privilege on the table
A. The network.
B. Local or remote applications, or both.
C. Remote applications only.
D. Local applications only.
A. When another application is running concurrently with DB2.
B. When another application reads data that is entered.
C. When another application inserts new data or updates existing data that would satisfy your application's query.
D. When the system starts producing data without user imput.
A. (All of these)
B. SQLCODE
C. SQLERRD
D. SQLERRM
A. Federated databases being affected by the user.
B. Federated databases being detected.
C. Federated databases being shut down.
D. Federated databases being affected by server options.
A. GOSTATS
B. RUNSTATS
C. NEWSTATS
D. UPSTATS
A. Speed, and daily
B. Efficiency, and incrementally.
C. Performance, and yearly.
D. Security, and hourly.
A. When the database is idle.
B. When an application connects to the database.
C. When the database is being compiled.
D. When hardware is being installed.
A. After segments of a tablespaces have become fragmented
B. After heavy updates and inserts
C. (All of these)
D. After deletes
A. Quarterly.
B. When the system is down.
C. When you have identified the constraints needed to be relieved.
D. Every day.
A. dbheapdb
B. bdheap
C. heapdb
D. dbheap
A. Yes, but it must be off-line first.
B. Yes.
C. Yes, but it must be turned off first.
A. To support table check constraints
B. To provide free space on each index page for new data
C. To support duplicate values
D. To ensure referential integrity between tables
A. When there are no rows in the result set
B. When a COMMIT statement is issued
C. When a CLOSE statement is issued
D. When an OPEN Statement is issued
A. When a computational stalemate occurs, an external application is necessary to maintain the deadlock.
B. When a computational stalemate occurs, an external application is necessary to break the deadlock.
C. It tells the users how safe the system is.
D. When a computational stalemate occurs, an external application is necessary to shut down the system.
A. Row escalation.
B. Lock escalation.
C. Lock reduction.
D. Table escalation.
A. Table Constraint
B. Summary Table
C. View
D. Dimension Table
A. It's a partial backup of a table (depending on certain criteria) which can be used in recovery
B. It's a full backup of a table which can be used in recovery
C. It's a full backup of a table which may or may not be able to be used in recovery
D. It's a partial backup of a table (depending on certain criteria) which cannot be used in recovery
A. It holds frequently accessed data in memory.
B. It holds all the data in the memory.
C. It automatically compiles SQL statements for you.
D. It automatically writes stored procedures for you.
A. 4 times
B. Once
C. 3 times
D. 5 times
A. Executing RUNSTATS updates the optimizer so it can compile the data properly.
B. Executing RUNSTATS optimizes the compiler so the updater can encode SQL statements sequentially.
C. Executing RUNSTATS optimizes the data in the right order so the compiler can send it to the optimizer.
D. Executing RUNSTATS provides the most current data which is used by the optimizer to create an effective access plan.
A. The sqletc subdirectory.
B. The t-sqllib subdirectory.
C. The sqldb2 subdirectory.
D. The sqllib subdirectory.
A. DB2 Administration Server configuration parameter DISCOVER to DISABLE
B. DISCOVER_DB parameter to DISABLE
C. DISCOVER_INST parameter to DISABLE on a DB2 instance
D. DB2 Administration Server configuration parameter SEARCH to DISABLE
A. Parsing the query.
B. Generate remote SQL.
C. Rewrite the query.
D. Check its semantics.
A. Use with a federated database.
B. Use with the standard database.
C. Use with a large database.
D. Use with an encrypted database.
A. EDUs process most of the SQL processing for applications.
B. EDUs process SQL.
C. EDUs process the security functions to use SQL.
D. EDUs act as a compiler to use SQL.
A. Average seek time in minutes + (0.5 * relational latency)
B. Average seek time in miliseconds + (0.5 * rotational latency)
C. Total seek time in miliseconds + (0.5 * rotational latency)
D. Average seek time in minutes + (0.5 * rotational latency)
A. You are working on a test system.
B. The system has errors.
C. Your system is locked.
D. You working on a broken system.
A. The database manager configuration
B. D&E
C. The operating system security
D. The database configuration
A. Plan all of your adjustments and do them in one step.
B. Make all adjustments in step.
C. Make one adjustment at a time.
D. Don't adjust the system's performance.
A. The field is null
B. The field has spaces
C. The field value is truncated
D. The field has blanks
A. dftdbpath
B. dftdbpdb
C. dftdb
D. dbpath
A. Constraint
B. Tablespace
C. Index
A. The role
B. The owner keyword
C. The current SQLID (If set)
D. The schema name
A. During any authorization check if NO was specified in the USE PROTECTION field of the DSNTIPP panel
B. At DB2 startup
C. When DB2 has cached authorization information
D. When executing a DB2 GRANT statement
A. The CATSIZE and EXTENTSIZE columns in CAT.TABLESPACES.
B. The PRECAT and EXTENTIZER columns in SYSCAT.TABLESPACES.
C. All of the columns in SYSCAT.TABLESPACES.
D. The PREFETCHSIZE and EXTENTSIZE columns in SYSCAT.TABLESPACES.
A. Consecutive data values.
B. Unique data values.
C. Excessive data values.
D. Equal data values.
A. A query's use of active or passive SQL.
B. A query's use of static or dynamic SQL.
C. A query's use of PL/SQL or T-SQL.
D. A query's use of logical or dynamic SQL.
A. Database manager configuration files, and database configuration files for the database itself.
B. Database manager compression files, and database compression files for the database itself.
C. Database log files, and database configuration files for the database itself.
D. Database cache configuration files, and database master files for the database itself.
A. ONLY ON KEY COLUMNS
B. ONLY ON KEY STATS
C. ONLY FROM STAT COLUMNS
D. ONLY ON STAT COLUMNS
A. DROP * FROM staff
B. DELETE * FROM staff
C. DROP TABLE staff
D. DELETE FROM staff
A. No new database connections are allowed
B. Uncommitted units of work are rolled back
C. Uncommitted units of work are committed
D. Disconnect warning messages are sent to connected users
A. Command Center
B. Journal
C. Development Center
D. Operations Center
A. Application Development Center
B. Binder
C. Precompiler
D. Stored Procedure Builder