Download Oracle Database 12c: Installation and Administration.1z0-062.TestKing.2018-11-17.220q.vcex

Vendor: Oracle
Exam Code: 1z0-062
Exam Name: Oracle Database 12c: Installation and Administration
Date: Nov 17, 2018
File Size: 2 MB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

ProfExam Discount

Demo Questions

Question 1
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? (Choose two.) 
  1. It succeeds with default settings if the EMPLOYEES table belonging to HR is already defined in the database.
  2. It fails because no SQL *Loader data file location is specified.
  3. It fails if the HR user does not have the CREATE ANY DIRECTORY privilege.
  4. It fails because no SQL *Loader control file location is specified.
Correct answer: AC
Explanation:
Note:* SQL*Loader is invoked when you specify the sqlldr command and, optionally, parameters that establish session characteristics.
Note:
* SQL*Loader is invoked when you specify the sqlldr command and, optionally, parameters that establish session characteristics.
Question 2
After implementing full Oracle Data Redaction, you change the default value for the NUMBER data type as follows:
  
After changing the value, you notice that FULL redaction continues to redact numeric data with zero. 
What must you do to activate the new default value for numeric full redaction?
  1. Re-enable redaction policies that use FULL data redaction.
  2. Re-create redaction policies that use FULL data redaction.
  3. Re-connect the sessions that access objects with redaction policies defined on them.
  4. Flush the shared pool.
  5. Restart the database instance.
Correct answer: E
Explanation:
About Altering the Default Full Data Redaction Value You can alter the default displayed values for full Data Redaction polices. By default, 0 is the redacted value when Oracle Database performs full redaction (DBMS_REDACT.FULL) on a column of the NUMBER data type. If you want to change it to another value (for example, 7), then you can run the DBMS_REDACT.UPDATE_FULL_REDACTION_VALUES procedure to modify this value. The modification applies to all of the Data Redaction policies in the current database instance. After you modify a value, you must restart the database for it to take effect. Note:* The DBMS_REDACT package provides an interface to Oracle Data Redaction, which enables you to mask (redact) data that is returned from queries issued by low-privileged users or an application. * UPDATE_FULL_REDACTION_VALUES Procedure This procedure modifies the default displayed values for a Data Redaction policy for full redaction. * After you create the Data Redaction policy, it is automatically enabled and ready to redact data. * Oracle Data Redaction enables you to mask (redact) data that is returned from queries issued by low-privileged users or applications. You can redact column data by using one of the following methods:/ Full redaction. / Partial redaction. / Regular expressions. / Random redaction. / No redaction. 
About Altering the Default Full Data Redaction Value 
You can alter the default displayed values for full Data Redaction polices. By default, 0 is the redacted value when Oracle Database performs full redaction (DBMS_REDACT.FULL) on a column of the NUMBER data type. If you want to change it to another value (for example, 7), then you can run the DBMS_REDACT.UPDATE_FULL_REDACTION_VALUES procedure to modify this value. The modification applies to all of the Data Redaction policies in the current database instance. After you modify a value, you must restart the database for it to take effect. 
Note:
* The DBMS_REDACT package provides an interface to Oracle Data Redaction, which enables you to mask (redact) data that is returned from queries issued by low-privileged users or an application. 
* UPDATE_FULL_REDACTION_VALUES Procedure 
This procedure modifies the default displayed values for a Data Redaction policy for full redaction. 
* After you create the Data Redaction policy, it is automatically enabled and ready to redact data. 
* Oracle Data Redaction enables you to mask (redact) data that is returned from queries issued by low-privileged users or applications. You can redact column data by using one of the following methods:
/ Full redaction. 
/ Partial redaction. 
/ Regular expressions. 
/ Random redaction. 
/ No redaction. 
Question 3
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? (Choose two.)
  1. Enable supplemental logging for the database.
  2. Specify undo retention guarantee for the database.
  3. Create a Flashback Data Archive in the tablespace where the tables are stored.
  4. Create a Flashback Data Archive in any suitable tablespace.
  5. Enable Flashback Data Archiving for the tables that require tracking.
Correct answer: DE
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;
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;
Question 4
You are the DBA supporting an Oracle 11g Release 2 database and wish to move a table containing several DATE, CHAR, VARCHAR2, and NUMBER data types, and the table’s indexes, to another tablespace. 
The table does not have a primary key and is used by an OLTP application. 
Which technique will move the table and indexes while maintaining the highest level of availability to the application?
  1. Oracle Data Pump.
  2. An ALTER TABLE MOVE to move the table and ALTER INDEX REBUILD to move the indexes.
  3. An ALTER TABLE MOVE to move the table and ALTER INDEX REBUILD ONLINE to move the indexes.
  4. Online Table Redefinition.
  5. Edition-Based Table Redefinition.
Correct answer: D
Explanation:
* Oracle Database provides a mechanism to make table structure modifications without significantly affecting the availability of the table. The mechanism is called online table redefinition. Redefining tables online provides a substantial increase in availability compared to traditional methods of redefining tables. * To redefine a table online:Choose the redefinition method: by key or by rowid* By key—Select a primary key or pseudo-primary key to use for the redefinition. Pseudo-primary keys are unique keys with all component columns having NOT NULL constraints. For this method, the versions of the tables before and after redefinition should have the same primary key columns. This is the preferred and default method of redefinition. * By rowid—Use this method if no key is available. In this method, a hidden column named M_ROW$$ is added to the post-redefined version of the table. It is recommended that this column be dropped or marked as unused after the redefinition is complete. If COMPATIBLE is set to 10.2.0 or higher, the final phase of redefinition automatically sets this column unused. You can then use the ALTER TABLE ... DROP UNUSED COLUMNS statement to drop it. You cannot use this method on index-organized tables. Note:* When you rebuild an index, you use an existing index as the data source. Creating an index in this manner enables you to change storage characteristics or move to a new tablespace. Rebuilding an index based on an existing data source removes intra-block fragmentation. Compared to dropping the index and using the CREATE INDEX statement, re-creating an existing index offers better performance. Incorrect:Not E: Edition-based redefinition enables you to upgrade the database component of an application while it is in use, thereby minimizing or eliminating down time.
* Oracle Database provides a mechanism to make table structure modifications without significantly affecting the availability of the table. The mechanism is called online table redefinition. Redefining tables online provides a substantial increase in availability compared to traditional methods of redefining tables. 
* To redefine a table online:
Choose the redefinition method: by key or by rowid
* By key—Select a primary key or pseudo-primary key to use for the redefinition. Pseudo-primary keys are unique keys with all component columns having NOT NULL constraints. For this method, the versions of the tables before and after redefinition should have the same primary key columns. This is the preferred and default method of redefinition. 
* By rowid—Use this method if no key is available. In this method, a hidden column named M_ROW$$ is added to the post-redefined version of the table. It is recommended that this column be dropped or marked as unused after the redefinition is complete. If COMPATIBLE is set to 10.2.0 or higher, the final phase of redefinition automatically sets this column unused. You can then use the ALTER TABLE ... DROP UNUSED COLUMNS statement to drop it. 
You cannot use this method on index-organized tables. 
Note:
* When you rebuild an index, you use an existing index as the data source. Creating an index in this manner enables you to change storage characteristics or move to a new tablespace. Rebuilding an index based on an existing data source removes intra-block fragmentation. Compared to dropping the index and using the CREATE INDEX statement, re-creating an existing index offers better performance. 
Incorrect:
Not E: Edition-based redefinition enables you to upgrade the database component of an application while it is in use, thereby minimizing or eliminating down time.
Question 5
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. 
  1. The PGA_AGGREGATE_TARGET parameter is set to zero.
  2. The STATISTICS_LEVEL parameter is set to BASIC.
  3. Both the SGA_TARGET and MEMORY_TARGET parameters are set.
  4. The SGA_MAX_SIZE and SGA_TARGET parameter values are not equal.
Correct answer: B
Explanation:
Example:SQL> startup force ORA-00824: cannot set SGA_TARGET or MEMORY_TARGET due to existing internal settingsORA-00848: STATISTICS_LEVEL cannot be set to BASIC with SGA_TARGET or MEMORY_TARGET
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
Question 6
What are two benefits of installing Grid Infrastructure software for a stand-alone server before installing and creating an Oracle database?
  1. Effectively implements role separation
  2. Enables you to take advantage of Oracle Managed Files.
  3. Automatically registers the database with Oracle Restart.
  4. Helps you to easily upgrade the database from a prior release.
  5. Enables the Installation of Grid Infrastructure files on block or raw devices.
