1Z0-062 · Question #227
You want to upgrade an Oracle Database running Oracle Database 11g to Oracle Database 12c. Which three tasks should be performed before a manual upgrade?
The correct answer is A. running preupgrad.sql in Oracle Database 11g to generate fix-up scripts and a log file C. copying the initialization parameter file to the new Oracle home E. copying net configuration files to the new Oracle home. Before a manual upgrade from Oracle Database 11g to 12c, you must run the pre-upgrade script, copy the initialization parameter file, and copy network configuration files to the new Oracle home.
Question
You want to upgrade an Oracle Database running Oracle Database 11g to Oracle Database 12c. Which three tasks should be performed before a manual upgrade?
Options
- Arunning preupgrad.sql in Oracle Database 11g to generate fix-up scripts and a log file
- Brunning utlu121s.sql from the new Oracle home to display information about the required
- Ccopying the initialization parameter file to the new Oracle home
- Dcopying the password file to the new Oracle home
- Ecopying net configuration files to the new Oracle home
How the community answered
(29 responses)- A86% (25)
- B3% (1)
- D10% (3)
Why each option
Before a manual upgrade from Oracle Database 11g to 12c, you must run the pre-upgrade script, copy the initialization parameter file, and copy network configuration files to the new Oracle home.
Running preupgrd.sql from the source Oracle 11g home analyzes the existing database and generates fix-up scripts that resolve pre-upgrade issues automatically. It also produces a log file that summarizes required manual actions, deprecated parameters, and any components that need attention before the upgrade begins.
The pre-upgrade utility must be executed from the source Oracle 11g home against the existing database, not from the new Oracle 12c home, because it needs to inspect the current database state and version-specific objects.
The initialization parameter file (init.ora or spfile) must be present in the new Oracle 12c home so the upgraded instance can read its configuration during startup. Copying it before the upgrade ensures the new Oracle home has the correct settings and avoids startup failures post-upgrade.
In Oracle 12c the password file format changed to support longer user names and case-sensitive passwords, so the old 11g password file should not simply be copied - a new one should be created in the new Oracle home using orapwd.
Net configuration files such as listener.ora and tnsnames.ora must be copied to the new Oracle home so that network connectivity and remote client access are maintained after the upgrade. Without them, the listener in the new home would have no knowledge of the database service or connection descriptors.
Concept tested: Oracle Database 11g to 12c manual upgrade pre-upgrade tasks
Source: https://docs.oracle.com/database/121/UPGRD/preup.htm
Topics
Community Discussion
No community discussion yet for this question.