aiotestking uk

1Z0-062 Exam Questions - Online Test


1Z0-062 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Q1. You use a recovery catalog for maintaining your database backups. 

You execute the following command: $rman TARGET / CATALOG rman / cat@catdb RMAN > BACKUP VALIDATE DATABASE ARCHIVELOG ALL; 

Which two statements are true? 

A. Corrupted blocks, if any, are repaired. 

B. Checks are performed for physical corruptions. 

C. Checks are performed for logical corruptions. 

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

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

Answer: B,D 

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: 

RMAN> BACKUP VALIDATE DATABASE ARCHIVELOG ALL; 

This form of the command would check for physical corruption. To check for logical corruption, 

RMAN> 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). 

Q2. 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? 

A. The import operation must be performed by a user on the target database with the DATAPUMP_IMP_FULL_DATABASE role, and the database link must connect to a user on the source database with the DATAPUMP_EXD_FULL_DATABASE role. 

B. All the user-defined tablespaces must be in read-only mode on the source database. 

C. The export dump file must be created before starting the import on the target database. 

D. The source and target database must be running on the same platform with the same endianness. 

E. The path of data files on the target database must be the same as that on the source database. 

F. The impdp operation must be performed by the same user that performed the expdp operation. 

Answer: A,B,D 

Explanation: In this case we have run the impdp without performing any conversion if 

endian format is different then we have to first perform conversion. 

Q3. 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? 

A. Re-enable redaction policies that use FULL data redaction. 

B. Re-create redaction policies that use FULL data redaction. 

C. Re-connect the sessions that access objects with redaction policies defined on them. 

D. Flush the shared pool. 

E. Restart the database instance. 

Answer:

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. 

Reference: Oracle Database Advanced Security Guide 12c, About Altering the Default Full Data Redaction Value 

Q4. Examine the structure of the sales table, which is stored in a locally managed tablespace with Automatic Segment Space Management (ASSM) enabled. 

NameNull?Type 

PROD_IDNOT NULL NUMBER 

CUST_IDNOT NULL NUMBER 

TIME_IDNOT NULL DATE 

CHANNEL_IDNOT NULL NUMBER 

PROMO_IDNOT NULL NUMBER 

QUANT I TY___S OL DNOT NULL NUMBER (10, 2) AMOUNT SOLDNOT NULL NUMBER (10, 2) 

You want to perform online segment shrink to reclaim fragmented free space below the high water mark. 

What should you ensure before the start of the operation? 

A. Row movement is enabled. 

B. Referential integrity constraints for the table are disabled. 

C. No queries are running on this table. 

D. Extra disk space equivalent to the size of the segment is available in the tablespace. 

E. No pending transaction exists on the table. 

Answer:

Q5. Which two statements are true about variable extent size support for large ASM files? 

A. The metadata used to track extents in SGA is reduced. 

B. Rebalance operations are completed faster than with a fixed extent size 

C. An ASM Instance automatically allocates an appropriate extent size. 

D. Resync operations are completed faster when a disk comes online after being taken offline. 

E. Performance improves in a stretch cluster configuration by reading from a local copy of an extent. 

Answer: A,C 

Explanation: A: Variable size extents enable support for larger ASM datafiles, reduce SGA memory requirements for very large databases (A), and improve performance for file create and open operations. 

C: You don't have to worry about the sizes; the ASM instance automatically allocates the appropriate extent size. 

Note: 

* The contents of ASM files are stored in a disk group as a set, or collection, of data extents that are stored on individual disks within disk groups. Each extent resides on an individual disk. Extents consist of one or more allocation units (AU). To accommodate increasingly larger files, ASM uses variable size extents. 

* The size of the extent map that defines a file can be smaller by a factor of 8 and 64 depending on the file size. The initial extent size is equal to the allocation unit size and it increases by a factor of 8 and 64 at predefined thresholds. This feature is automatic for newly created and resized datafiles when the disk group compatibility attributes are set to Oracle Release 11 or higher. 

Q6. You notice a performance change in your production Oracle 12c database. You want to know which change caused this performance difference. 

Which method or feature should you use? 

A. Compare Period ADDM report 

B. AWR Compare Period report 

C. Active Session History (ASH) report 

D. Taking a new snapshot and comparing it with a preserved snapshot 

Answer:

Explanation: The awrddrpt.sql report is the Automated Workload Repository Compare 

Period Report. The awrddrpt.sql script is located in the $ORACLE_HOME/rdbms/admin directory. 

Incorrect: 

Not A: Compare Period ADDM 

Use this report to perform a high-level comparison of one workload replay to its capture or to another replay of the same capture. Only workload replays that contain at least 5 minutes of database time can be compared using this report. 

Q7. You enabled an audit policy by issuing the following statements: 

SQL> AUDIT POLICY ORA_DATABASE_PARAMETER BY SCOTT; 

SQL> AUDIT POLICY ORA_DATABASE_PARAMETER BY SYS, SYSTEM; 

For which database users and for which executions is the audit policy now active? Select two. 

A. SYS, SYSTEM 

B. SCOTT 

C. Only for successful executions 

D. Only for failed executions 

E. Both successful and failed executions 

Answer: A,E 

Explanation: * The ORA_DATABASE_PARAMETER policy audits commonly used Oracle Database parameter settings. By default, this policy is not enabled. 

Q8. Which two statements are true? 

A. A role cannot be assigned external authentication. 

B. A role can be granted to other roles. 

C. A role can contain both system and object privileges. 

D. The predefined resource role includes the unlimited_tablespace privilege. 

E. All roles are owned by the sys user. 

F. The predefined connect role is always automatically granted to all new users at the time of their creation. 

Answer: B,C 

Reference: http://docs.oracle.com/cd/E11882_01/network.112/e36292/authorization.htm#DBSEG9987 

8 (the functionality of roles) 

Q9. Which three tasks can be automatically performed by the Automatic Data Optimization feature of Information lifecycle Management (ILM)? 

A. Tracking the most recent read time for a table segment in a user tablespace 

B. Tracking the most recent write time for a table segment in a user tablespace 

C. Tracking insert time by row for table rows 

D. Tracking the most recent write time for a table block 

E. Tracking the most recent read time for a table segment in the SYSAUX tablespace 

F. Tracking the most recent write time for a table segment in the SYSAUX tablespace 

Answer: A,B,D 

Explanation: 

Incorrect: 

Not E, Not F When Heat Map is enabled, all accesses are tracked by the in-memory activity tracking module. Objects in the SYSTEM and SYSAUX tablespaces are not tracked. 

* To implement your ILM strategy, you can use Heat Map in Oracle Database to track data access and modification. 

Heat Map provides data access tracking at the segment-level and data modification tracking at the segment and row level. 

* To implement your ILM strategy, you can use Heat Map in Oracle Database to track data access and modification. You can also use Automatic Data Optimization (ADO) to automate the compression and movement of data between different tiers of storage within the database. Reference: Automatic Data Optimization with Oracle Database 12c with Oracle Database 12c 

Q10. Your 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? 

A. Oracle Data Pump. 

B. An ALTER TABLE MOVE to move the table and ALTER INDEX REBUILD to move the indexes. 

C. An ALTER TABLE MOVE to move the table and ALTER INDEX REBUILD ONLINE to move the indexes. 

D. Online Table Redefinition. 

E. Edition-Based Table Redefinition. 

Answer:

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.