Want to know Testking 1Z0-062 Exam practice test features? Want to lear more about Oracle Oracle Database 12c: Installation and Administration certification experience? Study Printable Oracle 1Z0-062 answers to Rebirth 1Z0-062 questions at Testking. Gat a success with an absolute guarantee to pass Oracle 1Z0-062 (Oracle Database 12c: Installation and Administration) test on your first attempt.

2021 Jan 1Z0-062 latest exam

Q41. 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’, ‘CUSTOMERS’) FROM dual statement. 

2. Execute the DBMS_STATS.SEED_COL_USAGE (null, ‘SH’, 500) procedure. 

3. Execute the required queries on the CUSTOMERS table. 

4. Issue the SELECT DBMS_STATS.REPORT_COL_USAGE (‘SH’, ‘CUSTOMERS’) 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 

Answer:

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'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 (“exec”) statement, Oracle extended statistics are created via a select statement. 


Q42. Your multitenant container (CDB) contains two pluggable databases (PDB), HR_PDB and ACCOUNTS_PDB, both of which use the CDB tablespace. The temp file is called temp01.tmp. 

A user issues a query on a table on one of the PDBs and receives the following error: 

ERROR at line 1: 

ORA-01565: error in identifying file ‘/u01/app/oracle/oradata/CDB1/temp01.tmp’ 

ORA-27037: unable to obtain file status 

Identify two ways to rectify the error. 

A. Add a new temp file to the temporary tablespace and drop the temp file that that produced the error. 

B. Shut down the database instance, restore the temp01.tmp file from the backup, and then restart the database. 

C. Take the temporary tablespace offline, recover the missing temp file by applying redo logs, and then bring the temporary tablespace online. 

D. Shutdown the database instance, restore and recover the temp file from the backup, and then open the database with RESETLOGS. 

E. Shut down the database instance and then restart the CDB and PDBs. 

Answer: A,E 

Explanation: * Because temp files cannot be backed up and because no redo is ever generated for them, RMAN never restores or recovers temp files. RMAN does track the names of temp files, but only so that it can automatically re-create them when needed. 

* If you use RMAN in a Data Guard environment, then RMAN transparently converts primary control files to standby control files and vice versa. RMAN automatically updates file names for data files, online redo logs, standby redo logs, and temp files when you issue RESTORE and RECOVER. 


Q43. Which three factors influence the optimizer's choice of an execution plan? 

A. the optimizer_mode initialization parameter 

B. operating system (OS) statistics 

C. cardinality estimates 

D. object statistics in the data dictionary 

E. fixed baselines 

Answer: A,B 

Reference: http://docs.oracle.com/cd/B19306_01/server.102/b14211/optimops.htm 


Q44. You are administering a database stored in Automatic Storage Management (ASM). You use RMAN to back up the database and the MD_BACKUP command to back up the ASM metadata regularly. You lost an ASM disk group DG1 due to hardware failure. 

In which three ways can you re-create the lost disk group and restore the data? 

A. Use the MD_RESTORE command to restore metadata for an existing disk group by passing the existing disk group name as an input parameter and use RMAN to restore the data. 

B. Use the MKDG command to restore the disk group with the same configuration as the backed-up disk group and data on the disk group. 

C. Use the MD_RESTORE command to restore the disk group with the changed disk group specification, failure group specification, name, and other attributes and use RMAN to restore the data. 

D. Use the MKDG command to restore the disk group with the same configuration as the backed-up disk group name and same set of disks and failure group configuration, and use RMAN to restore the data. 

E. Use the MD_RESTORE command to restore both the metadata and data for the failed disk group. 

F. Use the MKDG command to add a new disk group DG1 with the same or different specifications for failure group and other attributes and use RMAN to restore the data. 

Answer: A,C,F 

Explanation: AC (not E): 

The md_restore command allows you to restore a disk group from the metadata created by 

the md_backup command. 

md_restore can’t restore data, only metadata. 


Q45. Which two statements are true about the RMAN validate database command? 

A. It checks the database for intrablock corruptions. 

B. It can detect corrupt pfiles. 

C. It can detect corrupt spfiles. 

D. It checks the database for interblock corruptions. 

E. It can detect corrupt block change tracking files. 

Answer: A,C 

Explanation: 

