IBM C2090-616 - DB2 11.1 Fundamentals for LUW Exam
Page: 3 / 13
Total 63 questions
Question #11 (Topic: Topic 1)
Which of the following statements about triggers are TRUE? (Choose two.)
A. There is a limit of 8 for the maximum number of cascading trigger activations
B. Triggers can be activated as a result of changes due to referential constraint enforcement
C. Multiple INSTEAD OF triggers are allowed for each kind of operation on a given subject view
D. Constraints associated with a subject table are applied between execution of BEFORE and AFTER triggers
E. The activation of the triggers for a particular table, event and activation time are conducted in descending order of trigger creation time
Answer: BD
Question #12 (Topic: Topic 1)
Which of the following is TRUE about indexes on column organized tables?
A. No indexes are allowed
B. Indexes are only allowed on numeric columns
C. Indexes are automatically created to enforce unique constraints
D. An index is only allowed on the synopsis table supporting a column organized table
Answer: A
Question #13 (Topic: Topic 1)
How can you tell what privileges on a table or view have been granted to a user? (Choose two.)
A. db2look with the â€"x option
B. db2pd with the â€"auth option
C. Query the SYSCAT.DBAUTH view
D. Query the SYSCAT.TABLES view
E. Query the SYSCAT.TABAUTH view CE
Answer: Explanation
Question #14 (Topic: Topic 1)
The following statements are executed:
GRANT CREATETAB, DATAACCESS, ON DATABASE TO ROLE role A;
GRANT CREATETAB, BINDADD ON DATABASE TO ROLE role B;
GRANT ROLE role A to USER db2inst3;
GRANT ROLE role B to USER db2inst3;
Which of the following is TRUE if this statement is executed later?
REVOKE ROLE roleB FROM USER db2inst3;
GRANT CREATETAB, DATAACCESS, ON DATABASE TO ROLE role A;
GRANT CREATETAB, BINDADD ON DATABASE TO ROLE role B;
GRANT ROLE role A to USER db2inst3;
GRANT ROLE role B to USER db2inst3;
Which of the following is TRUE if this statement is executed later?
REVOKE ROLE roleB FROM USER db2inst3;
A. This statement will succeed and DB2 INST3 will still be able to create in the database
B. This statement will succeed and DB2 INST3 only retains DATAACCESS privileges on the database
C. This statement will fail as CREATETAB is granted to two different roles and must be revoked at the same time
D. This statement will succeed with a warning since CREATETAB cannot be totally revoked. DB2INST3 will retain both roles
Answer: D
Question #15 (Topic: Topic 1)
Consider the following sequence of events:
Eddie grants SELECT WITH GRANT OPTION privilege to Mike.
Mike grants SELECT privilege to Jeff.
Eddie revokes SELECT privilege from Mike.
What will happen to Jeff’s SELECT privilege?
Eddie grants SELECT WITH GRANT OPTION privilege to Mike.
Mike grants SELECT privilege to Jeff.
Eddie revokes SELECT privilege from Mike.
What will happen to Jeff’s SELECT privilege?
A. Jeff’s SELECT privilege will be revoked
B. Jeff’s SELECT privilege will be retained
C. Jeff’s SELECT privilege will be retained only if he has ACCESSCTRL authority
D. Jeff’s SELECT privilege will be retained only if Eddie has ACCESSCTRL authority
Answer: A