Sunday, October 27, 2013

CHAPTER 2 (SECURITY) DB2 9 Exam 730 certification Dumps

Q.Which of the following is NOT a valid method of authentication that can be used by DB2 9?
A.SERVER
B.SERVER_ENCRYPT
C.CLIENT
D.DCS


Q.In a client-server environment, which two of the following can be used to verify passwords?
A. System Catalog
B. User ID/password file
C. Client Operating System
D. Communications layer
E. Application Server

 
Q. 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?
A. Encrypt the table's data
B. Create a view that does not contain the AVG_SALARY column
C. Revoke SELECT access for the AVG_SALARY column from users who should not see AVG_SALARY data
D. Store AVG_SALARY data in a separate table and grant SELECT privilege for that table to the appropriate users

Q.Which authority or privilege is granted by the DB2 Database Manager configuration file?
A. CONNECT
B. CONTROL
C. SYSMAINT
D. EXECUTE


Q.Which two of the following authorities allow a user to create a new database?
A. SYSADMN
B. SYSCTRL

C. SYSMAINT
D. DBADM
E. CREATEDB


Q..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?
A. CREATEIN privilege on the database
B. REFERENCES privilege on TAB1 and TAB2
C. CREATE_TAB privilege on the database
D. SELECT privilege on TAB1 and TAB2


Q.Which of the following will allow user USER1 to change the comment associated with a table named TABLE1?
A. GRANT UPDATE ON TABLE table1 TO user1
B. GRANT CONTROL ON TABLE table1 TO user1
C. GRANT ALTER ON TABLE table1 TO user1
D. GRANT REFERENCES ON TABLE table1 TO user1


Q.A table called DEPARTMENT has the following columns:
DEPT_ID
DEPT_NAME
MANAGER
Which of the following statements will ONLY allow user USER1 to modify the DEPT_NAME column?
A. GRANT ALTER ON TABLE department TO user1
B. GRANT ALTER (dept_name) ON TABLE department TO user1
C. GRANT UPDATE ON TABLE department TO user1
D. GRANT UPDATE (dept_name) ON TABLE department TO user1


Q.An index named EMPID_X exists for a table named EMPLOYEE. Which of the following will allow user USER1 to drop the EMPID_X index?
A. GRANT DROP ON INDEX empid_x TO user1
B. GRANT DELETE ON INDEX empid_x TO user1
C. GRANT INDEX ON TABLE employee TO user1
D. GRANT CONTROL ON INDEX empid_x TO user1


Q.On which two of the following database objects may the SELECT privilege be controlled?
A. Sequence
B. Nickname
C. Schema
D. View
E. Index


Q.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?
A. DELETE privilege on the table
B. DELETE privilege on the alias
C. DELETE privilege on the alias; REFERENCES privilege on the table
D. REFERENCES privilege on the alias; DELETE privilege on the table


Q. user USER1 holds CONTROL privilage on table TABLE1. Which two of the following statements is user USER1 allowed to execute.
A.GRANT CONTROL ON table1 TO user2.
B. GRANT LOAD ON table1 TO user2
C. GRANT INSERT,UPDATE ON table1 TO user2 WITH GRANT OPTION.
D. GRANT BINDADD ON table1 TO PUBLIC
E. GRANT ALL PRIVILEGES on table1 TO PUBLIC

Q.A user wishing to invoke an SQL stored procedure that queries a table must have which of the following privileges?
A. CALL privilege on the procedure; SELECT privilege on the table
B. CALL privilege on the procedure; REFERENCES privilege on the table
C. EXECUTE privilege on the procedure; SELECT privilege on the table
D. EXECUTE privilege on the procedure; REFERENCES privilege on the table


Q.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 user USER1 allowed to perform?
A. Drop an index on the EMPLOYEE table
B. Grant all privileges on the EMPLOYEE table to other users
C. Alter the table definition
D. Drop the EMPLOYEE table
 

Q.Which two of the following privileges is required in order to use a package?
A. BINDADD
B. BIND
C. CONNECT
D. EXECUTE

E. USE 

Q. Which of the following statements allows user USER1 to take the ability to create packages in a database named SAMPLE away from user USER2?
A. REVOKE CONNECT ON DATABASE FROM user2
B. REVOKE CREATETAB ON DATABASE FROM user2
C. REVOKE BIND ON DATABASE FROM user2
D. REVOKE BINDADD ON DATABASE FROM user2


Q.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?
A. GRANT INSERT, UPDATE, DELETE, SELECT ON TABLE table1 TO user1 AND group1
B. GRANT INSERT, UPDATE, DELETE, SELECT ON TABLE table1 TO USER user1, GROUP group1
C. GRANT ALL PRIVILEGES EXCEPT ALTER, INDEX, REFERENCES ON TABLE table1 TO USER user1, GROUP group1
D. GRANT CONTROL ON TABLE table1 TO user1 AND group1 


Q.What does the following statement do?
GRANT REFERENCES (col1, col2) ON TABLE table1 TO user1 WITH
GRANT OPTION
A. Gives user USER1 the ability to refer to COL1 and COL2 of table TABLE1 in queries, along with the ability to give this authority to other users and groups.
B. Gives user USER1 the ability to refer to COL1 and COL2 of table TABLE1 in views, along with the ability to give this authority to other users and groups.
C. Gives user USER1 the ability to define a referential constraint on table TABLE1 using columns COL1 and COL2 as the parent key of the constraint.
D. Gives user USER1 the ability to define a referential constraint on table TABLE1 using columns COL1 and COL2 as the foreign key of the constraint. 


Q.User USER1 is the owner of TABLE1. Assuming user USER1 only holds privileges for TABLE1, which of the following is the best way to remove all privileges user USER1 holds?
A. REVOKE CONTROL ON table1 FROM user1
B. REVOKE ALL PRIVILEGES ON table1 FROM user1
C. REVOKE CONTROL ON table1 FROM user1;
REVOKE ALL PRIVILEGES ON table1 FROM user1;
D. REVOKE CONTROL, ALL PRIVILEGES ON table1 FROM user1 


Q.User USER1 has the privileges needed to invoke a stored procedure named GEN_RESUME. User USER2 needs to be able to call the procedure - user USER1 and all members of the group PUBLIC should no longer be allowed to call the procedure. Which of the following statement(s) can be used to accomplish this?
A. GRANT EXECUTE ON ROUTINE gen_resume TO user2 EXCLUDE user1, PUBLIC
B. GRANT EXECUTE ON PROCEDURE gen_resume TO user2;
REVOKE EXECUTE ON PROCEDURE gen_resume FROM user1, PUBLIC;
C. GRANT CALL ON ROUTINE gen_resume TO user2 EXCLUDE user1 PUBLIC
D. GRANT CALL ON PROCEDURE gen_resume TO user2;
REVOKE CALL ON PROCEDURE gen_resume FROM user1, PUBLIC;
 

Q.A view named V.VIEW1 is based on a table named T.TABLE1. A user with DBADM authority issues the following statement:
GRANT INSERT ON v.view1 TO user1 WITH GRANT OPTION
Which of the following statements is USER1 authorized to execute?
A. GRANT INSERT ON t.table1 TO user2
B. GRANT CONTROL ON v.view1 TO user2
C. GRANT ALL PRIVILEGES ON v.view1 TO user2
D. GRANT INSERT ON v.view1 TO user2 


Q.What does the following statement do?
GRANT ALTER ON SEQUENCE gen_empid TO user1 WITH GRANT OPTION
A. Gives USER1 the ability to change the comment associated with a sequence named GEN_EMPID, along with the ability to give this CONTROL authority for the sequence to other users and groups.
B. Gives USER1 the ability to change the values returned by the PREVIOUS_VALUE and NEXT_VALUE expressions associated with a sequence named GEN_EMPID, along with the ability to give CONTROL authority for the sequence to other users and groups.
C. Gives USER1 the ability to change the comment associated with a sequence named GEN_EMPID, along with the ability to give this authority to other users and groups.
D. Gives USER1 the ability to change the values returned by the PREVIOUS_VALUE and
 

1 comment:

  1. Hey! I know this is kinda off topic but I was wondering if you knew where I could
    find a captcha plugin for my comment form? I'm using the same blog platform as yours and I'm having
    difficulty finding one? Thanks a lot!

    Look into my website :: Sala na wesele Warszawa

    ReplyDelete