1Z0-063 Premium Bundle

1Z0-063 Premium Bundle

Oracle Database 12c: Advanced Administration Certification Exam

4.5 
(20655 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 23, 2024Last update

Oracle 1Z0-063 Free Practice Questions

Q1. You want to consolidate backup information and centrally manage backup and recovery scripts for multiple databases running in your organization. 

Which two backup solutions can be used? 

A. RMAN recovery catalog 

B. RMAN Media Management Library 

C. Enterprise Manager Cloud Control 

D. Enterprise Manager Database Express 

E. Oracle Secure Backup 

Answer: A,C 

Q2. Your database is running in noarchivelog mode. One of the data files belonging to the system tablespace is corrupted. You notice that all online redo logs have been overwritten since the last backup. 

Which method would you use to recover the data file? 

A. Shut downthe instance if not already shut down, restore all data files belonging to the system tablespace from the last backup, and restart the instance. 

B. Shut down the instance if not already shut down, restore the corrupted data file belonging to the system tablespace from the last backup, and restart the instance. 

C. Shut down the instance if not already shut down, restore all data files for the entire database from the last backup, and restart the instance. 

D. Mount the database, restore all data files belongingto the system tablespace from the last backup, and open the database. 

Answer:

Q3. Your multitenant container database (CDB) cdb1 that is running in archivelog mode contains two pluggable databases (PDBs), pdb2_1 and pdb2_2. RMAN is connected to the target database pdb2_1. 

Examine the command executed to back up pdb2_1: 

RMAN> BACKUP DATABASE PLUS ARCHIVELOG; 

Which statement is true about the execution of this command? 

A. It fails because archive log files cannot be backed up using a connection to a PDB. 

B. It succeeds but only the data files belonging to the pdb2_i pluggable database are backed up. 

C. It succeeds andall data files belonging to PD32_i are backed up along with the archive log files. 

D. It fails because the pluggable clause is missing. 

Answer:

Q4. You are administering a database that supports a data warehousing workload and is running in noarchivelog mode. You use RMAN to perform a level 0 backup on Sundays and level 1 incremental backups on allthe other days of the week. 

One of the data files is corrupted and the current online redo log file is lost because of a media failure. 

Which action must you take for recovery? 

A. Restore the data file, recover it by using the recover datafilenoredo command, and use the resetlogs option to open the database. 

B. Restore the control file and all the data files, recover them by using the recover database noredo command, and use the resetlogs option to open the database. 

C. Restore all the data files, recoverthem by using the recover database command, and open the database. 

D. Restore all the data files, recover them by using the recover database noredo command, and use the resetlogs option to open the database. 

Answer:

Q5. Examine the command to create a pluggable database (PDB): 

SQL> CREATE PLUGGABLE DATABASE pdb2 FROM pdb1 

FILE_NAME-_CONVERT = ('/disk1/oracle/pdb1/', '/disk2/oracle/pdb2/’) PATH_PREFIX= '/disk2/oracle/pdb2' 

Which two statements are true? 

A. The pluggable database pdb2 is created by cloning pdb1 and is in mount state. 

B. Details about the metadata describing pdb2 are stored in an XML file in the '/disk2/oracle/pdb2/' directory. 

C. The tablespace specifications of pdb2 are the same as pdb1. 

D. All database objects belonging to common users in PD3I are cloned in PD32. 

E. pdb2 is created with its own private undo and temp tablespaces. 

Answer: A,C 

Reference:http://oracle-info.com/2013/07/27/12c-database-create-pdbs-plug-unplug/(see the table, 4throw) 

Q6. In a database supporting an OLTP workload, tables are frequently updated on both key and non-keycolumns. 

Reports are also generated by joining multiple tables. 

Which table organization or type would provide the best performance for this hybrid workload? 

A. heap table with a primary key index 

B. external table 

C. hash clustered table 

D. global temporary table 

E. index clustered table 

Answer:

Q7. Which three statements are true about Consolidated Database Replay? 

A. The workload capture and replay systems must have the same operating system (OS). 

B. Multiple workload captures from multiple databases can be replayed simultaneously on all pluggable databases (PDBs) in a multitenant container database (CDB). 

C. A subset of the captured workload can be replayed. 

D. The number of captured workloads must be the same as the number of PDBs in a multitenant CDB. 

E. Multiple replay schedules can be defined for a consolidated replay and during replay initialization, you can select from any of the existing replay schedules. 

Answer: B,C,E 

Q8. You create two Resource Manager plans, one for night time workloads, the other for day time. 

How would you make the plans switch automatically? 

A. Use job classes. 

B. Use scheduler windows. 

C. Use the mapping rule for the consumer groups. 

D. Set the switch_time plan directive for both plans. 

E. Use scheduler schedules. 

Answer:

Q9. After implementing full Oracle Data Redaction, you change the default value for the number 

data type as follows: 

SQL> SELECT NUMBER_VALUE FROM REDACTION_VALUES_FOR_TYPE_FULL; NUMBER_VALUE 

SQL> EXEC DBMS_REDACT.UPDATE_FULL_REDACTI0N_VALUES(-1) 

PL/SQL procedure successfully completed. 

SQL> select number_value from redaction_values_for_type_full; 

NUMBER VALUE 

-1 

After changing the value, you notice that FULL redaction continues to redact numeric data with a zero. 

What must you do to activate the new default value for numeric full redaction? 

A. Re-enable redaction policies that use FULL data redaction. 

B. Re-create redaction policies that use FULL data redaction. 

C. Re-connect the sessions that access objects with redaction policies defined on them. 

D. Flush the shared pool. 

E. Restart the database instance. 

Answer:

Explanation: About Altering the Default Full Data Redaction Value You can alter the default displayed values for full Data Redaction polices. By default, 0 is the redacted value when Oracle Database performs full redaction (DBMS_REDACT.FULL) on a column of the NUMBER data type. If you want to change it to another value (for example, 7), then you can run the DBMS_REDACT.UPDATE_FULL_REDACTION_VALUES procedure to modify this value. The modification applies to all of the Data Redaction policies in the current database instance. After you modify a value, you must restart the database for it to take effect. 

Q10. Examine the command: 

SQL>RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL; 

In which two scenarios is this command required? 

A. The current online redo log file is missing. 

B. A data file belonging to a noncritical tablespace is missing. 

C. All the control files are missing. 

D. The database backup is older than the control file backup. 

E. All the data files are missing. 

Answer: C,D 

Explanation: http://searchoracle.techtarget.com/answer/Recover-database-using-backup-controlfile-until-cancel 

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. Examine the output: SQL > ARCHIVE LOGLIST Database log modeArchive Mode 

Automatic archivalEnabled Archive DestinationUSE_DB_RECOVERY_FILE_DEST 

Oldest online log sequence376 

Next log sequence to archive378 

Current log sequence378 

Which three types of files are automatically placed in the fast recovery area? 

A. Flashback data archives (FDA) 

B. Archived redo log files 

C. Control file autobackups 

D. Server parameter file (SPFILE) 

E. Recovery Manager (RMAN) backup pieces 

Answer: B,C,E 

Reference:http://docs.oracle.com/cd/E11882_01/backup.112/e10642/glossary.htm#BRADV 526 

Q13. You restore and recover your database to anew host by using an existing RMAN open database backup. 

Which step must you perform next? 

A. Execute catproc.sqi to recompile invalid PL/SQL modules. 

B. Open the database with the resetlogs option. 

C. Set a new database identifier (DBID) for the newly restored database. 

D. Use the RMAN set newname and switch commands to switch to new files. 

Answer:

Q14. 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:

Q15. You are administering a multitenant container database (CDB). 

Identify two ways to access a pluggable database (PDB) that is open in read-only mode. 

A. by using the connect statement as a local user having only the set container privilege 

B. by using easy connect 

C. by using external authentication 

D. as a common user with the set container privilege 

E. by executing the alter session set container command as a local user 

Answer: A,D 

Q16. In your database, there are tablespaces that were read-only when thelast backup was taken. These tablespaces have not been made read/write since then. You want to perform an incomplete recovery on the database by using a backup control file. 

What precaution must you take for the read-only tablespaces before performing anincomplete recovery? 

A. All the read-only tablespaces should be taken offline. 

B. All the read-only tablespaces should be restored separately. 

C. All the read-only tablespaces should be renamed to have the MISSINGnnnn format. 

D. All the read-only tablespacesshould be made online with logging disabled. 

Answer:

START 1Z0-063 EXAM