exam questions

Exam 1z0-083 All Questions

View all questions & answers for the 1z0-083 exam

Exam 1z0-083 topic 1 question 68 discussion

Actual exam question from Oracle's 1z0-083
Question #: 68
Topic #: 1
[All 1z0-083 Questions]

Which two are true about Oracle instance recovery? (Choose two.)

  • A. Recovery begins from the beginning of the CURRENT redo log group.
  • B. Recovery begins from the last checkpoint position that was calculated by the Database Writer before instance failure.
  • C. Recovery begins from the start of any ACTIVE redo log group or the start of the CURRENT log group if no other group is ACTIVE.
  • D. Recovery reads redo until the end of the redo thread. SMON rolls back any dead transactions, and then the database is opened.
  • E. Recovery begins from the last checkpoint position that was recorded in the control file by the checkpoint process (CKPT).
  • F. Recovery reads redo until the end of the redo thread, and then opens the database. SMON then rolls back any dead transactions.
Show Suggested Answer Hide Answer
Suggested Answer: EF 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Marco_M
Highly Voted 3 years, 7 months ago
I think E - F are correct. E: Instance recovery is the process of applying records in the online redo log to data files to reconstruct changes made after the most recent checkpoint. Instance recovery occurs automatically when an administrator attempts to open a database that was previously shut down inconsistently. .. The checkpoint process (CKPT) is responsible for writing checkpoints to the data file headers and control file. F: Oracle Database can roll back multiple transactions simultaneously as needed. All transactions that were active at the time of failure are marked as terminated. Instead of waiting for the SMON process to roll back terminated transactions, new transactions can roll back individual blocks themselves to obtain the required data. https://docs.oracle.com/cd/E25178_01/server.1111/e25789/startup.htm
upvoted 14 times
arpz
3 years, 4 months ago
Should be E and F are correct. D is wrong, SMON rollback transaction after DB is open which make F correct. After the database has been opened, those uncommitted transactions are rolled back.
upvoted 4 times
...
jorche
3 years, 4 months ago
Agre with E The checkpoint process (CKPT) updates the control file and data file headers with checkpoint information and signals DBWn to write blocks to disk. Checkpoint information includes the checkpoint position, SCN, location in online redo log to begin recovery, and so on.
upvoted 2 times
...
...
Aldrid
Highly Voted 3 years, 8 months ago
E, F "The database can be opened as soon as cache recovery completes" Cache Recovery- >DB OPen-> Transaction Recovery Cache Recovery = Roll Forward Redo Transaction Recovery = rollback segments to undo the uncommitted changes
upvoted 9 times
...
zenai
Most Recent 2 months, 2 weeks ago
Selected Answer: EF
F is correct. SMON rollback transaction after DB
upvoted 1 times
...
_gio_
1 year, 7 months ago
Selected Answer: DE
SMON performs instance recovery DURING the database startup phase! not after the database is open
upvoted 4 times
dancymonkey
11 months, 3 weeks ago
Agreed D E are correct to confirm when SMON starts SQL> shutdown immediate; ERROR: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Linux-x86_64 Error: 2: No such file or directory Additional information: 4376 Additional information: 896876471 Process ID: 0 Session ID: 0 Serial number: 0 SQL> !ps -ef | grep smon | grep -v smon Note -- Confirmed after shutdown DB, no SMON -- SQL> startup nomount ORACLE instance started. Total System Global Area 1124073328 bytes Fixed Size 9133936 bytes Variable Size 721420288 bytes Database Buffers 385875968 bytes Redo Buffers 7643136 bytes SQL> !ps -ef | grep smon | grep -v grep oracle 19323 1 0 23:30 ? 00:00:00 ora_smon_cdb1 Note: -- Database is not in open state yet --
upvoted 1 times
...
...
G_C
2 years, 3 months ago
Selected Answer: EF
E. During instance recovery, the database must apply the changes that occur between the checkpoint position and the end of the redo thread. Of course CKPT is responsible for updating control files with checkpoint information and also two other activities F. No comments https://docs.oracle.com/database/121/CNCPT/startup.htm#CNCPT1290 (see the last paragraph after figure 13-6)
upvoted 4 times
...
xsxxxxx
3 years, 4 months ago
in exam, BF
upvoted 2 times
chefdba
3 years, 3 months ago
did you pass the exam?
upvoted 2 times
...
ryochin
1 year, 7 months ago
<BF>In my opinion, for incomplete recovery, you don't need a control file. The recovery trigger is the SCN required to recover the datafile.
upvoted 1 times
...
...
Neil107
3 years, 5 months ago
D and E. F is incorrect. SMON does a cleanup upon instance startup, not after. DBWR is a 'very lazy' background process, but LGWR is more 'awake' and the CKPT process ensures regular checkpoints between LGWR . In short, CKPT overlooks LGWR, which in turn overlooks DBWR. Remember, the control file has the record of the most current checkpoint info, including the SCN.
upvoted 1 times
Kishor123
3 years, 4 months ago
I think D is incorrect Rolling backward phase starts after the database has been opened. F is correct. https://docs.oracle.com/cd/B19306_01/backup.102/b14192/intro004.htm#i1022212
upvoted 3 times
...
...
niabs
3 years, 6 months ago
I will choose D and E. D because for me the database is opened only after the rollback of any dead transaction finished.
upvoted 1 times
...
ObserverPL
3 years, 7 months ago
... to make you sure I'm right about C - I've just performed the same test again and it succeed, I also found in alert log: 2021-05-20T17:26:37.896591+02:00 Started redo scan 2021-05-20T17:26:38.374728+02:00 Completed redo scan
upvoted 2 times
...
ObserverPL
3 years, 7 months ago
Couple of years ago I performed following test - backup control file to trace, shutdown abort (so recovery wil be required), drop all controlfiles, create fresh controlfile using SQL command from trace file, mount, open. It succeed. So you do not need in fact controlfile to perform recovery - it's enough for Oracle to read headers of datafiles and redo logs. So... C and F.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago