Download - Db2cert2v8 Sample

Transcript

8/14/2019 Db2cert2v8 Sample

http://slidepdf.com/reader/full/db2cert2v8-sample 1/3

DB2 UDB V8.1 Family Fundamentals

DB2 Security: Sample Questions

1)  Which of the following authority can be granted to the dba group using theGRANT statement?

a.  SYSADM

b.  SYSCTRL

c.  SYSMAINTd.  DBADM

2)  Which of the following authority can access data in the database? Choose all thatapply.

a.  DBADM

b.  SYSMAINT

c.  SYSCTRLd.  SYSADM

3)  Which of the following DB2 command can be used to change bob’s password?

a.  CHANGE PASSWORD USER bob OLD bobpass NEW newpass

b.  CONNECT TO sample USER bob USING bobpass NEW newpassc.  CONNECT TO sample USER bob USING bobpass NEW newpass

CONFIRM newpass

d.  No DB2 command can be used to change the password of a user ID

4)  Which of the following is not a valid authentication type?a.  CLIENT

b.  TRUST_ALLCLNTS

c.  KRB_SERVER_ENCRYPT

d.  KERBEROS

5)  Which of the following statement will fail? Choose all that apply.

a.  GRANT USE OF TABLESPACE syscatspace TO db2adminb.  GRANT USE OF TABLESPACE tempspace1 TO PUBLIC

c.  GRANT UPDATE (salary, bonus) ON employee TO PUBLIC

d.  GRANT ALL PRIVILEGES ON TABLE employee TO user1

6)  After a database is created, which of the following is true?

a.  Grant CONNECT, CREATETAB, BINDADD, and IMPLICIT_SCHEMAprivileges to PUBLIC

b.  Grant SELECT on system catalog tables to PUBLICc.  Grant USE privilege for table space USERSPACE1 to PUBLIC

d.  Grant BIND and EXECUTE privileges on each successfully bound utilityto PUBLIC

e.  All of the above

DB2 Security: Sample Questions 1

8/14/2019 Db2cert2v8 Sample

http://slidepdf.com/reader/full/db2cert2v8-sample 2/3

DB2 UDB V8.1 Family Fundamentals

7)  Which of the following privilege is required to create a new package in a database?

a.  CONTROL

b.  BINDc.  EXECUTE

d. 

BINDADD

8)  Given that the following commands are issued:

connect to sample user db2admin

grant control on employee to db2user

revoke control on employee from db2user

What privileges on table employee does db2user retain? Choose all that apply.

a.  CONTROLb.  UPDATE

c.  SELECT

d. 

ALTERe.  db2user does not have any privilege on the employee table

9)  Which of the following system catalog view contains the grantee information of 

the REFERENCE privilege on a view?a.  SYSCAT.VIEWS

b.  SYSCAT.TABLES

c.  SYSCAT.DBAUTHd.  SYSCAT.TABAUTH

e.  SYSCAT.REFERENCES

10) Which of the following statement will NOT allow db2user to grant the privileges

specified in the statement to others?a.  GRANT INDEX ON employee TO db2user WITH GRANT OPTION

b.  GRANT UPDATE (salary, bonus) ON employee TO PUBLIC WITH

GRANT OPTIONc.  GRANT CONTROL ON employee TO PUBLIC WITH GRANT

OPTION

d.  GRANT ALTERIN, CREATEIN, DROPIN ON schema1 TO db2user

WITH GRANT OPTION

DB2 Security: Sample Questions 2

8/14/2019 Db2cert2v8 Sample

http://slidepdf.com/reader/full/db2cert2v8-sample 3/3