【Q&A】12C OCP 1z0-060 QUESTION 8: Performing Complete Recovery of a Tablespace in the CDB

QUESTION 8 Your multitenant container (CDB) containing three pluggable databases (PDBs) is running in ARCHIVELOG mode. You find that the SYSAUX tablespace is corrupted in the root container. The steps to recover the tablespace are as follows:    1. Mount the CDB.    2. Close all the PDBs.    3. Open the database.    4. Apply the archive redo logs.    5. Restore the data file.    6. Take the SYSAUX tablespace offline.    7. Place the SYSAUX tablespace online.    8. Open all the PDBs with RESETLOGS.    9. Open the database with RESETLOGS.    10. Execute the command SHUTDOWN ABORT. Which option identifies the correct sequence to recover the SYSAUX tablespace? A. 6,5,4,7 B. 10,1,2,5,8 C. 10,1,2,5,4,9,8 D. 10,1,5,8,10 【题目示意】 本题考察的是CDB中的SYSAUX表空间完全恢复。 【解析】 … [Read more...]

【Q&A】12C OCP 1z0-060 QUESTION 6: Performing Complete Recovery of a Tablespace in the PDB

QUESTION 6 Your multitenant container database, CDB1, is running in ARCHIVELOG mode and has two pluggable databases, HR_PDB and ACCOUNTS_PDB. An RMAN backup exists for the database.
You issue the command to open ACCOUNTS_PDB and find that the USERDATA.DBF data file for the default permanent tablespace USERDATA belonging to ACCOUNTS_PDB is corrupted. What should you do before executing the commands to restore and recover the data file in ACCOUNTS_PDB? A. Place CDB1 in the mount stage and then the USERDATA tablespace offline in ACCOUNTS_PDB. B. Place CDB1 in the mount stage and issue the ALTER PLUGGABLE DATABASE accounts_pdb CLOSE IMMEDIATE command. C. Issue the ALTER PLUGGABLE DATABASE accounts_pdb RESTRICTED command. D. Take the USERDATA tablespace offline in ACCOUNTS_PDB. 【题目示意】 … [Read more...]

【Q&A】12C OCP 1z0-060 QUESTION 3: Managing the SYSAUX Tablespace

QUESTION 3 Which two statements are true about the use of the procedures listed in the v$sysaux_occupants.move_procedure column? A. The procedure maybe used for some component store locate component data to the SYSAUX tablespace from its current tablespace. B. The procedure may be used for some component store locate component data from the SYSAUX tablespace to another tablespace. C. All the components may be moved into SYSAUX tablespace. D. All the components may be moved from the SYSAUX tablespace. 【题目示意】 考察了SYSAUX表空间的管理方法 【解析】 当数据库创建时,SYSAUX表空间被作为SYSTEM的辅助表空间安装。已经安装并使用独立表空间的数据库组件都可以放在SYSAUX表空间中。如果SYSAUX表空间不可用,数据库内核功能仍然运转。使用SYSAUX表空间的特性将会失败或功能可用性会受到限制。 … [Read more...]

【Q&A】OCP 1z0-060 QUESTION 1: About Managing Temporary Tablespaces in a CDB

QUESTION 1 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 … [Read more...]