Last Updated: May 16, 2018
If you're looking for Oracle Data Guard Interview Questions for Experienced or Freshers, you are at right place. There are lot of opportunities from many reputed companies in the world. According to research Oracle Data Guard has a market share of about 0.1%. So, You still have opportunity to move ahead in your career in Oracle Development. Mindmajix offers Advanced Oracle Data Guard Interview Questions 2018 that helps you in cracking your interview & acquire dream career as Data Management Specialist.
Q1) Why do you think using Data Guard by Oracle is helpful to our work?
The benefits of using the software are many in any environment dealing with data. It ensures that the data stays protected and easily available. You get to take the load off from backups to standby operations database. The problems like gaps in the standby database are automatically detected and resolved. The guard broker allows automated role transition.
Q2) Name the three top services offered by the Data Guard software?
The three top services offered by the software are:
1. Redoing the transport service
2. Applying of log service
3. Role transitional services
Q3) Name the three protection modes available in the software.
The three protection modes that are available include maximum availability, protection and performance.
Q4) What is the default protection mode of the software?
The default mode in the software Data Guard is Maximum performance.
Q5) What are advantages offered by Maximum Performance protection mode?
The main advantage of this default mode is that the performance of the primary data is not affected while the highest possible level of protection for the data is ensured. The transactions begin to commit as soon as the redone data produced by the transactions get written on to the online log.
Q6) What are the benefits of maximum protection mode?
This protection mode comes to the rescue when the primary database fails. The primary database shuts down and stops processing the transaction when this protection mode is enabled. So with this protection mode, you can be assured that there will be no data loss.
Q7) How is the maximum protection mode enabled?
The redone data must get written in two places before committing the transaction- the online log and a standby database. This way the primary database can shut down but the data remains intact.
Q8) What are the advantages of maximum availability protection mode?
The biggest advantage with one is that the availability of the primary database is uncompromised but the maximum possible level of protection is offered to the data. The transactions with this protection mode only commits when all the redone data needed to recover the transactions get written to a standby database and the online log.
Q9) How is the protection mode changed?
The steps for changing the protection mode are as follows:
1. Go to the alter database option.
2. Set the standby database.
3. Select from the three available options of performance, availability and protection
Q10) What is the number of standby databases that can be created?
It depends on what version of the software that is at your disposal. The general number ranges from nine to thirty standby databases.
Q11) How would you create a physical Standby in this software?
The following easy steps can create a physical standby in the software:
Q12) Mention the chief advantages of using Physical database standby in the software.
There is fourfold advantage to using the physical database standby.
1. The higher availability quotient
2. The high capability of balancing the load including both reporting as well as backup.
3. Protecting the data
4. Recovery of data is case of disasters
Q13) What services are needed on the primary database?
Four basic services are required on the primary database. They are as follows:
1. The Log Writer: Updates the online redone logs by collecting the information. It creates localized archived logs and causes the transmission of the redo ones to the standby bases.
2. The Archive Process: Copying of the online redone logs for the standby bases in a remote or localized manner.
3. The Fetch Archive Log: Servicing of the request for archived logs from the Fetch Archive Log customers that run on more than one standby bases. More than one server can run on the primary database where for each Fetch Archive Log request, there is one server.
4. Log Network: It gets used on the primary database to establish a connection with that of standby.
Q14) Outline the services needed on the standby database.
There are four services required on the standby:
1. Fetch Archive Log: The archived redo files get pulled from primary sites. The transfer of the archived redo files is initiated on the detection of a sequence gap.
2. Remote File: The Primary database is used to receive the archived or standby redone logs. You can get both the archived and the standby logs together as well.
3. Archive Process: The standby redone logs that get applied by managed recovery are archived by this service.
4. Managed Recovery: The archived redo log details are applied to the standby databank.
Q15) How would you delay an application of the logs to the physical standby mode?
The standby gets naturally applied to the redo logs at the time of their arrival from primary database. There are times when a time lag is needed to be created between archiving a redo log at the primary point and applying the log at standby.
You need to modify the parameter for initialization on the primary site to lead to a delay on the standby site. For instance, if you want a delay of one hour, you can set log for delay at sixty minutes. It is worth mentioning in this regard that the delay is always given in minutes in the format of, for instance, 60′.
With this action, the redo logs are still copied from the primary to standby site but it does not immediately applied. They get applied after the expiry of the specific time interval that has been set.
Q16) What is the utility of the Redo Transport Service?
It is used for controlling the automatic transmission of redo data of the production database in one or multiple archives. The following tasks are successfully performed by it:
1. Transmission of redo data from primary to standby in the configuring.
2. The management of the process of handling gaps in archive log files initiated as a result of the failure of network.
3. Automatic detection of missing or corrupted archived log files in a standby database. It also automatically retrieves the replacement archived redone log from either the primary or standby system.
Q17) Differentiate between standby database and physical database.
The biggest difference between the two databases is the way of application of services to the archived redo files.
For the physical database, the software has a technology called Redo Apply. This one applies the redo on the standby system by the use of the basic recovery technique of the software.For the standard database, the software uses a technology called SQL. This one first transforms the redo it receives into statements and afterwards the execution of the statements on the standby system is initiated.
Q18) What do you understand by Broker in this software?
The Broker helps in the management of standby and primary bases by the utilization of command-line, broker or graphical interfaces. These are integrated in the Enterprise Manager software by Oracle.
Q19) What are the tasks that you can perform using Broker?
It can be used to provide five benefits which have been listed below:
Q20) What do you understand by Logical standby base in the software?
The logical database is created similar to the physical and standby database. The structure of the logical database can get altered at a later point in time. The sync with standby and the primary is made easy by the utilization of SQL. The received logs of redo are made into statements and they are continuously applied into logical database. This way the standby system is made consistent with the primary. The report of purpose is made easier with logical standby as compared to the physical one. The logical database is available in both read-write modes. The tables that are in sync with primary data are made available in read-only operations only. So you get the availability on some queries, index adding and reporting.
Q21) What are the disadvantages that are associated with the Logical Standby systems?
The only major disadvantage that this one has is in the matters of types of tables and a few of the data functions. On the overall aspects, it is held as having an advantage on the physical database.
Q22) Can this software get used with the standard edition released by the makers?
There are certain automated features that are not available in the standard edition. You can ship logs and write the scripts manually to get the steps done. On certain platforms, you get to write the scripts and then use the commands to ship it to standby system. The recovery is then carried out manually and it is removed after the application is done.
Q23) What made you go for the training in this software?
The software is a huge advantage in the firms that require handling of large amounts of data. The certification in this software helps to smoothen out the large data processes. You can save the corruption of data and provide the ease of data recovery. The trained professional becomes an inevitable asset to the company whenever it goes through any kind of data emergency. The basic yet complicated job of data backup and processing is made easy by the use of the software. The trained professional in this software is an important troubleshooter for the company which is what gives a person a professional advantage in the current scenario.
Q24) What do you understand by apply services in this software?
The apply services refer to the application of the redo data on the standby system to keep the transactional sync with the primary system. This redo data can get applied from either archived redo files or from the standby redo files directly as they get filled. The application from the from the standby redo files is only possible if the real-time facility gets enabled. It does not require the redo log to get archived at the standby system first. One of the main features of this service is that it also permits read-only accessibility to the data.