[Free] 2019(Nov) EnsurePass Oracle 1z0-062 Dumps with VCE and PDF 21-30

Get Full Version of the Exam
http://www.EnsurePass.com/1z0-062.html

Question No.21

Your database is open and the LISTENER listener running. You stopped the wrong listener LISTENER by issuing the following command:

1snrctl gt; STOP

What happens to the sessions that are presently connected to the database Instance?

  1. They are able to perform only queries.

  2. They are not affected and continue to function normally.

  3. They are terminated and the active transactions are rolled back.

  4. They are not allowed to perform any operations until the listener LISTENER is started.

Correct Answer: B

Explanation:

The listener is used when the connection is established. The immediate impact of stopping the listener will be that no new session can be established from a remote host. Existing sessions are not compromised.

Question No.22

Which two statements are true about Oracle Managed Files (OMF)? (Choose two.)

  1. OMF cannot be used in a database that already has data files created with user- specified directions.

  2. The file system directions that are specified by OMF parameters are created automatically.

  3. OMF can be used with ASM disk groups, as well as with raw devices, for better file management.

  4. OMF automatically creates unique file names for table spaces and control files.

  5. OMF may affect the location of the redo log files and archived log files.

Correct Answer: DE

Explanation:

D: The database internally uses standard file system interfaces to create and delete files as needed for the following database structures:

Tablespaces Redo log files Control files Archived logs

Block change tracking files Flashback logs

RMAN backups

Note:

Using Oracle-managed files simplifies the administration of an Oracle Database. Oracle- managed files eliminate the need for you, the DBA, to directly manage the operating system files that make up an Oracle Database. With Oracle-managed files, you specify file system directories in which the database automatically creates, names, and manages files at the database object level. For example, you need only specify that you want to create a tablespace; you do not need to specify the name and path of the tablespace#39;s datafile with the DATAFILE clause.

References:

http://www.oracle-base.com/articles/9i/oracle-managed-files.php http://docs.oracle.com/cd/B10500_01/server.920/a96521/omf.htm

Question No.23

You use a recovery catalog for maintaining your database backups. You execute the following command:

$rman TARGET / CATALOG rman / cat@catdb

RMAN gt; BACKUP VALIDATE DATABASE ARCHIVELOG ALL;

Which two statements are true? (Choose two.)

  1. Corrupted blocks, if any, are repaired.

  2. Checks are performed for physical corruptions.

  3. Checks are performed for logical corruptions.

  4. Checks are performed to confirm whether all database files exist in correct locations

  5. Backup sets containing both data files and archive logs are created.

Correct Answer: BD

Explanation:

B (not C): You can validate that all database files and archived redo logs can be backed up by running a command as follows:

RMANgt; BACKUP VALIDATE DATABASE ARCHIVELOG ALL;

This form of the command would check for physical corruption. To check for logical corruption, RMANgt; BACKUP VALIDATE CHECK LOGICAL DATABASE ARCHIVELOG ALL;

D: You can use the VALIDATE keyword of the BACKUP command to do the following: Check datafiles for physical and logical corruption

Confirm that all database files exist and are in the correct locations.

Note:

You can use the VALIDATE option of the BACKUP command to verify that database files exist and are in the correct locations (D), and have no physical or logical corruptions that would prevent RMAN from creating backups of them. When performing a BACKUP…VALIDATE, RMAN reads the files to be backed up in their entirety, as it would during a real backup. It does not, however, actually produce any backup sets or image copies (Not A, not E).

Question No.24

Which two statements are true about extents? (Choose two.)

  1. Blocks belonging to an extent can be spread across multiple data files.

  2. Data blocks in an extent are logically contiguous but can be non-contiguous on disk.

  3. The blocks of a newly allocated extent, although free, may have been used before.

  4. Data blocks in an extent are automatically reclaimed for use by other objects in a tablespace when all the rows in a table are deleted.

Correct Answer: BC

Question No.25

You want to capture column group usage and gather extended statistics for better cardinality estimates for the CUSTOMERS table in the SH schema.

Examine the following steps:

  1. Issue the SELECT DBMS_STATS.CREATE_EXTENDED_STATS (`SH#39;, `CUSTOMERS#39;) FROM dual statement.

  2. Execute the DBMS_STATS.SEED_COL_USAGE (null, `SH#39;, 500) procedure.

  3. Execute the required queries on the CUSTOMERS table.

  4. Issue the SELECT DBMS_STATS.REPORT_COL_USAGE (`SH#39;, `CUSTOMERS#39;) FROM dual statement.

Identify the correct sequence of steps.

A.

3, 2, 1, 4

B.

2, 3, 4, 1

C.

4, 1, 3, 2

D.

3, 2, 4, 1

Correct Answer: B

Explanation:

Step 1: (2). Seed column usage

Oracle must observe a representative workload, in order to determine the appropriate column groups. Using the new procedure DBMS_STATS.SEED_COL_USAGE, you tell Oracle how long it should observe the workload.

Step 2: (3) You don#39;t need to execute all of the queries in your work during this window. You can simply run explain plan for some of your longer running queries to ensure column group information is recorded for these queries.

Step 3. (1) Create the column groups

At this point you can get Oracle to automatically create the column groups for each of the tables based on the usage information captured during the monitoring window. You simply have to call the DBMS_STATS.CREATE_EXTENDED_STATS function for each table.This function requires just two arguments, the schema name and the table name. From then on, statistics will be maintained for each column group whenever statistics are gathered on the table.

Note:

DBMS_STATS.REPORT_COL_USAGE reports column usage information and records all the SQL operations the database has processed for a given object.

The Oracle SQL optimizer has always been ignorant of the implied relationships between data columns within the same table. While the optimizer has traditionally analyzed the distribution of values within a column, he does not collect value-based relationships between columns.

Creating extended statisticsHere are the steps to create extended statistics for related table columns withdbms_stats.created_extended_stats:

  1. – The first step is to create column histograms for the related columns.

  2. – Next, we run dbms_stats.create_extended_stats to relate the columns together. Unlike a traditional procedure that is invoked via an execute (quot;execquot;) statement, Oracle extended statistics are created via a select statement.

Question No.26

Which three statements are true about a job chain? (Choose three.)

  1. It can contain a nested chain of jobs.

  2. It can be used to implement dependency-based scheduling.

  3. It cannot invoke the same program or nested chain in multiple steps in the chain.

  4. It cannot have more than one dependency.

  5. It can be executed using event-based or time-based schedules.

Correct Answer: ABE

Question No.27

Examine the parameter for your database instance:

image

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:

image

Identify the reason why the optimizer chose different execution plans.

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

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

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

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

Correct Answer: A

Question No.28

You executed a DROP USER CASCADE on an Oracle 11g release 1 database and immediately realized that you forgot to copy the OCA.EXAM_RESULTS table to the OCP schema.

The RECYCLE_BIN enabled before the DROP USER was executed and the OCP user has been granted the FLASHBACK ANY TABLE system privilege.

What is the quickest way to recover the contents of the OCA.EXAM_RESULTS table to the OCP schema?

  1. Execute FLASHBACK TABLE OCA.EXAM_RESULTS TO BEFORE DROP RENAME TO OCP.EXAM_RESULTS; connected as SYSTEM.

  2. Recover the table using traditional Tablespace Point In Time Recovery.

  3. Recover the table using Automated Tablespace Point In Time Recovery.

  4. Recovery the table using Database Point In Time Recovery.

  5. Execute FLASHBACK TABLE OCA.EXAM_RESULTS TO BEFORE DROP RENAME TO EXAM_RESULTS; connected as the OCP user.

Correct Answer: C

Explanation:

RMAN tablespace point-in-time recovery (TSPITR).

Recovery Manager (RMAN) TSPITR enables quick recovery of one or more tablespaces in a database to an earlier time without affecting the rest of the tablespaces and objects in the database.

Fully Automated (the default)

In this mode, RMAN manages the entire TSPITR process including the auxiliary instance.

You specify the tablespaces of the recovery set, an auxiliary destination, the target time, and you allow RMAN to manage all other aspects of TSPITR. The default mode is recommended unless you specifically need more control over the location of recovery set files after TSPITR, auxiliary set files during TSPITR, channel settings and parameters or some other aspect of your auxiliary instance.

Question No.29

Which three factors influence the optimizer#39;s choice of an execution plan? (Choose three.)

  1. the optimizer_mode initialization parameter

  2. operating system (OS) statistics

  3. cardinality estimates

  4. object statistics in the data dictionary

  5. fixed baselines

Correct Answer: ACD

Question No.30

Your multitenant container database (CDB) contains a pluggable database, HR_PDB. The default

permanent tablespace in HR_PDB is USERDATA. The container database (CDB) is open and you connect RMAN.

You want to issue the following RMAN command: RMAN gt; BACKUP TABLESPACE hr_pdb:userdata;

Which task should you perform before issuing the command?

  1. Place the root container in ARHCHIVELOG mode.

  2. Take the user data tablespace offline.

  3. Place the root container in the nomount stage.

  4. Ensure that HR_PDB is open.

Correct Answer: A

Get Full Version of the Exam
1z0-062 Dumps
1z0-062 VCE and PDF

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.