DB2 Database Administration
Questions covering DB2 database security, permissions, tools, data warehousing, and product features.
Questions
Which of the following is the major difference between relational data and XML data?
- A. Relational data is self-describing; XML data is not
- B. Relational data has inherent ordering; XML data does not
- C. Relational data must be tabular; XML data does not have to be tabular
- D. Relational data is comprised of entities; XML data is comprised of numbers, characters, and dates
Which of the following is the major difference between relational data and XML data?
- A. Relational data is self-describing; XML data is not
- B. Relational data has inherent ordering; XML data does not
- C. Relational data must be tabular; XML data does not have to be tabular
- D. Relational data is comprised of entities; XML data is comprised of numbers, characters, and dates
Which of the following products is allowed to access other DB2 servers, but cannot accept requests from other remote clients?
- DB2 Personal Edition
- DB2 Workgroup Server Edition
- DB2 Enterprise Server Edition
- DB2 Data Warehouse Edition
A client application on z/OS must access a DB2 database on a Solaris Server. At a minimum, which of the following products must be installed on the Solaris workstation?
- DB2 Connect Enterprise Edition
- DB2 Workgroup Server Edition
- DB2 Workgroup Server Edition and DB2 Connect Enterprise Edition
- DB2 Enterprise Server Edition and DB2 Connect Enterprise Edition
Which of the following products must be installed on an AIX server in order to build an application for AIX that will access a DB2 for z/OS database?
- DB2 Enterprise Server Edition
- DB2 Personal Developer's Edition
- DB2 Universal Developer's Edition
- DB2 Universal Database Enterprise Edition and DB2 Connect Enterprise Edition
Which of the following tools can be used to catalog a database?
- Visual Explain
- Alert Center
- Journal
- Configuration Assistant
Which of the following is used to create and debug user-defined functions?
- SQL Assist
- Control Center
- Command Editor
- Developer Workbench
Which of the following DB tools allow the user to execute an SQL statement and view a graphical representation of the access plan?
- Task Center
- Command Editor
- Developer Workbench
- Command Line Processor
For which of the following is a data warehouse optimized?
- Backup and Recovery
- Transactions
- Security
- Queries
Which of the following is a typical data warehouse query?
- What is this customer’s address?
- Does this customer have any unpaid bills?
- What is the balance in this customer’s account?
- What is the total sales for each of the last 6 months?
Which of the following best describes the age of the data in an OLTP system?
- Current
- Projected
- Historical
- Current and Projected
) Which of the following tools can make recommendations for indexes and/or MQTs to improve the performance of DB2 applications?
- Design Advisor
- Visual Explain
- Performance Advisor
- Configuration Assistant
Which of the following is NOT a valid method of authentication that can be used by DB2 9?
- SERVER
- SERVER_ENCRYPT
- CLIENT
- DCS
A table named DEPARTMENT has the following columns: DEPT_ID DEPT_NAME MANAGER AVG_SALARY Which of the following is the best way to prevent most users from viewing AVG_SALARY data?
- Encrypt the table's data
- Create a view that does not contain the AVG_SALARY column
- Revoke SELECT access for the AVG_SALARY column from users who should not see AVG_SALARY data
- Store AVG_SALARY data in a separate table and grant SELECT privilege for that table to the appropriate users
Assuming USER1 has no authorities or privileges, which of the following will allow USER1 to create a view named VIEW1 that references two tables named TAB1 and TAB2?
- CREATEIN privilege on the database
- REFERENCES privilege on TAB1 and TAB2
- CREATE_TAB privilege on the database
- SELECT privilege on TAB1 and TAB2
After the following SQL statement is executed: GRANT ALL PRIVILEGES ON TABLE employee TO USER user1 Assuming user USER1 has no other authorities or privileges, which of the following actions is USER1 allowed to perform?
- Drop an index on the EMPLOYEE table
- Grant all privileges on the EMPLOYEE table to other users
- Alter the table definition
- Drop the EMPLOYEE table
A user wishing to invoke an SQL stored procedure that queries a table must have which of the following privileges?
- CALL privilege on the procedure; SELECT privilege on the table
- CALL privilege on the procedure; REFERENCES privilege on the table
- EXECUTE privilege on the procedure; SELECT privilege on the table
- EXECUTE privilege on the procedure; REFERENCES privilege on the table
User USER1 wants to utilize an alias to remove rows from a table. Assuming USER1 has no authorities or privileges, which of the following privileges are needed?
- DELETE privilege on the table
- DELETE privilege on the alias
- DELETE privilege on the alias; REFERENCES privilege on the table
- REFERENCES privilege on the alias; DELETE privilege on the table
Which of the following statements allows user USER1 to take the ability to create packages in a database named SAMPLE away from user USER2?
- REVOKE CONNECT ON DATABASE FROM user2
- REVOKE CREATETAB ON DATABASE FROM user2
- REVOKE BIND ON DATABASE FROM user2
- REVOKE BINDADD ON DATABASE FROM user2
Which of the following will provide user USER1 and all members of the group GROUP1 with the ability to perform DML, but no other operations on table TABLE1?
- GRANT INSERT, UPDATE, DELETE, SELECT ON TABLE table1 TO user1 AND group1
- GRANT INSERT, UPDATE, DELETE, SELECT ON TABLE table1 TO USER user1, GROUP group1
- GRANT ALL PRIVILEGES EXCEPT ALTER, INDEX, REFERENCES ON TABLE table1 TO USER user1, GROUP group1
- GRANT CONTROL ON TABLE table1 TO user1 AND group1