Vous êtes sur la page 1sur 9

----------------------------------------------------------------------Oracle DBA Quiz I

----------------------------------------------------------------------Question 1:
Which command will cause an automatic commit to occur?
A) CONNECT
B) RENAME
C) SELECT
D) INSERT
E) DELETE
----------------------------------------------------------------------Question 2:
Which component of an instance holds session variables and arrays when you are
NOT running in MTS mode?
A) SGA
B) SQL Area
C) Library Cache
D) PGA
E) Shared Pool
----------------------------------------------------------------------Question 3:
Which Oracle background process is responsible for coalescing free space?
A) PMON
B) SMON
C) ARCH
D) LGWR
----------------------------------------------------------------------Question 4:
The CKPT process is optional; which process assumes these duties if CKPT is not
active?
A) PMON
B) SMON
C) ARCH
D) LGWR
----------------------------------------------------------------------Question 5:
The DBWR process is NOT responsible for:
A) Defers writes for I/O optimization
B) Uses a LRU algorithm to keep most recently used blocks in memory
C) Writes to database redo log files as people COMMIT data
D) Writes all changed (i.e. dirty) buffers to datafiles
----------------------------------------------------------------------Question 6:
Which statement about the LGWR is false?
A) There is only one redo log writer per instance
B) A commit confirmation may be issued before a transaction has been recor
ded in the redo log file
C) During long transactions Oracle can flush data to the redo logs before
it is committed.
D) An Oracle instance cannot survive without a redo log writer
----------------------------------------------------------------------Question 7:
The storage parmeters for a given table are: INITIAL=100, NEXT=100, MINEXTENTS=
2, MAXEXTENTS=10, PCTINCREASE=20. If the first 3 extents are filled, what will t

he size of the FOURTH extent be?


A) 120
B) 140
C) 144
D) 240
E) 400
----------------------------------------------------------------------Question 8:
Assume the database administrator wanted to limit the amount of idle time that
any one user could have during a given session. Which of the following would be
used to enforce such a limit?
A) audit
B) quota
C) limit
D) profile
----------------------------------------------------------------------Question 9:
Discarding redo logs is done with which of the following statements?
A) alter database archivelog;
B) alter database open resetlogs;
C) alter database mount exclusive;
D) alter system archive log all;
----------------------------------------------------------------------Question 10:
The DBA is creating a new user. Which of the following is NOT defined at user c
reation?
A) default tablespace
B) profile
C) idle_time
D) default role
----------------------------------------------------------------------Question 11:
What is the minimum number of extents for a Rollback segment?
A) 0
B) 1
C) 2
D) 3
E) 5
F) 20
----------------------------------------------------------------------Question 12:
What is the best PCTINCREASE value for a Temporary tablespace?
A) 0
B) 10
C) 50
D) 80
E) 100
----------------------------------------------------------------------Question 13:
The Program Global Area (PGA) contains ALL of the following except:
A) Sort Area
B) System Change Number (SCN)
C) Session Information

D) Cursor state
----------------------------------------------------------------------Question 14:
Which of the following actions is required to prevent row migration on a table?
A) Decrease PCTUSED
B) Increase PCTUSED
C) Decrease PCTFREE
D) Increase PCTFREE
E) Increase database block size
----------------------------------------------------------------------Oracle Backup and Recovery Quiz
----------------------------------------------------------------------Question 15:
When should one back up a read-only tablespace?
A) During regular backup window
B) Prior to placing the tablespace into read-only mode
C) Immediately after placing the tablespace into read-only mode
D) Prior to creating a new tablespace
E) Prior to altering the database structure
----------------------------------------------------------------------Question 16:
An export that backs up tables that have changed since the last cumulative or c
omplete export is known as?
A) An incremental export
B) A cumulative export
C) A complete export
D) A full export
----------------------------------------------------------------------Question 17:
Which is the order that objects are imported?
A) table defs, integrity constraints, table data, table indexes
B) table defs, table data, table indexes, integrity constraints
C) table defs, table indexes, table data, integrity constraints
D) integrity constraints, table defs, table data, table indexes
----------------------------------------------------------------------Question 18:
Which of the following contains the records of all transactions that occur in t
he database and plays an essential part in database recovery?
A) Control files
B) Datafiles
C) Parameter file
D) Redo log files
----------------------------------------------------------------------Question 19: Several months ago, a user was created called bkup_admin for use wi
th backups. A new backup program was purchased which needs all the rights of bku
p_admin but needs to be called bkup_mgr. How would you go about removing bkup_ad
min and adding bkup_mgr?
A)
B)
C)
user to
D)

Simply use the RENAME command.


Use the ALTER command.
Export user bkup_admin, DROP with cascade user bkup_admin, Import using
user.
Export user bkup_admin, DROP user bkup_admin, Import using user to user

.
-----------------------------------------------------------------------

Question 20:
The longest row in table DEPT is 8096 bytes long. What is the minimum buffer si
ze that should be set in an import of DEPT?
A) 4096
B) 8096
C) 8192
D) 17210
----------------------------------------------------------------------Question 21:
The DBA is about to initiate incomplete recovery on database TOOLS. The system
change number to which she would like to recover is 3982398484. Which of the fol
lowing statements is appropriate for database recovery?
A) alter database TOOLS recover database until '3982398484';
B) alter database TOOLS recover tablespace 3982398484;
C) alter database TOOLS recover database until cancel;
D) alter database TOOLS recover database until change 3982398484;
----------------------------------------------------------------------Question 22:
How do you connect to RMAN without a recovery catalog?
A) rman target system/manager nocatalog
B) rman system/manager catalog=no
C) rman system/manager without catalog
D) rman target system/manager rcvcat no
----------------------------------------------------------------------Question 23:
How do you create a SQL version of the control file, when there are read-only t
ablespaces in your database?
A) ALTER DATABASE BACKUP CONTROLFILE READ ONLY;
B) ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
C) ALTER DATABASE BACKUP CONTROLFILE TABLESPACE READ ONLY;
D) ALTER DATABASE BACKUP CONTROLFILE TO TRACE INCLUDING READ ONLY;
----------------------------------------------------------------------Question 24:
You have noticed that you are left with some old backups which are no longer re
quired. You have been using RMAN and now you want to have a list of these files.
Which Recovery Manager task will accomplish this?
A) LIST NEED BACKUP;
B) REPORT EXPIRED BACKUPS;
C) REPORT OBSOLETE;
D) LIST OBSOLETE BACKUPS;
----------------------------------------------------------------------Question 25:
Which physical file contains the name and location of datafiles?
A) Redo log file
B) Paramerter File
C) Password File
D) Control File
----------------------------------------------------------------------Question 26:
The finest level of logical database space is called:
A) SEGMENTS
B) EXTENTS
C) DATA BLOCKS

D) TABLESPACE
----------------------------------------------------------------------PT
----------------------------------------------------------------------Question 27:
Can the performance of a database be tuned by adjusting init.ora parameters?
A) Yes
B) No
----------------------------------------------------------------------Question 28:
When is the best time to tune a database application?
A) At design time
B) At development time
C) Before going live
D) When problems are experienced
----------------------------------------------------------------------Question 29:
You plan to execute UTLBSTAT and UTLESTAT twice. What do you need to do between
the first and second run to prevent the output from being overwritten?
A) Rename the output file after the first run
B) ALTER SYSTEM SET NUMBER_STATISTICS=2
C) Set the initialisation parameter NUMBER_STATISTICS 2
D) Used two different names for the output files
----------------------------------------------------------------------Question 30:
Which of the following approaches can the DBA take to improve hit statistics fo
r the library cache? (Choose two)
A) Increase DB_BLOCK_BUFFERS
B) Increase SHARED_POOL_SIZE
C) Use as many identical SQL statements in the application as possible
D) Issue long-running SQL statements first
----------------------------------------------------------------------Question 31:
How does one calculate the database hit ratio?
A) physical_reads / logical_reads
B) 1 - (logical_reads / physical_reads)
C) logical_reads / physical_reads
D) (logical_reads - physical_reads) / logical_reads
----------------------------------------------------------------------Question 32:
----------------------------------------------------------------------Question 33:
----------------------------------------------------------------------Question 34:
----------------------------------------------------------------------Question 35:
----------------------------------------------------------------------Question 36:
----------------------------------------------------------------------Question 37:

----------------------------------------------------------------------Question 38:
----------------------------------------------------------------------Question 39:
----------------------------------------------------------------------Question 40:
----------------------------------------------------------------------Question 41:
----------------------------------------------------------------------Question 42:
----------------------------------------------------------------------Question 43:
----------------------------------------------------------------------Question 44:
----------------------------------------------------------------------Question 45:
----------------------------------------------------------------------Question 46:
----------------------------------------------------------------------Question 47:
----------------------------------------------------------------------Question 48:
----------------------------------------------------------------------Question 1:
- You answered B. The correct answer is B.
- TIP: Any DDL statement (like RENAME) will cause an implicit commit. CONNECT do
es a COMMIT in SQL*Plus, but not in Precompiler programs.
Points awarded: 1.00 - Good Job!
Question 2:
- You answered A. The correct answer is D.
- TIP: The PGA holds session variables and arrays
Points awarded: 0.00 - Oops!
Question 3:
- You answered B. The correct answer is B.
- TIP: SMON coalesces free space (extents) into larger, contiguous extents.
Points awarded: 1.00 - Good Job!
Question 4:
- You answered D. The correct answer is D.
- TIP: LGWR perform checkpoints when CKPT is not active.
Points awarded: 1.00 - Good Job!
Question 5:
- You answered B. The correct answer is C.
- TIP: LGWR writes to database redo log files as people COMMIT data
Points awarded: 0.00 - Oops!

Question 6:
- You answered C. The correct answer is B.
- TIP: A commit can only be confirmed after the transaction has been recorded in
the redo log file.
Points awarded: 0.00 - Oops!
Question 7:
- You answered A. The correct answer is C.
- TIP: We've got 3 extents: 100; 100; 120 (100+20%). Fourth one will be 144 (120
+20%).
Points awarded: 0.00 - Oops!
Question 8:
- You answered D. The correct answer is D.
- TIP: Profiles can be used to limit session idle time.
Points awarded: 1.00 - Good Job!
Question 9:
- You answered B. The correct answer is B.
- TIP: ALTER DATABASE OPEN RESETLOGS will discard data in online redo logs and r
eset the log sequence number to 0.
Points awarded: 1.00 - Good Job!
Question 10:
The correct answer is C.
- TIP: Idle time is defined as part of user-profile creation and is not part use
r creation.
Question 11:
- You answered B. The correct answer is C.
- TIP: Rollback segments must have at least two extents
Points awarded: 0.00 - Oops!
Question 12:
- You answered A. The correct answer is A.
- TIP: PCTINCREASE=0 is best for a temprary tablespace
Points awarded: 1.00 - Good Job!
Question 13:
- You answered B. The correct answer is B.
- TIP: The PGA doesn't cache SCN information
Points awarded: 1.00 - Good Job!
Question 14:
- You answered D. The correct answer is D.
- TIP: Increasing PCTFREE will allocate more space for rows to grow within the b
lock
Question 15:
- You answered A. The correct answer is C.
- TIP: One should backup a tablespace immediately after it has been placed in re
ad-only mode.
Points awarded: 0.00 - Oops!
Question 16:
- You answered B. The correct answer is B.
- TIP: Export after a cumulative export is also cumulative export.
Points awarded: 1.00 - Good Job!

Question 17:
- You answered D. The correct answer is B.
- TIP: Import order is: table defs, table data, table indexes, integrity constra
ints.
Points awarded: 0.00 - Oops!
Question 18:
- You answered D. The correct answer is D.
- TIP: All transactions are recorded in the REDO LOG files.
Points awarded: 1.00 - Good Job!
Question 19:
- You answered C. The correct answer is C.
- TIP: You can export the old user, drop the old user cascade, and import into n
ew user.
Points awarded: 1.00 - Good Job!
Question 19:
- You answered BC. The correct answer is B.
- TIP: Import buffer must at least be as big as the largest row.
Points awarded: 0.00 - Oops!
Question 20:
- You answered C. The correct answer is D.
- TIP: Syntax for change-base incomplete recovery is: RECOVER DATABASE UNTIL CHA
NGE ...
Points awarded: 0.00 - Oops!
Question 21:
- You answered A. The correct answer is A.
- TIP: Connect without a catalog with: rman target system/manager nocatalog
Points awarded: 1.00 - Good Job!
Question 22:
- You answered B. The correct answer is B.
- TIP: use "ALTER DATABASE BACKUP CONTROLFILE TO TRACE;" to create a SQL version
of the control file.
Points awarded: 1.00 - Good Job!
Question 23:
- You answered C. The correct answer is C.
- TIP: REPORT OBSOLETE; will list backups that are no longer required.
Question 25:
- You answered B. The correct answer is D.
- TIP: The Control File contains the name and location of datafiles
Points awarded: 0.00 - Oops!
Question 26:
- You answered D. The correct answer is C.
- TIP: Data Blocks are the Finest Level of Granularity
Question 27:
- You answered A. The correct answer is A.
- TIP: True, database performance can be tuned by adjusting init.ora parameters
Points awarded: 1.00 - Good Job!
Question 28:
- You answered D. The correct answer is A.
- TIP: Poor system performance usually results from a poor database design.

Points awarded: 0.00 - Oops!


Question 29:
- You answered D. The correct answer is A.
- TIP: utlbstat/ utlestat writes out (or overwrite) the "report.txt" file.
Points awarded: 0.00 - Oops!
Question 30:
- You answered BC. The correct answer is BC.
- TIP: The library cache is a part of the shared pool. Increasing it will help.
Identical SQL statement will also increase library cache hits.
Points awarded: 1.00 - Good Job!
Question 31:
- You answered A. The correct answer is D.
- TIP: Buffer Hit Ratio = (logical_reads - physical_reads) / logical_reads, wher
e logical_reads = db block gets + consistent gets
------------------------------------------------------------------------On the sites
http://www.orafaq.com/supquiz.htm

Vous aimerez peut-être aussi