nerdexam
Oracle

1Z0-062 · Question #100

Which two statements are true when row archival management is enabled?

The correct answer is C. The ROW ARCHIVAL VISIBILITY session parameter defaults to active rows only. D. The ORA_ARCHIVE_STATE column is visible if referenced in the select list of a query.. Row archival management in Oracle uses a hidden ORA_ARCHIVE_STATE column and a session-level parameter to enable in-place archival of table rows. Key behaviors include the default visibility setting and the ability to explicitly reference the hidden column.

Managing Data and Concurrency

Question

Which two statements are true when row archival management is enabled?

Options

  • AThe ORA_ARCHIVE_STATE column visibility is controlled by the ROW ARCHIVAL VISIBILITY
  • BThe ORA_ARCHIVE_STATE column is updated manually or by a program that could reference
  • CThe ROW ARCHIVAL VISIBILITY session parameter defaults to active rows only.
  • DThe ORA_ARCHIVE_STATE column is visible if referenced in the select list of a query.
  • EThe ORA_ARCHIVE_STATE column is updated automatically by the Oracle Server based on

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    15% (4)
  • C
    73% (19)
  • E
    8% (2)

Why each option

Row archival management in Oracle uses a hidden ORA_ARCHIVE_STATE column and a session-level parameter to enable in-place archival of table rows. Key behaviors include the default visibility setting and the ability to explicitly reference the hidden column.

AThe ORA_ARCHIVE_STATE column visibility is controlled by the ROW ARCHIVAL VISIBILITY

ROW ARCHIVAL VISIBILITY controls which rows are returned by queries based on archive state, not the visibility of the ORA_ARCHIVE_STATE column itself - the statement incorrectly conflates row-level filtering with column-level visibility.

BThe ORA_ARCHIVE_STATE column is updated manually or by a program that could reference

While ORA_ARCHIVE_STATE is indeed updated manually or programmatically, the option as written is truncated and does not form a complete or accurate description that distinguishes it as a true statement.

CThe ROW ARCHIVAL VISIBILITY session parameter defaults to active rows only.Correct

The ROW ARCHIVAL VISIBILITY session parameter defaults to ACTIVE, which causes queries to automatically exclude archived rows - those with ORA_ARCHIVE_STATE set to a value other than '0'. This default means applications see only active data without requiring any query changes after enabling row archival on a table.

DThe ORA_ARCHIVE_STATE column is visible if referenced in the select list of a query.Correct

The ORA_ARCHIVE_STATE column is a hidden column, meaning it is not included in SELECT * results, but it is visible and returned when explicitly listed in the SELECT clause of a query. This design allows administrative queries to inspect archive state while keeping it transparent to unmodified application queries.

EThe ORA_ARCHIVE_STATE column is updated automatically by the Oracle Server based on

Oracle Server does not automatically update ORA_ARCHIVE_STATE based on any internal criteria - updating the archive state is entirely the responsibility of the application or DBA using explicit UPDATE statements.

Concept tested: Oracle in-place row archival visibility and hidden column behavior

Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/vldbg/using-row-archival-management.html

Topics

#row archival#historical data#ORA_ARCHIVE_STATE#data visibility

Community Discussion

No community discussion yet for this question.

Full 1Z0-062 Practice