Oracle RAC Interview Questions and Answers

25 September, 2020


Related Blogs


Oracle RAC Interview Questions and Answers

1Q) Describe the Oracle Real Application Clusters Architecture?

Ans: Oracle RAC consists of a database that is represented in a clustered manner in the architecture. The cluster is the collection or pool of independent servers that make up one single system.

Cluster architecture provides more flexibility to manage and follow a modular incremental approach to improve fault errors and provide an incremental system.

This architecture provides maximum security in terms of ensuring the high availability of the resources to the users.

It provides the resources on-demand and provides hardware architecture such as failure at a single point is being removed.

The architecture provides the decoupling of the Oracle instance like the process and memory that are running on the server from the Oracle database.

2Q) What was the main purpose of Oracle Real Application Clusters (RAC)?

Ans: Oracle Real Application (RAC) provides the interaction of executable file with the Oracle database.

It allows the running of any packaged or custom-built application with Oracle DB that is running on a server pool. It provides a very high level of availability, flexibility, and scalability to run the application and store it to the database.

It creates the database such that if the pool fails then the database is continued to run from the remaining servers and the load can be distributed. It makes it easier for the administrator to maintain many servers at the same time by load-balancing techniques and providing provision to add more and more servers when the load increases.

3Q) Differentiate Crash recovery and Instance recovery?

Ans: When an instance crashes in a single node database on startup a crash recovery takes place. In a RAC environment, the same recovery for an instance is performed by the surviving nodes called Instance recovery.

Inclined to build a profession as Oracle RAC? Then here is the blog post on, explore "Oracle RAC Training"

4Q) What is the interconnect used for?

Ans: A private N/W is used to ship data blocks from one instance to another for cache fusion. The physical data blocks as well as data dictionary blocks are shared across this interconnect.

5Q) How do you determine what protocol is being used for Interconnect traffic?

Ans: One of the ways is to look at the DB alert log for the time period when the DB was started up.

6Q) What methods are available to keep the time synchronized on all nodes in the cluster?

Ans: Either the Network Time Protocol(NTP) can be configured or in 11gr2, Cluster Time Synchronization Service (CTSS) can be used.

7Q) What files components in RAC must reside on shared storage?

Ans: Spfiles, ControlFiles, Datafiles, and Redolog files should be created.

8Q) How do you find out what OCR backups are available?

Ans: The OCR config -show backup can be run to find out the automatic and manually run backups.

9Q) If your OCR is corrupted what options do have to resolve this?

Ans: You can use either the logical or the physical OCR backup copy to restore the Repository.

10Q) How do you find out what object has its blocks being shipped across the instance the most?

Ans: You can use the dba_hist_seg_stats.

Oracle RAC Certification Questions and Answers

11Q) What is a VIP in RAC use for?

Ans: The VIP is an alternate Virtual IP address assigned to each node in a cluster. During a node failure, the VIP of the failed node moves to the surviving node and relays to the application that the node has gone down. Without VIP, the application will wait for TCP timeout and then find out that the session is no longer live due to the failure.

12Q) How do we know which database instances are part of a RAC cluster?

Ans: You can query the V$ACTIVE_INSTANCES view to determine the member instances of the RAC cluster.

Online Oracle RAC Training

13Q) What is OCLUMON used for in a cluster environment?

Ans: The Cluster Health Monitor (CHM) stores operating system metrics in the CHM repository for all nodes in a RAC cluster. It stores information on CPU, memory, process, network and other OS data, This information can later be retrieved and used to troubleshoot and identify any cluster related issues. It is a default component of the 11gr2 grid install. The data is stored in the master repository and replicated to a standby repository on a different node.

14Q) What would be the possible performance impact in a cluster if a less powerful node (e.g. slower CPU’s) is added to the cluster?

Ans: All processing will showdown to the CPU speed of the slowest server.

15Q) What is the default memory allocation for ASM?

