Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

While the database instance is up and running, you receive an out-of-memory error due to the under-sizing of the shared pool. You checked the trace file and observed that the following error was always recorded during peak hours:ORA-04031: unable to allocate 4000 bytes of shared memory On investigation, you found that SGA_MAX_SIZE was larger than the sum of the sizes of all System Global Area (SGA) components and you do not have the scope to increase it further. Identify a solution to reduce the probability of getting this error in future.(a) Set the PRE_PAGE_SGA parameter to TRUE(b) Set the LOCK_SGA initialization parameter to TRUE(c) Implement Automatic Shared Memory Management(d) Set the SGA_TARGET initialization parameter to zeroThe question was posed to me in exam.Asked question is from Installing Oracle Database 11g and Creating a Database topic in chapter Oracle Database 11g Architecture Options of Oracle

Answer» CORRECT choice is (C) Implement Automatic Shared Memory Management

For explanation: Cause: More shared memory is needed than was allocated in the shared pool.Action : If the shared pool is out of memory, either use the DBMS_shared_pool package to pin large packages, reduce your use of shared memory, or increase the AMOUNT of available shared memory by increasing the VALUE of the INIT.ORA PARAMETERS
2.

You want to be warned automatically when more than 100 sessions are opened with your database instance.Identify the action that would help you achieve this.(a) Set the TRACE_ENABLED parameter to TRUE(b) Set the threshold for the Current Logons Count metric(c) Set the LOG_CHECKPOINT_TO_ALERT parameter to TRUE(d) Set the SESSIONS_PER_USER limit in the profiles used by usersThis question was addressed to me in quiz.My query is from Installing Oracle Database 11g and Creating a Database topic in portion Oracle Database 11g Architecture Options of Oracle

Answer»

Right choice is (b) SET the threshold for the Current Logons Count metric

Explanation: A metric is defined as the rate of CHANGE in some cumulative statistic. This rate can be measured against a variety of UNITS, including TIME, transactions, or database calls. For example, the number database calls PER second is a metric.

3.

You notice that the database instance takes a long time to start up after the instance crash. How will you resolve the problem?(a) Increase the size of the redo log files(b) Decrease the number of redo log members(c) Set LOG_CHECKPOINT_TO_ALERT to TRUE(d) Decrease the value for the FAST_START_MTTR_TARGET initialization parameterThe question was asked by my school teacher while I was bunking the class.This key question is from Installing Oracle Database 11g and Creating a Database in section Oracle Database 11g Architecture Options of Oracle

Answer» RIGHT OPTION is (d) Decrease the value for the FAST_START_MTTR_TARGET INITIALIZATION parameter

The best I can explain: FAST_START_MTTR_TARGET enables you to specify the number of seconds the database takes to PERFORM crash recovery of a single instance.

FAST_START_MTTR_TARGET contains below INFORMATION.
4.

Which operations can be performed using the Data Recovery Ad-visor?(a) Diagnosing data failure(b) It is a percentage of rows in which the statistics are collected incrementally for partitions(c) Presenting appropriate repair options(d) Generating reports for possible causes of failureThe question was asked during an interview.Question is from Installing Oracle Database 11g and Creating a Database in portion Oracle Database 11g Architecture Options of Oracle

Answer»

The correct OPTION is (a) Diagnosing data failure

Explanation: The Data Recovery Ad-visor AUTOMATICALLY diagnoses corruption or LOSS of persistent data on disk, determines the appropriate repair options, and executes repairs at the user’s request. This REDUCES the complexity of recovery process, thereby REDUCING the Mean Time To Recover (MTTR).

5.

Which statement is correct regarding undo management?(a) The database can have more than one undo tablespaces(b) The undo data must be purged manually when the transaction is over(c) The UNDO_TABLESPACE parameter is valid only if the UNDO_MANAGEMENT parameter is set AUTO OFF(d) Undo management is automatic by default even if the UNDO_MANAGEMENT initialization parameter is set to NULLI had been asked this question at a job interview.Asked question is from Installing Oracle Database 11g and Creating a Database in section Oracle Database 11g Architecture Options of Oracle

Answer»

Right ANSWER is (a) The database can have more than one UNDO tablespaces

Explanation: ORACLE provides an automatic undo MANAGEMENT, for managing undo information and space. With automatic undo management, the database MANAGES undo segments in an undo table-space.

6.

What SYSTEM VARIABLE is used to refer DATABASE TIME ?(a) $$dbtime$$(b) $$time$$(c) $$datetime$$(d) None of the MentionedThis question was posed to me in an interview.The origin of the question is Installing Oracle Database 11g and Creating a Database in chapter Oracle Database 11g Architecture Options of Oracle

Answer»

Right choice is (a) $$dbtime$$

The EXPLANATION is: The DB time Oracle METRIC is the amount of elapsed time (in microseconds) SPENT performing Database user-level CALLS.

7.

Oracle server configuration is dedicated for(a) One server process – Many user processes(b) Many server processes – One user process(c) One server process – One user process(d) Many server processes – Many user processesThis question was addressed to me in an interview.This interesting question is from Installing Oracle Database 11g and Creating a Database topic in portion Oracle Database 11g Architecture Options of Oracle

Answer»

Right OPTION is (c) One SERVER process – One user process

The best explanation: Single-process Oracle is a database system in which all Oracle code is EXECUTED by one process. Different processes are not used to separate execution of the parts of Oracle and the client APPLICATION program. Instead, all code of Oracle and the single user’s database application is executed by a single process.

8.

What is the result of the following‘PAN’NULL’KAJ’?(a) Error(b) PAN KAJ(c) PANKAJ(d) NULLThe question was asked in exam.My question is from Programmatic Oracle Structures in division Oracle Database 11g Architecture Options of Oracle

Answer» CORRECT CHOICE is (c) PANKAJ

For explanation I would say: In Oracle NULL values represent missing UNKNOWN data.
9.

Which of the following statement is false ?(a) Any procedure can raise a error and return an user message and error number(b) Error number is ranging from 20000 to 20999 are reserved for user defined messages(c) Oracle checks Uniqueness of User defined errors(d) Raise_Application_error is used for raising an user defined errorThis question was posed to me in final exam.The doubt is from Programmatic Oracle Structures in section Oracle Database 11g Architecture Options of Oracle

Answer»

The correct choice is (c) Oracle checks Uniqueness of User defined errors

To ELABORATE: The UNIQUE CONSTRAINT UNIQUELY identifies each record in a database table.The UNIQUE and PRIMARY KEY constraints both provide a guarantee for uniqueness for a COLUMN or set of columns.

10.

What is SQL * FORMS ?(a) SQL * FORMS is a 4GL tool for developing and executing Oracle based interactive based application(b) SQL * FORMS is a 3GL tool for connecting to a Database(c) SQL * FORMS is a reporting tool(d) None of the MentionedThis question was addressed to me during an internship interview.My doubt stems from Programmatic Oracle Structures in division Oracle Database 11g Architecture Options of Oracle

Answer»

The correct CHOICE is (a) SQL * FORMS is a 4GL tool for developing and executing Oracle based interactive based APPLICATION

For EXPLANATION I would say: SQL*Forms is a general-purpose tool for developing and executing forms-based interactive applications. The design component of this tool is specially designed for application developers and PROGRAMMERS.

11.

In Oracle, which of the following package procedure is UNRESTRICTED ?(a) CALL_INPUT(b) CLEAR_BLOCK(c) EXECUTE_QUERY(d) USER_EXITThis question was addressed to me during an interview.Question is taken from Programmatic Oracle Structures in chapter Oracle Database 11g Architecture Options of Oracle

Answer»

The correct choice is (d) USER_EXIT

