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

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

Note! Following 1z0-060 Exam is Retired now. Please select the alternative replacement for your Exam Certification.
Page: 1 / 21
Total 208 questions

Upgrade to Oracle Database 12c Questions and Answers

Question 1

Which three statements are true about tablespaces in a multitenant container database (CDB)? (Choose three.)

Options:

A.

All PDBs and CDBs have their own UNDO tablespaces.

B.

All PDBs and CDBs have their own SYSTEM and SYSAUX tablespaces.

C.

Each pluggable database (PDB) can have a temporary tablespace or a tablespace group.

D.

CDBs and PDBs may share the same temporary tablespace that is present in the root container.

E.

There can be only one temporary tablespace group in a CDB.

Question 2

You execute the following commands to audit database activities:

Question # 2

Which statement is true about the audit record that is generated when auditing starts after the instance restarts?

Options:

A.

One audit record is created for every successful execution of a SELECT, INSERT, or DELETE command on a table, and contains the SQL text for the SQL Statements.

B.

One audit record is created for every successful execution of a SELECT, INSERT, or DELETE command, and contains the execution plan for the SQL statements.

C.

One audit record is created for the whole session if JOHN successfully executes a SELECT, INSERT, or DELETE command, and contains the execution plan for the SQL statements.

D.

One audit record is created for the whole session if JOHN successfully executes a SELECT, INSERT, or DELETE command, and contains the SQL text and bind variables used.

E.

One audit record is created for the whole session if JOHN successfully executes a SELECT, INSERT, or DELETE command on a table, and contains the execution plan, SQL text, and bind variables used.

Question 3

Examine the following commands for redefining a table with Virtual Private Database (VPD) policies:

Question # 3

Which two statements are true about redefining the table? (Choose two.)

Options:

A.

All the triggers for the table are disabled without changing any of the column names or column types in the table.

B.

The primary key constraint on the EMPLOYEES table is disabled during redefinition.

C.

VPD policies are copied from the original table to the new table during online redefinition.

D.

You must copy the VPD policies manually from the original table to the new table during online redefinition.

Question 4

Examine this command:

SQL> exec DBMS_STATS.SET_TABLE_PREFS('SH', 'CUSTOMERS', 'PUBLISH', 'false');

Which three statements are true about the effect of this command? (Choose three.)

Options:

A.

Statistics collection is not done for the CUSTOMERS table when schema stats are gathered.

B.

Statistics collection is not done for the CUSTOMERS table when database stats are gathered.

C.

Any existing statistics for the CUSTOMERS table are still available to the optimizer at parse time.

D.

Statistics gathered on the CUSTOMERS table when schema stats are gathered are stored as pending statistics.

E.

Statistics gathered on the CUSTOMERS table when database stats are gathered are stored as pending statistics.

Question 5

What is the effect of specifying the "ENABLE PLUGGABLE DATABASE" clause in a "CREATE DATABASE” statement?

Options:

A.

It will create a multitenant container database (CDB) with only the root opened.

B.

It will create a CDB with root opened and seed read only.

C.

It will create a CDB with root and seed opened and one PDB mounted.

D.

It will create a CDB that must be plugged into an existing CDB.

E.

It will create a CDB with root opened and seed mounted.

Question 6

Examine the portion of this Active Session History (ASH) report that is marked with a red rectangle:

Question # 6

Which two inferences can be drawn from the report?

Options:

A.

Sessions attempting to read blocks Images in the buffer cache are waiting while other sessions are reading the same block images

B.

Sessions are waiting for writes of modified block images in the buffer cache to complete

C.

Sessions attempting to modify blocks images In the buffer cache are waiting while other sessions are reading the same block images

D.

Sessions attempting to read blocks images in the buffer cache are waiting while other sessionsare modifying the same block images

Question 7

Which three operations can be performed as multipartition operations in Oracle Database 12c? (Choose three.)

Options:

A.

Merge partitions of a list partitioned table.

B.

Drop partitions of a list partitioned table.

C.

Coalesce partitions of a hash-partitioned global index.

D.

Move partitions of a range-partitioned table.

E.

Rename partitions of a range partitioned table.

F.

Merge partitions of a reference-partitioned index.

Question 8

You are the DBA supporting an Oracle 11g Release 2 database and wish to move a table containing several DATE, CHAR, VARCHAR2, and NUMBER data types, and the table’s indexes, to another tablespace.

The table does not have a primary key and is used by an OLTP application.

Which technique will move the table and indexes while maintaining the highest level of availability to the application?

Options:

A.

Oracle Data Pump

B.

An ALTER TABLE MOVE to move the table and ALTER INDEX REBUILD to move the indexes.

C.

An ALTER TABLE MOVE to move the table and ALTER INDEX REBUILD ONLINE to move the indexes

D.

Online Table Redefinition

E.

Edition-Based Table Redefinition

Question 9

What are three purposes of the RMAN “FROM SERVICE” clause? (Choose three.)

