1z0-062

1z0-062 practice questions, page 6 of 16, with answer review and explanations.

Question 26

Your database supports a DSS workload that involves the execution of complex queries: Currently, the library cache contains the ideal workload for analysis. You want to analyze some of the queries for an application that are cached in the library cache. What must you do to receive recommendations about the efficient use of indexes and materialized views to improve query performance?

  1. Create a SQL Tuning Set (STS) that contains the queries cached in the library cache and run the SQL Tuning Advisor (STA) on the workload captured in the STS.
  2. Run the Automatic Workload Repository Monitor (ADDM).
  3. Create an STS that contains the queries cached in the library cache and run the SQL Performance Analyzer (SPA) on the workload captured in the STS.
  4. Create an STS that contains the queries cached in the library cache and run the SQL Access Advisor on the workload captured in the STS.

Question 27

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:

  1. 2, 4, 5
  2. 2, 1, 4, 3, 5
  3. 1, 2, 3, 4, 5
  4. 1, 2, 4, 5

Question 28

In a recent Automatic Workload Repository (AWR) report for your database, you notice a high number of buffer busy waits. The database consists of locally managed tablespaces with free list managed segments. On further investigation, you find that buffer busy waits is caused by contention on data blocks. Which option would you consider first to decrease the wait event immediately?

  1. Decreasing PCTUSED
  2. Decreasing PCTFREE
  3. Increasing the number of DBWN process
  4. Using Automatic Segment Space Management (ASSM)
  5. Increasing db_buffer_cache based on the V$DB_CACHE_ADVICE recommendation

Question 29

Examine this command: SQL > exec DBMS_STATS.SET_TABLE_PREFS (SH, CUSTOMERS, PUBLISH, false); Which three statements are true about the effect of this command? (Choose three.)

  1. Statistics collection is not done for the CUSTOMERS table when schema stats are gathered.
  2. Statistics collection is not done for the CUSTOMERS table when database stats are gathered.
  3. Any existing statistics for the CUSTOMERS table are still available to the optimizer at parse time.
  4. Statistics gathered on the CUSTOMERS table when schema stats are gathered are stored as pending statistics.
  5. Statistics gathered on the CUSTOMERS table when database stats are gathered are stored as pending statistics.

Question 30

Examine the following impdp command to import a database over the network from a pre-12c Oracle database (source): Which three are prerequisites for successful execution of the command? (Choose three.)

  1. The import operation must be performed by a user on the target database by a user with the DATAPUMP_IMP_FULL_DATABASE role, and the database link must connect to a user with the DATAPUMP_EXP_FULL_DATABASE role on the source database.
  2. All the user-defined tablespaces must be in read-only mode on the source database.
  3. The export dump file must be created before starting the import on the target database.
  4. The source and target database must be running on the same operating system (OS) with the same endianness.
  5. The impdp operation must be performed by the same user that performed the expdp operation.