Question 6 of 212

Examine the command:

SQL> RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;

In which two scenarios is this command required?

    Correct Answer: A, D

    The command 'RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;' is used in scenarios that involve recovery from situations where the control file is not current or is missing. One scenario where this command is required is when the current online redo log file is missing; this prevents the database from being recovered normally, necessitating the use of a backup control file. Another scenario is when the database backup is older than the control file backup; this command allows recovery to continue by using the backup control file, which might be necessary if the current control file is not available or valid.

Question 7 of 212

Which two are prerequisites for setting up Flashback Data Archive?

    Correct Answer: D, F

    To set up Flashback Data Archive, Automatic Undo Management must be enabled because it manages undo data automatically, ensuring that undo information is retained as needed for Flashback operations. Additionally, the tablespace in which the Flashback Data Archive is created should have Automatic Segment Space Management (ASSM) enabled to efficiently manage space within the tablespace, which is crucial for the proper functioning and storage of historical data.

Question 8 of 212

The environmental variable oracle_Base is set to /u01/app/oracle and oracle_home is set to /u01/app/oracle/product/12.1.0/db 1.

You want to check the diagnostic files created as part of the Automatic Diagnostic Repository (ADR). Examine the initialization parameters set in your database.

NAMETYPEVALUE -

---------------- ------------------- -------------------

audit_file_deststring/u01/app/oracle/admin/eml2rep/adump

background_dump_deststring

core_dump_deststring

db_create_file_deststring

db_recovery_file_deststring/u01/app/oracle/fast_recovery_area diagnostic_deststring

What is the location of the ADR base?

    Correct Answer: C

    The ADR base location is determined by the DIAGNOSTIC_DEST initialization parameter. If DIAGNOSTIC_DEST is not explicitly set, the environmental variable ORACLE_BASE is used to determine the ADR base location. Given that ORACLE_BASE is set to /u01/app/oracle, this path becomes the ADR base location.

Question 9 of 212

You want to export the pluggable database (PDB) hr_pdb1 from the multitenant container database (CDB) CDB1 and import it into the cdb2 CDB as the emp_pdb1 PDB.

Examine the list of possible steps required to perform the task:

1. Create a PDB named emp_pdb1.

2. Export the hr_pdb1 PDB by using the full clause.

3. Open the emp_pdb1 PDB.

4. Mount the emp_pdb1 PDB.

5. Synchronize the emp_pdb1 PDB in restricted mode.

6. Copy the dump file to the Data Pump directory.

7. Create a Data Pump directory in the emp_pdb1 PDB.

8. Import data into emp_pdb1 with the full and remap clauses.

9. Create the same tablespaces in emp_pdb1 as in hr_pdb1 for new local user objects.

Identify the required steps in the correct order.

    Correct Answer: A

    To successfully export the pluggable database (PDB) hr_pdb1 from the multitenant container database (CDB) CDB1 and import it into the cdb2 CDB as the emp_pdb1 PDB, the following steps must be followed in sequence: 1) Export hr_pdb1 using the full clause to export all its data and configurations. 2) Create the new PDB emp_pdb1 which will host the imported data. 3) Open emp_pdb1 to get it ready for data import. 4) Create a Data Pump directory in emp_pdb1 to store the dump file. 5) Copy the dump file to the Data Pump directory created. 6) Import the data into emp_pdb1 using the full and remap clauses to ensure the data is correctly mapped into the new PDB. These steps ensure that all necessary elements, excluding tablespace creation which is handled during the import using the full clause, are covered.

Question 10 of 212

You wish to create jobs to satisfy these requirements:

1. Automatically bulk load data from a flat file.

2. Rebuild indexes on the SALES table after completion of the bulk load.

How would you create these jobs?

    Correct Answer: D

    To satisfy the requirements of automatically bulk loading data from a flat file and rebuilding indexes on the SALES table after completion of the bulk load, you should create one job to perform the bulk load using events raised by the application and then create another job to rebuild indexes using Scheduler raised events. The application-raised event would trigger the bulk load when the file is ready, and the Scheduler would raise an event once the bulk load is completed, triggering the index rebuild job.