Options:

A.

to support file restoration over the network in a Data Guard environment

B.

to support PUSH-based active database duplication

C.

to support file recovery over the network in a Data Guard environment

D.

to support synchronization of a standby database with the primary database in a Data Guard environment

E.

to support active database duplication by taking image copies of the source database

Question 10

Which three statements are true about adaptive SQL plan management? (Choose three.)

Options:

A.

It automatically performs verification or evolves non-accepted plans, in COMPREHENSIVE mode when they perform better than existing accepted plans.

B.

The optimizer always uses the fixed plan, if the fixed plan exists in the plan baseline.

C.

It adds new, better plans automatically as fixed plans to the baseline.

D.

The non-accepted plans are automatically accepted and become usable by the optimizer if they perform better than the existing accepted plans.

E.

The non-accepted plans in a SQL plan baseline are automatically evolved, in COMPREHENSIVE mode, during the nightly maintenance window and a persistent verification report is generated.

Question 11

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 12

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 SELECT DBMS_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.REPORT_COL_USAGE (‘SH’, ‘CUSTOMERS’) FROM dual statement.

Identify the correct sequence of steps.

Options:

A.

3, 2, 1, 4

B.

2, 3, 4, 1

C.

4, 1, 3, 2

D.

3, 2, 4, 1

Question 13

To enable the Database Smart Flash Cache, you configure the following parameters:

DB_FLASH_CACHE_FILE = ‘/dev/flash_device_1’ , ‘/dev/flash_device_2’

DB_FLASH_CACHE_SIZE=64G

What is the result when you start up the database instance?

Options:

A.

It results in an error because these parameter settings are invalid.

B.

One 64G flash cache file will be used.

C.

Two 64G flash cache files will be used.

D.

Two 32G flash cache files will be used.

Question 14

You notice a high number of waits for the db file scattered read and db file sequential read events in the recent Automatic Database Diagnostic Monitor (ADDM) report. After further investigation, you find that queries are performing too many full table scans and indexes are not being used even though the filter columns are indexed.

Identify three possible reasons for this. (Choose three.)

Options:

A.

Missing or stale histogram statistics

B.

Undersized shared pool

C.

High clustering factor for the indexes

D.

High value for the DB_FILE_MULTIBLOCK_READ_COUNT parameter

E.

Oversized buffer cache

Question 15

The current system change number (SCN) for a live database is 663571.

You decide to use the flashback table statement to flash back the customers table to SCN 662116.

After flashing back the customers table, you query It and decide to undo the effects of the flashback table command.

Which is the fastest way to do this?

Options:

A.

Execute another flashback table statement to restore the customers table to SCN 663571.

B.

Perform tablespace point-in-time recovery because flashback table cannot be performed on a table that has already been flashed back.

C.

Execute the RMAN recover block command by specifying the table name and SCN 663571 because fiashback table cannot be performed on a table that has already been flashed back.

D.

Perform table polnt-in-time recovery because flashback table cannot be performed on a table that has already been flashed back.

Question 16

Which four actions are possible during an Online Data file Move operation? (Choose four.)

Options:

A.

Creating and dropping tables in the data file being moved

B.

Performing file shrink of the data file being moved

C.

Querying tables in the data file being moved

D.

Performing Block Media Recovery for a data block in the data file being moved

E.

Flashing back the database

F.

Executing DML statements on objects stored in the data file being moved

Question 17

You are required to migrate your 11.2.0.3 database as a pluggable database (PDB) to 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.

Options:

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

Question 18

Which three statements are true about the working of system privileges in a multitenant control database (CDB) that has pluggable databases (PDBs)? (Choose three.)

Options:

A.

System privileges apply only to the PDB in which they are used.

B.

Local users cannot use local system privileges on the schema of a common user.

C.

The granter of system privileges must possess the set container privilege.

D.

Common users connected to a PDB can exercise privileges across other PDBs.

E.

System privileges with the with grant option container all clause must be granted to a common user before the common user can grant privileges to other users.

Question 19

Examine the following command:

ALTER SYSTEM SET enable_ddl_logging=TRUE;

Which statement is true?

Options:

A.

Only the data definition language (DDL) commands that resulted in errors are logged in the alert log file.

B.

All DDL commands are logged in the alert log file.

C.

All DDL commands are logged in a different log file that contains DDL statements and their execution dates.

D.

Only DDL commands that resulted in the creation of new segments are logged.

E.

All DDL commands are logged in XML format in the alert directory under the Automatic Diagnostic Repository (ADR) home.

Question 20

What are three purposes of the RMAN “FROM” clause? (Choose three.)

Options:

A.

to support PUSH-based active database duplication

B.

to support synchronization of a standby database with the primary database in a Data environment

C.

To support PULL-based active database duplication

D.

To support file restores over the network in a Data Guard environment

E.

To support file recovery over the network in a Data Guard environment

Question 21

