Question 221

Your multitenant container database, CDB1, is running in ARCHIVELOG mode and has two pluggable databases, HR_PDB and ACCOUNTS_PDB. An RMAN backup exists for the database.
You issue the command to open ACCOUNTS_PDB and find that the USERDATA.DBF data file for the default permanent tablespace USERDATA belonging to ACCOUNTS_PDB is corrupted.
What should you do before executing the commands to restore and recover the data file in
ACCOUNTS_PDB?
  • Question 222

    Examine the structure of the sales table, which is stored in a locally managed tablespace with Automatic Segment Space Management (ASSM) enabled.
    NameNull?Type
    PROD_IDNOT NULL NUMBER
    CUST_IDNOT NULL NUMBER
    TIME_IDNOT NULL DATE
    CHANNEL_IDNOT NULL NUMBER
    PROMO_IDNOT NULL NUMBER
    QUANT I TY___S OL DNOT NULL NUMBER (10, 2) AMOUNT SOLDNOT NULL NUMBER (10, 2)
    You want to perform online segment shrink to reclaim fragmented free space below the high water mark.
    What should you ensure before the start of the operation?
  • Question 223

    The following parameter are set for your Oracle 12c database instance:
    OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES=FALSE
    OPTIMIZER_USE_SQL_PLAN_BASELINES=TRUE
    You want to manage the SQL plan evolution task manually. Examine the following steps:
    1. Set the evolve task parameters.
    2. Create the evolve task by using the DBMS_SPM.CREATE_EVOLVE_TASK function.
    3. Implement the recommendations in the task by using the DBMS_SPM.IMPLEMENT_EVOLVE_TASK function.
    4. Execute the evolve task by using the DBMS_SPM.EXECUTE_EVOLVE_TASK function.
    5. Report the task outcome by using the DBMS_SPM.REPORT_EVOLVE_TASK function.
    Identify the correct sequence of steps:
  • Question 224

    Identify three situations in which messages are written to the alert log file. (Choose three.)
  • Question 225

    Which task would you recommend before using the Database Upgrade Assistant (DBUA) to upgrade a single-instance Oracle 11g R2 database to Oracle Database 12c?