New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: best70

Note! Oracle has retired the 1z0-067 Exam Contact us through Live Chat or email us for more information.

1z0-067 Upgrade Oracle9i/10g/11g OCA to Oracle Database 12c OCP Questions and Answers

Questions 4

Which three statements are true about the startup and shutdown of multitenant container databases (CDBs) and pluggable databases (PDBs)?

Options:

A.

A PDB opened in restricted mode allows only local users to connect.

B.

When a CDB is open in restricted mode, PDBs must also be opened in restricted mode.

C.

When a CDB is in mount state, PDBs are automatically placed in mount state.

D.

All PDBs must be shut down before shutting down a CDB instance.

E.

When a CDB instance is started, PDBs can be placed in open state by using database triggers or by executing the alter pluggable database command.

Buy Now
Questions 5

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.

Identify the required steps/operations performed in correct order.

Options:

A.

1, 4, 6, 5, 8, 3, 9

B.

1, 6, 4, 5, 8, 3, 9

C.

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

D.

2, 4, 5, 8, 3, 7, 9

Buy Now
Questions 6

Consider the following scenario for your database:

-Backup optimization is enabled in RMAN.

-The recovery window is set to seven days in RMAN.

-The most recent backup to disk for the tools tablespace was taken on March 1, 2015.

-The tools tablespace is read-only since March 2, 2015.

On March 15, 2015, you issue the RMAN command to back up the database via the Media Manager Interface.

Which statement is true about the backup of the tools tablespace?

Options:

A.

The RMAN backup fails because the tools tablespace is read-only.

B.

RMAN skips the backup of the tools tablespace because backup optimization is enabled.

C.

RMAN creates a backup of the tools tablespace because backup optimization is applicable only for the backups written to media.

D.

RMAN creates a backup of the tools tablespace because no backup of the tablespace exists within the seven-day recovery window.

Buy Now
Questions 7

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

Options:

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.

Buy Now
Questions 8

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

Options:

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.

Buy Now
Questions 9

You created a tablespace with this statement:

CREATE BIGFILE TABLESPACE adtbs

DATAFILE '/proddb/data/adtbs.dbf' SIZE 10G;

The tablespace is nearly full and you need to avoid any out of space errors for the load of a 5 gig table.

Which two alter statements will achieve this?

Options:

A.

ALTER TA3LESPACE adtbs RESI2E 20G;

B.

ALTER TA3LESPACE adtbs ADD DATAFILE;

C.

ALTER TABLESPACE adtbs AUTOEXTEND ON;

D.

ALTER TA3LESPACE adtbs ADD DATAFILE '/proddb/data/adtbsl.dbf' SIZE 1QG;

E.

ALTER TA3LESPACE adtbs MODIFY DATAFILE '/proddb/data/adtbs.dbf AUTOEXTEND ON;

Buy Now
Questions 10

You are administering a database that supports a data warehousing workload and is running in noarchivelog mode. You use RMAN to perform a level 0 backup on Sundays and level 1 incremental backups on all the other days of the week.

One of the data files is corrupted and the current online redo log file is lost because of a media failure.

Which action must you take for recovery?

Options:

A.

Restore the data file, recover it by using the recover datafilenoredo command, and use the resetlogs option to open the database.

B.

Restore the control file and all the data files, recover them by using the recover database noredo command, and use the resetlogs option to open the database.

C.

Restore all the data files, recover them by using the recover database command, and open the database.

D.

Restore all the data files, recover them by using the recover database noredo command, and use the resetlogs option to open the database.

Buy Now
Questions 11

Which two are prerequisites for performing Flashback Transaction? (Choose two.)

Options:

A.

Fast Recovery Area must be enabled for the database

B.

The EXECUTE privilege must be granted to a user on the DBMS_FLASHBACK package

C.

Undo retention guarantee must be configured for the database

D.

A supplemental log must be enabled for the primary key

E.

Row movement must be enabled

Buy Now
Questions 12

You are administering a multitenant container database (CDB) cdb1.

