Skip to main content

ORACLE DBA INTERVIEW QUESTION AND ANSWER Vol_01



Oracle DBA Interview questions With Answer 



Question 01: 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

Question 02. 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

Question 03. 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

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

A. SYSTEM, SYSAUX
B. SYSTEM, USERDATA, TEMP
C. SYSTEM, SYSAUX, UNDO

Question 05. In one server can we have different oracle versions?

A. No
B. Yes

Question 06. How do sessions communicate with database?

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

Question 07: Which SGA memory structure cannot be resized dynamically after instance startup?

A. Database Buffer Cace
B. Java Pool
C. Large pool
D. Log buffer
E. Shared Pool

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

A. To the data block in the cache, and the redo log buffer
B. To the data block on disk, and the current online redo log file
C. The session writes to the database buffer cache, and the log writer writes to the current online redo logfile
D. Nothing is written until the change is committed

Question 09. How many maximum no of control files we can have within a database
A 3
B.5
C.1
D.8

Question 10.System Data File Consists of
A.Metadata
B.Business Data
C.Temporary Data
D.Undo Data

Question 11. 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.

Question 12: Which action occurs 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.

Question 13: SMON process is used to write into LOG files

a.TRUE
b.FALSE

Question 14: Oracle does not consider a transaction committed until

A. The Data is written back to the disk by DBWR
B. The LGWR successfully writes the changes to redo
C. PMON Process commits the process changes
D. SMON Process Writes the data

Question 15: How many maximum DBWn(Db writers) we can invoke?

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

Question 16: Which activity would generate less undo data?

A.INSERT
B.UPDATE
C.SELECT
D.DELETE

Question 17: What happens when a user issues a COMMIT?

A. The CKPT process signals a checkpoint.
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

Question 18: What happens when a user process fails?

A.PMON performs process recovery.
B.SMON performs ICR
C.SMON frees resources held by user process.
D.Oracle Updates a controlfile.

Question 19: 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.


                       Question 20: When the SMON Procees perform ICR.
                      
A.For every startup
                       B.Only at the time of startup after graceful shutdown
                       C.Only at the time of startup after abort shutdown


[
 Correct answer: 1(c), 2(a), 3(c), 4(c), 5(b), 6(d), 7(d), 8(a), 9(d), 10(a), 11(e), 12(d), 13(b), 14(b), 15(d), 16(a),17(c),18(a),19(d),20(c)

Collected from http://www.reachdba.com 

Comments

Post a Comment

Popular posts from this blog

Checking operating system version: must be 5.0, 5.1 or 5.2 Actual 6.1 Failed

This error occurred when we are installing old oracle software in latest OS (Operating System).   Basically Its’s occurring on windows platform.

Oracle forms 11g default configuration file formsweb.cfg

#formsweb.cfg defines parameter values used by the FormsServlet # formsweb.cfg defines parameter values used by the FormsServlet (frmservlet) # This section defines the Default settings. Any of them may be overridden in the # following Named Configuration sections. If they are not overridden, then the # values here will be used. # The default settings comprise two types of parameters: System parameters, # which cannot be overridden in the URL, and User Parameters, which can. # Parameters which are not marked as System parameters are User parameters. # SYSTEM PARAMETERS

Windows 8 boot loader corrupted

Problem:     Installed Windows 7 and Windows 8 in EFI mode on a hard disk some days past. Today, the boot loader is absent or corrupted. At present have the Windows 8 installer on a flash drive and tried using the Automatic Repair option to repair the boot loader but it didn't do anything. The Startup Repair option is also absent in the Windows 8 installer. How I can repair or recreate the EFI boot loader from the Command Prompt? BCDEDIT   returns the following message: The requested system device cannot be found. Solution: Firstly, boot from a UEFI Windows 8 recovery disk (CD/DVD/USB) - I found that the automated recovery process didn't find the correct Windows partition, nor when I managed to add it to BCD settings would it make it reliably boot-able e.g. using BCDEDIT I got it to find and launch the Windows partition but it refused to cold boot or would not "keep" the settings after a 2nd reboot or power off. Go into the Advanced option