Ans: In 10g the default SGA size is 1G in 11g it is set to 256M and in 12c ASM it is set back to 1G.

16Q) How do you backup ASM Metadata?

Ans: You can use md_backup to restore the ASM disk group configuration in-case of ASM disk group storage loss.

17Q) What files can be stored in the ASM disk group?


  • In 11g the following files can be stored in ASM disk groups.
    • Datafiles
    • Redo logfiles
    • Spfiles
  • In 12c the files below can also now be stored in the ASM Diskgroup
    • Password file

17Q) What it the ASM POWER_LIMIT?

Ans: This is the parameter that controls the number of Allocation units the ASM instance will try to rebalance at any given time. In ASM versions less than the default value is 11 however it has been changed to unlimited in later versions.

18Q) What is a rolling upgrade?

Ans: A patch is considered a rolling if it is can be applied to the cluster binaries without having to shut down the database in a RAC environment. All nodes in the cluster are patched in a rolling manner, one by one, with only the node which is being patched unavailable while all other instances open.

19Q) What are some of the RAC specific parameters?

Ans: Some of the RAC parameters are:


Oracle RAC Interview Questions for Experienced

20Q) What is the future of the Oracle Grid?

Ans: The Grid software is becoming more and more capable of not just supporting HA for Oracle Databases but also other applications including Oracle’s applications. With 12c there are more features and functionality built-in and it is easier to deploy these pre-built solutions, available for common Oracle applications.

21Q) What components of the Grid should I back up?

Ans: The backups should include OLR, OCR, and ASM Metadata.

23Q) Is there an easy way to verify the inventory for all remote nodes?

Ans: You can run the opatch lsinventory -all_nodes command from a single node to look at the inventory details for all nodes in the cluster.

24Q) What is cache fusion?

Ans: In a RAC environment, it is the combining of data blocks, which are shipped across the interconnect from remote database caches (SGA) to the local node, in order to fulfill the requirements for a transaction (DML, Query of Data Dictionary).

25Q) What is split brain?

Ans: When database nodes in a cluster are unable to communicate with each other, they may continue to process and modify the data blocks independently. If the same block is modified by more than one instance, synchronization/locking of the data blocks does not take place and blocks may be overwritten by others in the cluster. This state is called split-brain.

26Q) What is the Load Balancing Advisory?

Ans: Load balancing advisory is a process through which the load of the applications and resources can be managed throughout the servers.

It monitors the workload of the current activities from all the clusters and the instances that is being given on the server.

The service that is being provided is active all the time to see the workload of the applications on the servers. To simplify it, it provides a percentage value to show the total workload of the instance and it flags the instance according to the quality.

Load Balancing Advisory helps in maintaining the loads from the servers and equally distributes it among many other servers that are not currently working.

27Q) Why is Cluster Verification Utility so important in Oracle RAC?

Ans: Cluster Verification Utility is a tool in the Oracle Grid that is used to eliminate the errors that come up with the validations of the steps.

It provides verification of the changes that are being made in the configuration of the files or the system.

The tool can be used with the command-line interface and it is used to validate the configuration input as well such that during the installation it can be found out that everything is perfectly ok.

The tool is used to verify the system pre-requisites that are related to Oracle Clusterware, ASM, and the databases.

There are few fix-up scripts available if by any means the verification tool fails then these scripts can be used to automatically fix the errors.

28Q) What are the components required to manage Oracle Real Application Clusters Database?

Ans: Oracle RAC uses a single system in the form of an image to configure and manage the servers in an easy way. It provides a database for the installed and configured applications from one location so that it can be managed in an easy way.

The components required to be provided with it is as follows:

  • Oracle Universal Installer (OUI) is used to manage the database that is related to the cluster and provides enterprise-level configuration.
  • Database configuration assistant (DBCA) that manages the database and its related functionality and services.
  • The database upgrade assistant (DBUA) is the tool that allows the database to be upgraded when it is required on the server.
About Author


Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills .