The temp file is called temp01tmp A user issues a query on a table on one of

The temp file is called temp01tmp a user issues a

This preview shows page 2 - 4 out of 12 pages.

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: CE 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. Question: 2 Examine the following commands for redefining a table with Virtual Private Database (VPD) policies:
Image of page 2
Which two statements are true about redefining the table? A. All the triggers for the table are disabled without changing any of the column names or column types in the table. B. The primary key constraint on the EMPLOYEES table is disabled during redefinition. C. VPD policies are copied from the original table to the new table during online redefinition. D. You must copy the VPD policies manually from the original table to the new table during online redefinition. Answer: BC Explanation: C (not D): CONS_VPD_AUTO Used to indicate to copy VPD policies automatically * DBMS_RLS.ADD_POLICY / The DBMS_RLS package contains the fine-grained access control administrative interface, which is used to implement Virtual Private Database (VPD).DBMS_RLS is available with the Enterprise Edition only. Note: * CONS_USE_PK and CONS_USE_ROWID are constants used as input to the "options_flag" parameter in both the START_REDEF_TABLE Procedure and CAN_REDEF_TABLE Procedure. CONS_USE_ROWID is used to indicate that the redefinition should be done using rowids while CONS_USE_PK implies that the redefinition should be done using primary keys or pseudo-primary keys (which are unique keys with all component columns having NOT NULL constraints). * DBMS_REDEFINITION.START_REDEF_TABLE To achieve online redefinition, incrementally maintainable local materialized views are used. These logs keep track of the changes to the master tables and are used by the materialized views during refresh synchronization.
Image of page 3
Image of page 4

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture