Topic(s):   DB2 Certification

December 13, 2007

DB2 9 DBA Exam Sample Questions: Recovering a database and LBAC
Posted by Roger Sanders @ 12:50 PM ET | Dec 13, 2007

How ready are you for the DB2 9 DBA certification exam? Find out by testing your knowledge against these sample questions from the book DB2 9 for Linux, UNIX, and Windows Database Administration: Certification Study Guide, published by MC Press. The questions are reprinted here with permission. Check back each week for more, and try past questions here.

QUESTION 5
A power failure occurred while several applications were interacting with a database named SAMPLE. When power was restored, the database could not be restarted because a user temporary table space named USER_TMPTS is damaged. What must be done to success-fully recover the database?

A. Restart the database by executing the command RESTART DATABASE sam-ple DROP PENDING TABLESPACES; drop and recreate the USER_TMPTS table space
B. Restart the database by executing the command RESTART DATABASE sam-ple DROP PENDING TABLESPACES; recreate the USER_TMPTS table space
C. Restart the database by executing the command RESTART DATABASE sam-ple DROP TABLESPACE (USER_TMPTS); recreate the USER_TMPTS ta-ble space
D. Restart the database by executing the command RESTART DATABASE sam-ple RECREATE TABLESPACES (USER_TMPTS)

QUESTION 6
Which of the following statements is NOT true about Label-Based Access Control (LBAC)?

A. LBAC can be used to restrict access to individual rows and columns.
B. Users that have been granted different LBAC security labels will get different results when they execute the same query.
C. Only users with SYSADM or SECADM authority are allowed to create secu-rity policies and security labels.
D. Security label components represent criteria that may be used to decide whether a user should have access to specific data.

Answers

QUESTION 5
The correct answer is A. If a problem occurs with a table space container during the restart process, the DROP PENDING TABLESPACES ([TS_Name]) option can be used to place one or more table spaces in “Drop Pending” state. This allows the database to be suc-cessfully restarted, after which the offending table space can be dropped and, if necessary, recreated. A list of troubled table space names can found in the administration notification log if a database restart operation fails because of table space container problems.

QUESTION 6
The correct answer is C. Security Administrator (SECADM) authority is a special database level of authority that is designed to allow special users to configure various label-based access control (LBAC) elements to restrict access to one or more tables that contain data to which they most likely do not have access themselves. Users with Security Administrator authority are only allowed to perform the following tasks:
• Create and drop security policies.
• Create and drop security labels.
• Grant and revoke security labels to/from individual users (using the GRANT SECURITY LABEL and REVOKE SECURITY LABEL SQL statements).
• Grant and revoke LBAC rule exemptions.
• Grant and revoke SETSESSIONUSER privileges (using the GRANT SETSESSIONUSER SQL statement).
• Transfer ownership of any object not owned by the Security Administrator (by executing the TRANSFER OWNERSHIP SQL statement). No other authority provides a user with these abilities, including System Administrator authority.

Trackback Pings

TrackBack URL for this entry:
http://www.ibmdatabasemag.com/blog/main/archives/2007/12/post_9.html

« DB2 LUW: Data Security Considerations for Auditors, Security Professionals, and IT Managers | Main | DB2 9 DBA Exam Sample Questions: Terminating applications and adding storage containers »





This is a public forum. CMP Media and its affiliates are not responsible for and do not control what is posted herein. CMP Media makes no warranties or guarantees concerning any advice dispensed by its staff members or readers.

Community standards in this comment area do not permit hate language, excessive profanity, or other patently offensive language. Please be aware that all information posted to this comment area becomes the property of CMP Media LLC and may be edited and republished in print or electronic format as outlined in CMP Media's Terms of Service.

Important Note: This comment area is NOT intended for commercial messages or solicitations of business.



CAREER CENTER
Ready to take that job and shove it?
SEARCH JOBS
RECENT JOB POSTINGS
CAREER NEWS
10 Search Engines You Don't Know About
Go beyond Google and get vertical. These specialized search sites will help you find the business information you need -- fast.

Subscribe to the new digital version of IBM Database Magazine
New Digital Version

Sponsored links:



Subscribe to the IBM Database Magazine Newsletter

Email Address *
First Name
Last Name
HTML Preference
HTML Text
 

Fields with * are required.

 




Visit these other IBM and TechWeb Partner Sites: :
Maximizing ROI Through Business Process Management (BPM) and Service-Oriented Architecture (SOA)
Internet Evolution – The Macrosite for News, Analysis, & Opinion About the Future of the Internet
Business Innovation – Technology Strategies and Solutions for Driving Business Success