Exam Code: 1Z0-062 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: Oracle Database 12c: Installation and Administration
Certification Provider: Oracle
Free Today! Guaranteed Training- Pass 1Z0-062 Exam.

2021 May 1Z0-062 Study Guide Questions:

Q111. Oracle Grid Infrastructure for a stand-alone server is installed on your production host before installing the Oracle Database server. The database and listener are configured by using Oracle Restart. 

Examine the following command and its output: 

$ crsctl config has 

CRS-4622: Oracle High Availability Services auto start is enabled. 

What does this imply? 

A. When you start an instance on a high with SQL *Plus dependent listeners and ASM disk groups are automatically started. 

B. When a database instance is started by using the SRVCTL utility and listener startup fails, the instance is still started. 

C. When a database is created by using SQL* Plus, it is automatically added to the Oracle Restart configuration. 

D. When you create a database service by modifying the SERVICE_NAMES initialization parameter, it is automatically added to the Oracle Restart configuration. 

Answer: B 

Explanation: About Startup Dependencies Oracle Restart ensures that Oracle components are started in the proper order, in accordance with component dependencies. For example, if database files are stored in Oracle ASM disk groups, then before starting the database instance, Oracle Restart ensures that the Oracle ASM instance is started and the required disk groups are mounted. Likewise, if a component must be shut down, Oracle Restart ensures that dependent components are cleanly shut down first. Oracle Restart also manages the weak dependency between database instances and the Oracle Net listener (the listener): When a database instance is started, Oracle Restart attempts to start the listener. If the listener startup fails, then the database is still started. If the listener later fails, Oracle Restart does not shut down and restart any database instances. 

http://docs.oracle.com/cd/E16655_01/server.121/e17636/restart.htm#ADMIN12710 


Q112. To implement Automatic Management (AMM), you set the following parameters: 


When you try to start the database instance with these parameter settings, you receive the following error message: 

SQL > startup 

ORA-00824: cannot set SGA_TARGET or MEMORY_TARGET due to existing internal settings, see alert log for more information. 

Identify the reason the instance failed to start. 

A. The PGA_AGGREGATE_TARGET parameter is set to zero. 

B. The STATISTICS_LEVEL parameter is set to BASIC. 

C. Both the SGA_TARGET and MEMORY_TARGET parameters are set. 

D. The SGA_MAX_SIZE and SGA_TARGET parameter values are not equal. 

Answer: B 

Explanation: 

Example: SQL> startup force ORA-00824: cannot set SGA_TARGET or MEMORY_TARGET due to existing internal settings ORA-00848: STATISTICS_LEVEL cannot be set to BASIC with SGA_TARGET or MEMORY_TARGET 


2passeasy.com

Most recent exam 1z0-062:

Q113. Which statement is true about Oracle Net Listener? 

A. It acts as the listening endpoint for the Oracle database instance for all local and non-local user connections. 

B. A single listener can service only one database instance and multiple remote client connections. 

C. Service registration with the listener is performed by the process monitor (PMON) process of each database instance. 

D. The listener.ora configuration file must be configured with one or more listening protocol addresses to allow remote users to connect to a database instance. 

E. The listener.ora configuration file must be located in the ORACLE_HOME/network/admin directly. 

Answer: C 

Explanation: Supported services, that is, the services to which the listener forwards client requests, can be configured in the listener.ora file or this information can be dynamically registered with the listener. This dynamic registration feature is called service registration. 

The registration is performed by the PMON process—an instance background process—of each database instance that has the necessary configuration in the database initialization parameter file. Dynamic service registration does not require any configuration in the listener.ora file. 

Incorrect: 

Not B: Service registration reduces the need for the SID_LIST_listener_name parameter setting, which specifies information about the databases served by the listener, in the listener.ora file. 

Note: 

* Oracle Net Listener is a separate process that runs on the database server computer. It receives incoming client connection requests and manages the traffic of these requests to the database server. 

* A remote listener is a listener residing on one computer that redirects connections to a database instance on another computer. Remote listeners are typically used in an Oracle Real Application Clusters (Oracle RAC) environment. You can configure registration to remote listeners, such as in the case of Oracle RAC, for dedicated server or shared server environments. 


Q114. You use the segment advisor to help determine objects for which space may be reclaimed. 

Which three statements are true about the advisor given by the segment advisor? 

A. It may advise the use of online table redefinition for tables in dictionary managed tablespace. 

B. It may advise the use of segment shrink for tables in dictionary managed tablespaces it the no chained rows. 

C. It may advise the use of online table redefinition for tables in locally managed tablespaces 

D. It will detect and advise about chained rows. 

E. It may advise the use of segment shrink for free list managed tables. 

Answer: B,C,D 

Explanation: The Segment Advisor generates the following types of advice: 

* If the Segment Advisor determines that an object has a significant amount of free space, it recommends online segment shrink. If the object is a table that is not eligible for shrinking, as in the case of a table in a tablespace without automatic segment space management, the Segment Advisor recommends online table redefinition (C). 

* (D) If the Segment Advisor encounters a table with row chaining above a certain threshold, it records that fact that the table has an excess of chained rows. 


2passeasy.com

Tested 1z0-062 book:

Q115. The following parameter are set for your Oracle 12c database instance: 

OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES=FALSE OPTIMIZER_USE_SQL_PLAN_BASELINES=TRUE 

You want to manage the SQL plan evolution task manually. Examine the following steps: 

1. Set the evolve task parameters. 

2. Create the evolve task by using the DBMS_SPM.CREATE_EVOLVE_TASK function. 

3. Implement the recommendations in the task by using the DBMS_SPM.IMPLEMENT_EVOLVE_TASK function. 

4. Execute the evolve task by using the DBMS_SPM.EXECUTE_EVOLVE_TASK function. 

5. Report the task outcome by using the DBMS_SPM.REPORT_EVOLVE_TASK function. 

Identify the correct sequence of steps: 

A. 2, 4, 5 

B. 2, 1, 4, 3, 5 

C. 1, 2, 3, 4, 5 

D. 1, 2, 4, 5 

Answer: B 

Explanation: * Evolving SQL Plan Baselines 


Description of Figure 23-4 follows * 

2. Create the evolve task by using the DBMS_SPM.CREATE_EVOLVE_TASK function. 

This function creates an advisor task to prepare the plan evolution of one or more plans for a specified SQL statement. The input parameters can be a SQL handle, plan name or a list of plan names, time limit, task name, and description. 

1. Set the evolve task parameters. 

SET_EVOLVE_TASK_PARAMETER 

This function updates the value of an evolve task parameter. In this release, the only valid parameter is TIME_LIMIT. 

4. Execute the evolve task by using the DBMS_SPM.EXECUTE_EVOLVE_TASK function. 

This function executes an evolution task. The input parameters can be the task name, execution name, and execution description. If not specified, the advisor generates the name, which is returned by the function. 

3: IMPLEMENT_EVOLVE_TASK 

This function implements all recommendations for an evolve task. Essentially, this function is equivalent to using ACCEPT_SQL_PLAN_BASELINE for all recommended plans. Input parameters include task name, plan name, owner name, and execution name. 

5. Report the task outcome by using the DBMS_SPM_EVOLVE_TASK function. 

This function displays the results of an evolve task as a CLOB. Input parameters include the task name and section of the report to include. 

Reference: Oracle Database SQL Tuning Guide 12c, Managing SQL Plan Baselines 


Q116. Which three features work together, to allow a SQL statement to have different cursors for the same statement based on different selectivity ranges? 

A. Bind Variable Peeking 

B. SQL Plan Baselines 

C. Adaptive Cursor Sharing 

D. Bind variable used in a SQL statement 

E. Literals in a SQL statement 

Answer: A,C,E 

Explanation: * In bind variable peeking (also known as bind peeking), the optimizer looks at the value in a bind variable when the database performs a hard parse of a statement. 

When a query uses literals, the optimizer can use the literal values to find the best plan. However, when a query uses bind variables, the optimizer must select the best plan without the presence of literals in the SQL text. This task can be extremely difficult. By peeking at bind values the optimizer can determine the selectivity of a WHERE clause condition as if literals had been used, thereby improving the plan. 

C: Oracle 11g/12g uses Adaptive Cursor Sharing to solve this problem by allowing the server to compare the effectiveness of execution plans between executions with different bind variable values. If it notices suboptimal plans, it allows certain bind variable values, or ranges of values, to use alternate execution plans for the same statement. This functionality requires no additional configuration.