Exam C2090-600 All QuestionsBrowse all questions from this exam
Question 33

Which of the following statements about audit policies is TRUE?

    Correct Answer: C

    The statement that the audit policy applied to a table is automatically applied to any view based on that table is true. If a table has an associated audit policy, any views accessing that table are subject to the same audit policy. This ensures that the underlying data accessed through the views is audited according to the same rules as the table itself.

Discussion
db2testerOption: D

The answer D is correct. If a user is switched within a trusted connection, no remnants of the original user are left behind. In this case, the audit policies associated with the original user are no longer considered, and the applicable audit policies are re-evaluated according to the new user. Any audit policy associated with the trusted connection is still in effect. If a SET SESSION USER statement is used, only the session authorization ID is switched. The audit policy of the authorization ID of the original user (the system authorization ID) remains in effect and the audit policy of the new user is used as well. If multiple SET SESSION USER statements are issued within a session, only the audit policies associated with the original user (the system authorization ID) and the current user (the session authorization ID) are considered.

db2testerOption: C

The answer C is correct because An audit policy cannot be associated with a view or a typed table. Views that access a table that has an associated audit policy are audited according to the underlying table's policy. The audit policy that applies to a table does not automatically apply to a MQT based on that table. If you associate an audit policy with a table, associate the same policy with any MQT based on that table. Reference : https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.admin.sec.doc/doc/c0050525.html

db2testerOption: C

The answer A is wrong because Auditing performed during a transaction is done based on the audit policies and their associations at the start of the transaction. For example, if the security administrator associates an audit policy with a user and that user is in a transaction at the time, the audit policy does not affect any remaining statements performed within that transaction. Also, changes to an audit policy do not take effect until they are committed. If the security administrator issues an ALTER AUDIT POLICY statement, it does not take effect until the statement is committed. Reference : https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.admin.sec.doc/doc/c0050525.html

db2testerOption: B

The answer B is wrong because for a specific object, there can only be one audit policy in effect. For example, you cannot have multiple audit policies associated with the same table at the same time.