Free Oracle 1Z0-060 Exam Braindumps (page: 11)

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

Answer(s): 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.



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.

Answer(s): 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;



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

Answer(s): 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 Answers:
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.



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:


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.

Answer(s): B

Explanation:

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



Viewing page 11 of 55
Viewing questions 41 - 44 out of 216 questions



Post your Comments and Discuss Oracle 1Z0-060 exam prep with other Community members:

1Z0-060 Exam Discussions & Posts