nerdexam
Oracle

1Z0-052 · Question #132

You executed the following commands to find the location of the alert log file: Where is the alert log file stored? (Choose all that apply.)

The correct answer is A. in the BACKGROUND_DUMP_DEST location; in text format E. in the DIAGNOSTIC_DEST/diag/rdbms/orcl/orcl/alert directory; in XML format. Starting with Oracle 11g ADR, the alert log exists in two separate locations and formats: text in the BACKGROUND_DUMP_DEST trace directory and XML in the ADR alert subdirectory.

Managing the Database Instance

Question

You executed the following commands to find the location of the alert log file:

Where is the alert log file stored? (Choose all that apply.)

Exhibit

1Z0-052 question #132 exhibit

Options

  • Ain the BACKGROUND_DUMP_DEST location; in text format
  • Bin the BACKGROUND_DUMP_DEST location; in XML format
  • Cin the BACKGROUND_DUMP_DEST location; in both text and XML format
  • Din the DIAGNOSTIC_DEST/diag/rdbms/orcl/orcl/alert directory; in text format
  • Ein the DIAGNOSTIC_DEST/diag/rdbms/orcl/orcl/alert directory; in XML format
  • Fin the DIAGNOSTIC_DEST/diag/rdbms/orcl/orcl/alert directory; in both text and XML format

How the community answered

(30 responses)
  • A
    90% (27)
  • C
    3% (1)
  • D
    7% (2)

Why each option

Starting with Oracle 11g ADR, the alert log exists in two separate locations and formats: text in the BACKGROUND_DUMP_DEST trace directory and XML in the ADR alert subdirectory.

Ain the BACKGROUND_DUMP_DEST location; in text formatCorrect

BACKGROUND_DUMP_DEST now maps to the ADR trace directory ($DIAGNOSTIC_DEST/diag/rdbms/<db>/<instance>/trace), which contains the traditional text-format alert log named alert_<SID>.log, preserving backward compatibility with pre-11g tooling.

Bin the BACKGROUND_DUMP_DEST location; in XML format

BACKGROUND_DUMP_DEST points to the trace directory, which holds only the text-format alert log; the XML log.xml resides in the separate alert subdirectory and is not present under BACKGROUND_DUMP_DEST.

Cin the BACKGROUND_DUMP_DEST location; in both text and XML format

BACKGROUND_DUMP_DEST contains only the text-format alert log and does not also hold an XML copy.

Din the DIAGNOSTIC_DEST/diag/rdbms/orcl/orcl/alert directory; in text format

The DIAGNOSTIC_DEST/.../alert directory stores only the XML-format log; the text-format alert_<SID>.log lives in the trace directory, not the alert directory.

Ein the DIAGNOSTIC_DEST/diag/rdbms/orcl/orcl/alert directory; in XML formatCorrect

The ADR alert subdirectory ($DIAGNOSTIC_DEST/diag/rdbms/orcl/orcl/alert) stores the alert log exclusively in XML format as log.xml, which is the native format consumed by the ADRCI utility and the V$DIAG_ALERT_EXT view.

Fin the DIAGNOSTIC_DEST/diag/rdbms/orcl/orcl/alert directory; in both text and XML format

The DIAGNOSTIC_DEST/.../alert directory contains only the XML-format log and does not also store a text version.

Concept tested: Oracle 11g ADR alert log dual-format dual-location storage

Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/admin/diagnosing-and-resolving-problems.html

Topics

#alert log#DIAGNOSTIC_DEST#BACKGROUND_DUMP_DEST#ADR

Community Discussion

No community discussion yet for this question.

Full 1Z0-052 Practice