Sie sind auf Seite 1von 7

Oracle 10g Database Administration Assessment Test

1. Which of the following components is not part of an Oracle instance? A. System Global Area B. Server Process C. Database Writer D. System Monitor

2. Which of the following will not implicitly begin a transaction? A. INSERT B. UPDATE C. DELETE D. SELECT FOR UPDATE E. None of the above; they all implicitly begin a transaction.

3. When a table is updated, where is the before-image information (which can be used for undoing the changes) stored? A. Temporary segment B. Redo log buffer C. Undo buffer D. Undo segment

4. Which backup options are available for databases in NOARCHIVELOG mode? (Choose all that apply.) A. Online, incremental B. Offline, incremental C. Online, full, whole database D. Offline, full, whole database

5. If the database instance fails, but will not shut down, you must use which command(s) before instance recovery can be performed? (Choose the best answer.) A. STARTUP NOMOUNT B. STARTUP MOUNT C. SHUTDOWN IMMEDIATE; STARTUP FORCE D. SHUTDOWN ABORT; STARTUP

6. If a user inadvertently drops a table, this is considered what type of failure? A. Instance B. User error C. Statement D. User process

7. Which of the following is not a valid database state? A. OPEN B. SHUTDOWN C. STARTUP D. MOUNT E. NOMOUNT

8. Identify the types of backups in the following list that RMAN performs. (Choose all that apply.) A. Backups to flat files B. Image copies C. Data Pump export dumps D. Backup sets

9. Every evening you use SQL*Loader to perform direct-path loads of data into your companys data warehouse. Last night the load of the SALES table failed because the tablespace where the SALES table is stored ran out of space. As a result, the indexes on the SALES table are in an unusable state. Which of the following can you use to fix this problem? A. Drop and re-create the affected indexes. B. Use the ALTER INDEX REBUILD command to rebuild the index. C. Use EM Database Control to rebuild the index. D. Any of the above will return the index to a usable state.

10. Select the invalid statements from the following regarding undo segment management. (Choose all that apply.) A. ALTER SYSTEM SET UNDO_TABLESPACE = ROLLBACK; B. ALTER DATABASE SET UNDO_TABLESPACE = UNDOTBS; C. ALTER SYSTEM SET UNDO_MANAGEMENT = AUTO; D. ALTER SYSTEM SET UNDO_MANAGEMENT = MANUAL;

11. Which of the following statements removes user brent together with all his schema objects from the database? A. drop user brent; B. delete from dba_users where username='BRENT'; C. alter system remove user brent cascade; D. drop user brent cascade;

12. Which of the following advisors is used to determine if the database read-consistency mechanisms are properly configured? A. Undo Management Advisor B. SQL Access Advisor C. SQL Tuning Advisor D. Memory Advisor

13. According to Oracle, how many copies of the control file should you maintain? A. 1, since Oracle automatically multiplexes control files B. 2 C. One copy on each Oracle-managed disk device D. 3

14. Youve decided to monitor your databases for CPU utilization based on baseline metrics. If you specify that you want a warning alert sent whenever CPU utilization is greater than 50 percent of the baseline and the high value for this metric is 300, when will the alert be sent? A. Whenever CPU utilization is 250 or less B. Whenever the CPU utilization is 450 or higher C. Whenever the CPU utilization is 300 or higher D. Whenever the CPU utilization is 225 or higher

15. The following table shows two concurrent transactions. Which statement about the result returned in Session 1 at 8:30 is true? Choose the best answer.

Session 1 select sum(order_amt) from orders where order_date > trunc(sysdate);

Time 8:01

Session 2

8:09

insert into orders (cust_ num, order_date, order_amt) values (19581963, sysdate, 576.12);

8:10 select statement above reaches data block where insert from session 2 resides 8:15

commit;

select statement completes and results returned to the user

8:30

A. The results include the changes committed by session 2 at 8:10. B. The results include the changes committed by session 2 at 8:10 if the two sessions were connected as the same user. C. The results of the query in session 1 do not include the changes committed by session 2 at 8:10. D. Session 1 instead returns a Snapshot too old error message at 8:30; no results are returned to the user, and the query must be resubmitted.

16.

In Oracle, outer join syntax can be specified using the LEFT JOIN or RIGHT JOIN

keywords or by using the (+) operator. Suppose that you have the two tables PRODUCTS and ORDERS. You need to get the ORDER# and PRODUCT# for all orders, even if there is no order placed for a particular product; that is, you want to get all of the rows from the PRODUCTS table. The PRODUCT# column is common to both tables. Which condition would return the desired result?

A. WHERE PRODUCTS.PRODUCT# = ORDERS.PRODUCT# B. WHERE PRODUCTS.PRODUCT# (+) = ORDERS.PRODUCT# C. WHERE PRODUCTS.PRODUCT# = ORDERS.PRODUCT# (+) D. WHERE PRODUCTS.PRODUCT# (+) = ORDERS.PRODUCT# (+)

17. The table WKSYS.WK$CRAWLER_STAT has a B-tree index on the three columns WK$ITD, ID, and STAT_NAME. Which of the following statements could benefit from this index? A. insert into wk$crawler_stat values (12,25,timeout,NULL); B. delete from wh$crawler_stat where id = 25; C. select * from wk$crawler_stat where wk$itd between 2 and 12; D. select * from wk$crawler_stat where id = 25 or stat_name like cache%;

18. User Rob granted SELECT on table OUTLN.OL$ to Chip WITH GRANT OPTION, and Chip has granted SELECT on OUTLN.OL$ to Ernie. Rob has also granted the DBA role to Chip WITH ADMIN OPTION, and Chip has granted DBA to Ernie. Chip leaves the department, and his account is dropped. Which privileges will Ernie still have if no other privileges are granted? A. Both SELECT on table OUTLN.OL$ and DBA B. Neither privilege C. Only SELECT on table OUTLN.OL$ D. Only DBA

19. What does the following statement do? alter user effie identified by kerberos; A. Creates user account effie B. Changes the external authentication service for user effie C. Makes effie a globally identified account D. Changes user effies password

20. Which of the following system privileges cannot be granted to a role? A. BECOME USER B. UNLIMITED TABLESPACE C. GRANT ANY ROLE D. GRANT ANY PRIVILEGE

Answer Sheet

Question Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Answer

Answers

1. B 2. E 3. D 4. D 5. D 6. B 7. C 8. B,D 9. D 10. B,C,D 11. D 12. A 13. D 14. B 15. C 16. C 17. C 18. D 19. D 20. B

Das könnte Ihnen auch gefallen