Summer Sale - Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dpt65

1z0-067 Questions and Answers

Note! Following 1z0-067 Exam is Retired now. Please select the alternative replacement for your Exam Certification.

1z0-067 Questions and Answers

Question # 6

You use RMAN with a recovery catalog to back up your database. The backups and the archived redo log files are backed up to media daily. Because of a media failure, the entire database along with the recovery catalog database is lost.

Examine the steps required to recover the database:

1.Restore an autobackup of the server parameter file.

2.Restore the control file.

3. Start up the database instance in nomount state.

4.Mount the database.

5.Restore the data files.

6.Open the database with the resetlogs option.

7.Recover the data files.

8.Set DBID for the database.

Identify the required steps in the correct order.

A.

1, 8, 3, 2, 4, 5, 7, 6

B.

8, 1, 3, 2, 4, 5, 7, 6

C.

1, 3, 2, 4, 8, 5, 6, 7

D.

8, 3, 2, 4, 5, 7, 6

E.

8, 1, 3, 2, 4, 5, 6

Full Access
Question # 7

Evaluate these statements:

CREATE TABLE purchase_orders

(po_idNUMBER(4),

po_dateTIMESTAMP,

supplier_idNUM8ER(6),

po_totalNUMBER(8,2), CONSTRAINT order_pk PRIMARY KEY(po_id))

PARTITIONBYRANGE(po_date)

(PARTITIONQ1 VALUESLESSTHAN (TO_DATE('01-apr-2007','dd-mon-yyyy')), PARTITIONQ2VALUESLESSTHAN(TO_DATE('01-jul-2007','dd-mon-yyyy')), PARTITIONQ3VALUESLESSTHAN (TO~DATE('01-oct-2007','dd-non-yyyy')), PARTITIONQ4VALUESLESSTHAN (TO_DATE('Ol-jan-2008','dd-non-yyyy' )));

CREATETABLEpurchase_order_items

(po_idNUM3ER(4)NOTNULL,

product_idNUMBER(6)NOTNULL,

unit_prlceNUMBER(8,2),

quantity NUMBER(8),

CONSTRAINTpo_items_f k

FOREIGNKEY(po_id)REFERENCESpurchase_orders(po_id) )

PARTITIONBYREFERENCE(po_items_fk);

Which two statements are true?

A.

Partitions of purchase_order_items are assigned unique names based on a sequence.

B.

The purchase_orders and purchase_order_items tables are created with four partitioneach.

C.

purchase_order_items table partitions exist in the same tablespaces as the purchase_orders table partitions.

D.

The purckase_order_:teks table inherits the partitioning key by duplicating the key columns from the parent table.

E.

Partition maintenance operations on the purchase_order_items table require disabling the foreign key constraint.

Full Access
Question # 8

You want to prevent a group of users in your database from performing long-running transactions that consume huge amounts of space in the undo tablespace. If the quota for these users is exceed during execution of a data manipulation language (DML) statement, the operation should abort and return an error. However, queries should still be allowed, even if users have exceeded the undo space limitation.

How would you achieve this?

A.

Implement a Database Resource Manager plan

B.

Implement a profile for these users

C.

Decrease the number of Interested Transaction List (ITL) slots for the segments on which these users perform transactions

D.

Specify the maximum amount of quota a user can be allocated in the undo tablespace

Full Access
Question # 9

Which two statements are true about tablespaces in multitenant container databases (CDBs)?

A.

Default permanent tablespaces can be shared across pluggable databases (PDBs).

B.

The current container must be set to root to create or modify the default temporary tablespace or tablespace group for a CDB.

C.

Each PDB can have its own default temporary tablespace.

D.

The default permanent tablespace for a PDB can be changed only by a local user with the required permissions.

E.

The amount of space that each PDB can use in a shared temporary tablespace must be set at the CDB level.

Full Access
Question # 10

You install "Oracle Grid Infrastructure for a standalone server" on a host on which the orcl1 and orcl2 databases both have their instances running.

Which two statements are true?

A.

Both orcl1 and orcl2 are automatically added to the Oracle Restart configuration.

B.

All database listeners running from the database home are automatically added to the Oracle Restart configuration.

C.

The srvct1 add database command must be used to add orcl1 and orcl2 to the Oracle Restart configuration.

D.

The crsct1 start has command must be used to start software services for Oracle Automatic Storage Management (ASM) after the "Oracle Grid Infrastructure for a standalone server" installation is complete.

E.

All databases subsequently created by using the Database Configuration Assistant (DBCA) are automatically added to the Oracle Restart configuration.

Full Access
Question # 11

Before a Flashback Table operation, you execute the following command:

ALTER TABLE employees ENABLE ROW MOVEMENT;

Why would you need this to be executed?

A.

Because row IDs may change during the flashback operation

B.

Because the object number changes after the flashback operation

C.

Because the rows are retrieved from the recycle bin during the flashback operation

D.

Because the table is moved forward and back to a temporary during the flashback operation

Full Access
Question # 12

Examine the statements that use flashback technologies:

1. FLASHBACK TABLE customers TO TIMESTAMP TO_TIMESTAMP (‘2013-02-04 09:30:00’, ‘YYYY-MM-DD HH:MI:SS’);

2. SELECT * FROM customers AS OF SCN 123456;

3. FLASHBACK TABLE customers TO BEFORE DROP;

4. FLASHBACK DATABASE TO TIMESTAMP TO_TIMESTAMP (‘2013-02-04 09:30:00’, ‘YYYY-MM-DD HH:MI:SS’);

5. SELECT * FROM customers VERSIONS BETWEEN SCN 123456 AND 123999;

6. ALTER TABLE customers FLASHBACK ARCHIVE;

Which set of statements depends on the availability of relevant undo data in the undo tablespace? (Choose the best answer.)

A.

1, 2, 5

B.

1, 3, 6

C.

2, 3, 5, 6

D.

3, 4, 5

Full Access
Question # 13

After implementing full Oracle Data Redaction, you change the default value for the number data type as follows:

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.

Full Access
Question # 14

For which two requirements would you use the Database Resource Manager?

A.

limiting the CPU used per database call

B.

specifying the maximum number of concurrent sessions allowed for a user

C.

specifying the amount of private space a session can allocate in the shared pool of the SGA

D.

limiting the degree of parallelism of operations performed by a user or group of users

E.

specifying an idle time limit that applies to sessions that are idle and blocking other sessions

Full Access
Question # 15

Which three statements are true about the database instance startup after an instance failure?

A.

The RECO process recovers the uncommitted transactions at the next instance startup.

B.

Online redo log files and archived redo log files are required to complete the rollback stage of instance recovery.

C.

Uncommitted changes are rolled back to ensure transactional consistency.

D.

The SMON process automatically performs the database recovery.

E.

Media recovery is required to complete the database recovery.

F.

Changes committed before the failure, which were not written to the data files, are re-applied.

Full Access
Question # 16

Which three statements are true about Oracle Secure Backup (OSB)?

A.

It can encrypt client data written to tape.

B.

It can be used to take image copy backups to tape.

C.

It can be used to manage tape backup and restore operations for multiple databases.

D.

It can be used along with an RMAN recovery catalog for maintaining records of backups in a tape library.

E.

It can be used to perform file system backups at the file, directory, file system, or raw partition level.

Full Access
Question # 17

You create a new database by using the CREATE DATABASE command in SQL*Plus, with the ENABLE PLUGGABLE DATABASE clause specified.

Which statement is true about the database that is created? (Choose the best answer.)

A.

It is created as a non-CDB that becomes a CDB after the first PDB is plugged in.

B.

It is created as a container database (CDB) with CDB$ROOT, PDB$SEED, and a pluggable database (PDB).

C.

It is created as a PDB that must be plugged into an existing CDB.

D.

It is created as a CDB with the CDB$ROOT and PDB$SEED databases.

Full Access
Question # 18

In a database supporting an OLTP workload, tables are frequently updated on both key and non-keycolumns.

Reports are also generated by joining multiple tables.

Which table organization or type would provide the best performance for this hybrid workload?

A.

heap table with a primary key index

B.

external table

C.

hash clustered table

D.

global temporary table

E.

index clustered table

Full Access
Question # 19

You execute the RMAN commands:

RMAN> BACKUP VALIDATE DATABASE;

RMAN> RECOVER CORRUPTION LIST;

Which task is performed by these commands?

A.

Corrupted blocks, if any, are repaired in the backup created.

B.

Only those data files that have corrupted blocks are backed up.

C.

Corrupted blocks in the data files are checked and repaired before performing the database backup.

D.

The database is checked for physically corrupt blocks and any corrupted blocks are repaired.

Full Access
Question # 20

Which three requirements must be met before a tablespace can be transported across different platforms?

A.

Both the source and target databases must use the same character set.

B.

The platforms of both the source and target databases must have the same endian format.

C.

The compatible parameter value must be the same in the source and target databases.

D.

The minimum compatibility level for both the source and target databases must be 10.0.0.

E.

The tablespace to be transported must be in read-only mode.