Correct answer: AC
Explanation:
C: To use Oracle ASM or Oracle Restart, you must first install Oracle Grid Infrastructure for a standalone server before you install and create the database. Otherwise, you must manually register the database with Oracle Restart. Desupport of Block and Raw Devices With the release of Oracle Database 11g release 2 (11.2) and Oracle RAC 11g release 2 (11.2), using Database Configuration Assistant or the installer to store Oracle Clusterware or Oracle Database files directly on block or raw devices is not supported. If you intend to upgrade an existing Oracle RAC database, or an Oracle RAC database with Oracle ASM instances, then you can use an existing raw or block device partition, and perform a rolling upgrade of your existing installation. Performing a new installation using block or raw devices is not allowed.
C: To use Oracle ASM or Oracle Restart, you must first install Oracle Grid Infrastructure for a standalone server before you install and create the database. Otherwise, you must manually register the database with Oracle Restart. 
Desupport of Block and Raw Devices 
With the release of Oracle Database 11g release 2 (11.2) and Oracle RAC 11g release 2 (11.2), using Database Configuration Assistant or the installer to store Oracle Clusterware or Oracle Database files directly on block or raw devices is not supported. 
If you intend to upgrade an existing Oracle RAC database, or an Oracle RAC database with Oracle ASM instances, then you can use an existing raw or block device partition, and perform a rolling upgrade of your existing installation. Performing a new installation using block or raw devices is not allowed.
Question 7
Identify two correct statements about multitenant architectures.
  1. Multitenant architecture can be deployed only in a Real Application Clusters (RAC) configuration.
  2. Multiple pluggable databases (PDBs) share certain multitenant container database (CDB) resources.
  3. Multiple CDBs share certain PDB resources.
  4. Multiple non-RAC CDB instances can mount the same PDB as long as they are on the same server.
  5. Patches are always applied at the CDB level.
  6. A PDB can have a private undo tablespace.
Correct answer: BE
Explanation:
B: Using 12c Resource manager you will be able control CPU, Exadata I/O, sessions and parallel servers. A new 12c CDB Resource Manager Plan will use so-called “Shares” (resource allocations) to specify how CPU is distributed between PDBs. A CDB Resource Manager Plan also can use “utilization limits” to limit the CPU usage for a PDB. With a default directive, you do not need to modify the resource plan for each PDB plug and unplug. E: New paradigms for rapid patching and upgrades.The investment of time and effort to patch one multitenant container database results in patching all of its many pluggable databases. To patch a single pluggable database, you simply unplug/plug to a multitenant container database at a different Oracle Database software version. Incorrect:Not A:* The Oracle RAC documentation describes special considerations for a CDB in an Oracle RAC environment. * Oracle Multitenant is a new option for Oracle Database 12c Enterprise Edition that helps customers reduce IT costs by simplifying consolidation, provisioning, upgrades, and more. It is supported by a new architecture that allows a container database to hold many pluggable databases. And it fully complements other options, including Oracle Real Application Clusters and Oracle Active Data Guard. An existing database can be simply adopted, with no change, as a pluggable database; and no changes are needed in the other tiers of the application. Not D: You can unplug a PDB from one CDB and plug it into a different CDB without altering your schemas or applications. A PDB can be plugged into only one CDB at a time. not F:* UNDO tablespace can NOT be local and stays on the CDB level. * Redo and undo go hand in hand, and so the CDB as a whole has a single undo tablespace per RAC instance.
B: Using 12c Resource manager you will be able control CPU, Exadata I/O, sessions and parallel servers. A new 12c CDB Resource Manager Plan will use so-called “Shares” (resource allocations) to specify how CPU is distributed between PDBs. A CDB Resource Manager Plan also can use “utilization limits” to limit the CPU usage for a PDB. With a default directive, you do not need to modify the resource plan for each PDB plug and unplug. 
E: New paradigms for rapid patching and upgrades.
The investment of time and effort to patch one multitenant container database results in patching all of its many pluggable databases. To patch a single pluggable database, you simply unplug/plug to a multitenant container database at a different Oracle Database software version. 
Incorrect:
Not A:
* The Oracle RAC documentation describes special considerations for a CDB in an Oracle RAC environment. 
* Oracle Multitenant is a new option for Oracle Database 12c Enterprise Edition that helps customers reduce IT costs by simplifying consolidation, provisioning, upgrades, and more. 
It is supported by a new architecture that allows a container database to hold many pluggable databases. And it fully complements other options, including Oracle Real Application Clusters and Oracle Active Data Guard. An existing database can be simply adopted, with no change, as a pluggable database; and no changes are needed in the other tiers of the application. 
Not D: You can unplug a PDB from one CDB and plug it into a different CDB without altering your schemas or applications. A PDB can be plugged into only one CDB at a time. 
not F:
* UNDO tablespace can NOT be local and stays on the CDB level. 
* Redo and undo go hand in hand, and so the CDB as a whole has a single undo tablespace per RAC instance.
Question 8
You upgrade your Oracle database in a multiprocessor environment. As a recommended you execute the following script:
SQL > @utlrp.sql 
Which two actions does the script perform? (Choose two.)
  1. Parallel compilation of only the stored PL/SQL code
  2. Sequential recompilation of only the stored PL/SQL code
  3. Parallel recompilation of any stored PL/SQL code
  4. Sequential recompilation of any stored PL/SQL code
  5. Parallel recompilation of Java code
  6. Sequential recompilation of Java code
