Skip to main content

1Z0-063 Online Exam

Oracle Database 12c: Advanced Administration

276 questions available ยท Page 1 of 28

View study plans
Question 1 Multiple choice

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

  1. A

    You cannot export data from a remote database.

  2. B

    You can rename tables during import.

  3. C

    You can overwrite existing dump files during export.

  4. D

    You can compress data but not metadata during export.

Show answer and explanation

Correct answers: B, C

Question 2 Multiple choice

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? (Choose two.)

  1. A

    ALTER TABLESPACE adtbs RESI2E 20G;

  2. B

    ALTER TABLESPACE adtbs ADD DATAFILE;

  3. C

    ALTER TABLESPACE adtbs AUTOEXTEND ON;

  4. D

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

  5. E

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

Show answer and explanation

Correct answers: A, C

Explanation

http://www.techonthenet.com/oracle/tablespaces/alter_tablespace.php

Question 3 Single choice

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?

  1. A

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

  2. B

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

  3. C

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

  4. D

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

  5. E

    The minimum size for all buffer caches is 100 MB.

Show answer and explanation

Correct answer: A

Question 4 Single choice

You notice that the performance of your production 24x7 Oracle 12c database has significantly degraded.
Sometimes, you are not able to connect to the database instance because it hangs.

How can you detect the cause of the degraded performance?

  1. A

    by performing emergency monitoring using Real-Time Automatic Database Diagnostic Monitor (ADDM) to fetch data directly from SGA for analysis

  2. B

    by running ADDM to fetch information from the latest Automatic Workload Repository (AWR) snapshots

  3. C

    by using Active Session History (ASH) data and performing hang analysis

  4. D

    by running ADDM in diagnostic mode

Show answer and explanation

Correct answer: A

Question 5 Single choice

Examine the command:

Which statement is true about the execution of the command?

  1. A

    It fails because the log file parameter is not specified.

  2. B

    It fails because no absolute path is specified for the log file and dump file.

  3. C

    It succeeds and exports the full database, simultaneously creating three copies of dump files at three different locations.

  4. D

    It succeeds and exports the full database, simultaneously creating three dump files at three different locations, but the total number of dump files can exceed three.

Show answer and explanation

Correct answer: D

Question 6 Multiple choice

Examine the commands executed to monitor database operations:

$> conn sys/oracle@prod as sysdba
SQL> VAR eid NUMBER
SQL>EXEC :eid := DBMS_SQL_MONITOR.BEGlN_OPERATION('batch_job',FORCED_TRACKING=>'Y');

Which two statements are true? (Choose two.)

  1. A

    Database operations will be monitored only when they consume a significant amount of resource.

  2. B

    Database operations for all sessions will be monitored.

  3. C

    Database operations will be monitored only if the STATISTICS_LEVEL parameter is set to TYPICAL
    and CONTROL_MANAGEMENT_PACK_ACCESS is set DIAGNISTIC + TUNING.

  4. D

    Only DML and DDL statements will be monitored for the session.

  5. E

    All subsequent statements in the session will be treated as one database operation and will be monitored.

Show answer and explanation

Correct answers: C, E

Explanation

C: Setting the CONTROL_MANAGEMENT_PACK_ACCESS initialization parameter to DIAGNOSTIC
+TUNING (default) enables monitoring of database operations. Real-Time SQL Monitoring is a feature of the Oracle Database Tuning Pack.
Note:
* The DBMS_SQL_MONITOR package provides information about Real-time SQL Monitoring and Real-
time Database Operation Monitoring.
*(not B) BEGIN_OPERATION Function starts a composite database operation in the current session.
/ (E) FORCE_TRACKING - forces the composite database operation to be tracked when the operation starts. You can also use the string variable 'Y'. / (not A) NO_FORCE_TRACKING - the operation will be tracked only when it has consumed at least 5 seconds of CPU or I/O time. You can also use the string variable 'N'.

Question 7 Multiple choice

Examine the resources consumed by a database instance whose current Resource Manager plan is displayed.
SQL> SELECT name, active_sessions, queue_length,
consumed_cpu_time, cpu_waits, cpu_wait_time
FROM v$rsrc_consumer_group;

Which two statements are true? (Choose two.)

  1. A

    An attempt to start a new session by a user belonging to DSS_QUERIES fails with an error.

  2. B

    An attempt to start a new session by a user belonging to OTHE_GROUPS fails with an error.

  3. C

    The CPU_WAIT_TIME column indicates the total time that sessions in the consumer group waited for the CPU due to resource management.

  4. D

    The CPU_WAIT_TIME column indicates the total time that sessions in the consumer group waited for the CPU due to I/O waits and latch or enqueue contention.

  5. E

    A user belonging to the DSS__QUERIES resource consumer group can create a new session but the session will be queued.

Show answer and explanation

Correct answers: C, E

Question 8 Multiple choice

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? (Choose two.)

  1. A

    All redo log files are opened.

  2. B

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

  3. C

    All the PDBs are opened in read-write mode.

  4. D

    All the PDBs are in closed state.

  5. E

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

Show answer and explanation

Correct answers: A, E

Question 9 Single choice

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

Oracle 12c database:

CONNECT /AS SYSDBA
ALTER SYSTEM SET THREADED_EXECUTION=TRUE SCOPE=SPFILE;
SHUTDOWN IMMEDIATE

You then restart the instance and get an error:

STARTUP
ORA-01031: insufficient privileges

Why does the startup command return the error shown?

  1. A

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

  2. B

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

  3. C

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

  4. D

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

  5. E

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

Show answer and explanation

Correct answer: C

Question 10 Single choice

Your multitenant container database (CDB) CDB1 that is running in ARCHIVELOG mode contains two pluggable databases (PDBs), PDB2_1 and PDB2_2, both of which are open. RMAN is connected to the
target pluggable database PDB2_1.

RMAN> BACKUP DATABASE PLUS ARCHIVELOG DELETE INPUT;

Which statement is true about the execution of this command to back up the database?

  1. A

    All data files belonging to PDB2_1 are backed up and all archive log files are deleted.

  2. B

    All data files belonging to PDB2_1 are backed up along with the archive log files.

  3. C

    Only the data files belonging to pdb2_1 are backed up.

  4. D

    This command gives an error because archive log files can be backed up only when RMAN is connected to the root container database.

Show answer and explanation

Correct answer: B