Examine the command and its output:

SQL>show parameterfile

NAMETYPEVALUE

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

db_create_file_deststring

db_file_name_convertstring

db_filesinteger200

You verify that sufficient disk space is available and that no file currently exists in the ‘/u0l/app/oracle/oradata/cdb1/salesdb' location.

You plan to create a new pluggable database (PDB) by using the command:

SQL>CREATEPLUGGABLEDATABASESALESPDB

ADMINUSERsalesadmIDENTIFIED 3Y password

ROLES=(dba)

DEFAULTTABLESPACEsales

DATAFILE' /u01/app/oracle/oradata/cdb1/salesdb/sales01 .dbf’SIZE 250M AUTOEXTEND ON

FILE_NAME_CONVERT=(‘/u01/app/oracle/oradata/cdb1/pdbseed/',

'/u01/app/oracle/oradata/cdb1/salesdb/')

STORAGE(MAXSIZE2G)

PATK_PREFIX='/u01/app/oracle/oradata/cdb1/SALESPDB';

Which statement is true?

Options:

A.

SALESPDB is created and is in mount state.

B.

PDB creation fails because the D3_file_name_convert parameter is not set in the CDB.

C.

SALESPDB is created and is in read/write mode.

D.

PDB creation fails because a default temporary tablespace is not defined for SALESPDB.

Buy Now
Questions 13

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 theCDB1. container database (CDB):

SQL>CREATE DATABASE CDB1

DEFAULT TABLESPACE users

DEFAULT TEMPORARY TABLESPACE temp

UNDO TABLESPACE undotbsl

ENABLE PLUGGABLE DATABASE

SEED

SYSTEM DATAFILES SIZE125M AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED

SYS AUX DATAFILES SIZE 100M;

Which three statements are true?

Options:

A.

It creates a multitenant container database with a root and a seed pluggable database (PDB) that are opened in read-write and read-only modes, respectively.

B.

The files created for both the root and seed databases use Oracle Managed Files (OMF).

C.

It creates a multitenant container database with the root and seed databases opened and one PDB mounted.

D.

It sets the users tablespace as the default for both the root and seed databases.

E.

undotbs1 is used as the undo tablespace for both the root and seed databases.

F.

It creates a multitenant container database with the root database opened and the seed database mounted.

Buy Now
Questions 14

Examine the command and its output:

SQL> DROP TABLE EMPLOYEE;

SQL> SELECT object_name AS recycle_name, original_name, type FROM recyclebin;

RECYCLE_NAMEORIGINAL_NAMETYPE

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

binsgk31sj/3akk5hg3j21kl5j3d==$0EMPLOYEE TABLE

You then successfully execute the command:

SQL> FLASHBACK TABLE "BINSgk31sj/3akk5hg3j21kl5j3d==$0" TO BEFORE DROP;

Which two statements are true?

Options:

A.

It flashes back the employee table and all the constraints associated with the table.

B.

It automatically flashes back all the indexes on the employes table.

C.

It automatically flashes back any triggers defined on the table.

D.

It flashes back only the structure of the table and not the data.

E.

It flashes back the data from the recycle bin and the existing data in the original table is permanently lost.

Buy Now
Questions 15

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.)

Options:

A.

1, 2, 5

B.

1, 3, 6

C.

2, 3, 5, 6

D.

3, 4, 5

Buy Now
Questions 16

You execute the command to recover your database.

Which statement is true?

Options:

A.

It restores all data files from the specified time, and then applies the redo logs

B.

It restores all data files, redo log files, and control files, and then applies the redo logs up to the specified time

C.

It restores all data files and control files from the most recent backup taken before the “until time”, and then recovers up to the “until time” using any restored archieve logs that are needed to complete the task

D.

It restores the control file and all data files from the most recent backup, and then applies the redo logs up to the “until time”.

Buy Now
Questions 17

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?

Options:

A.

Create both jobs by using Scheduler raised events.

B.

Create both jobs using application raised events.

C.

Create one job to rebuild indexes using application raised events and another job to perform bulk load using Scheduler raised events.

D.

Create one job to rebuild indexes using Scheduler raised events and another job to perform bulk load by using events raised by the application.

Buy Now
Questions 18

Which three conditions must be true for unused block compression to be used automatically while performing backups by using RMAN?

Options:

A.

The compatible initialization parameter is set to 10.2 or higher.

B.

There are no guaranteed restore points defined for the database.

C.

The default device for the backup must be set to disk.

D.

The tablespaces are locally managed.

E.

The fast recovery area is less than 50 percent free.

Buy Now
Questions 19

You regularly take backups of your database using RMAN with a recovery catalog. Your database is currently open and the temp01.dbf temp file belonging to the TEMP tablespace is corrupted. Identify two methods to recover the temp file with the least disruption to database availability. (Choose two.)

Options:

A.

Restart the database instance to create the temp file automatically

B.

Add a new temp file to the TEMP tablespace with a new name, and then drop the temp files that is corrupted

C.

Take the TEMP tablespace offline, drop the missing temp file, and then create a new temp file

D.

Drop the TEMP tablespace, and then re-create it with new temp files

Buy Now
Questions 20

In your database, the user SCOTT wants to retrieve the dropped HR.EMPLOYEES table by using the command:

SQL> FLASHBACK TABLE HR.EMPLOYEES TO BEFORE DROP;

What are three prerequisites for this command to succeed? (Choose three.)

Options:

A.

The recycle bin should be enabled.

B.

No duplicates of the HR.EMPLOYEES table should exist in the recyclebin of the HR schema.

C.

SCOTT should have the SELECT privilege on the HR schema and its recyclebin.

D.

SCOTT should have the FLASHBACK ANY TABLE privilege.

E.

No other table with the same name should exist in the HR schema.

F.

Undo retention guarantee must be enabled.

Buy Now
Questions 21

Which two statements are true about Flashback Version Query?

Options:

A.

The result of a query can be used as part of a DML statement.

B.

It can be used to create views.

C.

It can be used only if Flashback Data Archive is enabled for a table.

D.

It retrieves all versions of rows that exist in a time interval, including the start time and end time.

E.

It can be used to retrieve the SQL that is required to undo a row change and the user responsible for the change.

Buy Now
Questions 22

Which two are prerequisites for creating a backup-based duplicate database?

Options:

A.

connecting to the target database and a recovery catalog to execute the duplicate command

B.

creating a password file for an auxiliary instance

C.

connecting to an auxiliary instance

D.

matching the database identifier (DBID) of the source database and the duplicate database

E.

creating an SPFILE for the target database

Buy Now
Questions 23

Which three statements correctly describe the relationship amongst jobs, programs, and schedules within the Oracle Job Scheduler?

Options:

A.

A job is specified as part of a program definition.

B.

A program can be used in the definition of multiple jobs.

C.

A program and job can be specified as part of a schedule definition.

D.

A program and schedule can be specified as part of a job definition.

E.

A program and window can be specified as part of a job definition.

Buy Now
Questions 24

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.)

Options:

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.

Buy Now
Questions 25

You are administering a multitenant container database (CDB) CDB1 with two pluggable databases (PDBs), PDB1 and PDB2. You execute the following commands on CBD$ROOT as the SYS user:

SQL> CREATE USER c##scott IDENTIFIED BY scottorcl1;

SQL> GRANT CREATE SESSION TO c##scott;

Which statement is true about the C##SCOTT user?

Choose the best answer.

Options:

A.

It is created in all the PDBs with CREATE SESSION privilege.

B.

It is created in all the PDBs but has CREATE SESSION privilege only in CDB$ROOT.

C.

It is created and has the CREATE SESSION privilege only in a PDB that is open.

D.

It is created only in CDB$ROOT and has the CREATE SESSION privilege.

Buy Now
Questions 26

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.

Options:

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

Buy Now
Questions 27

You want to consolidate databases for the CRM, ERP, and SCM applications by migrating them to pluggable databases (PDBs).