Correct answer: CE
Explanation:
utlrp.sql and utlprp.sql The utlrp.sql and utlprp.sql scripts are provided by Oracle to recompile all invalid objects in the database. They are typically run after major database changes such as upgrades or patches. They are located in the $ORACLE_HOME/rdbms/admin directory and provide a wrapper on the UTL_RECOMP package. The utlrp.sql script simply calls the utlprp.sql script with a command line parameter of "0". The utlprp.sql accepts a single integer parameter that indicates the level of parallelism as follows. 0 - The level of parallelism is derived based on the CPU_COUNT parameter. 1 - The recompilation is run serially, one object at a time. N - The recompilation is run in parallel with "N" number of threads. Both scripts must be run as the SYS user, or another user with SYSDBA, to work correctly.
utlrp.sql and utlprp.sql 
The utlrp.sql and utlprp.sql scripts are provided by Oracle to recompile all invalid objects in the database. They are typically run after major database changes such as upgrades or patches. They are located in the $ORACLE_HOME/rdbms/admin directory and provide a wrapper on the UTL_RECOMP package. The utlrp.sql script simply calls the utlprp.sql script with a command line parameter of "0". The utlprp.sql accepts a single integer parameter that indicates the level of parallelism as follows. 
0 - The level of parallelism is derived based on the CPU_COUNT parameter. 
1 - The recompilation is run serially, one object at a time. 
N - The recompilation is run in parallel with "N" number of threads. 
Both scripts must be run as the SYS user, or another user with SYSDBA, to work correctly.
Question 9
Which two statements are true concerning dropping a pluggable database (PDB)? (Choose two.)
  1. The PDB must be open in read-only mode.
  2. The PDB must be in mount state.
  3. The PDB must be unplugged. 
  4. The PDB data files are always removed from disk.
  5. A dropped PDB can never be plugged back into a multitenant container database (CDB).
Correct answer: BC
Explanation:
http://docs.oracle.com/database/121/ADMIN/cdb_plug.htm#ADMIN13658
http://docs.oracle.com/database/121/ADMIN/cdb_plug.htm#ADMIN13658
Question 10
You notice a high number of waits for the db file scattered read and db file sequential read events in the recent Automatic Database Diagnostic Monitor (ADDM) report. After further investigation, you find that queries are performing too many full table scans and indexes are not being used even though the filter columns are indexed. 
Identify three possible reasons for this.
  1. Missing or stale histogram statistics
  2. Undersized shared pool
  3. High clustering factor for the indexes
  4. High value for the DB_FILE_MULTIBLOCK_READ_COUNT parameter
  5. Oversized buffer cache
Correct answer: ACD
Explanation:
D: DB_FILE_MULTIBLOCK_READ_COUNT is one of the parameters you can use to minimize I/O during table scans. It specifies the maximum number of blocks read in one I/O operation during a sequential scan. The total number of I/Os needed to perform a full table scan depends on such factors as the size of the table, the multiblock read count, and whether parallel execution is being utilized for the operation.
D: DB_FILE_MULTIBLOCK_READ_COUNT is one of the parameters you can use to minimize I/O during table scans. It specifies the maximum number of blocks read in one I/O operation during a sequential scan. The total number of I/Os needed to perform a full table scan depends on such factors as the size of the table, the multiblock read count, and whether parallel execution is being utilized for the operation.
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!