To explain I would say: A user exit is a C subroutine and called by ORACLE Forms to do special-purpose processing.It can DISPLAY messages on the Oracle Forms status line, GET and set field VALUES, do high-speed computations and table look-ups, and manipulate Oracle DATA.

12.

The system variable that records the select statement that SQL * FORMS most recently used to populate a block is __________(a) SYSTEM.LAST_RECORD(b) SYSTEM.CURSOR_RECORD(c) SYSTEM.CURSOR_FIELD(d) SYSTEM.LAST_QUERYThis question was posed to me in an internship interview.My query is from Programmatic Oracle Structures topic in division Oracle Database 11g Architecture Options of Oracle

Answer» RIGHT choice is (d) SYSTEM.LAST_QUERY

To elaborate: SYSTEM.LAST_QUERY system variable represents the QUERY statement USED by FORMS to populate a data block during run-time.
13.

POST-BLOCK trigger is also a ?(a) Navigational Trigger(b) Key Trigger(c) Transaction Trigger(d) All of the MentionedI had been asked this question at a job interview.My query is from Programmatic Oracle Structures topic in portion Oracle Database 11g Architecture Options of Oracle

Answer»

The correct answer is (a) Navigational Trigger

The best I can explain: Pre- and POST- triggers FIRE as Form Builder navigates INTERNALLY through DIFFERENT levels of the object hierarchy.When-New-Instance triggers fire at the end of a navigational sequence that places the input focus in a different item.

14.

What does DLL stand for ?(a) Dynamic Link Library(b) Dynamic Language Library(c) Dynamic Load Library(d) None of the MentionedI have been asked this question during a job interview.I need to ask this question from Programmatic Oracle Structures in division Oracle Database 11g Architecture Options of Oracle

Answer»

Right CHOICE is (a) Dynamic Link Library

To elaborate: DLL, linking occurs at RUN TIME when the routine is actually used. This RESULTS in much smaller executable because routines are pulled in only as needed.

15.

When a transaction modifies the database, Oracle copies the original data before modifying it. The original copy of the modified data is called(a) Undone Data(b) Archive Data(c) Redo Data(d) Undo DataThis question was posed to me in quiz.This is a very interesting question from Storing and Guarding the Data in division Oracle Database 11g Architecture Options of Oracle

Answer»

Right choice is (d) UNDO DATA

The best I can explain: Before transaction happen the ORACLE kept the files in Undo Data to overcome form any FAILURE.

16.

Recycle bin can be turned on or off this. This parameter is stored in which of the below file?(a) PARAMETER FILE(b) PARFILE(c) DATAFILES(d) PFILEThis question was posed to me by my college professor while I was bunking the class.The question is from Storing and Guarding the Data in portion Oracle Database 11g Architecture Options of Oracle

Answer»

Right answer is (a) PARAMETER FILE

To ELABORATE: A parameter file is a file that contains a list of initialization parameters and a VALUE for each parameter.

17.

The ORDER BY clause can only be used in ___________(a) SELECT queries(b) INSERT queries(c) GROUP BY queries(d) HAVING queriesI got this question in an interview.My query is from Storing and Guarding the Data topic in chapter Oracle Database 11g Architecture Options of Oracle

Answer»

Right OPTION is (a) SELECT queries

The explanation is: An ORDER BY clause ALLOWS you to SPECIFY the order in which rows appear in the RESULT set.

18.

What is the purpose of SMON (System Monitor Process) background process?(a) Performs crash recovery when a failed instance starts up again(b) Performs recovery when a user process fails(c) Writes redo log entries to disk(d) All of the MentionedI got this question by my school principal while I was bunking the class.Origin of the question is Storing and Guarding the Data topic in portion Oracle Database 11g Architecture Options of Oracle

Answer»

Correct OPTION is (a) Performs crash recovery when a FAILED INSTANCE starts up again

The best explanation: SMON process of one instance can perform instance recovery for a failed CPU or instance.

19.

Which of the following rule below are categories of index?(a) Column and Functional(b) Multiple Column and Functional(c) To create an index in another schema(d) None of the MentionedI got this question in an internship interview.My query is from Storing and Guarding the Data in section Oracle Database 11g Architecture Options of Oracle

Answer» RIGHT OPTION is (a) Column and Functional

The best EXPLANATION: An index is an optional structure, ASSOCIATED with a table or table cluster, that can sometimes speed data ACCESS.
20.

How we can force a log switch?(a) By using ALTER SYSTEM LOG(b) By using ALTER SYSTEM SWITCH LOGFILE(c) By using ALTER SYSTEM SWITCH LOGS(d) By using ALTER SYS LOGFILESI had been asked this question during an interview.My question is taken from Storing and Guarding the Data in chapter Oracle Database 11g Architecture Options of Oracle

Answer»

Right ANSWER is (B) By using ALTER SYSTEM SWITCH LOGFILE

Explanation: To force a LOG switch, you must have the ALTER SYSTEM privilege. Use the ALTER SYSTEM statement with the SWITCH LOGFILE CLAUSE.

21.

Which of the following object types below cannot be replicated?(a) Data(b) Trigger(c) View(d) SequenceI had been asked this question at a job interview.This interesting question is from Storing and Guarding the Data in chapter Oracle Database 11g Architecture Options of Oracle

Answer»

Correct option is (d) SEQUENCE

To elaborate: Use the CREATE SEQUENCE STATEMENT to create a sequence, which is a database object from which multiple users MAY generate unique integers. You can use sequences to automatically generate primary key values.

22.

Which schema object instructs Oracle to connect to remotely access an object of a database?(a) Sequence(b) Remote Link(c) Database Link(d) Data LinkI have been asked this question in an interview.This intriguing question comes from Storing and Guarding the Data in chapter Oracle Database 11g Architecture Options of Oracle

Answer» RIGHT ANSWER is (d) Data Link

Best EXPLANATION: A DATABASE LINK value references a resource outside the underlying data source through a URL.
23.

Where is data dictionary kept?(a) SYSTEM Tablespace(b) Stack Space(c) Data File(d) None of the MentionedI got this question in an online interview.My question is taken from Storing and Guarding the Data topic in portion Oracle Database 11g Architecture Options of Oracle

Answer» RIGHT choice is (a) SYSTEM Tablespace

The BEST I can explain: The Oracle DATABASE user SYS owns all base tables and user-accessible VIEWS of the DATA dictionary.
24.

A _____________ is a set of tables physically stored together as one table that shares a common column(a) Index(b) Object(c) Datafiles(d) ClusterI had been asked this question in examination.My enquiry is from Databases and Instances in section Oracle Database 11g Architecture Options of Oracle

Answer»

Right OPTION is (d) Cluster

The explanation is: Cluster is a schema object that CONTAINS DATA from one or more tables, all of which have one or more COLUMNS in COMMON.

25.

A _______________ is used to logically group data together(a) Database(b) Tablespace(c) Datafiles(d) ObjectThis question was posed to me in class test.This key question is from Databases and Instances topic in portion Oracle Database 11g Architecture Options of Oracle

Answer»

Correct option is (b) Tablespace

Easy EXPLANATION: Oracle database consists of ONE or more logical STORAGE UNITS CALLED tablespaces.

26.

Modification schema of oracle database in one level without affecting the schema in high level is called as _______(a) Data Migration(b) Data Isolation(c) Data Independence(d) Data AbstractionThe question was asked in an internship interview.Question is taken from Databases and Instances in chapter Oracle Database 11g Architecture Options of Oracle

Answer»

Correct CHOICE is (c) Data Independence

Easiest explanation: Data Independence MEANS changing internal LEVEL does not AFFECT CONCEPTUAL level.

27.

Map entities, attributes and relations in Oracle is represented by___________(a) Conceptual Schema(b) Logical Schema(c) Physical Schema(d) All of the MentionedThe question was asked in homework.Origin of the question is Databases and Instances in section Oracle Database 11g Architecture Options of Oracle

Answer»

The correct OPTION is (b) Logical SCHEMA

To explain I WOULD say: Logical schema model may have many-to-many relationships and also have OBJECTS like table, view, procedure etc.

28.

What do the schema objects comprise of?(a) Table(b) Index(c) Cluster(d) All of the MentionedThis question was posed to me in examination.My query is from Databases and Instances in section Oracle Database 11g Architecture Options of Oracle

Answer» RIGHT option is (d) All of the Mentioned

Explanation: Oracle database SCHEMA CONSISTS of Table, Index, CLUSTER.
29.

What are the valid Oracle database schemas?(a) Logical Schema(b) Physical Schema(c) Logical and Physical Schema(d) None of the MentionedI had been asked this question in unit test.The query is from Databases and Instances topic in chapter Oracle Database 11g Architecture Options of Oracle

Answer»

Right answer is (c) Logical and PHYSICAL SCHEMA

The BEST explanation: ORACLE DATABASES has two schema level logical and physical.

30.

Collection of information stored in database at particular instance of time is called as ____________(a) Instance of Database(b) Objects in Databases(c) Data structure(d) Database SchemaI have been asked this question during an online interview.Query is from Databases and Instances topic in portion Oracle Database 11g Architecture Options of Oracle

Answer»

The correct option is (a) Instance of Database

The BEST I can explain: Oracle work on the instance BASIS, whatever the operation related to Oracle is only on instance LEVEL.

31.

Oracle database’s design is also called as_____________(a) Database Abstraction(b) Database Instance(c) Database Schema(d) None of the MentionedThis question was posed to me during an internship interview.I'm obligated to ask this question of Databases and Instances topic in chapter Oracle Database 11g Architecture Options of Oracle

Answer»

The CORRECT ANSWER is (c) Database Schema

Easiest explanation: Oracle database’s design is DONE on the schema LEVEL.

32.

Which is the smallest unit of storage in an Oracle database?(a) Data Block(b) Segment(c) Extent(d) Data FileI have been asked this question during an online interview.My enquiry is from Databases and Instances in portion Oracle Database 11g Architecture Options of Oracle

Answer» CORRECT CHOICE is (a) Data Block

To EXPLAIN: The LOGICAL units of database space ALLOCATION are data blocks.
33.

The Oracle environment of database is called as ___________(a) Database Schema(b) Database Instances(c) Data Structure(d) All of the MentionedI got this question in unit test.I want to ask this question from Databases and Instances in chapter Oracle Database 11g Architecture Options of Oracle

Answer» RIGHT CHOICE is (b) DATABASE Instances

The EXPLANATION: A database instance is a SET of memory structures that manage database files.
34.

The redo log buffer and Shared pool are elements of?(a) PGA(b) Buffer cache(c) PGA and Buffer cache(d) SGAI have been asked this question in an online quiz.My enquiry is from Oracle Database 11g Architecture topic in division Oracle Database 11g Architecture Options of Oracle

Answer» RIGHT answer is (d) SGA

For explanation I would say: SGA (System Global AREA) CONTAINS Shared Pool, Database Buffer CACHE, JAVA Pool, redo Log Buffer.
35.

In Oracle, which of below are types of segments?(a) Permanent Segment(b) Object Segment(c) Data Segment(d) All of the MentionedThis question was addressed to me in unit test.My question is taken from Oracle Database 11g Architecture in division Oracle Database 11g Architecture Options of Oracle

Answer»

Right CHOICE is (c) DATA SEGMENT

For explanation I would say: Oracle has 4 type of data segment :1)data segments 2)index segments 3)ROLLBACK segments 4)temporary segments.

36.

The ____________ contains a set of tables and views that Oracle uses as a reference to the database.(a) PGA(b) Library cache(c) Data dictionary(d) SGAI have been asked this question in a job interview.My question is taken from Oracle Database 11g Architecture in division Oracle Database 11g Architecture Options of Oracle

