Summer Special Flat 65% Limited Time Discount offer - Ends in 0d 00h 00m 00s - Coupon code: suredis

Oracle 1z0-060 Upgrade to Oracle Database 12c Exam Practice Test

Demo: 31 questions
Total 208 questions

Upgrade to Oracle Database 12c Questions and Answers

Question 1

Identify three benefits of Unified Auditing. (Choose three.)

Options:

A.

Decreased use of storage to store audit trail rows in the database.

B.

It improves overall auditing performance.

C.

It guarantees zero-loss auditing.

D.

The audit trail cannot be easily modified because it is read-only.

E.

It automatically audits Recovery Manager (RMAN) events.

Question 2

Which five actions are prerequisites for using extended data types for VARCHAR2, NVARCHAR2, and RAW columns in Oracle Database 12c? (Choose five.)

Options:

A.

Restart the database Instance in RESTRICTED mode.

B.

Run the ut132k.sql script in $ORACLE_HOME/rdbms/admin.

C.

Shut down the database instance.

D.

Restart the database instance in UPGRADE mode.

E.

Restart the instance in normal mode.

F.

Run the Database Migration Assistant.

G.

Set the MAX_STRING_SIZE parameter to EXTENDED.

Question 3

Oracle Data Redaction is active on the SCOTT.EMP table.

You queried the table twice.

SQL> SELECT ENAME, SAL, COMM, MGR, HIREDATE FROM EMP WHERE DEPTNO=30;

SQL> SELECT ENAME, SAL, COMM, MGR, HIREDATE FROM EMP WHERE DEPTNO=30;

Which is guaranteed to be true concerning the redaction policy?

Options:

A.

FULL redaction is active on the SAL column

B.

RANDOM redaction is active on the MGR column

C.

RANDOM redaction is active on the HIREDATE column

D.

PARTIAL redaction is active on the MGR column.

E.

PARTIAL redaction is active of the HIREDATE column.

Question 4

Your multitenant container database (CDB) is running in archivelog mode. Fxamlne this command and its output:

You issue this command in RMAN:

RMAN>BACKUP PLUGGABLE DATABASE "CDBSROOT", pdb2_l;

What is the outcome?

Options:

A.

The backup succeeds and all the data files belonging to both the root container and pdb2_i are backed up.

B.

The backup falls because the root container cannot be backed up with pdb2_i.

C.

The backup succeeds, but only the system and sysaux tablespaces in the root container are backed up along with all the data files in pdb2_i.

D.

The backup fails because pdb2_1 should be placed in the mount stage.

Question 5

In order to exploit some new storage tiers that have been provisioned by a storage administrator, the partitions of a large heap table must be moved to other tablespaces in your Oracle 12c database?

Both local and global partitioned B-tree Indexes are defined on the table.

A high volume of transactions access the table during the day and a medium volume of transactions access it at night and during weekends.

Minimal disruption to availability is required.

Which three statements are true about this requirement? (Choose three.)

Options:

A.

The partitions can be moved online to new tablespaces.

B.

Global indexes must be rebuilt manually after moving the partitions.

C.

The partitions can be compressed in the same tablespaces.

D.

The partitions can be compressed in the new tablespaces.

E.

Local indexes must be rebuilt manually after moving the partitions.

Question 6

The tnsnames.ora file has an entry for the service alias ORCL as follows:

The TNSPING command executes successfully when tested with ORCL; however, from the same OS user session, you are not able to connect to the database instance with the following command:

SQL > CONNECT scott/tiger@orcl

What could be the reason for this?

Options:

A.

The listener is not running on the database node.

B.

The TNS_ADMIN environment variable is set to the wrong value.

C.

The orcl.oracle.com database service is not registered with the listener.

D.

The DEFAULT_DOMAIN parameter is set to the wrong value in the sqlnet.ora file.

E.

The listener is running on a different port.

Question 7

You notice a performance change in your production Oracle database and you want to know which change has made this performance difference.

You generate the Compare Period Automatic Database Diagnostic Monitor (ADDM) report to further investigation.

Which three findings would you get from the report? (Choose three.)

Options:

A.

It detects any configuration change that caused a performance difference in both time periods.

B.

It identifies any workload change that caused a performance difference in both time periods.

C.

It detects the top wait events causing performance degradation.

D.

It shows the resource usage for CPU, memory, and I/O in both time periods.

E.

It shows the difference in the size of memory pools in both time periods.

