Oracle dba interview questions with answer

37
Oracle DBA Interview questions With Answer 1. Which of the following does not affect the size of the SGA a) Database buffer b) Redo log buffer c) Stored procedure d) Shared pool correct answer: c 2. A set of Dictionary tables are created a) Once for the Entire Database b) Every time a user is created c) Every time a Tablespace is created d) None of the above correct answer: a 3. The order in which Oracle processes a single SQL statement is ? A. execute, parse, fetch B. execute, fetch, parse C. parse, execute, fetch D. parse, fetch, execute correct answer: c 4. What are the mandatory datafiles to create a database in Oracle 11g? A. SYSTEM, SYSAUX B. SYSTEM, USERDATA, TEMP C. SYSTEM, SYSAUX, UNDO correct answer: c 5. In one server can we have different oracle versions? A. No B. Yes

Transcript of Oracle dba interview questions with answer

Page 1: Oracle dba interview questions with answer

Oracle DBA Interview questions With Answer

1. Which of the following does not affect the size of the SGA

a) Database bufferb) Redo log bufferc) Stored procedured) Shared pool

correct answer: c

2. A set of Dictionary tables are created

a) Once for the Entire Databaseb) Every time a user is createdc) Every time a Tablespace is createdd) None of the above

correct answer: a

3. The order in which Oracle processes a single SQL statement is ?

A. execute, parse, fetch B. execute, fetch, parseC. parse, execute, fetchD. parse, fetch, execute

correct answer: c

4. What are the mandatory datafiles to create a database in Oracle 11g?

A. SYSTEM, SYSAUXB. SYSTEM, USERDATA, TEMPC. SYSTEM, SYSAUX, UNDO

correct answer: c

5. In one server can we have different oracle versions?

A. NoB. Yes

correct answer: b

6. How do sessions communicate with database?

A. Server processes use oracle net to connect to the instance.

Page 2: Oracle dba interview questions with answer

B. Background processes use oracle net to connect to the databaseC. User processes read from the database and write to the instance;D. Server processes execute SQL received from user processes.

correct answer: d

7. Which SGA memory structure cannot be resized dynamically after instance startup?

A. Database Buffer CaceB. Java PoolC. Large poolD. Log bufferE. Shared Pool

correct answer: d

8. When a session changes data, where does the change get written?

A. To the data block in the cache, and the redo log bufferB. To the data block on disk, and the current online redo log fileC. The session writes to the database buffer cache, and the log writer writes to the current online redo logfileD. Nothing is written until the change is committed

correct answer: a

9. How many maximum no of control files we can have within a databaseA 3B.5C.1D.8

Answer d

10.System Data File Consists ofA.MetadataB.Business DataC.Temporary DataD.Undo Data

Answer a

1. What is the function of SMON in instance recovery?

A.It writes data to the archive log files.B.It writes data to the online redo log files.C.It frees resources held by user processes.D.It synchronizes data file header and control files.E.It roles forward by applying changes in the redo log.F.It writes dirty buffers from the buffer cache to the data files.

Page 3: Oracle dba interview questions with answer

correct answer: e2. Which action occur during a checkpoint?

A.Oracle updates a control file.B.Oracle performs a delayed block clean-out.C.Oracle copies the online redo-log to the archive destinations. `D.Oracle flushes the dirty blocks in the database buffer cache to disk.

correct answer: d

3. SMON process is used to write into LOG files

a.TRUEb.FALSE

correct answer: b

4. Oracle does not consider a transaction committed until

A. The Data is written back to the disk by DBWRB. The LGWR successfully writes the changes to redoC. PMON Process commits the process changesD. SMON Process Writes the data

correct answer: b

5. How many maximum DBWn(Db writers) we can invoke?

A. 3B. 1C. 10D. 20

correct answer: d

6. Which activity would generate less undo data?

A.INSERTB.UPDATEC.SELECTD.DELETE

correct answer: a

7. What happens when a user issues a COMMIT?

A. The CKPT process signals a checkpoint.

Page 4: Oracle dba interview questions with answer

B. The DBWn process wrtes the transactions changed buffers to the datafiles.C. The LGWR flushes the log buffer to the online redo log.D. The ARCn process writes the change vectors to the archive redo log

correct answer: c8.What happens when a user process fails?A.PMON performs process recovery.B.SMON performs ICRC.SMON frees resources held by user process.D.Oracle Updates a controlfile.

Answer:a

9.What are the free buffers in the database buffer cache.A.Buffer that have changed should be pushed to the disk.B.Buffers that are currently in use.C.Buffer that are being written to disk.D.Buffer that can be overwritten.

Answer:d

10.When thw SMON Procees perform ICR.A.For every startupB.Only at the time of startup after graceful shutdownC.Only at the time of startup after abort shutdownAnswer:c

1. Which dynamic view can be queried when a database is started up in no mount state?

A. V$LOGFILEB. V$INSTANCEC. V$CONTROLFILED. V$DATAFILE_HEADER

correct answer: b

2. Which two tasks occur as a database transitions from the mount stage to the open stage?

A. The online data files & Redo log files are opened.B. Memory for the SGA is allocated.

Page 5: Oracle dba interview questions with answer

C. The Oracle password file is opened.D. Stored procedures are pinned in the library cache

Correct answer: a

3. In which situation is it appropriate to enable the restricted session mode?

A. Creating a tableB. Dropping an indexC. Taking a rollback segment offlineD. Exporting a consistent image of a large number of tables.

Correct answer: d

4. Which is the component of an Oracle instance?

A. The SGAB. The redo logsC. The control cacheD. The password file

correct answer: a

5. Which process is involved when a user starts a new session on the database server?

A. The Oracle login processB. The Oracle server processC. The system monitor (SMON) processD. The process monitor (PMON) process

correct answer: b

6. In the event of an Instance failure, which files store command data NOT written to the datafiles?

A. Control filesB. Online redo logsC. Network segmentD. Archived redo logs

correct answer: b

7. When are the base tables of the data dictionary created?

A. When the instance is createdB. When the database is createdC. When the catalog.sql script is executedD. When the catproc.sql script is executed

correct answer: b

Page 6: Oracle dba interview questions with answer

8. Sequence of events takes place while starting a Database is

A. Database opened, File mounted, Instance startedB. Instance started, Database mounted & Database openedC. Database opened, Instance started & file mountedD. Files mounted, Instance started & Database opened

correct answer: b

9. The alert log will never contain information about which database activity?

A.Place tablespace in end backup modeB.Altering the database to take a data file offlineC.Performing operating system restore of the database filesD.Changing the database mode from NOARCHIVELOG to ARCHIVELOG

correct answer: c

10. Where can you find the non-default parameters when an instance is started?

a. Alert logb. Online redo logc. Archived redo logd. System user's trace

correct answer: a

1. Which tablespace is used as the temporary tablespace if TEMPORARY TABLESPACE is not specified for a user?

a. TEMPb. DATAc. SYSTEMd. ROLLBACK

correct answer: c

2. User SCOTT creates an index with this statement: CREATE INDEX emp_indx on employee (empno). In which tablespace would be the index created?

a. SYSTEM tablespaceb. SCOTTS default tablespacec. Tablespace with rollback segmentsd. Same tablespace as the EMPLOYEE table.

correct answer: b

Page 7: Oracle dba interview questions with answer

3. Which data dictionary view shows the available free space in a certain tablespace? (9-16)

A. DBA_EXTENTSB. V$FREESPACEC. DBA_FREE_SPACED. DBA_TABLESPACEE. DBA_FREE_EXTENTS

correct answer: c

4. Which method increase the size of a tablespace?

A. Add a datafile to a tablespace.B. Use the ALTER TABLESPACE command to increase the MINEXTENTS for the tablespace. C. Use the ALTER TABLESPACE command to increase the MAXEXTENTS for the tablespace. D. Use the ALTER TABLESPACE command to increase the MINIMUM EXTENT for the tablespace.

correct answer: a

5. What does the command ALTER DATABASE . . . RENAME DATAFILE do? (8-37) (Not proper description of the ans.)

A. It copies a data file.B. It updates the control file.C. It copies a data file and updates the control file.D. It copies a data file, deletes the obsolete file, and updates the control file.

correct answer: b

6. Can you drop objects from a read-only tablespace?A. NoB. YesC. Only when using the DBA roleD. Only when the tablespace is online

correct answer: b

7. SYSTEM TABLESPACE can be made off-line

a) Yesb) No

correct answer: b

8. Datadictionary can span across multiple Tablespaces

a) TRUE

Page 8: Oracle dba interview questions with answer

b) FALSE

correct answer: b

9. Multiple Tablespaces can share a single datafile

a) TRUEb) FALSE

correct answer: b

10. All datafiles related to a Tablespace are removed when the Tablespace is dropped?

a) TRUEb) FALSE

correct answer: b

1. What is a default role?

A. A role that requires a password.B. A role that requires no password.C. A role automatically enabled when the user logs on.D. A role automatically assigned when the user is created.

correct answer: c

2. Who is the owner of a role?

A. SYSB. NobodyC. SYSTEMD. The creator

correct answer: b

3. When granting the system privilege, which clause enables the grantee to further grant the privilege to other users or roles?

A. PUBLICB. WITH PRIVILEGEC. WITH ADMIN OPTIOND. WITH GRANT OPTION

Page 9: Oracle dba interview questions with answer

correct answer: c

4. Which view will show a list of privileges that are available for the current session to a user?

A. SESSION_PRIVSB. DBA_SYS_PRIVSC. DBA_COL_PRIVSD. DBA_SESSION_PRIVS

correct answer: a

5. Which view shows all of the objects accessible to the user in a database? 

A. DB_OBJECTSB. ALL_OBJECTSC. DBA_OBJECTSD. USER_OBJECTS

correct answer: b

6. Which statement about profiles is false?

A. Profile assignments do not affect current sessions.B. Profiles enable group resource limits for similar users.C. Profiles are assigned to users, roles, and other profiles.D. The ALTER USER command can be used to assign profiles to users.

correct answer: c

7. Which password management feature is NOT available by using a profile?

A. Account lockingB. Password historyC. Password changeD. Password aging and expiration

correct answer: c

8. Which resource can not be controlled using profiles?

A. Idle timeB. CPU timeD. PGA memory allocationsE. Number of concurrent sessions for a user name

correct answer: d

Page 10: Oracle dba interview questions with answer

9. You want to retrieve information about account expiration dates from the data dictionary. Which view do you use? 

A. DBA_USERSB. DBA_PROFILESC. DBA_EXP_DATESD. V$ACC_EXPIRATION

correct answer: a

10. It is very difficult to grant and manage common privileges needed by different groups of database users using roles

A. TRUEB. FALSE

correct answer: b

1. Which data dictionary view would you query to retrieve a table’s header block number?A. DBA_TABLEB. DBA_TABLESC. DBA_OBJECTD. DBA_OBJECTSE. DBA_SEGMENTF. DBA_SEGMENTS

correct answer: f

2. When tables are stored in locally managed tablespaces, where is extent allocation information stored?

A. MemoryB. Data DictionaryC. Temporary tablespaceD. Corresponding tablespace itself

correct answer: d

3. Which of the following three portions of a data block are collectively called as Overhead?

A.table directory, row directory and row dataB.data block header, table diretory and free spaceC.table directory, row directory and data block headerD. data block header, row data and row header

correct answer: c

Page 11: Oracle dba interview questions with answer

4. Can a tablespace hold objects from different schemes?

A. Yes.B. NO

correct answer: a

5. Which data dictionary view would you query to retrieve a table’s header block number? (11-41)

A. DBA_TABLEB. DBA_TABLESC. DBA_OBJECTD. DBA_OBJECTSE. DBA_SEGMENTF. DBA_SEGMENTS

correct answer: f6. What is default value for storage parameter INITIAL in 10g if extent management is Local ?

A. 8kB. 40kC. 16k

correct answer: b

7. Using which package we can convert Tablespace from DMTS to LMTS?

A. DBMS_TABLESPACEB. DBMS_SPACE_ADMINC. DBMS_LOCAL_TABLESPACE

correct answer: b

8. Is it Possible to Change ORACLE Block size after creating database?

A. YesB. No

correct answer: b

9. Locally Managed table spaces will increase the performance?

Page 12: Oracle dba interview questions with answer

A. TRUEB.FLASE

correct answer: a

10.Index is a Space demanding Object ?

A.YesB.No

correct answer: a

1. What is a potential reason for a Snapshot too old error message?

a. You did not refresh your snapshots in time.b. An ITL entry in a data block has been reused.c. Rollback segment extent sizes are too large.d. Your online redo log files are not big enough to snap your largest transactions.

correct answer: b

2. An Oracle user receives the following error:ORA-01555 SNAPSHOP TOO OLDWhat is the possible solution? (10-36)A. Increase the extent size of the rollback segments.B. Perform media recovery.C. Increase the number of rollback segments.D. Increase the size of the rollback segment tablespace. 

correct answer: a

3. The status of the Rollback segment can be viewed through

A. DBA_SEGMENTSB. DBA_ROLESC. DBA_FREE_SPACESD. DBA_ROLLBACK_SEG

correct answer: d

4. Explicitly we can assign transaction to a rollback segment

A. TRUE

Page 13: Oracle dba interview questions with answer

B. FALSE

correct answer: a

5) Are uncommitted transactions written to flashback redologs?

A. YesB. No

correct answer: a

6) Is it possible to do flashback after truncate?

A.NoB. Yes

correct answer: a

7) Can we restore a dropped table after a new table with the same name has been created?

A. YesB. No

correct answer: a

8. Which following command will clear database recyclebin?

A.delete recyclebin;B. clear recyclebin;C. purge recyclebin;D. truncate recyclebin

correct answer: c

9. What is the OPTIMAL parameter?

A. length of a rollback segment.B. Optimizer modeC. Size of the undo tablespaceD. None of the above

correct answer: a

Page 14: Oracle dba interview questions with answer

10. Flashback query time depends on ____?

A. Undo_retentionB. Flashback_timeout

correct answer: a

1. Can we create spfile in shutdown mode?

A.YesB. No

correct answer: a

2. Can we alter static parameters by using scope=both

A. YesB. No

correct answer: b

3. Can we take backup of spfile in RMAN?

A. YesB. No

correct answer: a

4. Does Drop Database command removes spfile?

A. YesB. No

correct answer: a

5. Using which SQL command we can alter the parameters?

Page 15: Oracle dba interview questions with answer

A. Alter databaseB. Alter parameterC. Alter system

correct answer: c

6.OMF database will Improve the performance?

A. YesB. No

correct answer: b

7.Max number of controlfiles that can be multiplexed in an OMF database?

A. 1B. 5C. 8D. unlimited

correct answer: b

1. Which environment variable is used to help set up Oracle names?A. ADMIN_TNSB. TNS_NAMESC. TNS_ADMIND. NAMES_TNSE. NAMES_ADMINF. ADMIN_NAMES

correct answer: c

2. Which Net8 component waits for incoming requests on the server side?A. PortB. ServerC. ListenerD. DispatcherE. Background process

correct answer: c

3. What is the listener name when you start the listener without specifying an argument?A. LISTB. LISTENERC. LISTENER_NAMED. The same as the instance name.

Page 16: Oracle dba interview questions with answer

correct answer: b

4. When is a request sent to a listener?A. After every call.B. Before every call.C. After name resolution.D. Before name resolution.

correct answer: c

5. In which file is the information that host naming is enabled stored?

A. init.oraB. sqlnet.oraC. tnsnames.oraD. listener.ora

correct answer: b

6. Which protocols can oracle Net 11g Use

A.TCPB.UDPC.SPX/IPX

correct answer: a

7. Which of the following statements about listeners is correct?

A. A listener can connect you to one instance only.B. A listener can connect you to one service only.C. Multiple listeners can share one network interface card.D. An instance will only accept connections from the listener specified on the local_listener parameter.

correct answer: c

1. Can we perform DML operation on Materialized view?

A.YesB.No

correct answer: b

Page 17: Oracle dba interview questions with answer

2.Materialized views are schema objects, that can be used to summarize pre compute replicate and distribute data?

A.TrueB.False

correct answer: a

3. Does a materialized view occupies space?

A. YesB. No

correct answer: a

4. Can we name a Materialized View log?

A. YesB. No

correct answer: b

5. By using which view can a normal user see public database link?

A. USER_DB_LINKSB. DBA_DB_LINKSC. ALL_DB_LINKS

correct answer: c

6. Can we change the refresh interval of a Materialized View?

A. YESB. NO

correct answer: a

7. Can we use a database link even after the target user has changed his password?

Page 18: Oracle dba interview questions with answer

A. YesB. No

correct answer: a

8. Can we convert a materialized view from refresh fast to complete?

A. YesB. No

correct answer: a

9. A normal user can create public database link?

A. TrueB. False

correct answer: b

10. If we truncate the master table, materialized view log on that table__

A. Will be truncatedB. Wont be truncatedC. Will be dropped

correct answer: c

1. What is the correct procedure for multiplexing online redo logs?

A. Issue the ALTER DATABASE. . . ADD LOGFILE GROUP command.B. Issue the ALTER DATABASE. . . ADD LOGFILE MEMBER command.C. Shut down the database, copy the online redo-log, and start up the database.D. Shut down the database, copy the online redo-log, edit the REDO_LOG_FILES parameter, and start up the database

correct answer: b

2. In which situation would you need to create a new control file for an existing database?A. When all redo-log files are lost.B. When MAXLOGMEMBERS needs to be changed.C. When RECOVERY_PARALLELISM needs to be changed.

Page 19: Oracle dba interview questions with answer

D. When the name of the parameter file needs to be changed

correct answer: b

3. When configuring a database for ARCHIVELOG mode, you use an initialisation parameter to specify which action?A. The size of archived log files.B. How frequently log files will be archived.C. That the database is in ARCHIVELOG mode.d. To Store Archive log Files

correct answer: d

4. Which command creates a text backup of the control file?

A. ALTER DATABASE BACKUP CONTROLFILE TO TRACE;B. ALTER DATABASE BACKUP CONTROLFILE TO BACKUP;C. ALTER DATABASE BACKUP CONTROLFILE TO filename;D. ALTER DATABASE BACKUP CONTROLFILE TO TEXT filename;

correct answer: a

5. You are configuring a database for ARCHIVELOG mode. Which initialization parameter should you use?

A. LOG_ARCHIVE_SIZEB. ARCHIVELOG_MODEC. LOG_ARCHIVE_DEST

correct answer: c

6. How does a DBA specify multiple control files?

A. With the ADD CONTROLFILE command.B. By using the files in the STARTUP command.C. With the MULTIPLEX control file command.D. By listing the files in the CONTROL_FILES parameter.

correct answer: d

7. Which dynamic view should a DBA query to obtain information about the different sections of the control file? (6-10)

A. V$CONTROLFILEB. DBA_CONTROLFILEC. V$CONTROLFILE_RECORD_SECTIOND. DBA_CONRTOLFILE_RECORD_SECTION

Page 20: Oracle dba interview questions with answer

correct answer: c

8. What is the characteristics of the control file?

A. It is a text fileB. It is a fixed size.C. It is required to start the instance.D. It must be updated at every log switch.

correct answer: d

9. Which statements about online redo log members in a group are true?

A. All files in all groups are the same size.B. All members in a group are the same size.C. The rollback segment size determines the member size.D. Differently size of transactions requires that the DBA should differently sized members.

correct answer: b

10. Which command does a DBA use to list the current status of archiving?

A. ARCHIVE LOG LIST;B. FROM ARCHIVE LOGS;C. SELECT * FROM VITEREAD

correct answer: a

1.When performing an open database backup, which statement is NOT true?

A.The database is fully accessible to all users.B.The database must be operating in ARCHIVELOG mode.C.The database can be open but only in READ ONLY mode.D.The database tablespaces should be in BEGIN BACKUP mode.

correct answer: c

2.Which task can a DBA perform using the export/import facility?

A.Examine log files.B.Recreate the control file.C.Transport tablespaces between databases.D.Make a logical backup of the rollback segment tablespace. 

correct answer: c

Page 21: Oracle dba interview questions with answer

3.Why does this command cause an error?exp system/manager inctype=full file=expdat.dnp

A.The tables to export are not identified.B.The user system cannot perform exports.C.The full=y parameter needs to be specified.D.The inctype parameter is not valid parameter.

correct answer: c

4. Which import option do you use to create tables without data?

A. ROWSB. CREATEC. INDEXESD. CONSISTENT

correct answer: a

5. Which export option will generate code to create an initial extent that is equal to the sum of the sizes of all the extents currently allocated to an object?

A. FULLB. DIRECTC. COMPACTD. COMPRESS

correct answer: d

6. Can I take 1 dump file set from my source database and import it into multiple databases?

A. YesB. No

correct answer: a

7. EXP command is used

A. To take Backup of the Oracle DatabaseB. To import data from the exported dump fileC. To create Rollback segmentsD. None of the above

correct answer: a

8. Can we export a dropped table?

Page 22: Oracle dba interview questions with answer

A. NoB. Yes

correct answer: a

9. What is the default value for IGNORE parameter in EXP/IMP?

A. YesB. No

correct answer: b

10. Why is Direct Path Export Faster?

A. This option By Passes the SQL LayerB. All SGA is used for ExportC. All of the aboveD. None of the above

correct answer: a

1. Is there a way to estimate the size of an export job before it gets underway?

A. NOB yes

correct answer: b

2. Can I monitor a Data Pump Export or Import job while the job is in progress?

A. YesB. No

correct answer: a

3. If a job is stopped either voluntarily or involuntarily, can I restart it?

A. NoB. Yes

Page 23: Oracle dba interview questions with answer

correct answer: b

4. Does Data Pump support Flashback?

A. YesB. no

correct answer: a

5. If the tablespace is Read Only,Can we export objects from that tablespaces?

A. YesB. No

correct answer: a

6. Dump files exported using traditional EXP are compatible with DATAPUMP?

A. TrueB. False

correct answer: b

1. Before a DBA creates a transportable tablespace, which condition must be completed?

A. All indexes are disabled or dropped.B. The target system has precreated the tablespace.C. The target system is in the same operating system.D. The tables containing nested tables are contained in the same tablespace.

correct answer: c

2. Can we transport tablespace from one database to another database which is having SYS owned objects?

A. YesB. No

correct answer: b

Page 24: Oracle dba interview questions with answer

3. What is default value for TRANSPORT_TABLESPACE Parameter in EXP?

A. YesB. No

correct answer: b

4. How to find whether tablespace is created in that database or transported from another database?

A. V$databaseB Dba_tablespacesC. Dba_data_filesD. V$transport_tablespace

correct answer: b

5. Can we Perform TTS using EXPDP?

A. YesB. No

correct answer: a

6. Can we Transport Tablespace which has Materialized View in it?

A. YesB. No

correct answer: b

1. When would a DBA need to perform a media recovery?

A. After instance failure occurs.B. After abnormal termination of client program.C. After the failure of an Oracle background process.D. After the database is shutdown by using SHUTDOWN TRANSACTIONAL.E. When a data file is not synchronized with the other data files, redo logs, and control files.

correct answer: e

2. Why would you set a data file offline when the database is in MOUNT state?

A.To minimize downtime.B.To allow for automatic data file recovery.C.To prevent further corruption of a damaged data file.D.To recover it later, when database is in NOARCHIVELOG mode.

Page 25: Oracle dba interview questions with answer

correct answer: b

3. What is the causes of media failures?

A.The server computer loses power.B.A table is accidentally truncated.C.The user issues an abnormal interrupt.E.There is a logic error in the application.F.There is a head crash on the disk containing a database file.

correct answer: f

4. Which of the following would not require you to perform an incomplete recovery?

A. Instance failureB. Missing archived redo log files during a media recoveryC. Loss of all copies of the control fileD. Media failure in a user tablespace in ARCHIEVELOG mode

correct answer: a

5. In what scenario you have to open a database with reset logs option?

A. Rename DatabaseB. Point in time recoveryC. All of the above

correct answer: c

6. Is it possible take consistent backup if the database is in NOARCHIVELOG mode?

A. YesB. No

correct answer: a

7. Database is in Archivelog mode and Loss of unbackedup datafile is__?

A. Complete Online RecoveryB. Incomplete RecoveryC. Complete Offline recovery

correct answer: a

8. You should issue a backup of the control file after issuing which command?

A. ALTER TABLE

Page 26: Oracle dba interview questions with answer

B. CREATE TABLEC. CREATE TABLESPACED. CREATE ROLLBACK SEGMENT

correct answer: c

9. The alert log will never contain specific information about which database backup activity) ?

A. Placing tablespaces in begin backup mode.B. Shutting the database down with an ABORT.C. Performing an operating system backup of the database files.D. Changing the database backup mode from ARCHIVELOG to NOARCHIVELOG

correct answer: c

1. A tablespace becomes unavailable because of a failure. The database is running in NOARCHIVELOG mode? What should the DBA do to make the database available?

A. Perform a tablespace recovery.B. Perform a complete database recovery.C. Restore the data files, redo log files, and control files from an earlier copy of a full database backup.D. There is no possibility to make the database available.

correct answer: c

2. How often does a read-only tablespace need to be backed up?

A. At all database backupsB. Whenever the control file is recreatedC. Only once after the tablespace becomes read-onlyD. When the database is put into ARCHIVELOG mode

correct answer: c

3. With the instance down, how would you recover a lost control file?

A. Restore backup control file & recover using backup controlfileB. Use the CREATE CONTROLFILE commandC. Use the ALTER DATABASE BACKUP CONTROLFILE TO TRACE commandD. Use the ALTER DATABASE RECOVER CONTROLFILE FROM TRACE command

correct answer: a

4. Which action does Oracle recommend after a DBA recovers from the loss of the current online redo-log?A. Back up the data files

Page 27: Oracle dba interview questions with answer

B. Back up the instanceC. Back up the databaseD. Back up the control fileE. Archive any unarchived online redo-logs

correct answer: c

5. Which command creates a text backup of the control file?A. ALTER DATABASE BACKUP CONTROLFILE TO TRACE;B. ALTER DATABASE BACKUP CONTROLFILE TO BACKUP;C. ALTER DATABASE BACKUP CONTROLFILE TO filename;D. ALTER DATABASE BACKUP CONTROLFILE TO TEXT filename;

correct answer: a

1. Which option is used in the parameter file to detect corruptions in an Oracle data block?

A. DBVERIFYB. DBMS_REPAIRC. DB_BLOCK_CHECKINGD. VALIDITY_STRUCTURE

correct answer: a

2. Your database is configured in ARCHIVELOG mode. Which backups cannot be performed?

A.Open database backups.B.Operating system backups when the database is closed.C.Online control file backups using the ALTER CONTROLFILE BACKUP command

correct answer: c

3. Which statement about an open database backup is NOT true?

A. The database must be available in ARCHIVELOG mode.B. The database is available for use during backups.C. All the database files copied are consistent to a point-in-time.D. An operating system backup of the database file is required.

correct answer: c

4. When performing an open database backup, which statement is NOT true? A. The database is fully accessible to all users.B. The database must be operating in ARCHIVELOG mode.C. The database can be open but only in READ ONLY mode.D. The database tablespaces should be in BEGIN BACKUP mode.

Page 28: Oracle dba interview questions with answer

correct answer: c

5. You are using hot backup without being in archivelog mode, can you recover in the event of a failure?

A. YesB. No

correct answer: b

6. Which following statement is true when tablespaces are put in backup mode for hot backups?

A. High Volume of REDO is generatedB. No updates to tables in that tablespaceC. All of the aboveD. None of the above

correct answer: a

7. Can Consistant Backup be performed when the database is open ?

A. YesB. No

correct answer: b

8. Can we shutdown the database if it is in BEGIN BACKUP mode? 

A. YesB. No

correct answer: a

9. Which data dictionary view helps you to view whether tablespace is in BEGIN BACKUP Mode or not?

A. v$tablespaceB. V$datafileC. V$backup

Page 29: Oracle dba interview questions with answer

correct answer: c

1. Which command is used to allow RMAN to store a group of commands in the recovery catalog?

A.ADD SCRIPTB.CREATE SCRIPTC.CREATE COMMANDD.ADD BACKUP SCRIPT

correct answer: b

2.When using Recovery Manager without a catalog, the connection to the target database

A.Must be a local connection.B.Must be a remote connection.C.Can be a local or a remote connection.D.Must be specified using a Net8 service name.

correct answer: c

3. Work is done by Recovery Manager through ____

A. PL/SQL packages.B. External procedures.C. Operating system scripts.D. Operating system commands

correct answer: d

4. You perform an incomplete database recovery using RMAN. Which state of target database is needed?A. MountB. NomountC. Open, initially openD. Open, initially closed

correct answer: a

5. Is it possible to perform Transportable tablespace(TTS) using RMAN ?

A. YesB. No

correct answer: a

Page 30: Oracle dba interview questions with answer

6. Which type of file does Not RMAN include in its backups?

A. Data filesB. Control filesC. Password filesE. Online redo-logsF. Archived redo-logs

correct answer: e

7. When using Recovery Manager without a catalog, the connection to the target database should be made as _____.

A. User SYSDBAB. User SYSTEMC. A user with SYSDBA privilegeD. A user that owns the RMAN catalog

correct answer: c

8. RMAN online backup generates excessive Redo information

A. TrueB. Flase

correct answer: b

9. Which background process will be invoked when we enable BLOCK CHANGE TRACKING?

A. RvwrB. CTWrC. ARCnD. RECO

correct answer: b

1. Where should a recovery catalog be created?

A. In the target databaseB. In the source databaseC. In the auxiliary databaseD. In a database different from the target database

correct answer: a

Page 31: Oracle dba interview questions with answer

2. How to list restore points in RMAN?

A. RC_RESTORE_POINT viewB. LIST RESTORE POINTC. All of the above

correct answer: a

3. Without LIST FAILURE can we say ADVISE FAILURE in Data Recovery Advisor?

A. YesB. No

correct answer: a

4. Import Catalog Command is used for ____

A. Take Backup of catalogB. To Merge Two diff catalogsC. Catalog Recovery

correct answer: b

5. Interfile backup parallelism does

A. Divide files into Multiple sections & take backup parallelB. Database backup parallelyC. Datafiles Backup Parallely

correct answer: a