Exame 1z0-063 TEST1
Exame 1z0-063 TEST1
QUESTION: 1
Which two statements are true about scheduling operations in a pluggable database (PDB)? (Choose two.)
A. Scheduler jobs for a PDB can be defined only at the container database (CDB) level.
B. A job defined in a PDB runs only if that PDB is open.
C. Scheduler attribute setting is performed only at the CDB level.
D. Scheduler objects created by users can be exported or imported using Data Pump.
E. Scheduler jobs for a PDB can be created only by common users.
CORRECT ANSWERS:
B, D
QUESTION: 2
A complete database backup to media is taken for your database every day.
Which three actions would you take to improve backup performance? (Choose three.)
A. Set the backup_tape_io_slaves parameter to true.
B. Set the dbwr_io_slaves parameter to a nonzero value if synchronous I/O is in use.
C. Configure large pool if not already done.
D. Remove the rate parameter, if specified, in the allocate channel command
E. Always use RMAN compression for tape backups rather than the compression provided by media
F. Always use synchronous I/O for the database.
CORRECT ANSWERS:
B, C, D
EXPLANATION:
http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmtunin.htm
QUESTION: 3
For which three pieces of information can you use the RMAN list command? (Choose three.)
A. stored scripts in the recovery catalog
B. available archived redo log files
C. backup sets and image copies that are obsolete
D. backups of tablespaces
E. backups that are marked obsolete according to the current retention policy
CORRECT ANSWERS:
A, B, D
EXPLANATION:
http://docs.oracle.com/cd/B19306_01/backup.102/b14192/bkup007.htm
http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmreprt.htm#BRADV89585
The primary purpose of the LIST command is to list backup and copies. For example, you can list:
– Backups and proxy copies of a database, tablespace, datafile, archived redo log, or control file
– Backups that have expired
QUESTION: 4
You notice performance degradation in your production Oracle 12c database. You want to know what caused this
performance difference. Which method or feature should you use?
A. Database Replay
B. Automatic Database Diagnostic Monitor (ADDM) Compare Period report
C. Active Session History (ASH) report
D. SQL Performance Analyzer
CORRECT ANSWER:
B
QUESTION: 5
Which three statements are true about a job chain? (Choose three.)
A. It can contain a nested chain of jobs.
B. It can be used to implement dependency-based scheduling.
C. It cannot invoke the same program or nested chain in multiple steps in the chain.
D. It cannot have more than one dependency.
E. It can be executed using event-based or timebased schedules.
CORRECT ANSWERS:
A, B, E
EXPLANATION:
http://docs.oracle.com/cd/B28359_01/server.111/b28310/scheduse009.htm#ADMIN12459
QUESTION: 6
Because of logical corruption of data in a table, you want to recover the table from an RMAN backup to a specified
point in time.
Examine the steps to recover this table from an RMAN backup:
1. Determine which backup contains the table that needs to be recovered.
2. Issue the recover table RMAN command with an auxiliary destination defined and the point in time specified.
3. Import the Data Pump export dump file into the auxiliary instance.
4. Create a Data Pump export dump file that contains the recovered table on a target database.
QUESTION: 7
Examine the command:
SQL> RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;
In which two scenarios is this command required? (Choose two.)
A. The current online redo log file is missing.
B. A data file belonging to a noncritical tablespace is missing.
C. All the control files are missing.
D. The control file backup is older than the database backup.
E. All the data files are missing.
CORRECT ANSWERS:
C, D
EXPLANATION:
http://searchoracle.techtarget.com/answer/Recover-database-using-backupcontrolfile-until-cancel
QUESTION: 8
Which two are prerequisites for setting up Flashback Data Archive? (Choose two.)
A. Fast Recovery Area should be defined.
B. Undo retention guarantee should be enabled.
C. Supplemental logging should be enabled.
D. Automatic Undo Management should be enabled.
E. All users using Flashback Data Archive should have unlimited quota on the Flashback Data Archive
F. The tablespace in which the Flashback Data Archive is created should have Automatic Segment Space
CORRECT ANSWERS:
D, F
QUESTION: 9
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.
QUESTION: 10
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.
QUESTION: 11
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.
QUESTION: 12
Your Oracle 12c multitenant container database (CDB) contains multiple pluggable databases (PDBs). In the PDB
HR_PDB, the common user C##ADMIN and the local user B_ADMIN have only the CONNECT privilege. You create a
common role C##ROLE1 with the CREATE ANY TABLE and SELECT ANY TABLE privileges. You then execute the
commands:
QUESTION: 13
Examine the commands executed in the root container of your multitenant container database (CDB) that has
multiple pluggable databases (PDBs):
SQL> CREATE USER c##a_admin IDENTIFIED BY orcl123;
SQL> CREATE ROLE c##role1 CONTAINER=ALL;
SQL> GRANT CREATE VIEW TO C##roleI CONTAINER=ALL;
SQL> GRANT c##role1 TO c##a_admin CONTAINER=ALL;
SQL> REVOKE c##role1 FROM c##a_admin;
QUESTION: 14
Examine the RMAN command:
RMAN> CONFIGURE ENCRYPTION FOR DATABASE ON;
RMAN> BACKUP DATABASE PLUS ARCHIVELOG;
Which prerequisite must be met before accomplishing the backup?
A. The password for the encryption must be set up.
B. Oracle wallet for the encryption must be set up.
C. All the tablespaces in the database must be encrypted.
D. Oracle Database Vault must be enabled.
CORRECT ANSWER:
B
EXPLANATION:
configuration encryption will use by Transparent encryption, For transparent encryption, you will need to create a
wallet, and it must be open. Transparent encryption will then occur automatically after you have issued the
CONFIGURE ENCRYPTION FOR DATABASE ON or CONFIGURE ENCRYPTION FOR TABLESPACE ON command.
http://docs.oracle.com/cd/E25054_01/backup.1111/e10642/rcmbckad.htm#CEGEJABH
QUESTION: 15
A database is running in archivelog mode. The database contains locally managed tablespaces. Examine the RMAN
command:
RMAN> BACKUP AS COMPRESSED BACKUPSET SECTION SIZE 1024M DATABASE;
Which statement is true about the execution of the command?
A. The backup succeeds only if all the tablespaces are locally managed.
B. The backup succeeds only if the RMAN default device for backup is set to disk.
C. The backup fails because you cannot specify section size for a compressed backup.
D. The backup succeeds and only the used blocks are backed up with a maximum backup piece size of 1024 MB.
CORRECT ANSWER:
D
QUESTION 16
In your database, the tbs percent used parameter is set to 60 and the tbs percent free parameter is set to 20.
Which two storage-tiering actions might be automated when using Information Lifecycle Management (ILM) to
automate data movement? (Choose two.)
A. The movement of all segments to a target tablespace with a higher degree of compression, on a different storage
tier, when the source tablespace exceeds tbs percent used
B. Setting the target tablespace to read-only after the segments are moved
C. The movement of some segments to a target tablespace with a higher degree of compression, on a different
storage tier, when the source tablespace exceeds T3S percent used
D. Taking the target tablespace offline after the segments are moved
E. The movement of some blocks to a target tablespace with a lower degree of compression, on a different storage
tier, when the source tablespace exceeds tbs percent used
CORRECT ANSWER:
B, C
QUESTION 17
You want to consolidate backup information and centrally manage backup and recovery scripts for multiple
databases running in your organization.
Which two backup solutions can be used? (Choose two.)
A. RMAN recovery catalog
B. RMAN Media Management Library
C. Enterprise Manager Cloud Control
D. Enterprise Manager Database Express
E. Oracle Secure Backup
CORRECT ANSWERS:
A, C
QUESTION: 18
You want RMAN to make duplicate copies of data files when using the backup command.
What must you set using the RMAN configure command to achieve this?
A. MAXSETSIZE TO 2;
B. DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
C. CHANNEL DEVICE TYPE DISK FORMAT '/disk1/%U' , '/disk2/%U';
D. DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 2;
CORRECT ANSWER:
D
EXPLANATION:
http://docs.oracle.com/cd/B14117_01/server.101/b10734/rcmconfg.htm
http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmconfa.htm#BRADV137
QUESTION: 19
You create a table with the period for clause to enable the use of the Temporal Validity feature of Oracle Database
12c.
Examine the table definition:
create table employees
(empno number, salary number,
deptid number, name varchar2(100),
period for employee_time);
Which three statements are true concerning the use of the Valid Time Temporal feature for the EMPLOYEES table?
(Choose three.)
A. The valid time columns employee_time_start and employee_time_end are automatically created.
B. The same statement may filter on both transaction time and valid temporal time by using the AS OF TIMESTAMP
and PERIOD FOR clauses.
C. The valid time columns are not populated by the Oracle Server automatically.
D. The valid time columns are visible by default when the table is described.
E. Setting the session valid time using DBMS_FLASHBACK_ARCHIVE.ENABLE_AT_VALID_TIME sets the visibility for
data manipulation language (DML), data definition language (DDL), and queries performed by the session.
CORRECT ANSWER:
A, B, C
EXPLANATION:
A: To implement Temporal Validity(TV), 12c offers the option to have two date columns in that table which is having
TV enabled using the new clause Period For in the Create Table for the newly created tables or in the Alter Table for
the existing ones. The columns that are used can be defined while creating the table itself and will be used in the
Period For clause or you can skip having them in the table’s definition in the case of which, the Period For clause
would be creating them internally.
QUESTION: 20
Which two statements are true when row-archival management is enabled? (Choose two.)
A. Visibility of the ORA_ARCHIVE_STATE column is controlled by the row archival visibility session parameter.
B. The ORA_ARCHIVE_STATE column is updated manually or by a program that can reference activity tracking
columns, to indicate that a row is no longer considered active.
C. The row archival visibility session parameter defaults to all rows.
D. The ORA_ARCHIVE_STATE column is visible if it is referenced in the select list of a query.
E. The ORA_ARCHIVE_STATE column is updated automatically by the database based on activity tracking columns,
to indicate that a row is no longer considered active.
CORRECT ANSWER:
B, D
QUESTION: 21
Which two resources might be prioritized between competing pluggable databases (PDBs) when creating a
multitenant container database (CDB) plan using Oracle Database Resource Manager? (Choose two.)
A. maximum undo per consumer group
B. maximum idle time for a session in a PDB
C. parallel server limit
D. CPU
E. maximum number of sessions for a PDB
CORRECT ANSWER:
C, D
QUESTION: 22
Which three types of failures are detected by the Data Recovery Advisor (DRA)? (Choose three.)
A. loss of a non-critical data file
B. loss of a control file
C. physical data block corruption
D. logical data block corruption
E. loss of an archived redo log
CORRECT ANSWERS:
B, C, E
EXPLANATION:
http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmrepai.htm#BRADV89728
QUESTION: 23
You want to capture column group usage and gather extended statistics for better cardinality estimates for the
customers table in the SH schema.
Examine the following steps:
1. Issue the SELECTDBMS_STATS. CREATE_EXTENDED_STATS (‘SH’, 'CUSTOMERS') from dual statement.
2. Execute the dbms_stats.seed_col_usage (null, ‘SH’, 500) procedure.
3. Execute the required queries on the customers table.
4. Issue the select dbms_stats.reportwcol_usage (‘SH’, 'customers') from dual statement. Identify the correct
sequence of steps.
A. 3, 2, 1, 4
B. 2, 3, 4, 1
C. 4, 1, 3, 2
D. 3, 2, 4, 1
CORRECT ANSWER:
B
EXPLANATION:
Step 1 (2). Seed column usage Oracle must observe a representative workload, in order to determine the
appropriate column groups. Using the new procedure DBMS_STATS.SEED_COL_USAGE, you tell Oracle how long it
should observe the workload.
Step 2: (3) You don't need to execute all of the queries in your work during this window. You can simply run explain
plan for some of your longer running queries to ensure column group information is recorded for these queries.
Step 3. (1) Create the column groups At this point you can get Oracle to automatically create the column groups for
each of the tables based on the usage information captured during the monitoring window. You simply have to call
the DBMS_STATS.CREATE_EXTENDED_STATS function for each table.This function requires just two arguments, the
schema name and the table name. From then on, statistics will be maintained for each column group whenever
statistics are gathered on the table.
Note:
* DBMS_STATS.REPORT_COL_USAGE reports column usage information and records all the SQL operations the
database has processed for a given object.
* The Oracle SQL optimizer has always been ignorant of the implied relationships between data columns within the
same table. While the optimizer has traditionally analyzed the distribution of values within a column, he does not
collect value-based relationships between columns.
* Creating extended statistics Here are the steps to create extended statistics for related table columns
withdbms_stats.created_extended_stats:
1 - The first step is to create column histograms for the related columns.
2 – Next, we run dbms_stats.create_extended_stats to relate the columns together. Unlike a traditional procedure
that is invoked via an execute ("exec”) statement, Oracle extended statistics
are created via a select statement.
QUESTION: 24
Examine the initialization parameter that is set in the PFILE:
DB_CREATE_FILE_DEST ='/u01/app/oracle/oradata/'
You execute the following command to create CDB1 container database (CDB):
SQL> CREATE DATABASE CDB1 DEFAULT TABLESPACE users DEFAULT TEMPORARY TABLESPACE
temp UNDO TABLESPACE Undotbsl ENABLE PLUGGABLE DATABASE SEED SYSTEM DATAFILES
SIZE 125M AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED SYSAUX DATAFILES SIZE 100M;
QUESTION: 25
Examine the steps to configure Oracle Secure Backup (OSB) for use with RMAN:
1. Create media families for data files and archived redo log files.
2. Configure database backup storage selectors or RMAN media management parameters.
3. Create an OSB user preauthorized for RMAN operations.
4. Configure RMAN Access to the OSB SBT.
5. Disable Non-Uniform Memory Access (NUMA) awareness by setting the ob_ignore_numa parameter to 0.
Identify the steps in the correct order.
A. 1, 4, 3, 2, 5
B. 1, 3, 4, 5, 2
C. 4, 3, 1, 2, 5
D. 4, 3, 5, 1, 2
CORRECT ANSWER:
C
QUESTION: 26
Examine the RMAN command:
RMAN> SET ENCRYPTION IDENTIFIED BY <password> ON FOR ALL TABLESPACES;
RMAN> BACKUP DATABASE PLUS ARCHIVELOG;
Which type of encryption is used for the backup performed by using this command?
A. password-mode encryption
B. dual-mode encryption
C. transparent encryption
D. default encryption
CORRECT ANSWER:
A
EXPLANATION:
http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmbckad.htm#CEGEJABH
(to make password–encrypted backups)
QUESTION: 27
The following parameters 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_EVOVLE_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.
A. 2, 4, 5
B. 2, 1, 4, 3, 5
C. 1, 2, 3, 4, 5
D. 1, 2, 4, 5
CORRECT ANSWER:
B
QUESTION: 28
You created a database with DBCA by using one of the Oracle supplied templates.
Which is the default permanent tablespace for all users except DBSNMP and OUTLN?
A. USERS
B. SYSTEM
C. SYSAUX
D. EXAMPLE
CORRECT ANSWER:
B
QUESTION: 29
Your database is running in archivelog mode. Examine the parameters for your database instance:
LOG_ARCHIVE_DEST_l ='LOCATION=/disk1/arch MANDATORY'
LOG_ARCHIVE_DEST_2 ='LOCATION=/disk2/arch'
LOG_ARCHIVE_DEST_3 ='LOCATIO=/disk3/arch'
LOG_ARCHIVE_DEST _4 ='LOCATIONs/disk4/arch'
LOG_ARCHIVE _MIN_SUCCEED_DEST = 2
While the database is open, you notice that the destination set by the log_archive_dest_1 parameter is not
available. All redo log groups have been used.
What happens at the next log switch?
A. The database instance hangs and the redo log files are not overwritten.
B. The archived redo log files are written to the fast recovery area until the mandatory destination is made available.
C. The database instance is shutdown immediately.
D. The destination set by the LOG_ARCHIVE_DEST_1 parameter is ignored and the archived redo log files are
created in the next two available locations to guarantee archive log success.
CORRECT ANSWER:
D
QUESTION: 30
Identify three scenarios in which RMAN will use backup sets to perform active database duplication. (Choose three.)
A. when the duplicate ... from active database command contains the section size clause
B. when you perform active database duplication on a database with flashback disabled
C. when you specify set encryption before the duplicate ... from active database command
D. when the number of auxiliary channels allocated is equal to or greater than the number of target channels
E. when you perform active database duplication on a database that has read-only tablespaces
CORRECT ANSWER:
A, C, D
EXPLANATION:
http://docs.oracle.com/database/121/BRADV/rcmdupdb.htm#BRADV298
QUESTION: 31
Which two statements are true about recovering logically corrupted tables or table partitions from an RMAN
backup? (Choose two.)
A. Tables or table partitions can be recovered by using an auxiliary instance only.
B. Tables or table partitions with a foreign key cannot be recovered.
C. Tables or table partitions can be recovered only when the database is in mount state.
D. Tables or table partitions from the system and sysaux tablespaces cannot be recovered.
E. Tables with not null constraints cannot be recovered.
CORRECT ANSWER:
A, D
Explanation:
http://docs.oracle.com/database/121/BRADV/rcmresind.htm#BRADV695
(Limitations of Recovering Tables and Table Partitions from RMAN Backups)
QUESTION: 32
Your database is running in archivelog mode and a nightly backup of the database, along with an autobackup of the
control file, is taken by using RMAN. Because of a media failure, the SPFILE and the control files are lost.
Examine the steps to restore the SPFILE and the control file to mount the database:
1. Set DBID of the target database in RMAN.
2. Start the database instance by using the startup force nomount command in RMAN.
3. Restore the control files from the backup.
4. Mount the database.
5. Restore the SPFILE from the autobackup.
6. Create a PFILE from the recovered SPFILE.
7. Restart the instance in nomount state.
Identify the required steps in the correct order.
A. 1, 2, 5, 3, 6, 4
B. 1, 2, 3, 5, 6, 4
C. 2, 1, 5, 7, 3, 4
D. 2, 1, 5, 6, 7, 4, 3
CORRECT ANSWER:
C
QUESTION: 33
After implementing full Oracle Data Redaction, you change the default value for the number data type asfollows:
SQL> SELECT NUMBER_VALUE FROM REDACTION_VALUES_FOR_TYPE_FULL;
NUMBER_VALUE
-------------------------
0
SQL> EXEC DBMS_REDACT.UPDATE_FULL_REDACTI0N_VALUES(-1)
PL/SQL procedure successfully completed.
SQL> select number_value from redaction_values_for_type_full;
NUMBER VALUE
------------------------
-1
After changing the value, you notice that FULL redaction continues to redact numeric data with a zero.
What must you do to activate the new default value for numeric full redaction?
A. Re-enable redaction policies that use FULL data redaction.
B. Re-create redaction policies that use FULL data redaction.
C. Re-connect the sessions that access objects with redaction policies defined on them.
D. Flush the shared pool.
E. Restart the database instance.
CORRECT ANSWER:
E
EXPLANATION:
About Altering the Default Full Data Redaction Value
You can alter the default displayed values for full Data Redaction polices. By default, 0 is the redacted value when
Oracle Database performs full redaction (DBMS_REDACT.FULL) on a column of the NUMBER data type. If you want
to change it to another value (for example, 7), then you can run the
DBMS_REDACT.UPDATE_FULL_REDACTION_VALUES procedure to modify this value. The modification applies to all
of the Data Redaction policies in the current database instance. After you modify a value, you must restart the
database for it to take effect.
QUESTION: 34
Your database has a table CUSTOMERS that contains the columns CUST_NAME, AMT_DUE, and OLD_STATUS.
Examine the commands executed and their output:
Why is it that only one update is listed by the Flashback Version Query?
A. Supplemental logging is not enabled for the database.
B. The undo data that existed for versions of rows before the change to the table structure is invalidated.
C. The DB_FLASHBACK_RETENTION_TARGET parameter is set to a lower value and the undo data
pertaining to the first transaction is flushed out.
D. Undo retention guarantee is not enabled.
E. Flashback Data Archive is full after the first update statement.
CORRECT ANSWER:
B
QUESTION: 35
Which two methods can be used to add an Oracle 11g database to a multitenant container database (CDB)
as a pluggable database (PDB)? (Choose two.)
A. Use the DBMS_PDB package to plug the Oracle 11g database into the existing CDB as a PDB.
B. Use the CREATE DATABASE ... ENABLE PLUGGABLE DATABASE statement to create a PDB by
copying data files from PDB$SEED and use data pump to load data from the Oracle 11g database into
the newly created PDB.
C. Pre-create a PDB in CDB and use data pump to load data from the complete database export of the
Oracle 11g database into the newly created PDB.
D. Pre-create a PDB in CDB and use the NETWORK_LINK and PARALLEL parameters with data pump
import to import data from the Oracle 11g database to the newly created PDB.
E. Upgrade the Oracle 11g database to a 12c non-CDB and use the DBMS_PDB.DESCRIBE procedure to
plug the database as a new PDB into the CDB.
CORRECT ANSWER:
D, E
QUESTION: 36
In which three scenarios is media recovery required? (Choose three.)
A. when a tablespace is accidentally dropped from a database
B. when archived redo log files are lost
C. when data files are lost
D. when one of the online redo log members is corrupted
E. when all control files are lost
CORRECT ANSWER:
A, C, E
EXPLANATION:
http://docs.oracle.com/cd/A87860_01/doc/server.817/a76993/recoscen.htm
QUESTION: 37
In the SPFILE, UNDO TABLESPACE is Set to UNDOTBS. You rename the undotbs undo tablespace:
ALTER TABLESPACE undotbs RENAME TO undotbs_old;
Which statement is true?
A. The tablespace will be renamed but the data file headers will not be updated.
B. The statement will fail because you cannot rename an undo tablespace.
C. The tablespace will be renamed and all the changes will be logged in the alert log.
D. The tablespace will be renamed and a message written to the alert log indicating that you should change the
corresponding initialization parameter.
E. You must set the undo_tablespace parameter to some other tablespace name before renaming undotbs.
CORRECT ANSWER:
C
QUESTION: 38
Which two statements are true about dropping a pluggable database (PDB)? (Choose two.)
A. A PDB must be in MOUNT state or it must be unplugged.
B. The data files associated with a PDB are automatically removed from disk.
C. A dropped and unplugged PDB can be plugged back into the same multitenant container database (CDB) or other
CDBs.
D. A PDB must be in closed state.
E. The backups associated with a PDB are removed.
F. A PDB must have been opened at least once after creation.
CORRECT ANSWER:
A, C
EXPLANATION:
Unplugging a PDB The following prerequisites must be met:
The current user must have SYSDBA or SYSOPER administrative privilege, and the privilege must be
either commonly granted or locally granted in the PDB. The user must exercise the privilege using AS
SYSDBA or AS SYSOPER at connect time.
The PDB must have been opened at least once.
The PDB must be closed. In an Oracle Real Application Clusters (Oracle RAC) environment, the PDB must
be closed on all instances.
Dropping a PDB
The DROP PLUGGABLE DATABASE statement drops a PDB. You can drop a PDB when you want to
move the PDB from one CDB to another or when you no longer need the PDB. – THIS MAKES C
CORRECT.
When you drop a PDB, the control file of the CDB is modified to eliminate all references to the dropped
PDB. Archived redo log files and backups associated with the PDB are not removed, but you can use
Oracle Recovery Manager (RMAN) to remove them.
When dropping a PDB, you can either keep or delete the PDB’s data files by using one of the following
clauses:
KEEP DATAFILES, the default, retains the data files.
The PDB’s temp file is removed even when KEEP DATAFILES is specified because the temp file is no
longer needed.
INCLUDING DATAFILES removes the data files from disk.
If a PDB was created with the SNAPSHOT COPY clause, then you must specify INCLUDING DATAFILES
when you drop the PDB.
The following prerequisites must be met:
The PDB must be in mounted mode, or it must be unplugged.
QUESTION: 39
On your Oracle 12c database, you invoke SQL*Loader to load data into the employees table in the hr
schema by issuing the command:
SQL> sqlldrhr/hr@pdb table=employees
Which two statements are true about the command? (Choose two.)
A. It succeeds with default settings if the employees table exists in the hr schema.
B. It fails because no SQL*Loader data file location is specified.
C. It fails if the hr user does not have the create any directory privilege.
D. It fails because no SQL*Loader control file location is specified.
E. It succeeds and creates the employees table in the HR schema.
CORRECT ANSWER:
A, D
QUESTION: 40
Which three RMAN persistent settings can be set for a database? (Choose three.)
A. backup retention policy
B. default backup device type
C. default section size for backups
D. default destinations for backups
E. multiple backup device types for a single backup
CORRECT ANSWER:
A, B, D
EXPLANATION:
http://docs.oracle.com/cd/B19306_01/backup.102/b14192/setup004.htm#i1019739
QUESTION: 41
Your production database is running in archivelog mode. You use RMAN with a recovery catalog to back up
your database to media and the database is uniquely identified in the recovery catalog.
You want to create a test database from the production database and allow the production database to
remain open during the duplicate process. You restore the database backups to a new host with the same
directory structure as the production database and want to use the recovery catalog for future backups after the
database is successfully restored to the new host.
How would you achieve this?
A. by using the RMAN SWITCH command to set the new location for the data files
B. by using the RMAN DUPLICATE command with NOFILENAMECHECK to recover the database to the new host
C. by using the RMAN DUPLICATE command with DBID and SET NEWNAME FOR TABLESPACE to recover the database
to the new host
D. by creating a new database in the new host, and then using the RMAN RECOVER command
CORRECT ANSWER:
B
QUESTION: 42
Identify two scenarios in which the RMAN crosscheck command can be used. (Choose two.)
A. when checking for backups that are not required as per the retention policy
B. when updating the RMAN repository if any of the archived redo log files have been deleted without using RMAN
to do the deletes
C. when updating outdated information about backups that disappeared from disk or media or became
corrupted and inaccessible
D. when synchronizing backups, which were not performed by using RMAN, with the RMAN repository
E. when listing backups that are required for recovery operations
CORRECT ANSWER:
B, E
QUESTION: 43
A database is running in archivelog mode. You want to back up a 10 TB data file belonging to the users
tablespace. The backup of the data file is too slow.
What type of backup do you recommend to improve the performance of the backup?
A. image copy backup by using RMAN
B. multisection image copy backup by using RMAN
C. multisection parallel backup by using RMAN
D. cold backup after taking the tablespace offline
E. cold backup after placing the tablespace in backup mode
CORRECT ANSWER:
C
QUESTION: 44
Automatic Undo Management is enabled for your database. You want a user to retrieve metadata and
historical data for a given transaction or for transactions in a given time interval.
Which three are prerequisites to fulfill this requirement? (Choose three.)
A. Minimal supplemental logging must be enabled.
B. The database must be running in archivelog mode.
C. Flashback Data Archive must be created and the flashback archive administer system privilege must be
granted to the user.
D. The flashback any table privilege must be granted to the user.
E. The select any transaction privilege must be granted to the user.
F. The recycle bin parameter must be set to on.
CORRECT ANSWER:
A, B, E
QUESTION: 45
Examine these Data Pump commands to export and import objects from and to the same database.
The dba has not yet created users hr1 and oe1.
$expdp system/manager
schemas = hr.oe
directory = EXP_DIR
dumpfile = export.dat
include = table
$impdp system/manager
schemas = hr1,oe1
directory = EXP_DIR
dumpfile = export.dat
remap_schena = hr:hrl,oe:oe1
What will happen when running these commands?
A. expdp will fail because no path has been defined for the dumpfile.
B. expdp will succeed but impdp will fail because the users do not exist.
C. inpdp will create two users called hr1 and oe1 and import all objects to the new schemas.
D. impdp will create two users called hr1 and oe1 and import only the tables owned by hr and oe schemas to ht1 and
oe1 schemas, respectively.
CORRECT ANSWER:
B
QUESTION: 46
Which two statements are true about a multitenant architecture? (Choose two.)
A. Each pluggable database (PDB) has its own initialization parameter file.
B. A PDB can have a private undo tablespace.
C. Log switches occur only at the container database level.
D. A PDB can have a private temporary tablespace.
E. Each PDB has a private control file.
CORRECT ANSWER:
C, D
QUESTION: 47
Which three tasks can be automatically performed by the Automatic Data Optimization feature of
Information Lifecycle Management (ILM)? (Choose three.)
A. tracking the most recent read time for a table segment in a user tablespace
B. tracking the most recent write time for a table segment in a user tablespace
C. tracking insert time by row for table rows
D. tracking the most recent write time for each block in a table segment
E. tracking the most recent read time for a table segment in the sysaux tablespace
F. tracking the most recent write time for a table segment in the sysaux tablespace
CORRECT ANSWER:
A, B, D
QUESTION: 49
Examine the steps/operations performed during the RMAN backup operation by using Oracle Secure
Backup (OSB):
1. Start the RMAN client by using the RMAN target / command.
2. Start the RMAN client by using the OSB user.
3. RMAN creates the backup pieces.
4. Run the RMAN backup command with the sbt channels.
5. OSB creates a backup job and assigns a unique identifier.
6. OSB creates a backup job request through the OSB sbt library.
7. OSB stores metadata about RMAN backup pieces in the OSB catalog.
8. OSB starts the backup operation.
9. OSB updates the RMAN catalog.