0

databases Online Quiz - 79

Description: databases Online Quiz - 79
Number of Questions: 20
Created by:
Tags: databases
Attempted 0/20 Correct 0 Score 0

Which of the following is the major difference between relational data and XML data?

  1. A. Relational data is self-describing; XML data is not

  2. B. Relational data has inherent ordering; XML data does not

  3. C. Relational data must be tabular; XML data does not have to be tabular

  4. D. Relational data is comprised of entities; XML data is comprised of numbers, characters, and dates


Correct Option: C
  1. A. Relational data is self-describing; XML data is not

  2. B. Relational data has inherent ordering; XML data does not

  3. C. Relational data must be tabular; XML data does not have to be tabular

  4. D. Relational data is comprised of entities; XML data is comprised of numbers, characters, and dates


Correct Option: C

Which of the following products is allowed to access other DB2 servers, but cannot accept requests from other remote clients?

  1. DB2 Personal Edition

  2. DB2 Workgroup Server Edition

  3. DB2 Enterprise Server Edition

  4. DB2 Data Warehouse Edition


Correct Option: B
  1. DB2 Connect Enterprise Edition

  2. DB2 Workgroup Server Edition

  3. DB2 Workgroup Server Edition and DB2 Connect Enterprise Edition

  4. DB2 Enterprise Server Edition and DB2 Connect Enterprise Edition


Correct Option: C
  1. DB2 Enterprise Server Edition

  2. DB2 Personal Developer's Edition

  3. DB2 Universal Developer's Edition

  4. DB2 Universal Database Enterprise Edition and DB2 Connect Enterprise Edition


Correct Option: C
  1. Visual Explain

  2. Alert Center

  3. Journal

  4. Configuration Assistant


Correct Option: A
  1. SQL Assist

  2. Control Center

  3. Command Editor

  4. Developer Workbench


Correct Option: D
  1. Backup and Recovery

  2. Transactions

  3. Security

  4. Queries


Correct Option: D

Which of the following is a typical data warehouse query?

  1. What is this customer’s address?

  2. Does this customer have any unpaid bills?

  3. What is the balance in this customer’s account?

  4. What is the total sales for each of the last 6 months?


Correct Option: D

Which of the following best describes the age of the data in an OLTP system?

  1. Current

  2. Projected

  3. Historical

  4. Current and Projected


Correct Option: A

) Which of the following tools can make recommendations for indexes and/or MQTs to improve the performance of DB2 applications?

  1. Design Advisor

  2. Visual Explain

  3. Performance Advisor

  4. Configuration Assistant


Correct Option: A

Which of the following is NOT a valid method of authentication that can be used by DB2 9?

  1. SERVER

  2. SERVER_ENCRYPT

  3. CLIENT

  4. DCS


Correct Option: D

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?

  1. Encrypt the table's data

  2. Create a view that does not contain the AVG_SALARY column

  3. Revoke SELECT access for the AVG_SALARY column from users who should not see AVG_SALARY data

  4. Store AVG_SALARY data in a separate table and grant SELECT privilege for that table to the appropriate users


Correct Option: B

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?

  1. CREATEIN privilege on the database

  2. REFERENCES privilege on TAB1 and TAB2

  3. CREATE_TAB privilege on the database

  4. SELECT privilege on TAB1 and TAB2


Correct Option: D
  1. CALL privilege on the procedure; SELECT privilege on the table

  2. CALL privilege on the procedure; REFERENCES privilege on the table

  3. EXECUTE privilege on the procedure; SELECT privilege on the table

  4. EXECUTE privilege on the procedure; REFERENCES privilege on the table


Correct Option: C
  1. DELETE privilege on the table

  2. DELETE privilege on the alias

  3. DELETE privilege on the alias; REFERENCES privilege on the table

  4. REFERENCES privilege on the alias; DELETE privilege on the table


Correct Option: A
  1. REVOKE CONNECT ON DATABASE FROM user2

  2. REVOKE CREATETAB ON DATABASE FROM user2

  3. REVOKE BIND ON DATABASE FROM user2

  4. REVOKE BINDADD ON DATABASE FROM user2


Correct Option: D
  1. GRANT INSERT, UPDATE, DELETE, SELECT ON TABLE table1 TO user1 AND group1

  2. GRANT INSERT, UPDATE, DELETE, SELECT ON TABLE table1 TO USER user1, GROUP group1

  3. GRANT ALL PRIVILEGES EXCEPT ALTER, INDEX, REFERENCES ON TABLE table1 TO USER user1, GROUP group1

  4. GRANT CONTROL ON TABLE table1 TO user1 AND group1


Correct Option: B
- Hide questions