You have already created a test system to support the consolidation of databases in a multitenant container database (CDB) that has multiple PDBs.

What is the easiest way to perform capacity planning for consolidation?

Options:

A.

capturing the most resource-intensive SQL statements in a SQL Tuning Set on the production system and using the SQL Performance Analyzer on the test system

B.

capturing the workload on the production system and replaying the workload for one PDB at a time on the test system

C.

capturing the workload on the production system and using Consolidated Database Replay to replay the workload of all production systems simultaneously for all PDBs

D.

capturing the most resource-intensive SQL statements in a SQL Tuning Set on the production system and using the SQL Tuning Advisor on the test system

Buy Now
Questions 28

Examine the backup requirement for your company:

1) Every Sunday, a backup of all used data file blocks is performed.

2) Every Wednesday and Friday, a backup of all the changed blocks since last Sunday's backup is performed.

3) On all the other days, a backup of only the changed blocks since the last day's backup is performed.

Which backup strategy satisfies the requirements?

Options:

A.

level 0 backup on Sunday, cumulative incremental backup on Wednesday and Friday, and differential incremental level 1 backup on all the other days

B.

level 0 backup on Sunday, differential incremental backup on Wednesday and Friday, and cumulative incremental level 1 backup on all the other days

C.

full database backup on Sunday, level 0 backup on Wednesday and Friday, and cumulative incremental level 1 backup on all the other days

D.

full database backup on Sunday, level 0 backup on Wednesday and Friday, and differential incremental level 1 backup on all the other days

Buy Now
Questions 29

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

Options:

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.

Buy Now
Questions 30

Examine these parameter settings:

SGA_TARGET = 700M

SGA_MAX_SIZE = 1024M

DB_8K_CACHE_SIZE = 124M

LOG_BUFFER = 200M

You attempt this:

SQL> ALTER SYSTEM SER DB_8K_CACHE_SIZE=140M

Which statement is true based on the information available?

Options:

A.

It will fail because DB_8K_CACHE_SIZE cannot be changed dynamically.

B.

It succeeds only if memory is available from the autotuned components of the SGA.

C.

It will fail because an increase in DB_8K_CACHE_SIZE cannot be accommodated within SGA_TARGET.

D.

It will fail because an increase in DB_8K_CACHE_SIZE cannot be accommodated within SGA_MAX_SIZE.

Buy Now
Questions 31

Your multitenant container database (CDB) cdb1, which has no startup triggers and contains multiple pluggable databases (PDBs), is started up by using the command:

SQL>STARTUP

Which two statements are true about the successful execution of the command?

Options:

A.

All redo log files are opened.

B.

The root, the seed, and all the PDBs are opened in read-write mode.

C.

All the PDBs are opened in read-write mode.

D.

All the PDBs are in closed state.

E.

Only the root database is opened in read-write mode.

Buy Now
Questions 32

Automatic Shared Memory Management (ASMm) is enabled for your database instance, but parameters for the managed components are not defined.

You execute this command:

SQL> ALTER SYSTEM SET DB_CACHE_SIZE = 100M;

Which statement is true?

Options:

A.

The minimum size for the standard buffer cache is 100 MB.

B.

The maximum size for the standard buffer cache is 100 MB.

C.

The minimum space guaranteed in the buffer cache for any server process is 100 MB.

D.

The maximum space in the buffer cache that can be released for dynamic distribution is 100 MB.

E.

The minimum size for all buffer caches is 100 MB.

Buy Now
Questions 33

You issue commands in SQL*Plus as the Oracle owner, to enable multithreading for your UNIX-based Oracle 12c database:

CONNECT/AS SYSDBA

ALTER SYSTEMSETTHREADED__EXECUTION= TRUESCOPE=SPFILE;

SHUTDOWNIMMEDIATE

You then restart the instance and get an error:

STARTUP

ORA-01031:insufficientprivileges

Why does the startup command return the error shown?

Options:

A.

because the threaded architecture requires exiting from sql*pIus and reconnecting with sql*PIus / as sysdba before issuing a startup command

B.

because the threaded architecture requires issuing a new connect / as sysdba from within sql*pIus before issuing a startup command

C.

because the threaded architecture requires authentication using a password file before issuing a startup command

D.

because the threaded architecture requires connecting to the instance via a listener before issuing a startup command

E.

because the threaded architecture requires restarting the listener before issuing a startup command

Buy Now
Questions 34

You are administering a multitenant container database (CDB) that contains multiple pluggable databases (PDBs). You are connected to cdb$root as the sys user. You execute the commands:

SQL> CREATE USER C##ADMIN IDENTIFIED BY orcll23;

SQL> CREATE ROLE C##CONNECT;

SQL> GRANT CREATE SESSION, CREATE TABLE, SELECT ANY TABLE TO C##CONNECT;

SQL> GRANT C##CONNECT to C##ADMIN CONTAINER=ALL;

Which statement is true about the c##connect role?

Options:

A.

It is created only in cdb$root and cannot be granted to the c##admin user with the container=all clause.

B.

It is granted to the c##admin user only in the CDB.

C.

It is granted to the c##admin user in all PDBs and can be granted only to a local user in a PDB.

D.

It is granted to the c##admin user in all PDBs and can be granted object and system privileges for a PDB.

Buy Now
Questions 35

LDAP_DIRECTORY_SYSAUTH is set to YES.

Users requiring DBAs access have been granted the sysdba enterprise role in Oracle Internet Directory(OID).

SSL has been configure for the database and OLD and the password file has been configured for the database.

User scott with sysdba privilege tries to connect remotely using this command:

$sqlplusscott/tiger@DB0l As sysdba where DB01 is the net service name.

Which authentication method will be attempted first?

Options:

A.

authentication by password file

B.

authentication by using certificates over SSL

C.

authentication by using the Oracle Internet Directory

D.

authentication by using the local OS of the database server

Buy Now
Questions 36

During the day, your database must support an OLTP workload that requires a large database buffer cache. At night, it must support batch jobs that require a higher value to be set for large pool.

What must you do to allow the memory pools to change size automatically as required? (Choose the best answer.)

Options:

A.

Enable AMM and set the SGA_TARGET initialization parameter to a nonzero value.

B.

Enable AMM and set the PRE_PAGE_SGA initialization to TRUE.

C.

Enable Automatic Memory Management (AMM) and set the PGA_TARGET initialization parameter to a nonzero value.

D.

Enable AMM and set the PGA_TARGET initialization parameter to a nonzero value.

Buy Now
Questions 37

Which three statements are true about the keystore storage framework for transparent data encryption?

Options:

A.

It facilitates and helps to enforce keystore backup requirements.

B.

It handles encrypted data without modifying applications.

C.

It enables a keystore to be stored only in a file on a file system.

D.

It enables separation of duties between the database administrator and the security administrator.

E.

It transparently decrypts data for the database users and applications that access this data.

F.

It helps to track encryption keys and implement requirements such as keystore password rotation and master encryption key reset or re-key operations.

Buy Now
Questions 38

In the SPFILE, UNDO TABLESPACE is Set to UNDO TBS.

You rename the undotbs undo tablespace:

ALTER TABLESPACE undotbs RENAME TO undotbs_old;

Which statement is true?

Options:

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.

Buy Now
Questions 39

Which three statements are true about transportable databases? (Choose three.)

Options:

A.

The transported database must have the same database identifier (DBID) as the source database

B.

Recovery Manager (RMAN) is used to convert the necessary data files of a database if the endian format of the target platform is different

C.

The COMPATIBLE parameter must be set to 10.0.0 or higher and the database must be opened in read-only mode before being transported

D.

Redo logs and control files are also transported

E.

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

Buy Now
Exam Code: 1z0-067
Exam Name: Upgrade Oracle9i/10g/11g OCA to Oracle Database 12c OCP
Last Update: Dec 22, 2024
Questions: 263