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.
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)- A5% (3)
- B90% (53)
- C3% (2)
- D2% (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.
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.
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.
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.
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
Community Discussion
No community discussion yet for this question.