SQL Performance and IMS Database Fundamentals

Quiz covering SQL performance optimization techniques and IBM IMS database concepts including DLI, PCB, and database tuning

9 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which one of the following function cannot be used with IMS database CALLs?

  1. GHU
  2. DELT
  3. ISRT
  4. CHNG
Question 2 Multiple Choice (Single Answer)

What is the maximum no. of PCBs that can be defined in a PSB?

  1. 255
  2. 1000
  3. 256
  4. 15
Question 3 Multiple Choice (Single Answer)

Which one of the following DLI call statements is incorrect?

  1. CALL ‘CBLTDLI’ USING PARM-COUNT, FUNC-CODE, DB-PCB-MASK, IO-AREA, SSA-LIST.
  2. CALL ‘CBLTDLI’ USING FUNC-CODE, DB-PCB-MASK, IO-AREA.
  3. CALL ‘CBLTDLI’ USING FUNC-CODE, DB-PCB-MASK, SSA-LIST.
  4. CALL ‘CBLTDLI’ USING FUNC-CODE, DB-PCB-MASK, IO-AREA, SSA-LIST.
Question 4 Multiple Choice (Single Answer)

Which one of the following statements about a IMS-DB2 BATCH DLI program is False?

  1. IMS act as the resource manager when DB2 program is invoked from IMS
  2. Commits and rollbacks are performed using COMMIT and ROLLBACK Commands
  3. DB2 can be invoked from IMS using IMS-DB2 attachment facility
  4. DB2 Subsystem and plan name are DSNMTV01 in DD
Question 5 Multiple Choice (Single Answer)

Which one of the following library type is used in DLI jobs to dynamically allocate database clusters?

  1. PSBLIB
  2. DBDLIB
  3. ACBLIB
  4. USERLIB
Question 6 Multiple Choice (Single Answer)

Which of the following is an important consideration when tuning an SQL statement?

  1. The number of CPUs on the server
  2. The degree of parallelism on the tables
  3. The use of bitmap indexes
  4. The quality of the SQL optimization
Question 7 Multiple Choice (Single Answer)

Which of the following database design features is most important to SQL performance?

  1. Removal of data redundancy
  2. The introduction of data redundancy
  3. The introduction of non-first normal form relations
  4. The introduction of SQL*Plus
Question 8 Multiple Choice (Single Answer)

Why is searching for large-table full-table scans critical to SQL tuning?

  1. They indicate an optimized execution plan.
  2. They may be able to be tuned to use an index
  3. The full-table scan should be normalized from the database design
  4. A full-table scan is always sub-optimal.
Question 9 Multiple Choice (Single Answer)

What best describes the relationship between indexes and SQL performance?

  1. Indexes are only used in special cases
  2. Indexes are used to make table storage more efficient
  3. Indexes rarely make a difference in SQL performance
  4. Indexes exist solely to improve query speed.