Answer these 100+ Oracle Database MCQs and see how sharp is your knowledge of Oracle Database.
Scroll down and let's start!
A. Relational Database Manager System
B. Rational Database Management System
C. Rational Database Manager System
D. Relational Database Management System
E. Ratio Database Management System
A. Header, Body and Footer
B. Header and Footer
C. Main, Content and Footer
D. Spec and Body
A. lock
B. commit
C. savepoint
D. rollback
A. A view must have aliases defined for the column names in the SELECT statement.
B. A view can be created as a join on two or more tables.
C. A view cannot have an ORDERBY clause in the SELECT statement.
D. A view cannot be created with a GROUP BY clause in the SELECT statement.
A. Update Record
B. Enter Query
C. Clear Record
D. Execute Query
E. Exit
A. Start with a letter
B. Can have the same name as any database object if that object is not owned by the same user
C. All of these
D. Can contain characters such as $, _ and #
A. LTER TABLE table_name STATUS ENABLE CONSTRAINT constraint_name;
B. ALTER TABLE table_name TURN ON CONSTRAINT constraint_name;
C. ALTER TABLE table_name ENABLE constraint_name;
D. ALTER TABLE table_name ENABLE CONSTRAINT constraint_name;
A. DBA_SOURCE
B. All of these
C. USER_SOURCE
D. ALL_SOURCE
A. Less then current value
B. More than current value
C. Present Value
D. Zero
A. SGA
B. PMON
C. SQL star plus
D. Database Link
A. DBA_FREE_SPACE
B. DBA_DATA_FILES
C. FILES_DBA_SPACE
D. FREE_DATA_FILES
A. ALTER INDEX index_name REBUILD
B. ALTER index_name REBUILD
C. ALTER INDEX REBUILD index_name
D. index_name REBUILD
A. They can be rebuilt online
B. Performed by issuing the command ALTER INDEX
C. All of these
D. Rebuilding indexes doesn't need a lock on the table
A. 7
B. 1
C. 8
D. 9
A. 0
B. 6
C. 4
D. 2
A. Queries
B. Clauses
C. Expressions
D. None. All are language elements of SQL.
E. Statements
A. Makes your environment the same across the enterprise
B. Is relatively easy to grant or revoke access for each specific job to other user
C. Is capable of running a program, anonymous PL/SQL blocks, stored procedure, executables or even a chain of commands
D. All of these
A. SELECT and DELETE
B. CREATE TABLE and DROP TABLE
C. DELETE and UPDATE
D. CREATE TABLE and SELECT
A. Oracle E-Business Suite
B. Oracle Enterprise Manager
C. Oracle Developer Suite
D. Oracle Customer Service Suite
E. Oracle Application Server
A. IS NOTHING
B. IS NULL
C. = NULL
D. IS EMPTY
A. Contact Relationship Marketing
B. Customer Relationship Management
C. Client Relationship Management
D. Customer Relationship Marketing
E. Customer Resource Management
A. Create another column
B. Random form of data
C. Create another table
D. Ordered form of data
A. Undo the last uncommitted transactions
B. Save the last uncommitted transactions
C. Maintains Log of the last uncommitted transactions
D. Redo the last uncommitted transactions
A. >=
B. AND
C. BETWEEN ... AND
D. <=
A. Redo log files
B. Control files
C. All of these
D. Data files
A. Rename
B. Delete
C. Insert
D. Update
A. True
B. False
A. Table
B. Lock
C. Role
A. IN
B. BETWEEN
C. LIKE
D. EXISTS
A. Having
B. When
C. Not in
D. In
A. Order Entry Module
B. Oracle Enterprise Manager
C. Oracle Equipment Model
D. Oracle Entry Manager
E. Original Equipment Manufacturer
A. distinct
B. join
C. order by
D. delete
A. Electronic Resource Planning
B. Electronic Resource Pricing
C. Early Retirement Plan
D. Employee Referral Program
E. Enterprise Resource Planning
A. Standard Query Language
B. Sequential Query Language
C. Structured Query Language
D. Symmetric Query Language
A. DB_SYSTEM_CLUSTER_SIZE
B. DB_BLOCK_SIZE
C. DB_SYSTEM_BLOCK_SIZE
D. DB_CLUSTER_SIZE
A. Drop
B. Update
C. Alter
D. Create
A. CUCKOO AND CARLIE
B. CHUCKOO AND CHARLIE
C. CHUCHKOO AND CARLIE
D. CHUCHKOO AND CHARLIE
A. Digital Encryption System
B. Data Entry Sheet
C. Dynamic Energy Saver
D. Data Encryption Standard
E. Data Extraction Segment
A. Oracle Certified Developer (OCD)
B. Oracle Certified Master (OCM)
C. Oracle Certified Associate (OCA)
D. Oracle Certified Professional (OCP)
A. An area that is used to allocate the I/O buffers from shared memory
B. An area in SGA that is used to store the most recently used data block
C. Circular buffer that holds information about changes made to the database
D. An area in SGA taht contains the database checkpoints
A. You obtain the results retrieved from the HR table that belongs to your schema.
B. You obtain the results retrieved from both the public synonym HR and the HR table that belongs to your schema, as a Cartesian product.
C. You obtain the results retrieved from the public synonym HR created by the database administrator
D. You get an error message because you cannot retrieve from a table that has the same name as a public synonym
A. Lock the record on result set
B. Unlock the record on result set
C. Select the record and deelete
D. Update the record set
A. flashback table <tablename> to before drop
B. rollback table <tablename> to before drop
C. rollback to segment
D. alter database cancel drop <tablename>
A. Segments, extents, data blocks, tablespaces
B. Data blocks, extents, segments, table spaces
C. Extents, data blocks, segments, tablespaces
D. Table spaces, data blocks, extents, segments
A. PMON
B. SQLMON
C. WRAP
D. SESSIONMON
A. Use the >= operator
B. Use the IN operator
C. Use the CAN EXIST operator
D. Use the <= operator
E. Use the = operator
A. The DESCRIBE DEPT statement displays the structure of the DEPT table.
B. The DESCRIBE DEPT statement displays the structure of the DEPT table only if there is a COMMIT statement introduced before the ROLLBACK statement.
C. The DESCRIBE DEPT statement returns an error ORA-04043:object DEPT does not exist
D. The ROLLBACK statement frees the storage space occupied by the DEPT table.
A. The whole table
B. Indexed output of the table
C. The definition only
D. The output of the table
A. GRANTselect,insert,modify ON student_grades TO manager WITH GRANT OPTION;
B. .GRANT select, insert, modify ON student_grades TO ROLE manager WITH GRANT OPTION;
C. GRANT select, insert, update ON student_grades TO manager;
D. GRANT select, insert, update ON student_grades TO manager WITH GRANT OPTION;
A. This feature cannot be implemented through /SQL*Plus.
B. Substitution variables
C. Replacementvariables
D. Instead-of variables
A. A datafile can be associated with one or more database
B. A database has at least one datafile
C. A tablespace is a logical unit of database storage formed by one or more data files
D. Control file is used to identify the data files and the redo log files
A. USER_TAB_PRIVS_MADE
B. USER_TAB_PRIVS
C. USER_COL_PRIVS
D. USER_COL_PRIVS_MADE
A. EXISTS
B. None of these
C. UNION
D. INTERSECT
A. No output only the definition
B. Output in logical space
C. No output
D. Output in different physical space
A. Returns all of the columns for the tables specified in the FROM clause minus those specified after the MINUS operator.
B. Returns the output of top query minus the output of the query below the MINUS operator.
C. Returns the result of one numeric value minus another.
A. none of the above
B. select job, sum(sal) from emp group by job having sum(sal) > 2500 and comm is not null;
C. select job, sum(sal) from emp where sum(sal) > 2500 and comm is null group by job;
D. select job, sum(sal) from emp where sum(sal) > 2500 and comm is null;
E. select job, sum(sal) from emp where comm is null group by job having sum(sal) > 2500;
A. None of these
B. Oracle will popup an execution error
C. Oracle will assume that it is the column that is being referenced
D. Oracle will ignore the column name
A. Active Data Guard
B. Oracle Real Application Testing
C. Oracle Questions
D. Total Recall
E. Database Vault
A. Executing a procedure
B. DML operation is done
C. User logs in
D. Executing a function
A. Transcation will commit automatically
B. No effect on transaction
C. Transaction will rollback
D. Truncate will not work
A. ALTER TABLE students ADD CONSTRAINT stud_id_pk PRIMARY KEY student_id;
B. ALTER TABLE students ADD CONSTRAINT PRIMARY KEY (student_id);
C. ALTER TABLE students ADD CONSTRAINT stud_id_pk PRIMARY KEY (student_id);
D. ALTER TABLE students ADD PRIMARY KEY student_id;
A. Cache
B. Power lock
C. Latch
D. Pitch
A. DUAL
B. ALL_PARAMS
C. SYSDATE
D. V$PARAMETERS
A. NEW_LINE
B. PUT_LINE
C. PUT
D. PREV_LINE
A. In a folder pointed by SYSTEM_DUMP_DEST
B. In the same folder as the running command
C. In a folder pointed by USER_DUMP_DEST
D. In the ORACLE_HOME/backup folder
A. an error
B. None of these
C. AILYN
D. PING AILYN LESLIE
A. Forms Data Loader
B. Access
C. Excel
D. Cognos
E. DataLoad
A. Always use INITIAL = NEXT for rollback segments
B. Avoid setting MAXEXTENT to UNLIMITED
C. Always place rollback segment in a separate exclusive tablespace
D. Set OPTIMAL value to minimize the allocation or deallocation of rollback segment extents
A. Rule based optimization
B. Cost based optimiztion
C. Both Cost and Rule
A. Use ALTER TABLE MODIFY COLUMN command
B. By using CREATE TABLE AS SELECT
C. Write a stored procedure to manipulate the columns
D. Drop the table and re-create it
A. PMON
B. DBW0
C. SMON
D. LGWR
A. ORA-03620
B. ORA-01155
C. ORA-02511
D. ORA-01555
A. It improves process performance
B. It processes Oracle errors with exception-handling routines
C. It modularizes program development
D. It is portable
A. USER_DUMP_DEST
B. UTL_FILE_DIR
C. LOG_BUFFER
D. BACKGROUND_DUMP_DEST
A. Oracle will deallocate all unused space without any condition
B. Oracle will deallocate all unused space above the high water mark
C. Oracle will deallocate all unused space less than the high water mark
D. None of these
A. SQL statements
B. Variables
C. User-defined exceptions
D. Constants
A. None of these
B. Dictionary cache
C. Library cache
D. Shared pool
A. LOWER
B. TO_CHAR
C. CEIL
D. CEIL
E. MAX
A. NUMBER
B. INT
C. VARCHAR2
D. BOOLEAN
A. The parameter has been changed but the transaction is never committed
B. The statement is executed using "normal" user
C. The database is not started up
D. Parameter table does not exist
A. Columns in concatenated index need to be in the same order as the columns in the table
B. It is created on multiple columns in a table.
C. It is created when using functions or expressions that involve one or more columns in a table
D. There is no limit of how many columns can be included in a composite key
A. V$DATAFILE, V$DATABASE, V$SESSIONS
B. V$SGA, V$BGPROCESS,V$USERS
C. V$DATATABLE, V$USERS, V$SESSIONS
D. V$SGA, V$INSTANCE, V$PROCESS
A. Database buffer cache
B. Library cache
C. User Global Area
D. Data dictionary cache
A. For each open session, a new dedicated server will be created separately from the instance in a one-to-one mapping
B. The client process will be in direct communication with this shared server over some networking conduit such as TCP/IP socket.
C. A big difference between shared and dedicated server connections is that the client process connected to the database never talks directly to a dedicated server, as it would to a shared server
D. In dedicated server, Oracle uses a pool of shared processes for a large community of users
A. ALTER DATABASE USE SPFILE;
B. update parameter USE_SPFILE to TRUE
C. ALTER SYSTEM USE SPFILE;
D. Delete init.ora file, 10g and greater automatically creates an SPFILE if init.ora is missing
E. CREATE SPFILE FROM PFILE;
A. B-Tree
B. Single column or concatenated
C. Function-based
D. Unique or non unique
A. None of these
B. LOGIN_PASSWORDFILE
C. REMOTE_LOGIN_PASSWORD_FILE
D. REMOTE_LOGIN_PASSWORDFILE
A. data object number+datafile number
B. datafile number+data block+row
C. data object number+datafile number+data block+row
D. datafile number+data block+row+data object number
E. datafile number+data object number+data block+row
A. srvctl register database
B. srvctl add database
C. srvctl alter database
D. srvctl add database register
A. Logical blocks
B. Executable blocks
C. Nested blocks
D. Sub-routines
A. F11
B. Ctrl + S
C. Ctrl + K
D. F5
E. Ctrl + M
A. SYSTEM and INTERNAL
B. SYS and INTERNAL
C. SYS and SYSTEM
D. SYSMAN and SYSTEM
A. The data block is read, loading it into a memory structure called a buffer cache
B. No entry in the undo segment header block is created for this transaction
C. For a delete, the row will not be removed from the data block until the end user execute commit command
D. The undo log buffer will contain the corresponding delete or update statement
A. 16
B. 8
C. 2
D. 12
A. Hash values
B. The last statement contains syntax error
C. All statements don't differ from one another
D. The execution result
A. No
B. Yes
A. Log stored position
B. Logical position of the data
C. Indexed position of data
D. Physical position of the data
A. Oracle never locks data just to read it. There are no locks placed on rows of data by simple reads
B. Oracle locks data at the row level on modification. There is no lock escalation to a block or table level
C. A writer of data is blocked only when a reader of data has already locked the row it was going after.
D. A reader of data never blocks a writer of data
A. Allocating the SGA
B. Reading the control files to obtain the names and status of the data files
C. Locating and opening the control files
D. Associating the database with a previously started instance
A. 16000000 bytes
B. 1024000 bytes
C. 3500000 bytes
D. 2048000 bytes