You create a new pluggable database, HR_PDB, from the seed database.

Which three tablespaces are created by default in HR_PDB? (Choose three.)

Options:

A.

SYSTEM

B.

SYSAUX

C.

EXAMPLE

D.

UNDO

E.

TEMP

F.

USERS

Question 22

You are about to plug a multi-terabyte non-CDB into an existing multitenant container database (CDB).

The characteristics of the non-CDB are as follows:

  • Version: Oracle Database 11g Release 2 (11.2.0.2.0) 64-bit
  • Character Set: AL32UTF8
  • National Character Set: AL16UTF16
  • O/S: Oracle Linux 6 64-bit

The characteristics of the CDB are as follows:

  • Version: Oracle Database 12c Release 1 64-bit
  • Character Set: AL32UTF8
  • National Character Set: AL16UTF16
  • O/S: Oracle Linux 6 64-bit

Which technique should you use to minimize down time while plugging this non-CDB into the CDB?

Options:

A.

Transportable database

B.

Transportable tablespace

C.

Data Pump full export/import

D.

The DBMS_PDB package

E.

RMAN

Question 23

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 24

Identify the prerequisite for configuring and accessing Enterprise Manager (EM) express for an Oracle 12c database.

Options:

A.

Create a SYSMAN user with the SYSDBA role as an administrator for EM express.

B.

Configure the DISPATCHERS initialization parameter such that at least one dispatcher is configured for the XMLDB service with the TCP protocol.

C.

Install the Oracle HTTP Server.

D.

Use the DBMS_XDB_CONFIG.SETHTTPPORT procedure to configure port number 5500 for the HTTP server.

Question 25

A redaction policy was added to the SAL column of the SCOTT.EMP table:

Question # 25

All users have their default set of system privileges.

For which three situations will data not be redacted? (Choose three.)

Options:

A.

SYS sessions, regardless of the roles that are set in the session

B.

SYSTEM sessions, regardless of the roles that are set in the session

C.

SCOTT sessions, only if the MGR role is set in the session

D.

SCOTT sessions, only if the MGR role is granted to SCOTT

E.

SCOTT sessions, because he is the owner of the table

F.

SYSTEM session, only if the MGR role is set in the session

Question 26

You upgraded your database from pre-12c to a multitenant container database (CDB) containing pluggable databases (PDBs).

Examine the query and its output:

Question # 26

Which two tasks must you perform to add users with SYSBACKUP, SYSDG, and SYSKM privilege to the password file? (Choose two.)

Options:

A.

Assign the appropriate operating system groups to SYSBACKUP, SYSDG, SYSKM.

B.

Grant SYSBACKUP, SYSDG, and SYSKM privileges to the intended users.

C.

Re-create the password file with SYSBACKUP, SYSDG, and SYSKM privilege and the FORCE argument set to No.

D.

Re-create the password file with SYSBACKUP, SYSDG, and SYSKM privilege, and FORCE arguments set to Yes.

E.

Re-create the password file in the Oracle Database 12c format.

Question 27

You are administering a database stored in Automatic Storage Management (ASM). You use RMAN to back up the database and the MD_BACKUP command to back up the ASM metadata regularly. You lost an ASM disk group DG1 due to hardware failure.

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

Options:

A.

Use the MD_RESTORE command to restore metadata for an existing disk group by passing the existing disk group name as input parameter and use RMAN to restore the data.

B.

Use the MKDG command to restore the disk group with the same configuration as the backed-up disk group and data on the disk group.

C.

Use the MD_RESTORE command to restore the disk group with the changed disk group specification, failure group specification, name, and other attributes and use RMAN to restore the data.

D.

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

E.

Use the MKDG command to add a new disk group DG1 with the same or different specifications for failure group and other attributes and use RMAN to restore the data.

Question 28

Which two statements are true when row-archival management is enabled? (Choose two.)

Options:

A.

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.

B.

Visibility of the ORA_ARCHIVE_STATE column is controlled by the ROW ARCHIVAL VISIBILITY session parameter.

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.

Question 29

Which two statements are true about variable extent size support for large ASM files? (Choose two.)

Options:

A.

The metadata used to track extents in SGA is reduced.

B.

Rebalance operations are completed faster than with a fixed extent size

C.

An ASM instance automatically allocates an appropriate extent size for a file based on file size.

D.

Resync operations are completed faster when a disk comes online after being taken offline.

E.

Performance improves in a stretch cluster configuration by reading from a local copy of an extent.

Question 30

Which three are direct benefits of the multiprocess, multithreaded architecture of Oracle Database 12c when it is enabled? (Choose three.)

Options:

A.

Reduced logical I/O

B.

Reduced virtual memory utilization

C.

Improved parallel Execution performance

D.

Improved Serial Execution performance

E.

Reduced physical I/O

F.

Reduced CPU utilization

Question 31

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;

Question # 31

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

Question # 31

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.

Page: 1 / 21
Total 208 questions