Answer»

Correct answer is (c) Data DICTIONARY

To explain I would say: The data dictionary is structured in tables and VIEWS, just LIKE other DATABASE data. All the data dictionary tables and views for a given database are stored in that database’s SYSTEM tablespace.

37.

Which area of PGA stores binding variables and run-time buffers information?(a) SQL area(b) Private SQL area(c) Stack space(d) Session areaThe question was asked in a job interview.The origin of the question is Oracle Database 11g Architecture in section Oracle Database 11g Architecture Options of Oracle

Answer» CORRECT option is (b) Private SQL area

To explain I would SAY: PGA (Program Global Area) is a non-shared MEMORY REGION that contains data and control information exclusively for use by an Oracle process.The PGA is created by Oracle Database when an Oracle process is started.
38.

What is the use of extent in Oracle?(a) Stores user data within the database(b) Stores rollback information used when data must be rolled back(c) Minimize the amount of wasted (empty) storage(d) None of the MentionedI had been asked this question during an online exam.Asked question is from Oracle Database 11g Architecture topic in chapter Oracle Database 11g Architecture Options of Oracle

Answer» CORRECT option is (c) Minimize the amount of wasted (empty) storage

The explanation is: An extent is a logical UNIT of database storage space ALLOCATION made up of a number of contiguous DATA blocks.
39.

Which of the following components comprise an Oracle architecture?(a) Database related background processes(b) Tablespaces(c) Datafiles(d) All of the MentionedThis question was addressed to me during an online exam.This interesting question is from Oracle Database 11g Architecture in division Oracle Database 11g Architecture Options of Oracle

Answer»

The CORRECT answer is (d) All of the Mentioned

For EXPLANATION: Oracle ARCHITECTURE consists of DB process, Table space, Datafiles.

40.

What is the use of an index?(a) Retrieve data more quickly and efficiently(b) Related data requires much less I/O overhead if accessed simultaneously(c) Simplify the user’s perception of data access(d) All of the MentionedI got this question in unit test.This intriguing question comes from Oracle Database 11g Architecture topic in chapter Oracle Database 11g Architecture Options of Oracle

Answer»

The correct answer is (a) RETRIEVE data more quickly and efficiently

To EXPLAIN I would say: Index is USED for to perform the QUICK operation on the data.

41.

Which of the following segment is destroyed when the SQL statement is finished?(a) Data Segment(b) Object Segment(c) Temporary Segment(d) All of the MentionedI have been asked this question in semester exam.My question is taken from Oracle Database 11g Architecture topic in portion Oracle Database 11g Architecture Options of Oracle

Answer»

Right CHOICE is (c) TEMPORARY Segment

The explanation is: After each block is formatted/finished, the NEW INDEX keys are PUT in a sort (temporary) segment.

42.

Which processes is an instance made of Oracle?(a) Oracle background processes(b) Memory processes(c) Data processes(d) All of the MentionedI had been asked this question during an online exam.The doubt is from Oracle Database 11g Architecture in chapter Oracle Database 11g Architecture Options of Oracle

Answer»

The CORRECT option is (a) Oracle background PROCESSES

To elaborate: Oracle creates a set of background processes for an instance to manage MEMORY structure, asynchronously PERFORM I/O to write data to DISK, and do general maintenance tasks.

43.

What is the use of Library cache?(a) Contains User information, such as user privileges(b) Used to store shared SQL(c) Log of changes made to the database(d) All of the MentionedThe question was posed to me by my school principal while I was bunking the class.Origin of the question is Oracle Database 11g Architecture in portion Oracle Database 11g Architecture Options of Oracle

Answer»

Correct choice is (b) USED to store shared SQL

Best EXPLANATION: Oracle Library cache is like a DATA buffer cache, except that it is not for data, but a cache for SQL PL/SQL PROGRAMS and Java classes.