F.

It gives information about statistics collection in both time periods.

Question 8

You plan to use the Flashback Drop feature to recover the sales_emp table that was dropped in error. No other table with the same name exists in the sh schema, which owns the table. You query the recyclebin and find multiple entries for the salesemp table:

SQL FLASHBACK TABLE sale_emp To BEFORE DROP:

What would be the result?

Options:

A.

It returns an error because the table name in the object_name column is not specified.

B.

It retrieves the least recently dropped version of the table from the recycle bin for which undo is still available.

C.

It retrieves the most recently dropped version of the table.

D.

It retrieves the most recently dropped version of the table from the recycle bin for which undo Is still available.

E.

It retrieves the least recently dropped version of the table.

Question 9

Which three tasks can be automatically performed by the Automatic Data Optimization feature of Information Lifecycle Management (ILM)? (Choose three.)

Options:

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

Question 10

On your Oracle 12c database, you issue the following commands to create indexes:

SQL> CREATE INDEX oe.ord_customer_ix1 ON oe.orders (customer_id, sales_rep_id);

SQL> CREATE BITMAP INDEX oe.ord_customer_ix2 ON oe.orders (customer_id, sales_rep_id);

Which statement is correct?

Options:

A.

Only the ORD_CUSTOMER_IX1 index is created and it is visible.

B.

Both the indexes are created and both of them are visible.

C.

Both the indexes are created; however, only the ORD_CUSTOMER_IX1 index is visible.

D.

Both the indexes are created; however, only the ORD_CUSTOMER_IX2 index is visible.

Question 11

You performed an incremental level 0 backup of a database:

RMAN> BACKUP INCREMENTAL LEVEL 0 DATABASE;

To enable block change tracking after the incremental level 0 backup, you issued this command:

SQL> ALTER DATABASE ENABLE BLOCK CHANGE TRACKING USING FILE '/mydir/rman_change_track.f';

To perform an incremental level 1 cumulative backup, you issued this command:

RMAN> BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE;

Which three statements are true? (Choose three.)

Options:

A.

Block change tracking will sometimes reduce I/O performed during cumulative incremental backups.

B.

The change tracking file must always be backed up when you perform a full database backup.

C.

Block change tracking will always reduce I/O performed during cumulative incremental backups.

D.

More than one database block may be read by an incremental backup for a change made to a single block.

E.

The incremental level 1 backup that immediately follows the enabling of block change tracking will not read the change tracking file to discover changed blocks.

Question 12

You are administering a database stored in Automatic Storage management (ASM). The files are stored in the DATA disk group. You execute the following command:

What is the result?

Options:

A.

The file ‘+data.231.45678’ is physically relocated to ‘+data/prod’ and renamed as ‘myfile.dbf’.

B.

The file ‘+data.231.45678’ is renamed as ‘myfile.dbf’, and copied to ‘+data/prod’.

C.

The file ‘+data.231.45678’ remains in the same location and a synonym 'myfile.dbf' is created.

D.

The file ‘myfile.dbf’ is created in ‘+data/prod’ and the reference to ‘+data.231.45678’ in the data dictionary removed.

Question 13

Which two statements are true about Oracle Managed Files (OMF)? (Choose two.)

Options:

A.

OMF cannot be used in a database that already has data files created with user-specified directions.

B.

The file system directions that are specified by OMF parameters are created automatically.

C.

OMF can be used with ASM disk groups, as well as with raw devices, for better file management.

D.

OMF automatically creates unique file names for table spaces and control files.

E.

OMF may affect the location of the redo log files and archived log files.

Question 14

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:

Which three statements are true concerning the use of the Valid Time Temporal feature for the EMPLOYEES table? (Choose three.)

Options:

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.

Question 15

You want to flash back a test database by five hours.

You issue this command:

SQL > FLASHBACK DATABASE TO TIMESTAMP (SYSDATE - 5/24);

Which two statements are true about this flashback scenario? (Choose two.)

Options:

A.

The database must have multiplexed redo logs for the flashback to succeed.

B.

The database must be MOUNTED for the flashback to succeed.

C.

The database must use block change tracking for the flashback to succeed.

D.

The database must be opened in restricted mode for the flashback to succeed.

E.

The database must be opened with the RESETLOGS option after the flashback is complete.

F.

The database must be opened in read-only mode to check if the database has been flashed back to the correct SCN.

Question 16

