1Z0-063 | The Refresh Guide To 1Z0-063 examcollection


Q11. Examine the parameters for your database instance: 

NAMETYPEVALUE 

optimizer_adaptive_reporting_onlybooleanFALSE 

optimizer_capture_sql_plan_baselinesbooleanFALSE 

optimizer_dynamic_samplinginteger2 

optimizer_features_enablestring12.1.0.1 

Which three statements are true about the process of automatic optimization by using statistics feedback? 

A. The optimizer automatically changes a plan during subsequent execution of a SQL statement if there is a huge difference in optimizer estimates and execution statistics. 

B. The optimizer can re optimize a query only once using cardinality feedback. 

C. The optimizer enables monitoring for cardinality feedback after the first execution of a query. 

D. The optimizer doesnot monitor cardinality feedback if dynamic sampling and multicolumn statistics are enabled. 

E. After the optimizer identifies a query as a re-optimization candidate, statistics collected by the collectors are submitted to the optimizer. 

Answer: A,C,D 

Explanation: C: During the first execution of a SQL statement, an execution plan is generated as usual. 

D: if multi-column statistics are not present for the relevant combination of columns, the 

optimizer can fall back on cardinality feedback. 

(not B)* Cardinality feedback. This feature, enabled by default in 11.2, is intended to 

improve plans for repeated executions. 

optimizer_dynamic_sampling optimizer_features_enable 

Dynamic sampling or multi-column statistics allow the optimizer to more accurately estimate selectivity of conjunctive predicates. 

Note: 

* OPTIMIZER_DYNAMIC_SAMPLING controls the level of dynamic sampling performed by the optimizer. Range of values. 0 to 10 

Cardinality feedback was introduced in Oracle Database 11gR2. The purpose of this feature is toautomatically improve plans for queries that are executed repeatedly, for which the optimizer does not estimate cardinalities in the plan properly. The optimizer may misestimate cardinalities for a variety of reasons, such as missing or inaccurate statistics, or complex predicates. Whatever the reason for the misestimate, cardinality feedback may be able to help. 

Q12. The CATDBI2c database contains an Oracle Database 12c catalog schema owned by the rc12c user. 

The CATDB11 database contains an Oracle Database l1g catalog schema owned by the RCII user. 

A database with DBID=1423241 is registered in the CATDB11 catalog. Both the recovery catalog databases are open. 

In the CATDB12c database, you execute the commands: 

Srman 

RMAN> CONNECT CATALOG rc12c/pass12c8catdbI2c 

RMAN> IMPOST CATALOG rc1l/pwdcatl19catdbl1 DBID=I423241; 

What is the outcome of the import? 

A. It fails because the target database and recovery catalog database are of different versions. 

B. It succeeds and all global scripts in the sc:: catalog that have the same name as existing global scripts in the RC12C catalog are automatically renamed. 

C. It succeeds but the database is not automatically registered in the Rc12c catalog. 

D. It fails because RMAN is not connected to the target database with DBID=1423241. 

Answer:

Q13. 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? 

A. It flashes back the employee tableand 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. 

Answer: B,D 

Q14. LDAP_DIRECTORY_SYSAUTH is set to YES. 

Users requiring DBAs access have been granted the sysdba enterpriserole 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? 

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 

Answer:

Q15. You are administering a multitenant container database (COB) that contains two pluggable databases (PDBs), pdb1 and pdb2. You are connected to pdb2 as a common user with DBA privileges. 

The statistics_level parameter isPDB modifiable. 

As the user sys, execute the following command on pdb2: 

SQL> ALTER SYSTEM SET STATISTICS_LEVEL=ALL SID='*' SCOPE=SPFILE; 

Which statement is true about the result of this command? 

A. The statistics_level parameter is set to all when anyof the PDBs is reopened. 

B. The statistics_level parameter is set to all only for PDB2 when it is reopened. 

C. The statistics_level parameter is set to all when the root database is restarted. 

D. The statement is ignored because there is no SPFILE for a PDB. 

Answer:

73. Which two options can be configured for an existing database by using the Database Configuration Assistant (DBCA)? 

A. Database Resident Connection Pooling 

B. Oracle Suggested Backup Strategy 

C. Database Vault in ORACLE_HOME 

D. Nondefaultblocksizetablespaces 

E. Configure Label Security 

Answer: D,E 

Q16. Your multitenant container database (CDB) contains multiple pluggable databases (PDBs). You execute the command to create a common user: 

SQL> CREATE USER c##a_admin IDENTIFIED BY password DEFAULT TABLESPACE users QUOTA I00M ON users TEMPORARY TABLESPACE temp; 

Which statement is true about the execution of the command? 

A. The common user is created in the CDB and all the PDBs, and uses the users and temp tablespaces of the CDB to store schema objects. 

B. The command succeeds only if all the PDBs have the users and temp tablespaces. 

C. The command gives an error because the container=all clause is missing. 

D. The commandsucceeds and sets the default permanent tablespace of a PDB as the default tablespace for the c##a_admin user if the users tabiespace does not exist in that PDB. 

Answer:

Q17. You are administering a multitenant container database (CDB) cdb1 that is running in 

archivelog mode and contains pluggable databases (PDBs), pdb_i and pdb_2. 

While opening pdb_1, you get an error: 

SQL> alter pluggable database pdb_1 open; 

ORA-011S7:cannotidentify/lockdatafile11-seeDBWRtracefile 

ORA-01110:data file 11:'/u01/app/oracle/oradata/cdb1/pcb_1/example01.dbf' 

To repair the failure, you open an RMAN session for the target database CDBSROOT. You 

execute the following as the first command: 

RMAN>REPAIRFAILURE; 

Which statement describes the consequence of the command? 

A. The command performs the recovery and closes the failure. 

B. The command produces an error because RMAN is not connected to the target database pdb_1. 

C. The command produces an errorbecause the advise failure command was not executed before the REPAIRFAILUER command. 

D. The command executes successfully, performs recovery, and opens PDB_1. 

Answer:

Q18. 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>CREATEDATABASECDB1 

DEFAULTTABLESPACE users 

DEFAULTTEMPORARY TABLESPACEtemp 

UNDO TABLESPACEundotbsl 

ENABLEPLUGGA3LEDATABASE 

SEED 

SYSTEMDATAFILESSIZE125M AUTOEXTEND ON NEXT10M MAXSIZEUNLIMITED 

SYSAUXDATAFILESSIZE100M; 

Which three statements are true? 

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. 

Answer: A,B,E 

Q19. You created a tablespace with this statement: 

CREATE BIGFILE TABLESPACE adtbs 

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

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

Which two alter statements will achieve this? 

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; 

Answer: A,C 

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

Q20. Which two are prerequisites for setting up Flashback Data Archive? 

A. Fast Recovery Area should be defined. 

B. Undo retention guarantee should be enabled. 

C. Supplemental logging should be enabled. 

D. Automatic Undo Management should be enabled. 

E. All users using Flashback Data Archive should have unlimitedquota on the Flashback Data Archive tablespace. 

F. The tablespace in which the Flashback Data Archive is created should have Automatic Segment Space Management (ASSM) enabled. 

Answer: D,F 

Reference:http://www.oracle.com/technetwork/database/focus-areas/storage/total-recall-whitepaper-171749.pdf(page 8)