Full Access
Question # 21

Examine the RMAN commands executed in your database:

RMAN>CONFIGURE DEFAULT DEVICE TYPE TO disk;

RMAN>CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO BACKUPSET;

RKAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;

You issue the command:

RMAN> BACKUP DATABASE;

Which two statements are true about the command?

A.

It performs a log switch.

B.

It creates compressed backup sets by using binary compression by default.

C.

It backs up only the used blocks in data files.

D.

It backs up data files, the control file, and the server parameter file.

E.

It creates a backup of only the control file whenever the database undergoes a structural change.

Full Access
Question # 22

Which statement is true regarding the creation of nested plans using the Oracle Resource Manager?

A.

Only one nested subplan is allowed per parent plan

B.

The plans can be nested up to four levels.

C.

Nested plans only control resources used by recursive SQL

D.

Nested plans control only the degree of parallelism and I/O requests

E.

Each nested plan gets a proportion of the CPU resources assigned to its parent group.

Full Access
Question # 23

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.

NAME TYPE VALUE

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

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?

A.

It is set to/u01/app/oracle/product:/12.1.0/db_1/log.

B.

It is set to /u01/app/oracle/admin/en12.1.0/adump.

C.

It is set to /u01/app/oracle.

D.

It is set to /u01/app/oracle/flash_recovery_area.

Full Access
Question # 24

In which three situations must you use a recovery catalog? (Choose three.)

A.

when you want to store RMAN global scripts that can be used across multiple databases

B.

when you want to list data files that were in a target database at a given time by using the AT clause with the REPORT SCHEMA command

C.

when you want to restrict the amount of space used by backups

D.

when you want to maintain backup metadata longer than the period specified by the CONTROL_FILE_RECORD_KEEP_TIME parameter

E.

when you want to perform incremental backups by using a block change tracking file

Full Access
Question # 25

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.

Identify the required steps in the correct order.

A.

1, 4, 3

B.

1, 2

C.

1, 4, 3, 2

D.

1, 2, 4

Full Access
Question # 26

A telecom company wishes to generate monthly bills to include details of customer calls, listed in order of time of call.

Which table organization allows for generating the bills with minimum degree of row sorting?

A.

a hash cluster

B.

an index cluster

C.

a partitioned table

D.

a sorted hash cluster

E.

a heap table with a rowid column

Full Access
Question # 27

Your multitenant container database (CDB) CDB1 has two pluggable databases, PDB1 and PDB2. The local net service name CDB1 connects to the root database, and the service names PDB1 and PDB2 connect to the pluggable databases (PDBs), PDB1 and PDB2, respectively.

Examine the commands to change the value of the PDB modifiable initialization parameter:

$> sqlplus sys/oracle_4U@pdb1 AS SYSDBA

SQL> ALTER SYSTEM SET optimizer_use_sql_plan_baselines=FALSE SCOPE=BOTH;

SQL> CONN sys/oracle_4U@pdb2 AS SYSDBA

SQL> ALTER SYSTEM SET optimizer_use_sql_plan_baselines=TRUE SCOPE=BOTH;

SQL> CONN sys/oracle_4U@pdb1 AS SYSDBA

SQL> ALTER SYSTEM SET optimizer_use_sql_plan_baselines=TRUE SCOPE=BOTH;

Which statement is true about the OPTIMIZER_USER_SQL_PLAN_BASELINES parameter? (Choose the best answer.)

A.

It gives an error because it cannot be set for the root database.

B.

It is set to TRUE for the root database and the pluggable database PDB2, because values can be set for this parameter at the PDB level in a PDB.

C.

It is set to TRUE for the root database and all the PDBs, because the value set at the root level has higher precedence.

D.

It is set to TRUE for the root database and all the PDBs, but is effective only when CDB is restarted and the PDBs are reopened.

Full Access
Question # 28

As part of a manual update process, you install Oracle Database 12c software, prepare a new ORACLE_HOME, you shut down an existing single-instance database that runs from that ORACLE_HOME.

What should you do next to start the upgrade of this database?

A.

Start up the database instance by using the STARTUP UPGRADE command by using the server parameter file.

B.

Start up the database instance by using the new location of the server parameter file and run the catupgrd.sql script from the new ORACLE_HOME to use parallel upgrade options that reduce down time.

C.

Start up the database instance by using the new location of the server parameter file and run the catctl.pl script from the new ORACLE_HOME to use parallel upgrade options that reduce down time.

D.

Start up the database instance by using the new location of the server parameter file and run the catuppst.sql script to generate informational messages and log files during the upgrade.

