Are you prepared in attending an interview? Are you worried for job interview preparation? Then do not worry, we’ve a right answer for your job interview preparation. If you are preparing for Database Backup Recovery job interview and don’t know how to crack interview and what level or difficulty of questions to be asked in job interviews then go through Wisdom jobs Database Backup Recovery interview questions and answers page to crack your job interview. Database Backup Recovery is performing the backup and recovering data from database when there is a data loss. The job requires the candidate to have knowledge on data architecture. Below are the frequently asked Database Backup Recovery interview questions and answers which can make you feel comfortable to face the interviews:
Answer :
If one of your control file is missing or corrupted then we have 2 options to recover it. Check alert.log for exact name and location of corrupted control file. Delete it manually and copy from available rest of control file and rename it and start database. Another option is delete corrupted control file and remove name from parameter file/ spfile. After removing said control file from spfile, start your database.
Question 2. What Is Incremental Checkpoint?
Answer :
In incremental checkpoint process, CKPT process records lowest Low RBA to the control file to keep advancing the Buffer checkpoint Queue (BCQ) to make easy and fastest Active Checkpoint Queue (ACQ).
Question 3. Does Incremental Checkpoint Recorded In Alert.log? How To Disable It?
Answer :
We can enable disable recording incremental checkpoint in alert.log .We can enable/disable recording using parameter log_checkpoints_to_alert=true/false.
Answer :
If your database is running on Oracle 10g/11g/12c version then there is new feature available called Recycle bin. You can recover dropped table from user_recyclebin or dba_recyclebin.
Answer :
Then you should need to restore backup on your UAT or test database server and enable time based recovery for applying all archives before drop command execution. For an instance, apply archives up to 3:55 PM here.
Answer :
Yes. You can. It is not recommended because your production database is large database and running 24/7 environment. Restoration and recovery will take downtime. It is better to perform restoration and recovery process on UAT or Test database.
Answer :
When use LGWR with SYNC, it means once network I/O initiated, LGWR has to wait for completion of network I/O before write processing. LGWR with ASYNC means LGWR doesn’t wait to finish network I/O and continuing write processing.
Question 8. How Can I Know My Require Table Is Available In Export Dump File?
Answer :
Create index file of export dump file using import with index file command. A text file will be generating with all table and index object name with number of rows. You can confirm your require table object from this text file. If you are using datapump then there is parameter called "sqlfile" in impdp.
Answer :
There are lots of reason behind increasing size of archives like If more database changes were performed using batch jobs or any special task like merging 2 database or data etc. You can investigate exact root cause using enabling Log Minor utility.
Answer :
We can perform this recovery in 2 ways. One is open database mode and another is database mount mode. After taking offline lost datafile, we can bring database open and after that restore lost datafile from last backup. After restoration of datafile we can perform datafile level recovery for applying archive logs and make it online. In database mount mode, we can restore datafile from backup and perform datafile recovery using "Recover datafile" command.
Question 11. What Is The Complete Recovery?
Answer :
During this recovery we are applying all database changes using archives log and make it to up to date. Complete recovery can be done full database level or datafile level or tablespace level. Main concept is to apply all data changes using archive logs and bring database up to recent time.
Answer :
When we are performing incomplete recovery it means we bring database to past time or rewind period of time using change based, cancel based or time based recovery. These all recovery make database in prior state of database. The forward sequence number already available after performing recovery, due to mismatching of this sequence numbers and prior state of database, it needs to open database with new sequence number of Redo log and archive logs.
Question 13. Why Export/data Pump Backup Called As Logical Backup?
Answer :
Export and datapump dump file doesn't backup or contain any physical structure of database like datafile, control file, redo log file, parameter file, password file. Instead of physical structure, export dump contains logical structure of database like definition of tablespaces, segments, schemas, data of segments etc. Due to these reasons export and datapump dump is called as logical backup.
Question 14. Have You Faced Any Recovery Scenario? Explain How You Resolved It?
Answer :
2 months back, a potential table was dropped by an application developer on our large 24/7 running production database. Immediately he informed us. We have standby database for our production database. We checked that archives didn’t apply to standby database up to dropped timing. We stopped archive applying on standby immediately and open database read only. Took export of dropped table and imported in production database. After finishing appropriate checking of table, again we started archive applying in standby database for refreshing.
Answer :
Shutdown immediate. Because without shutdown, we can't perform online backup of database, which running on NOARCHIVELOG mode. We should need to take cold backup of database. After clean shutdown database copy of all datafiles, control files, redo log files, password file, and parameter files.
Question 16. What Are The Steps Involved In Database Startup?
Answer :
Start an instance, Mount the Database and Open the Database.
Question 17. What Are The Steps Involved In Database Shutdown?
Answer :
Close the Database; Dismount the Database and Shutdown the Instance.
Question 18. What Is Restricted Mode Of Instance Startup?
Answer :
An instance can be started in (or later altered to be in) restricted mode so that when the database is open connections are limited only to those whose user accounts have been granted the RESTRICTED SESSION system privilege.
Question 19. What Are The Different Modes Of Mounting A Database With The Parallel Server?
Answer :
Exclusive Mode If the first instance that mounts a database does so in exclusive mode, only that Instance can mount the database.
Parallel Mode if the first instance that mounts a database is started in parallel mode, other instances that are started in parallel mode can also mount the database.
Question 20. What Is Full Backup?
Answer :
A full backup is an operating system backup of all data files, on-line redo log files and control file that constitute ORACLE database and the parameter.
Question 21. Can Full Backup Be Performed When The Database Is Open?
Answer :
No.
Question 22. What Is Partial Backup?
Answer :
A Partial Backup is any operating system backup short of a full backup, taken while the database is open or shut down.
Question 23. What Is On-line Redo Log?
Answer :
The On-line Redo Log is a set of two or more on-line redo files that record all committed changes made to the database. Whenever a transaction is committed, the corresponding redo entries temporarily stores in redo log buffers of the SGA are written to an on-line redo log file by the background process LGWR. The on-line redo log files are used in cyclical fashion.
Question 24. What Is Mirrored On-line Redo Log?
Answer :
A mirrored on-line redo log consists of copies of on-line redo log files physically located on separate disks; changes made to one member of the group are made to all members.
Question 25. What Is Archived Redo Log?
Answer :
Archived Redo Log consists of Redo Log files that have achieved before being reused.
Answer :
Complete database recovery from disk failure is possible only in ARCHIVELOG mode.
Online database backup is possible only in ARCHIVELOG mode.
Question 27. What Is Log Switch?
Answer :
The point at which ORACLE ends writing to one online redo log file and begins writing to another is called a log switch.
Question 28. What Are The Steps Involved In Instance Recovery?
Answer :
Database Backup Recovery Related Practice Tests |
|
---|---|
Data Center Management Practice Tests | Ibm Tivoli Netcool Omnibus Practice Tests |
Database Backup Recovery Practice Test
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.