Some More
Questions on UDB DB2 V7.1.
1. What is the role of RUNSTATS?
2. What is SAVEPOINTS?
3. Index can be changed using ALTER command (TRUE/FALSE)
4. Which among these is not a DDL statement
a) CREATE b) ALTER c) DROP d) DECLARE e) None of the above
5. Length/datatype of the column can be changed using ALTER TABLE command (TRUE/FALSE)
6. DATE variable MM-DD-YYYY externally a string of Char(10)(10 bytes) , it occupies same storage in DB2 (TRUE/FALSE)
7. NULL values occupies extra byte (TRUE/FALSE)
8. CREATE DATABASE is it a SQL statement or DB2 command
9. What is the role of RuntimeSupervisor?
10. ALTER is not allowed on which if these objects
11. a)table b)View c)Index d)Bufferpool e)View f)Stored Procedures
· What are the 2 mathematical principles on which SQL is based on?
· What is a predicate ? Give some examples
· Which of these is the last clause in SQL a)ORDER BY b)GROUP BY c)BETWEEN
· What is Cartesian Product?
· Which of these is not a Column Function a)Group By b) Max c) AVG d) Count e)SUBSTR
· The HAVING caluse is equivalent to the WHERE clause for groups and vector functions(TRUE/FALSE)
· In SQL, the percent sign character(%) is a substitute for zero or more characters(TRUE/FALSE)
· _ character substitutes one and only one character(TRUE/FALSE)
· DECLARE TABLE is an executbale statement(TRUE/FALSE)
· DECLARE TABLE is mandatory to have in programming language(TRUE/FALSE)
· A correlated sub-query is a query in which the sub query references values of the outer SELECT(TRUE/FALSE)
· It is always mandatory to provide the column namnes in the INSERT statement(TRUE/FALSE)
· Multiple rows cab be inserted into a table with single INSERT st(TRUE/FALSE)
· DECLARE TABLE is an executbale statement(TRUE/FALSE)
· DECLARE TABLE is mandatory to have in programming language(TRUE/FALSE)
· A correlated sub-query is a query in which the sub query references values of the outer SELECT(TRUE/FALSE)
· It is always mandatory to provide the column namnes in the INSERT statement(TRUE/FALSE)
· Multiple rows cab be inserted into a table with single INSERT st(TRUE/FALSE)
What are the various concurrency problems?
What are the various isolation levels to overcome problems due to concurrent access of the same data?
Is it possible to acquire row level locking using an SQL statement?
LOCK TABLE is the only SQL control mechanism provided by DB2(TRUE/FALSE)
EXCLUSIVE lock mode will not allow update as well reading of any of the locked data(TRUE/FALSE)
Uncommitted read applications do not gurantee a repeatable read(TRUE/FALSE)
Phantom read problem is due to which of these Add/update/delete ?
Which of the Islolation level eliminates lost update, phantom read or unrepeatable read? (uncomitted read , cursor stability , read stability , repeatable raed)
What are the various operating systems which support DB2 famliy?
Which of these DB2 package is used for personal digital assistanants? (Enterprise Edition , WorkGropu Edition , Personal Edition Edition , Every place)
Satellite Edition can be installed only on Windows(TRUE/FALSE)
Control Center is graphical based tool used for administration of DB2(TRUE/FALSE)
What is the tool used for SQL statements , DB2 commands , to view the result?
What is the use of tool Command Line Processor?
What is the default isolation level provided by DB2 to avoid concurrency problem?
What is Lock Escalation?
Which of these is not part of control center (License Center, alert Center , Journal , Client configuration Assistant) ?
What is the use of Visual Explain
Journal allows to monitor pending jobs, job histories, review results(TRUE/FALSE)
What is Data Warehousing?
What is OLAP?
What are the two default instances created while installing DB2 enterprise edition?
What is the command used to see all DB2 registry values?
The DAS instance must run on DB2 server to monitor the server(TRUE/FALSE)
What are the commands to start and stop the DAS instance?
Which of the following database configuration parameters affects when lock escalation will occur?
A. NUMLOCKS
B. MAXLOCKS
C. LOCKTIMEOUT
D. LOCKTHRESH
Which of the following releases a lock that is held by an application using the Cursor Stability isolation level?
A. If the cursor accessing the row is moved to the next row.
B. If the cursor accessing the row is used to update the row.
C. If the cursor’s current row is deleted by the application.
D. If the cursor’s current row needs to be updated by another application.
Given the requirement of providing a read-only database, applications accessing the database should be run with which of the following isolation levels in order to allow for the most read concurrency?
A. Repeatable Read
B. Read Stability
C. Cursor Stability
D. Uncommitted Read
An update lock gets released by an application using the Repeatable Read isolation level during which of the following?
A. If the cursor accessing the row is closed.
B. If the cursor accessing the row is moved to the next row.
C. If the transaction is committed.
D. If the transaction changes are made with an UPDATE statement rather than an
UPDATE CURRENT OF statement.
Which of the following processing can occur when a transaction using the Uncommitted Read isolation level scans through the same table multiple times?
A. Uncommitted changes made by other processes can be accessed.
B. Uncommitted changes made by other processes can be updated.
C. Rows in a result data set can be updated and those updates can be changed by other processes from one scan to the next.
D. Rows in a result data set can be updated and those updates can be changed by other processes from one scan to the next.
Which of the following isolation levels is most likely to acquire a table level lock during an index scan?
A. Repeatable Read
B. Read Stability
C. Cursor Stability
D. Uncommitted Read
Which of the following tools can be used to catalog a database?
A. Visual Explain
B. Alert Center
C. Journal
D. Client Configuration Assistant
Which of the following tools can not be used to catalog a database?
A. Control Center
B. SQL Assist
C. Client Configuration Assistant
D. Command Line Processor
Which of the following products is allowed to access other DB2 servers, but cannot accept requests from other remote clients?
A. DB2 Universal Database Personal Edition
B. DB2 Universal Database Workgroup Edition
C. DB2 Universal Database Enterprise Edition
D. DB2 Universal Database Enterprise-Extended Edition
Which of the following products must be installed in order to build an application on AIX that will access a DB2 for OS/390 database?
A. DB2 Universal Database Enterprise Edition
B. DB2 Personal Developer’s Edition
C. DB2 Universal Developer’s Edition
D. DB2 Universal Database Enterprise Edition and DB2 Connect Enterprise Edition
Which of the following DB2 components provides resource contention management for large-scale data warehouses?
A. Warehouse Manager
B. Spatial Extender
C. Query Patroller
D. OLAP Server
Which of the following products contains both a DB2 server and a set of tools for creating applications that interact with DB2 databases?
A. DB2 Universal Database Workgroup Edition
B. DB2 Personal Developer’s Edition
C. DB2 Universal Database Enterprise Edition
D. DB2 Universal Developer’s Edition
A client application on OS/390 must access a DB2 server on Windows, UNIX, or OS/2. At a minimum, which of the following must be installed on the DB2 server workstation?
A. DB2 Connect Enterprise Edition
B. DB2 Universal Database Enterprise Edition
C. DB2 Universal Database Workgroup Edition and DB2 Connect Enterprise Edition
D. DB2 Universal Database Enterprise Edition and DB2 Connect Enterprise Edition
In which of the following tools is the threshold value for an alert situation defined?
A. Performance Monitor
B. Control Center
C. Alert Center
D. Journal
What is the main function of DB2 Connect?
A. APPC Gateway
B. DRDA Application Requestor
C. TCP/IP Gateway
D. DRDA Application Server
Which of the following processes does DB2 Warehouse Manager not perform?
A. Query
B. Loading
C. Extraction
D. Transformation
Which of the following tools allows the entering of an SQL statement, execution of the statement, and then checking to see how it was optimized?
A. Control Center
B. Script Center
C. Visual Explain
D. Command Center
1. What is the role of RUNSTATS?
2. What is SAVEPOINTS?
3. Index can be changed using ALTER command (TRUE/FALSE)
4. Which among these is not a DDL statement
a) CREATE b) ALTER c) DROP d) DECLARE e) None of the above
5. Length/datatype of the column can be changed using ALTER TABLE command (TRUE/FALSE)
6. DATE variable MM-DD-YYYY externally a string of Char(10)(10 bytes) , it occupies same storage in DB2 (TRUE/FALSE)
7. NULL values occupies extra byte (TRUE/FALSE)
8. CREATE DATABASE is it a SQL statement or DB2 command
9. What is the role of RuntimeSupervisor?
10. ALTER
11. a)table b)View c)Index d)Bufferpool e)View f)Stored Procedures
· What are the 2 mathematical principles on which SQL is based on?
· What is a predicate ? Give some examples
· Which of these is the last clause in SQL a)ORDER BY b)GROUP BY c)BETWEEN
· What is Cartesian Product?
· Which of these is not a Column Function a)Group By b) Max c) AVG d) Count e)SUBSTR
· The HAVING caluse is equivalent to the WHERE clause for groups and vector functions(TRUE/FALSE)
· In SQL, the percent sign character(%) is a substitute for zero or more characters(TRUE/FALSE)
· _ character substitutes one and only one character(TRUE/FALSE)
· DECLARE TABLE is an executbale statement(TRUE/FALSE)
· DECLARE TABLE is mandatory to have in programming language(TRUE/FALSE)
· A correlated sub-query is a query in which the sub query references values of the outer SELECT(TRUE/FALSE)
· It is always mandatory to provide the column namnes in the INSERT statement(TRUE/FALSE)
· Multiple rows cab be inserted into a table with single INSERT st(TRUE/FALSE)
· DECLARE TABLE is an executbale statement(TRUE/FALSE)
· DECLARE TABLE is mandatory to have in programming language(TRUE/FALSE)
· A correlated sub-query is a query in which the sub query references values of the outer SELECT(TRUE/FALSE)
· It is always mandatory to provide the column namnes in the INSERT statement(TRUE/FALSE)
· Multiple rows cab be inserted into a table with single INSERT st(TRUE/FALSE)
What are the various concurrency problems?
What are the various isolation levels to overcome problems due to concurrent access of the same data?
Is it possible to acquire row level locking using an SQL statement?
LOCK TABLE is the only SQL control mechanism provided by DB2(TRUE/FALSE)
EXCLUSIVE lock mode will not allow update as well reading of any of the locked data(TRUE/FALSE)
Uncommitted read applications do not gurantee a repeatable read(TRUE/FALSE)
Phantom read problem is due to which of these Add/update/delete ?
Which of the Islolation level eliminates lost update, phantom read or unrepeatable read? (uncomitted read , cursor stability , read stability , repeatable raed)
What are the various operating systems which support DB2 famliy?
Which of these DB2 package is used for personal digital assistanants? (Enterprise Edition , WorkGropu Edition , Personal Edition Edition , Every place)
Satellite Edition can be installed only on Windows(TRUE/FALSE)
Control Center is graphical based tool used for administration of DB2(TRUE/FALSE)
What is the tool used for SQL statements , DB2 commands , to view the result?
What is the use of tool Command Line Processor?
What is the default isolation level provided by DB2 to avoid concurrency problem?
What is Lock Escalation?
Which of these is not part of control center (License Center, alert Center , Journal , Client configuration Assistant) ?
What is the use of Visual Explain
Journal allows to monitor pending jobs, job histories, review results(TRUE/FALSE)
What is Data Warehousing?
What is OLAP?
What are the two default instances created while installing DB2 enterprise edition?
What is the command used to see all DB2 registry values?
The DAS instance must run on DB2 server to monitor the server(TRUE/FALSE)
What are the commands to start and stop the DAS instance?
Which of the following database configuration parameters affects when lock escalation will occur?
A. NUMLOCKS
B. MAXLOCKS
C. LOCKTIMEOUT
D. LOCKTHRESH
Which of the following releases a lock that is held by an application using the Cursor Stability isolation level?
A. If the cursor accessing the row is moved to the next row.
B. If the cursor accessing the row is used to update the row.
C. If the cursor’s current row is deleted by the application.
D. If the cursor’s current row needs to be updated by another application.
Given the requirement of providing a read-only database, applications accessing the database should be run with which of the following isolation levels in order to allow for the most read concurrency?
A. Repeatable Read
B. Read Stability
C. Cursor Stability
D. Uncommitted Read
An update lock gets released by an application using the Repeatable Read isolation level during which of the following?
A. If the cursor accessing the row is closed.
B. If the cursor accessing the row is moved to the next row.
C. If the transaction is committed.
D. If the transaction changes are made with an UPDATE statement rather than an
UPDATE CURRENT OF statement.
Which of the following processing can occur when a transaction using the Uncommitted Read isolation level scans through the same table multiple times?
A. Uncommitted changes made by other processes can be accessed.
B. Uncommitted changes made by other processes can be updated.
C. Rows in a result data set can be updated and those updates can be changed by other processes from one scan to the next.
D. Rows in a result data set can be updated and those updates can be changed by other processes from one scan to the next.
Which of the following isolation levels is most likely to acquire a table level lock during an index scan?
A. Repeatable Read
B. Read Stability
C. Cursor Stability
D. Uncommitted Read
Which of the following tools can be used to catalog a database?
A. Visual Explain
B. Alert Center
C. Journal
D. Client Configuration Assistant
Which of the following tools can not be used to catalog a database?
A. Control Center
B. SQL Assist
C. Client Configuration Assistant
D. Command Line Processor
Which of the following products is allowed to access other DB2 servers, but cannot accept requests from other remote clients?
A. DB2 Universal Database Personal Edition
B. DB2 Universal Database Workgroup Edition
C. DB2 Universal Database Enterprise Edition
D. DB2 Universal Database Enterprise-Extended Edition
Which of the following products must be installed in order to build an application on AIX that will access a DB2 for OS/390 database?
A. DB2 Universal Database Enterprise Edition
B. DB2 Personal Developer’s Edition
C. DB2 Universal Developer’s Edition
D. DB2 Universal Database Enterprise Edition and DB2 Connect Enterprise Edition
Which of the following DB2 components provides resource contention management for large-scale data warehouses?
A. Warehouse Manager
B. Spatial Extender
C. Query Patroller
D. OLAP Server
Which of the following products contains both a DB2 server and a set of tools for creating applications that interact with DB2 databases?
A. DB2 Universal Database Workgroup Edition
B. DB2 Personal Developer’s Edition
C. DB2 Universal Database Enterprise Edition
D. DB2 Universal Developer’s Edition
A client application on OS/390 must access a DB2 server on Windows, UNIX, or OS/2. At a minimum, which of the following must be installed on the DB2 server workstation?
A. DB2 Connect Enterprise Edition
B. DB2 Universal Database Enterprise Edition
C. DB2 Universal Database Workgroup Edition and DB2 Connect Enterprise Edition
D. DB2 Universal Database Enterprise Edition and DB2 Connect Enterprise Edition
In which of the following tools is the threshold value for an alert situation defined?
A. Performance Monitor
B. Control Center
C. Alert Center
D. Journal
What is the main function of DB2 Connect?
A. APPC Gateway
B. DRDA Application Requestor
C. TCP/IP Gateway
D. DRDA Application Server
Which of the following processes does DB2 Warehouse Manager not perform?
A. Query
B. Loading
C. Extraction
D. Transformation
Which of the following tools allows the entering of an SQL statement, execution of the statement, and then checking to see how it was optimized?
A. Control Center
B. Script Center
C. Visual Explain
D. Command Center
