1Z0-063 Exam - Oracle Database 12c: Advanced Administration

certleader.com

Q1. Which two statements are true about the Automatic Diagnostic Repository (ADR)? 

A. The ADR base is shared across multiple instances. 

B. The ADR base keeps all diagnostic information in binary format. 

C. The ADR can be used to store statspack snapshots to diagnose database performance issues. 

D. The ADR can be used for problem diagnosis even when the database instance is down. 

E. The ADR is used to store Automatic Workload Repository (AWR) snapshots. 

Answer: C,D 

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

Examine the command and itsoutput: 

SQL>show parameterfile 

NAMETYPEVALUE 

db_create_file_deststring db_file_name_convertstring db_filesinteger200 

You verify that sufficient disk space is available and that nofile 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? 

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 defaulttemporary tablespace is not defined for SALESPDB. 

Answer:

Q3. Examine the command to back up the ASM metadata: 

ASMCMD>md_backup /backup/ASM_backup 

In which three situations can you use the backup? 

A. when one or more disks in an ASM disk group are lost 

B. when the data file on an ASM disk group gets corrupted 

C. when one of the disks in a disk group is accidentally unplugged 

D. when one or more file directory paths are accidentally deleted from an ASM disk group 

E. when all the ASM disk groups for the ASM instance are lost 

Answer: B,C,D 

Q4. Which three types of failures are detected by the Data Recovery Advisor (DRA)? 

A. loss of a non-critical data file 

B. loss of a control file 

C. physical data block corruption 

D. logical data block corruption 

E. loss of an archived redo log file 

Answer: A,B,C 

Reference:http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmrepai.htm#BRAD V89728 

Q5. Which three statements are true about compression of backup sets? 

A. Compressed backups can only be written to media. 

B. Binary compression creates performance overhead during a backup operation. 

C. Unused blocks below the high-water mark are not backed up. 

D. Compressed backups cannot have section size defined during a backup operation 

E. It works only for locally managed tablespaces. 

Answer: B,C,E 

Q6. You are administering a multitenant container database (CDB) cdb1 that has multiple pluggable databases (PDBs). As the sys user on cdb$root, you execute the commands: 

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

SQL> GRANT CREATE SESSION to C##ADMIN CONTAINER=ALL; 

SQL> GRANT CREATE USER TO C##ADMIN CONTAINER=ALL; 

Which two statements are true about the c##admin user that is created in all PDBs? 

A. It can create only local users in all the PDBs. 

B. It has a common schema for all the PDBs. 

C. It can create common users only when it is logged in to the CDB. 

D. It can create only local users in the CDB. 

E. It can be granted only common roles in the PDBs. 

Answer: A,B 

Q7. View the Exhibit showing steps to create a database resource manager plan. 

SQL>executedbms_resource_manager.create_pendingarea(); PL/SQLproceduresuccessfully completed. 3QL>execdbms_resource_manager,create_consumergroup 

(consumer_group=>’OLTP,,comment=>,onlineuser’) PL/SQLproceduresuccessfullycompleted. SQL>execdbras_resource_raanager.create_plan(plan=>’PRIU3ER3',comment=>'dssprio’); SQL>exec Dbms_resource_manager.create_plan_directive(plan=>’PRIU3ER3’,group_or_subplan=>' 

OLTP’,comraent=>'onlinegrp'CPU_Pl=>60); 

PL/3QLproceduresuccessfullycompleted. 

After execting the steps in the exhibit you execute this procedure, which results in an error: 

SQL> EXECUTEdbms_resource_manager. validate_pending_area (); 

What is the reason for the error? 

A. The pending area is automatically submitted when creating plan directives. 

B. The procedure must be executedbefore creating any plan directive. 

C. The sys_group group is not included in the resource plan. 

D. The other_groups group is not included in the resource plan. 

E. Pending areas can not be validated until submitted. 

Answer:

Q8. Examine the commands executed in CDBS ROOT of your multitenant container database (CDB) that has multiple pluggable databases (PDB): 

SQL> CREATE ROLE c ##role1 CONTAINER-ALL; 

SQL> GRANT CREATE SESSION, CREATE TABLE TO c##role1 CONTAINER'ALL; 

SQL>CREATE USER c##adnin IDENTIFIED BY orcl123; 

SQL>GRANT c##role1 TO c##admin CONTAINER=ALL; 

SQL> GRANT SELECT ON DBA_USERS to c##rola1 CONTAINER*ALL; 

Which statement is true about granting the select privilege on the DBA_users view to the c##ROLE1role? 

A. The command fails and gives an error because object privileges cannot be granted to a common user. 

B. The command fails because container is not set to current. 

C. The command succeeds and the common user cmadnxn can create a session and query the D3A_users view incdbssoo? and all the PDBs. 

D. The command succeeds and the common user ct (admin can create a session in cdbSroot and all the PDBs, but can only query the dba_users view in ct3S?cdt. 

E. The command succeeds and the common user c#(admin can create a session and query the D3A users view only in cdbsrooi. 

Answer:

Q9. Yourdatabase supports an OLTP workload. Examine the output of the query: 

SQL> SSLECT target_mttr, estimated_mttr FROM v$instance_recovery Target_mttrestimated_mttr 

To ensure faster instance recovery, youset the fast_start_mttrjtargh:t initialization parameter to 

30. 

What is the effect of this setting on the database? 

A. Automatic checkpoint tuning is disabled. 

B. The frequency of log switches is increased. 

C. The overhead on database performance is increased because of frequent writes to disk. 

D. The MTTR advisor is disabled. 

Answer:

Q10. Which two methods can be used toadd an Oracle 11g database to a multitenant container database (CDB) as a pluggable database (PDB)? 

A. Use the d3MS_pdb package to plug the Oracle 11g database into the existing CDB as a PDB. 

B. Use the create database ... enable pluggable database statement to create a PDB by copying data files from pd3Sseed and use data pump to load data from the Oracle 11g database into the newly created PDB. 

C. Pre-create a PDB in CDB and use data pump to load data from the complete database export of the Oracle 11g database into the newly created PDB. 

D. Pre-create a PDB in CDB and use the network_link and parallel parameters with data pump import to import data from the Oracle 11g database to the newly created PDB. 

E. Upgrade the Oracle 11g database to a 12c non-CDB and use the dbms_pdb.describe procedure to plug the database as a new PDB into the CDB. 

Answer: B,E