1z0-067 | What Tested 1z0-067 examcollection Is?


Q31. You are administering a multitenant container database (CDB) cdb1that 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 

Q32. Your database has a table customers that contains the columns cust_name, amt_due, and old_status. 

Examine the commands executed and their output: 

SQL>UPDATEcustomersSETamt_due=amt_due+amt_due*l. 1WHEREcust_name='JAMES' 

1row updated. 

SQL> ALTER TABLE customers DROP COLUMN old_status; 

Table Altered 

SQL> UPDATE customers SET amt_due=amt_due+amt_due*1.5 WHERE cust_r.ame='JAMES' 

1 row updated. 

SQL> COMMIT; 

SQL> SELECT versions_xid AS XID, versior.s_startscr. AS START_SCN, 

versions_er.cscn AS END_SCN, versior.s_operatior. AS OPERATION', amt_due 

FROM customers VERSIONS BETWEEN SCN MINVALULEAND MAXVALUE WHERE custname='JAMES'. 

XIDSTART_SCNEND_SCNOPERATIONAMT_DUE 

07002f00cl03000017063371706337 U3300 

Why is it that only one update is listed by the Flashback Version Query? 

A. Supplemental logging is not enabled for the database. 

B. The undo data that existed for versions of rows before the change to the table structure is invalidated. 

C. The db_flash3ACK_reteni:on_target parameter is set to a lower value and the undo data pertaining to the first transaction is flushed out. 

D. Undo retention guarantee is not enabled. 

E. Flashback Data Archive is full after the first update statement. 

Answer:

Q33. Examine the command to duplicate a database: 

RMAN> DUPLICATE TARGET DATABASE TO cdb 

PLUGGABLE DATABASE pdb1, pdb5; 

Which two statements are true about the DUPLICATEcommand? 

A. The SPFILE is copied along with the data files of the pluggable databases (PDBs). The root and the seed database in the container database (CDB) are also duplicated. 

B. A backup of pdbi and pd35 must exist before executing the command. 

C. The duplicate command first creates a backup, and then duplicates the PDBs by using the 

D. backup. 

E. An auxiliary instance must be started with the initialization parameter ENABLE_PLUGGABLE_DATABASE set to TRUE. 

Answer: D,E 

Q34. Which Oracle Database component is audited by default if the Unified Auditing option is enabled? 

A. Oracle Data Pump 

B. Oracle Recovery Manager (RMAN) 

C. Oracle Label Security 

D. Oracle Database Vault 

E. Oracle Real Application Security 

Answer:

Q35. Your database is running in archivelog mode. Examine the initialization parameters you plan to set for your database instance. 

LOG_ARCHIVE_DEST_1 = 'LOCATION=/disk1/arch' 

LOG_ARCHIVE_DEST_2 = 'L0CATI0N=/disk2/3rch' 

LOG_ARCHIVE_DEST_3 = 'LOCATION=/disk3/arch' 

L0G_ARCHIVE_DEST_4 = 'L0CATI0N=/disk4/3rch MANDATORY' 

Identify the statement that correctly describes these settings. 

A. An online redo log file is not allowed to be overwritten if the archived log file cannot be created in any of the log_archive_dest_.ndestinations. 

B. Optional destinations cannot use the fast recovery area. 

C. An online redo log file is not allowed to be overwritten if the archived log file cannot be created in the location specified for log_archive_dest_4. 

D. These settings work only if log__archive_min_succeed_dest is set to a value of 4. 

Answer:

Q36. Which three statements correctly describe the relationship amongst jobs, programs, and schedules within the Oracle Job Scheduler? 

A. A job is specified as part of a program definition. 

B. A program can be used in the definition of multiple jobs. 

C. A program and job can be specified as part of a schedule definition. 

D. A program and schedule can be specified as part of a job definition. 

E. A program and window can be specified as part of a job definition. 

Answer: B,C,D 

Reference:http://docs.oracle.com/database/121/ADMIN/schedover.htm#ADMIN13371 

Q37. 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 does not 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 to automatically 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. 

Q38. You plan to use the In-Database Archiving feature of Oracle Database 12c, and store rows that are inactive for over three months, in Hybrid Columnar Compressed (HCC) format. 

Which three storage options support the use of HCC? 

A. ASM disk groups with ASM disks consisting of Exadata Grid Disks. 

B. ASM disk groups with ASM disks consisting of LUNS on any Storage Area Network array 

C. ASM disk groups with ASM disks consisting of any zero padded NFS-mounted files 

D. Database files stored in ZFS and accessed using conventional NFS mounts. 

E. Database files stored in ZFS and accessed using the Oracle Direct NFS feature 

F. Database files stored in any file system and accessed using the Oracle Direct NFS feature 

G. ASM disk groups with ASM disks consisting of LUNs on Pillar Axiom Storage arrays 

Answer: A,E,G 

Explanation: HCC requires the use of Oracle Storage – Exadata (A), Pillar Axiom (G) or 

Sun ZFS Storage Appliance (ZFSSA). 

Note: 

* Hybrid Columnar Compression, initially only available on Exadata, has been extended to support Pillar Axiom and Sun ZFS Storage Appliance (ZFSSA) storage when used with Oracle Database Enterprise Edition 11.2.0.3 and above 

* Oracle offers the ability to manage NFS using a feature called Oracle Direct NFS (dNFS). Oracle Direct NFS implements NFS V3 protocol within the Oracle database kernel itself. Oracle Direct NFS client overcomes many of the challenges associated with using NFS with the Oracle Database with simple configuration, better performance than traditional NFS clients, and offers consistent configuration across platforms. 

Q39. Which two resources might be prioritized between competing pluggable databases (PDBs) when creating a multitenant container database (COB) plan using Oracle Database Resource Manager? 

A. maximum undo per consumer group 

B. maximum idle time for a session in a PDB 

C. parallel server limit 

D. CPU 

E. maximum number of sessions for a PDB 

Answer: C,D 

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

The statistics_level parameter is PDB 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 any of 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: