nerdexam
Oracle

1Z0-052 · Question #65

Which task would you perform before you run Oracle Universal Installer (OUI) in silent or suppressed mode for an installation?

The correct answer is B. Create the oraInst.loc file. Before running OUI in silent or suppressed mode, the oraInst.loc file must exist so the installer knows where to write Oracle Inventory data without interactive prompts.

Managing the Database Instance

Question

Which task would you perform before you run Oracle Universal Installer (OUI) in silent or suppressed mode for an installation?

Options

  • ARun the root.sh script.
  • BCreate the oraInst.loc file.
  • CCreate the tnsnames.ora file.
  • DRun the oraInstRoot.sh script.

How the community answered

(59 responses)
  • A
    5% (3)
  • B
    90% (53)
  • C
    3% (2)
  • D
    2% (1)

Why each option

Before running OUI in silent or suppressed mode, the oraInst.loc file must exist so the installer knows where to write Oracle Inventory data without interactive prompts.

ARun the root.sh script.

root.sh is executed after OUI completes installation to configure OS-level kernel parameters and set SUID bits; it is a post-installation step, not a prerequisite.

BCreate the oraInst.loc file.Correct

In silent or suppressed mode, OUI cannot prompt the user for the Oracle Inventory location, so it reads the oraInst.loc file to find that path. Without this file pre-created, OUI has no way to determine where to register the installation metadata, causing the silent install to fail. Creating oraInst.loc with the correct inventory_loc and inst_group entries is therefore a prerequisite step.

CCreate the tnsnames.ora file.

tnsnames.ora is a network service name configuration file used by Oracle clients after the database is installed and running; it is not required before or during OUI execution.

DRun the oraInstRoot.sh script.

oraInstRoot.sh is also a post-installation script run as root to update the Central Inventory with correct ownership; it runs after OUI finishes, not before.

Concept tested: OUI silent mode prerequisites - oraInst.loc file

Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/ladbi/running-oracle-universal-installer-in-silent-or-suppress-mode.html

Topics

#OUI#silent installation#oraInst.loc#response file

Community Discussion

No community discussion yet for this question.

Full 1Z0-052 Practice