It is impossible to pass Oracle 1z0 062 dumps exam without any help in the short term. Come to Pass4sure soon and find the most advanced, correct and guaranteed Oracle oracle database 12c installation and administration 1z0 062 pdf practice questions. You will get a surprising result by our Avant-garde Oracle Database 12c: Installation and Administration practice guides.

Q1. You plan to implement the distributed database system in your company. You invoke Database Configuration Assistant (DBCA) to create a database on the server. During the installation, DBCA prompts you to specify the Global Database Name. 

What must this name be made up of? 

A. It must be made up of a database name and a domain name. 

B. It must be made up of the value in ORACLE_SID and HOSTNAME. 

C. It must be made up of the value that you plan to assign for INSTANCE_NAME and HOSTNAME. 

D. It must be made up of the value that you plan to assign for ORACLE_SID and SERVICE_NAMES. 

Answer:

Explanation: Using the DBCA to Create a Database (continued) 

3. Database Identification: Enter the Global Database Name in The form database_name.domain_name, and the system identifier (SID). The SID defaults lo the database name and uniquely identifies the instance associated with the database. 

4. Management Options: Use this page to set up your database so that it can be managed with Oracle Enterprise Manager. Select the default: "Configure the Database with Enterprise Manager." Optionally, this page allows you to configure alert notifications and daily disk backup area settings. 

Note: Yon must configure the listener before you can configure Enterprise Manager (as shown earlier). 


Q2. You execute the following PL/SQL: 

Which two statements are true? 

A. Fine-Grained Auditing (FGA) is enabled for the PRICE column in the PRODUCTS table for SELECT statements only when a row with PRICE > 10000 is accessed. 

B. FGA is enabled for the PRODUCTS.PRICE column and an audit record is written whenever a row with PRICE > 10000 is accessed. 

C. FGA is enabled for all DML operations by JIM on the PRODUCTS.PRICE column. 

D. FGA is enabled for the PRICE column of the PRODUCTS table and the SQL statements is captured in the FGA audit trial. 

Answer: A,B 

Explanation: DBMS_FGA.add_policy 

* The DBMS_FGA package provides fine-grained security functions. 

* ADD_POLICY Procedure 

This procedure creates an audit policy using the supplied predicate as the audit condition. 

Incorrect: 

Not C: object_schema 

The schema of the object to be audited. (If NULL, the current log-on user schema is assumed.) 


Q3. Your database has the SRV1 service configured for an application that runs on middle-tier application server. The application has multiple modules. You enable tracing at the service level by executing the following command: 

SQL > exec DBMS_MONITOR.SERV_MOD_ACT_TRACE_ENABLE (‘SRV1’); 

The possible outcome and actions to aggregate the trace files are as follows: 

1. The command fails because a module name is not specified. 

2. A trace file is created for each session that is running the SRV1 service. 

3. An aggregated trace file is created for all the sessions that are running the SRV1 service. 

4. The trace files may be aggregated by using the trcess utility. 

5. The trace files be aggregated by using the tkprof utility. 

Identify the correct outcome and the step to aggregate by using tkprof utility? 

A. 1 

B. 2 and 4 

C. 2 and 5 

D. 3 and 4 

E. 3 and 5 

Answer:

Explanation: Tracing information is present in multiple trace files and you must use the trcsess tool to collect it into a single file. 

Incorrect: 

Not 1: Parameter service_name 

Name of the service for which tracing is enabled. 

module_name 

Name of the MODULE. An optional additional qualifier for the service. 

Note: 

* The procedure enables a trace for a given combination of Service, MODULE and ACTION name. The specification is strictly hierarchical: Service Name or Service Name/MODULE, or Service Name, MODULE, and ACTION name must be specified. Omitting a qualifier behaves like a wild-card, so that not specifying an ACTION means all ACTIONs. Using the ALL_ACTIONS constant achieves the same purpose. 

* SERV_MOD_ACT_TRACE_ENABLE Procedure 

This procedure will enable SQL tracing for a given combination of Service Name, MODULE and ACTION globally unless an instance_name is specified. 

* DBMS_MONITOR.SERV_MOD_ACT_TRACE_ENABLE( 

service_name IN VARCHAR2, 

module_name IN VARCHAR2 DEFAULT ANY_MODULE, 

action_name IN VARCHAR2 DEFAULT ANY_ACTION, 

waits IN BOOLEAN DEFAULT TRUE, 

binds IN BOOLEAN DEFAULT FALSE, 

instance_name IN VARCHAR2 DEFAULT NULL); 


Q4. Examine the parameters for your database instance: 

NAMETYPE VALUE 

undo_management string AUTO 

undo_retentioninteger 12 00 

undo_tablespace string UNDOTBS1 

You execute the following command: 

SQL> ALTER TABLESPACE undotbs1 RETENTION NOGUARANTEE; 

Which statement is true in this scenario? 

A. Undo data is written to flashback logs after 1200 seconds. 

B. Inactive undo data is retained for 1200 seconds even if subsequent transactions fail due to lack of space in the undo tablespace. 

C. You can perform a Flashback Database operation only within the duration of 1200 seconds. 

D. An attempt is made to keep inactive undo for 1200 seconds but transactions may overwrite the undo before that time has elapsed. 

Answer:


Q5. On your Oracle 12c database, you invoked SQL *Loader to load data into the EMPLOYEES table in the HR schema by issuing the following command: 

$> sqlldr hr/hr@pdb table=employees 

Which two statements are true regarding the command? 

A. It succeeds with default settings if the EMPLOYEES table belonging to HR is already defined in the database. 

B. It fails because no SQL *Loader data file location is specified. 

C. It fails if the HR user does not have the CREATE ANY DIRECTORY privilege. 

D. It fails because no SQL *Loader control file location is specified. 

Answer: A,C 

Explanation: 

Note: 

* SQL*Loader is invoked when you specify the sqlldr command and, optionally, parameters that establish session characteristics. 


Q6. Which statement is true about Enterprise Manager (EM) express in Oracle Database 12c? 

A. By default, EM express is available for a database after database creation. 

B. You can use EM express to manage multiple databases running on the same server. 

C. You can perform basic administrative tasks for pluggable databases by using the EM express interface. 

D. You cannot start up or shut down a database Instance by using EM express. 

E. You can create and configure pluggable databases by using EM express. 

Answer:

Explanation: EM Express is built inside the database. 

Note: Oracle Enterprise Manager Database Express (EM Express) is a web-based database management tool that is built inside the Oracle Database. It supports key performance management and basic database administration functions. From an architectural perspective, EM Express has no mid-tier or middleware components, ensuring that its overhead on the database server is negligible. 


Q7. In your multitenant container database (CDB) containing pluggable database (PDBs), you granted the CREATE TABLE privilege to the common user C # # A_ADMIN in root and all 

PDBs. You execute the following command from the root container: 

SQL > REVOKE create table FROM C # # A_ADMIN; 

What is the result? 

A. It executes successfully and the CREATE TABLE privilege is revoked from C # # A_ADMIN in root only. 

B. It fails and reports an error because the CONTAINER=ALL clause is not used. 

C. It excludes successfully and the CREATE TABLE privilege is revoked from C # # A_ADMIN in root and all PDBs. 

D. It fails and reports an error because the CONTAINER=CURRENT clause is not used. 

E. It executes successfully and the CREATE TABLE privilege is revoked from C # # A_ADMIN in all PDBs. 

Answer:

Explanation: REVOKE ..FROM 

If the current container is the root: 

/ Specify CONTAINER = CURRENT to revoke a locally granted system privilege, object privilege, or role from a common user or common role. The privilege or role is revoked from the user or role only in the root. This clause does not revoke privileges granted with CONTAINER = ALL. 

/ Specify CONTAINER = ALL to revoke a commonly granted system privilege, object privilege on a common object, or role from a common user or common role. The privilege or role is revoked from the user or role across the entire CDB. This clause can revoke only a privilege or role granted with CONTAINER = ALL from the specified common user or common role. This clause does not revoke privileges granted locally with CONTAINER = CURRENT. However, any locally granted privileges that depend on the commonly granted privilege being revoked are also revoked. 

If you omit this clause, then CONTAINER = CURRENT is the default. 

Reference: Oracle Database SQL Language Reference 12c, Revoke 


Q8. In which two scenarios do you use SQL* Loader to load data? 

A. Transform the data while it is being loaded into the database. 

B. Use transparent parallel processing without having to split the external data first. 

C. Load data into multiple tables during the same load statement. 

D. Generate unique sequential key values in specified columns. 

Answer: A,D 

Explanation: You can use SQL*Loader to do the following: 

/ (A) Manipulate the data before loading it, using SQL functions. 

/ (D) Generate unique sequential key values in specified columns. 

etc: 

/ Load data into multiple tables during the same load session. 

/ Load data across a network. This means that you can run the SQL*Loader client on a different system from the one that is running the SQL*Loader server. 

/ Load data from multiple datafiles during the same load session. 

/Specify the character set of the data. 

/ Selectively load data (you can load records based on the records' values). 

/Use the operating system's file system to access the datafiles. 

/ Load data from disk, tape, or named pipe. 

/ Generate sophisticated error reports, which greatly aid troubleshooting. 

/ Load arbitrarily complex object-relational data. 

/ Use secondary datafiles for loading LOBs and collections. 

/ Use either conventional or direct path loading. While conventional path loading is very flexible, direct path loading provides superior loading performance. 

Note: 

* SQL*Loader loads data from external files into tables of an Oracle database. It has a powerful data parsing engine that puts little limitation on the format of the data in the datafile. 


Q9. Your multitenant container database (CDB) contains pluggable databases (PDBs), you are connected to the HR_PDB. You execute the following command: 

SQL > CREATE UNDO TABLESPACE undotb01 

DATAFILE ‘u01/oracle/rddb1/undotbs01.dbf’ SIZE 60M AUTOEXTEND ON; 

What is the result? 

A. It executes successfully and creates an UNDO tablespace in HR_PDB. 

B. It falls and reports an error because there can be only one undo tablespace in a CDB. 

C. It fails and reports an error because the CONTAINER=ALL clause is not specified in the command. 

D. It fails and reports an error because the CONTAINER=CURRENT clause is not specified in the command. 

E. It executes successfully but neither tablespace nor the data file is created. 

Answer:

Explanation: Interesting behavior in 12.1.0.1 DB of creating an undo tablespace in a PDB. With the new Multitenant architecture the undo tablespace resides at the CDB level and PDBs all share the same UNDO tablespace. 

When the current container is a PDB, an attempt to create an undo tablespace fails without returning an error. 


Q10. Examine the parameter for your database instance: 

You generated the execution plan for the following query in the plan table and noticed that the nested loop join was done. After actual execution of the query, you notice that the hash join was done in the execution plan: 

Identify the reason why the optimizer chose different execution plans. 

A. The optimizer used a dynamic plan for the query. 

B. The optimizer chose different plans because automatic dynamic sampling was enabled. 

C. The optimizer used re-optimization cardinality feedback for the query. 

D. The optimizer chose different plan because extended statistics were created for the columns used. 

Answer:

Explanation: * optimizer_dynamic_sampling OPTIMIZER_DYNAMIC_SAMPLING controls both when the database gathers dynamic statistics, and the size of the sample that the optimizer uses to gather the statistics. Range of values0 to 11