Block corruptions can be divided Into Interblock corruption and intrablock corruption. In intrablock corruption. th. corruption occurs within the block itself and can be either physical or logical corruption. In interblock corruption, the corruption occurs between blocks and can only be logical corruption. (key word) * The VALIDATE command checks for intrablock corruptions only. Only DBVERIFY and the ANALYZE statement detect Interblock corruption. VALIDATE Command Output ..> List of Control File and SPFILE. 

File TYPE >.. SPFILE or Control File. 

Status >.. OK if no corruption, or FAILED If block corruption is found. 

Blocks Failing ... The number of blocks that fail the corruption check. These 

blocks are newly corrupt. 

Blocks Examined ... Total number of blocks in the file. 

Oracle' Database Backup and Recovery User's Guide 

12c Release 1 (12.1) - 16 Validating Database Files and Backups 


Updated 1Z0-062 rapidshare:

Q46. Which three statements are true when the listener handles connection requests to an Oracle 12c database instance with multithreaded architecture enabled In UNIX? 

A. Thread creation must be routed through a dispatcher process 

B. The local listener may spawn a now process and have that new process create a thread 

C. Each Oracle process runs an SCMN thread. 

D. Each multithreaded Oracle process has an SCMN thread. 

E. The local listener may pass the request to an existing process which in turn will create a thread. 

Answer: A,D,E 


Q47. Your database supports an online transaction processing (OLTP) application. The application is undergoing some major schema changes, such as addition of new indexes and materialized views. You want to check the impact of these changes on workload performance. 

What should you use to achieve this? 

A. Database replay 

B. SQL Tuning Advisor 

C. SQL Access Advisor 

D. SQL Performance Analyzer 

E. Automatic Workload Repository compare reports 

Answer:

Explanation: You can use the SQL Performance Analyzer to analyze the SQL performance impact of any type of system change. Examples of common system changes include: 

.Database upgrades 

.Configuration changes to the operating system, hardware, or database 

.Database initialization parameter changes 

.Schema changes, such as adding new indexes or materialized views 

.Gathering optimizer statistics 

.SQL tuning actions, such as creating SQL profiles 

http://docs.oracle.com/cd/B28359_01/server.111/b28318/intro.htm#CNCPT961 


Q48. You must track all transactions that modify certain tables in the sales schema for at least three years. 

Automatic undo management is enabled for the database with a retention of one day. 

Which two must you do to track the transactions? 

A. Enable supplemental logging for the database. 

B. Specify undo retention guarantee for the database. 

C. Create a Flashback Data Archive in the tablespace where the tables are stored. 

D. Create a Flashback Data Archive in any suitable tablespace. 

E. Enable Flashback Data Archiving for the tables that require tracking. 

Answer: D,E 

Explanation: E: By default, flashback archiving is disabled for any table. You can enable flashback archiving for a table if you have the FLASHBACK ARCHIVE object privilege on the Flashback Data Archive that you want to use for that table. 

D: Creating a Flashback Data Archive 

/ Create a Flashback Data Archive with the CREATE FLASHBACK ARCHIVE statement, specifying the following: 

Name of the Flashback Data Archive 

Name of the first tablespace of the Flashback Data Archive 

(Optional) Maximum amount of space that the Flashback Data Archive can use in the first tablespace 

/ Create a Flashback Data Archive named fla2 that uses tablespace tbs2, whose data will be retained for two years: 

CREATE FLASHBACK ARCHIVE fla2 TABLESPACE tbs2 RETENTION 2 YEAR; 


Q49. Which three statements are true regarding the use of the Database Migration Assistant for Unicode (DMU)? 

A. A DBA can check specific tables with the DMU 

B. The database to be migrated must be opened read-only. 

C. The release of the database to be converted can be any release since 9.2.0.8. 

D. The DMU can report columns that are too long in the converted characterset. 

E. The DMU can report columns that are not represented in the converted characterset. 

Answer: A,D,E 

Explanation: A: In certain situations, you may want to exclude selected columns or tables from scanning or conversion steps of the migration process. 

D: Exceed column limit 

The cell data will not fit into a column after conversion. 

E: Need conversion 

The cell data needs to be converted, because its binary representation in the target character set is different than the representation in the current character set, but neither length limit issues nor invalid representation issues have been found. 

* Oracle Database Migration Assistant for Unicode (DMU) is a unique next-generation migration tool providing an end-to-end solution for migrating your databases from legacy encodings to Unicode. 

Incorrect: 

Not C: The release of Oracle Database must be 10.2.0.4, 10.2.0.5, 11.1.0.7, 11.2.0.1, or later. 


Q50. 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.