exam questions

Exam 1z0-082 All Questions

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

Exam 1z0-082 topic 1 question 47 discussion

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

In the ORCL database, UNDOTBS1 is the active undo tablespace with these properties:
1. A size of 100 MB
2. AUTOEXTEND is off
3. UNDO_RETENTION is set to 15 minutes
4. It has RETENTION GUARANTEE
UNDOTBS1 fills with uncommitted undo 10 minutes after the database opens.
What will happen when the next update is attempted by any transaction?

  • A. It succeeds and the generated undo is stored in SYSTEM.
  • B. It fails and returns the error message ג€ORA-30036: unable to extend segment by 8 in undo tablespace 'UNDOTBS1'ג€.
  • C. It succeeds and the least recently written undo block of UNDOTBS1 is overwritten by the generated undo.
  • D. It succeeds and the generated undo is stored in SYSAUX.
  • E. It succeeds and the least recently read undo block of UNDOTBS1 is overwritten by the generated undo.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Rivaldo11
Highly Voted 4 years, 6 months ago
It should be B.
upvoted 26 times
Ekos
4 years, 1 month ago
i agree
upvoted 2 times
...
...
fgdgdfg
Highly Voted 4 years, 5 months ago
B. To guarantee the success of long-running queries or Oracle Flashback operations, you can enable retention guarantee. If retention guarantee is enabled, the specified minimum undo retention is guaranteed; the database never overwrites unexpired undo data even if it means that transactions fail due to lack of space in the undo tablespace. If retention guarantee is not enabled, the database can overwrite unexpired undo when space is low, thus lowering the undo retention for the system. This option is disabled by default.
upvoted 7 times
...
piipoh
Most Recent 7 months, 3 weeks ago
Selected Answer: B
It does not matter whether the RETENTION GUARANTEE is enabled or not, the UNDO is filled with transactions that are not commited, so space cannot be reused inside the UNDO. Transaction will fail --> answer B
upvoted 1 times
...
nautil2
1 year, 3 months ago
Selected Answer: B
A - false; if UNDO tablespace UNDOTBS1 is active, undo records are stored in it, not in SYSTEM B - true; database cannot extend UNDO tablespace due to AUTOEXTEND OFF and cannot rewrite old UNDO records due to RETENTION GUARANTEE C - false; undo records cannot be overwritten due to UNDO_RETENTION and RETENTION GUARANTEE settings D - false; see A E - false; see C
upvoted 1 times
...
Franky_T
2 years, 9 months ago
Selected Answer: B
Tricky question indeed. The documentation clearly shows that: "The UNDO_RETENTION parameter is ignored for a fixed size undo tablespace. The database always tunes the undo retention period for the best possible retention, based on system activity and undo tablespace size." This shows that Unexpired segments will be overwritten by new transactional data. However, the issue here is with the part of the question that states "UNDOTBS1 fills with uncommitted undo 10 minutes after the database opens". This implies that all segments have an ACTIVE state. ASKTOM states: "We will not reuse space (wrap the rollback segment back around over itself) while there is an active transaction there." With this in mind the answer has to be B.
upvoted 2 times
...
casfdsaf
2 years, 10 months ago
Selected Answer: B
b right
upvoted 1 times
...
Datajimm
2 years, 11 months ago
Selected Answer: B
correct answer is B: The transaction is not committed, therefore the undo space is active. It cannot be overwritten by the next update, so it throws an error.
upvoted 1 times
...
emburria
3 years ago
B. "UNDOTBS1 fills with uncommitted undo 10 minutes after the database opens."...data is uncommitted, so oracle is not going to discard uncommitted data.....
upvoted 1 times
...
ryuah
3 years ago
B is correct
upvoted 1 times
...
iamajavacompiler
3 years, 9 months ago
I did not understand why the answer is B?
upvoted 2 times
...
ioio
3 years, 10 months ago
in fact it is an interesting question! it is C: The UNDO_RETENTION parameter can only be honored if the current undo tablespace has enough space. If an active transaction requires undo space and the undo tablespace does not have available space, then the system starts reusing unexpired undo space. This action can potentially cause some queries to fail with a "snapshot too old" message. For AUTOEXTEND undo tablespaces, the system retains undo for at least the time specified in this parameter, and automatically tunes the undo retention period to satisfy the undo requirements of the queries. For fixed- size undo tablespaces, the system automatically tunes for the maximum possible undo retention period, based on undo tablespace size and usage history, and ignores UNDO_RETENTION unless retention guarantee is enabled. https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/UNDO_RETENTION.html#GUID-D238E854-A2C5-463E-A146-31F61300124E
upvoted 1 times
Datajimm
2 years, 11 months ago
Your quote only applies to unexpired undo space. In our case the undo is active and that cannot be reused by another transaction. C is the wrong answer, B is the correct.
upvoted 1 times
...
...
avanand
4 years, 5 months ago
Its a tricky question. To me answer should be C. The undo_retention parameter is ignored for a fixed size undo tablespace. The database may overwrite unexpired undo information when tablespace space becomes low. Go to this link and search this: "The following points explain the exact impact of the UNDO_RETENTION parameter on undo retention" https://docs.oracle.com/cd/B19306_01/server.102/b14231/undo.htm
upvoted 6 times
adoptc94
4 years, 5 months ago
I think you might be right! Retention Guarantee enforces unexpired undo to be retained for the specified undo retention, but as undo retention is ignored for fixed size undo tablespaces, unexpired undo can be overwritten to support new transactions But my issue with this question is, that it states that the undo tablespace is filled with uncommited undo, which means that it is active undo which will never be overwritten right? Only unexpired & expired undo may be overwritten to support new transations
upvoted 1 times
adoptc94
4 years, 5 months ago
Please ignore my previous comment, I was just confused at that time Answer C is 100% wrong! While it is true, that the undo retention will be ignored for fixed size undo tablespaces, it won't be ignored if retention guarantee is enabled! Source: https://docs.oracle.com/cd/B19306_01/server.102/b14237/initparams222.htm#REFRN10225 For fixed- size undo tablespaces, the system automatically tunes for the maximum possible undo retention period, based on undo tablespace size and usage history, and ignores UNDO_RETENTION !!!unless retention guarantee is enabled.!!! So the correct answer for this question is B!
upvoted 4 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