What is the result of executing a TRUNCATE TABLE command on a table, in a non-CDB database, that has Flashback Archiving enabled?

Options:

A.

It fails with the ORA-665610 Invalid DDL statement on history-tracked message

B.

The rows in the table and the archive are truncated, and flashback archiving is disabled.

C.

The rows in the table are truncated without being archived.

D.

The rows in the table are archived, and then truncated.

E.

The rows in both the table and the archive are truncated.

Question 17

Examine the query and its output executed In an RDBMS Instance:

Which three statements are true about the users (other than sys) in the output? (Choose three.)

Options:

A.

The C # # B_ADMIN user can perform all backup and recovery operations using RMAN only.

B.

B. The C # # C_ADMIN user can perform the data guard operation with Data Guard Broker.

C.

The C # # A_ADMIN user can perform wallet operations.

D.

The C # # D_ADMIN user can perform backup and recovery operations for Automatic Storage Management (ASM).

E.

The C # # B_ADMIN user can perform all backup and recovery operations using RMAN or SQL* Plus.

Question 18

Which two statements are true about Oracle Data Pump export and import operations? (Choose two.)

Options:

A.

You can detach from a Data Pump export job and reattach later.

B.

Data Pump uses parallel execution server processes to implement parallel import.

C.

Data pump import requires an import file to be in a directory owned by the oracle owner.

D.

Data Pump always automatically uses the direct path method for loading and unloading all types of data.

E.

You can detach from a data pump import job and reattach later.

Question 19

You enabled an audit policy by issuing the following statements:

SQL> AUDIT POLICY ORA_DATABASE_PARAMETER BY SCOTT;

SQL> AUDIT POLICY ORA_DATABASE_PARAMETER BY SYS, SYSTEM;

For which database users and for which executions is the audit policy now active? (Choose two.)

Options:

A.

SCOTT, SYS and SYSTEM

B.

SYS and SYSTEM, but not SCOTT

C.

SCOTT, but not SYS and SYSTEM

D.

Only for successful executions

E.

Only for failed executions

F.

Both successful and failed executions

Question 20

Which three resources might be prioritized between competing pluggable databases when creating a multitenant container database plan (CDB plan) using Oracle Database Resource Manager? (Choose three.)

Options:

A.

Maximum Undo per consumer group

B.

Maximum Idle time

C.

Parallel server limit

D.

CPU

E.

Exadata I/O

F.

Local file system I/O

Question 21

You install a non-RAC Oracle Database. During Installation, the Oracle Universal Installer (OUI) prompts you to enter the path of the Inventory directory and also to specify an operating system group name.

Which statement is true?

Options:

A.

The ORACLE_BASE base parameter is not set.

B.

The installation is being performed by the root user.

C.

The operating system group that is specified should have the root user as its member.

D.

The operating system group that is specified must have permission to write to the inventory directory.

Question 22

You upgrade your Oracle database in a multiprocessor environment. As a recommended best practice, you execute the following script:

SQL > @utlrp.sql

Which two actions does the script perform? (Choose two.)

Options:

A.

Parallel compilation of only the stored PL/SQL code

B.

Sequential recompilation of only the stored PL/SQL code

C.

Parallel recompilation of any stored PL/SQL code

D.

Sequential recompilation of any stored PL/SQL code

E.

Parallel recompilation of Java code

F.

Sequential recompilation of Java code

Question 23

Your database supports a DSS workload that involves the execution of complex queries: Currently, the library cache contains the ideal workload for analysis. You want to analyze some of the queries for an application that are cached in the library cache.

What must you do to receive recommendations about the efficient use of indexes and materialized views to improve query performance?

Options:

A.

Create a SQL Tuning Set (STS) that contains the queries cached in the library cache and run the SQL Tuning Advisor (STA) on the workload captured in the STS.

B.

Run the Automatic Workload Repository (AWR) report.

C.

Create an STS that contains the queries cached in the library cache and run the SQL Performance Analyzer (SPA) on the workload captured in the STS.

D.

Create an STS that contains the queries cached in the library cache and run the SQL Access Advisor on the workload captured in the STS.

E.

Run the Automatic Database Diagnostic Monitor (ADDM).

Question 24

You use RMAN to back up a database which uses Automatic Storage Management (ASM) and you use the MD_BACKUP command to back up the ASM metadata regularly.

You lose an ASM disk group DG1 due to a hardware failure.

In which two ways can you re-create the lost disk group and restore the data? (Choose two.)

Options:

A.

Use RMAN to restore both the metadata and the data.

B.

Use the MKDG command to add a new disk group DG1 with the same or different specifications as those from the lost disk group and use RMAN to restore the data.

C.

Use the MD_RESTORE command to restore both the metadata and data for the failed disk group.

D.

Use the MD_RESTORE command to restore the disk group metadata and use RMAN to restore the data.

Question 25

Which three functions are performed by the SQL Tuning Advisor? (Choose three.)

Options:

A.

Building and implementing SQL profiles

B.

Recommending the optimization of materialized views

C.

Checking query objects for missing and stale statistics

D.

Recommending bitmap, function-based, and B-tree indexes

E.

Recommending the restructuring of SQL queries that are using bad plans

Question 26

On your Oracle 12c database, you invoked SQL*Loader to load data into the EMPLOYEES table in the HR schema by issuing the following command:

$> sqlldr hr/hr@pdb table=employees

Which two statements are true regarding the command? (Choose two.)

Options:

A.

It succeeds with default settings if the EMPLOYEES table belonging to HR is already defined in the database.

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.

Question 27

Which two are prerequisites for performing a flashback transaction? (Choose two.)

Options:

A.

Flashback Database must be enabled.

B.

Undo retention guarantee for the database must be configured.

C.

EXECUTE privilege on the DBMS_FLASHBACK package must be granted to the user flashing back the transaction.

D.

Supplemental logging must be enabled.

E.

Recycle bin must be enabled for the database.

F.

Block change tracking must be enabled for the database.

Question 28

To implement Automatic Management (AMM), you set the following parameters:

When you try to start the database instance with these parameter settings, you receive the following error message:

Identify the reason the instance failed to start.

Options:

A.

The PGA_AGGREGATE_TARGET parameter is set to zero.

B.

The STATISTICS_LEVEL parameter is set to BASIC.

C.

Both the SGA_TARGET and MEMORY_TARGET parameters are set.

D.

The SGA_MAX_SIZE and SGA_TARGET parameter values are not equal.

Question 29

Your multitenant container database (CDB) contains several pluggable databases (PDBs). Users c# #A admin and B_ADMIN have only connect privileges.

You create a common role c##_role1 with common privileges create table and select any table.

You then execute these commands to grant the role to users In the root container:

SQL> GRANT c##_role1 TO c##_a_admin CONTAINER=ALL;

Then,

SQL> CONN sys/oracl««HR_PDB as sysdba

SQL> GRANT C# #_role1 TO b_admin CONTAINER=CURRENT;

Which two statements are true?

Options:

A.

C# #_A_admin can create and select any table, and grant the c##_rolei role to users in the root container.

B.

C# #_A_admin can create and select any table In the root container as well as in all current PDBs.

C.

B_admin can create and select any table, and grant the c##_role1 role to users in HR_PDB.

D.

B_admin can create and select any table in HR_PDB

E.

C# #_A_admin can create and select any table in the root container as well as in all current and future PDBs.

Question 30

You want to upgrade your pre-12c database to an Oracle 12c database. You set up the test environment and replay the captured workload from the production database on the test machine twice with a time difference of four hours.

For which three reasons would you use the Compare Period ADDM report after the replay? (Choose three.)

Options:

A.

to check the database time consumed for the two time periods

B.

to review the change in the initialization parameters between the two runs

C.

to find the resource consumption by SQL statements that are common to both periods

D.

to check the performance improvement and degradation caused during the change

E.

to review the hardware resources used during the two runs

F.

to compare the performance change of top SQL statements for the two runs

Question 31

You plan to use the In-Database Archiving feature of Oracle Database 12c, and store rows that are inactive for over three months, in Hybrid Columnar Compressed (HCC) format.

Which three storage options support the use of HCC? (Choose three.)

Options:

A.

ASM disk groups with ASM disks consisting of Exadata Grid Disks.

B.

ASM disk groups with ASM disks consisting of LUNs on any Storage Area Network array

C.

ASM disk groups with ASM disks consisting of any zero-padded NFS-mounted files

D.

Database files stored in ZFS and accessed using conventional NFS mounts.

E.

Database files stored in ZFS and accessed using the Oracle Direct NFS feature

F.

Database files stored in any file system and accessed using the Oracle Direct NFS feature

G.

ASM disk groups with ASM disks consisting of LUNs on Pillar Axiom Storage arrays

Demo: 31 questions
Total 208 questions