Full Access
Question # 29

RMAN is configured to create backupset backups for your database. You issue the command to back up the database:

RMAN> BACKUP DATABASE PLUS ARCHIVELOG DELETE INPUT;

Which two statements are true about the backup performed by the command? (Choose two.)

A.

It backs up all the data files and deletes obsolete backups after the backup is complete

B.

It backs up all the archived log files and deletes the ones that were just backed up

C.

Only the used blocks in the data files are backed up

D.

It backs up all archived redo log files and online log files and deletes the archived log files after the backup is complete

E.

It backs up only those archived log files that are not backed up at least once

Full Access
Question # 30

A database is running in archive log 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.

Full Access
Question # 31

Your database instance is abnormally terminated because of a power outage. At the next startup, from which point in the redo log does the recovery start?

Choose the best answer.

A.

from the most recent incremental checkpoint

B.

from the beginning of the current redo log file to the checkpoint position

C.

from the last committed transaction

D.

from the beginning of the current redo log file until the instance failure

E.

from the last complete checkpoint position

Full Access
Question # 32

Examine the RMAN command:

RMAN> RUN {

ALLOCATE CHANNEL c1 DEVICE TYPE sbt;

ALLOCATE CHANNEL c2 DEVICE TYPE sbt;

ALLOCATE CHANNEL c3 DEVICE TYPE sbt;

BACKUP

INCREMENTAL LEVEL = 0

(DATAFILE 1, 4, 5 CHANNEL c1)

(DATAFILE 2, 3, 9 CHANNEL c2)

(DATAFILE 6, 7, 8 CHANNEL c3)

SQL ‘ALTER SYSTEM ARCHIVE LOG CURRENT’;

}

Which statement is true about the command?

Choose the best answer.

A.

It uses multisection backup.

B.

It uses parallelization for the backup set.

C.

It uses asynchronous I/O for the backup.

D.

It creates compressed backup sets.

Full Access
Question # 33

You want to migrate your Oracle 11g database as a pluggable database (PDB) in a multitenant container database (CDB).

The following are the possible steps to accomplish this task:

1. Place all the user-defined tablespace in read-only mode on the source database.

2. Upgrade the source database to a 12c version.

3. Create a new PDB in the target container database.

4. Perform a full transportable export on the source database with the VERSION parameter set to 12 using the expdp utility.

5. Copy the associated data files and export the dump file to the desired location in the target database.

6. Invoke the Data Pump import utility on the new PDB database as a user with the DATAPUMP_IMP_FULL_DATABASE role and specify the full transportable import options.

7. Synchronize the PDB on the target container database by using the DBMS_PDS.SYNC_ODB function.

Identify the correct order of the required steps.

A.

2, 1, 3, 4, 5, 6

B.

1, 3, 4, 5, 6, 7

C.

1, 4, 3, 5, 6, 7

D.

2, 1, 3, 4, 5, 6, 7

E.

1, 5, 6, 4, 3, 2

Full Access
Question # 34

Which two are direct benefits of the multiprocess, multithreaded architecture of Oracle Database 12c when it is enabled?

A.

Reduced logical I/O

B.

Reduced virtual memory utilization

C.

Improved Serial Execution performance

D.

Reduced physical I/O

E.

Reduced CPU utilization

Full Access
Question # 35

Which three statements are true about Consolidated Database Replay?

A.

The workload capture and replay systems must have the same operating system (OS).

B.

Multiple workload captures from multiple databases can be replayed simultaneously on all pluggable databases (PDBs) in a multitenant container database (CDB).

C.

A subset of the captured workload can be replayed.

D.

The number of captured workloads must be the same as the number of PDBs in a multitenant CDB.

E.

Multiple replay schedules can be defined for a consolidated replay and during replay initialization, you can select from any of the existing replay schedules.

Full Access
Question # 36

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.

A.

2, 1, 3, 7, 6, and 8

B.

2, 1, 4, 5, 3, 7, 6, 9, and 8

C.

2, 1, 3, 7, 6, 9, and 8

D.

2, 1, 3, 5, 7, 6, and 8

Full Access
Question # 37

Which two statements are true about scheduling operations in a pluggable database (PDB)?

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.

Full Access
Question # 38

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.

Full Access
Question # 39

Which two can be backed up by using RMAN in a database that is in ARCHIVELOG mode?

Choose two.

A.

data files while the database is in NOMOUNT state

B.

data blocks in data files that have changed since the previous backup

C.

PFILE and password file in MOUNT state

D.

data files while the database is open

E.

online redo log files while the database is open

Full Access