exam questions

Exam 1z0-083 All Questions

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

Exam 1z0-083 topic 1 question 151 discussion

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

A schema owner truncated a table in error and must recover the data.
Which Oracle Flashback feature could be used to recover the data?

  • A. FLASHBACK TRANSACTION
  • B. FLASHBACK VERSION QUERY
  • C. FLASHBACK DATA ARCHIVE
  • D. FLASHBACK TABLE
  • E. FLASHBACK DATABASE
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
RinD
Highly Voted 3 years, 5 months ago
C correct
upvoted 9 times
...
ObserverPL
Highly Voted 3 years, 4 months ago
E, tested in practice
upvoted 8 times
...
cf1f99b
Most Recent 2 months, 1 week ago
Selected Answer: D
I think D is correct. FLASHBACK TABLE directly supports recovery from TRUNCATE, provided the table is not dropped and that UNDO data is available. If Flashback Data Archive was enabled for the table before the truncation, C could be valid
upvoted 1 times
...
wagihov
4 months ago
Selected Answer: E
I don't understand how C is chosen by the community. Flashback Data Archives definition: "A flashback data archive provides the ability to track and store all transactional changes to a “tracked” table over its lifetime " While documentation is super clear about the Truncate case, that its only solution is Flashback Database. So the only correct answer is E
upvoted 2 times
...
antonica
6 months, 3 weeks ago
C Or E, both with arguements!!!
upvoted 1 times
...
dancymonkey
9 months, 1 week ago
c Ref: 19.9.6 DDL Statements on Tables Enabled for Flashback Data Archive Flashback Data Archive supports only these DDL statements: ALTER TABLE statement that does any of the following: Adds, drops, renames, or modifies a column Adds, drops, or renames a constraint Drops or truncates a partition or subpartition operation TRUNCATE TABLE statement RENAME statement that renames a table https://docs.oracle.com/en/database/oracle/oracle-database/12.2/adfns/flashback.html#GUID-D01864A9-C642-4EDF-9EB0-796020A26F2D:~:text=NO%20FLASHBACK%20ARCHIVE%3B-,19.9.6%20DDL%20Statements%20on%20Tables%20Enabled%20for%20Flashback%20Data%20Archive,-Flashback%20Data%20Archive
upvoted 1 times
...
_gio_
1 year, 3 months ago
Selected Answer: C
I think the correct answer is C because, FLASHBACK DATA ARCHIVE is the only flashback option that if it is enabled can flashback some DDLs as TRUNCATE (here the reference https://docs.oracle.com/en/database/oracle/oracle-database/19/adfns/flashback.html#GUID-D01864A9-C642-4EDF-9EB0-796020A26F2D) FLASHBACK TABLE can also flashback truncate ONLY IF RESTORE POINT for Table was created
upvoted 1 times
...
ScottL
1 year, 5 months ago
C or E could be correct
upvoted 1 times
...
oscar1104
1 year, 6 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
G_C
2 years ago
Selected Answer: C
@ObserverPL, I think that question assume recover only data from truncated table, so "flashback database" recover data with possible damages in other place. Of course it works, but the "flashback archive" be able to do that without any damages. @Neil107 there are no condition of that we should do as quickly as possible.
upvoted 1 times
...
egore0496
2 years, 9 months ago
FLASHBACK DATA ARCHIVE tested https://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/4421812.pdf SELECT ... AS OF TIMESTAMP... SELECT ... VERSIONS BETWEEN TIMESTAMP and TIMESTAM SELECT * FROM t1 VERSIONS BETWEEN SCN 14759823 AND 14761165 SELECT * FROM t1 AS OF SCN 14759823; truncate SELECT * FROM t1 AS OF SCN 14761249; SELECT current_scn, TO_CHAR(SYSTIMESTAMP, 'YYYY-MM-DD HH24:MI:SS') FROM v$database;
upvoted 2 times
Alvinzzz
2 years, 5 months ago
Although Flashback Data Archive could flashback a truncated table, it can only recover until last flashback archive creation time but not point-in-time before the error occurs. Thus, choose E if point-in-time recovery required.
upvoted 2 times
...
...
Neil107
3 years, 2 months ago
Sorry guys!. It seems my post doesn't get posted. A retry seems to repeat my post.
upvoted 1 times
...
Neil107
3 years, 2 months ago
It's E. Even with FLASHBACK DATA ARCHIVE, truncation of a table is possible, but will be a slow process.A retention time has to be specified. Refer to page 799 of the 12c All-in-one-exam-guide
upvoted 3 times
...
Neil107
3 years, 2 months ago
It's E. Even with FLASHBACK DATA ARCHIVE, truncation of a table is possible, but will be a slow process.A retention time has to be specified. Refer to page 799 of the 12c All-in-one-exam-guide
upvoted 3 times
...
Neil107
3 years, 2 months ago
It's E. Even with FLASHBACK DATA ARCHIVE, truncation of a table is possible, but will be a slow process.A retention time has to be specified. Refer to page 799 of the 12c All-in-one-exam-guide
upvoted 3 times
...
mporislav
3 years, 5 months ago
correct : E Backup and Recovery Workshop - typical scenario for Flashback Database is truncate table. You may use FBDA but in different way (not flashing back): insert into t1_recovered select * from t1 as of timestamp sysdate – 1/24;
upvoted 4 times
...
gon20
3 years, 5 months ago
I'm with RinD. Go with C Database Development Guide
upvoted 2 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