1Z0-062 · Question #375
A PFILE exists for your database. You want to increase the value of the PROCESSES parameter from 300 to 400 and make it persistent for your database instance. You plan to use the ALTER SYSTEM…
The correct answer is C. Create an SPFILE, start the database instance by using the SPFILE, and then execute the ALTER F. Use the PFILE to STARTUP MOUNT the database instance, and then execute the ALTER SYSTEM. To persistently increase the static PROCESSES parameter using ALTER SYSTEM when a PFILE exists, you must ensure an SPFILE is active, then use ALTER SYSTEM SET with SCOPE=SPFILE, and finally restart the database.
Question
A PFILE exists for your database. You want to increase the value of the PROCESSES parameter from 300 to 400 and make it persistent for your database instance. You plan to use the ALTER SYSTEM command. Which two methods can be used? (Choose two.)
Options
- AEdit PFILE manually, re-create the SPFILE from the edited PFILE, and restart the database
- BCreate an SPFILE, start the database instance by using the SPFILE, and then execute the ALTER
- CCreate an SPFILE, start the database instance by using the SPFILE, and then execute the ALTER
- DCreate an SPFILE, STARTUP MOUNT the database instance by using the SPFILE, and then
- EStart the database instance by using the PFILE, and then execute the ALTER SYSTEM SET
- FUse the PFILE to STARTUP MOUNT the database instance, and then execute the ALTER SYSTEM
How the community answered
(52 responses)- A6% (3)
- B12% (6)
- C79% (41)
- D2% (1)
- E2% (1)
Why each option
To persistently increase the static `PROCESSES` parameter using `ALTER SYSTEM` when a PFILE exists, you must ensure an SPFILE is active, then use `ALTER SYSTEM SET` with `SCOPE=SPFILE`, and finally restart the database.
This method does not use the `ALTER SYSTEM` command to set the parameter persistently, which is explicitly requested by the question.
The `ALTER SYSTEM` command provided in this choice is incomplete, making it an invalid method.
This method explicitly involves creating an SPFILE, starting the database instance with it, and then using `ALTER SYSTEM SET PROCESSES=400 SCOPE=SPFILE;` to persistently update the static parameter in the SPFILE before a final restart applies the change.
The `ALTER SYSTEM` command provided in this choice is incomplete, making it an invalid method.
The `ALTER SYSTEM` command provided in this choice is incomplete, making it an invalid method.
Although initially using a PFILE for `STARTUP MOUNT`, this method implies that an SPFILE is subsequently made active (e.g., by creating one and restarting with it), allowing `ALTER SYSTEM SET PROCESSES=400 SCOPE=SPFILE;` to successfully update the persistent configuration, which then requires another restart to take effect.
Concept tested: Oracle Parameter Management (PFILE, SPFILE, ALTER SYSTEM)
Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/ALTER-SYSTEM.html#GUID-2BC3E9E2-4112-4217-AF21-BE01041112D9
Topics
Community Discussion
No community discussion yet for this question.