nerdexam
Oracle

1Z0-052 · Question #246

You decided to increase the value for the SHARED_SERVERS parameter by using the following command: SQL> ALTER SYSTEM SET SHARED_SERVERS=3 SCOPE=?; Which three values can be specified for the SCOPE…

The correct answer is C. BOTH E. SPFILE F. MEMORY. The SCOPE clause for ALTER SYSTEM accepts exactly three valid values - MEMORY, SPFILE, and BOTH - each controlling whether the change is applied to the running instance, persisted to the server parameter file, or both.

Managing the Database Instance

Question

You decided to increase the value for the SHARED_SERVERS parameter by using the following command:

SQL> ALTER SYSTEM SET SHARED_SERVERS=3 SCOPE=?; Which three values can be specified for the SCOPE clause? (Choose three.)

Options

  • AALL
  • BPFILE
  • CBOTH
  • DNONE
  • ESPFILE
  • FMEMORY
  • GINSTANCE
  • HDATABASE

How the community answered

(45 responses)
  • C
    93% (42)
  • D
    4% (2)
  • H
    2% (1)

Why each option

The SCOPE clause for ALTER SYSTEM accepts exactly three valid values - MEMORY, SPFILE, and BOTH - each controlling whether the change is applied to the running instance, persisted to the server parameter file, or both.

AALL

ALL is not a recognized value for the SCOPE clause in the ALTER SYSTEM command.

BPFILE

PFILE is a static text file (init.ora) that must be edited manually outside of SQL - it cannot be targeted by the SCOPE clause of ALTER SYSTEM.

CBOTHCorrect

BOTH writes the parameter change to the SPFILE and simultaneously applies it to the running instance memory, making it immediately effective and persistent across future restarts.

DNONE

NONE is not a valid SCOPE clause value; every ALTER SYSTEM SET command that modifies a parameter must target MEMORY, SPFILE, or BOTH.

ESPFILECorrect

SPFILE writes the change only to the server parameter file without affecting the currently running instance, so the new value takes effect only after the next database restart.

FMEMORYCorrect

MEMORY applies the change only to the current running instance in memory and does not update the SPFILE, so the change is lost when the database is restarted.

GINSTANCE

INSTANCE is not a valid value for the SCOPE clause; the equivalent in-memory option is MEMORY.

HDATABASE

DATABASE is not a valid value for the SCOPE clause in ALTER SYSTEM.

Concept tested: ALTER SYSTEM SCOPE clause valid options

Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/ALTER-SYSTEM.html

Topics

#ALTER SYSTEM#SCOPE clause#SPFILE#dynamic parameters

Community Discussion

No community discussion yet for this question.

Full 1Z0-052 Practice