暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
ORACLE OCP 1z0-062【151-200】.pdf
111
20页
0次
2024-04-19
100墨值下载
回答错误 +0
ORACLE OCP 1z0-062151-200
1. QUESTION NO: 151
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:
ORA01565: error in identifying file ‘/u01/app/oracle/oradata/CDB1/temp01.tmp’
ORA27037: unable to obtain file status
Identify two ways to rectify the error. 分值1
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 tempo
rary tablespace online.
D. Shutdown the database instance, restore and recover the temp file from the backup, and then open the database wit
h RESETLOGS.
E. Shut down the database instance and then restart the CDB and PDBs.
正确答案:
答案解析:
Because temp files cannot be backed up and because no redo is ever generated for them,RMAN never restores or rec
overs temp files. RMAN does track the names of temp files, but only so that it can automatically recreate them when n
eeded.
If you use RMAN in a Data Guard environment, then RMAN transparently converts primary control files to standby contr
ol files and vice versa. RMAN automatically updates file names for data files, online redo logs, standby redo logs, and t
emp files when you issue RESTORE and RECOVER.
2. QUESTION NO: 152
Examine the following commands for redefining a table with Virtual Private Database (VPD) policies:
0
总分50
0
答对
50
仅看错题
答题解析
A. Add a new temp file to the temporary tablespace and drop the temp file that that produced the error.E. Shut down t
he database instance and then restart the CDB and PDBs.
回答错误 +0
回答错误 +0
Which two statements are true about redefining the table? 分值1
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.
正确答案:
答案解析:
C (not D): CONS_VPD_AUTO
Used to indicate to copy VPD policies automatically
DBMS_RLS.ADD_POLICY
/ The DBMS_RLS package contains the finegrained access control administrative interface, which is used to implemen
t 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 STA
RT_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 prima
ry 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 th
e changes to the master tables and are used by the materialized views during refresh synchronization.
START_REDEF_TABLE Procedure
Prior to calling this procedure, you must manually create an empty interim table (in the same schema as the table to be
redefined) with the desired attributes of the post redefinition table, and then call this procedure to initiate the redefinitio
n.
3. QUESTION NO: 153
Which two statements are true about the use of the procedures listed in the v$sysaux_occupants.mov
e_procedure column? 分值1
A. The procedure may be used for some components to relocate component data to the SYSAUX tablespace from its c
urrent tablespace.
B. The procedure may be used for some components to relocate component data from theSYSAUX tablespace to anot
her tablespace.
C. All the components may be moved into SYSAUX tablespace.
D. All the components may be moved from the SYSAUX tablespace.
正确答案:
B. The primary key constraint on the EMPLOYEES table is disabled during redefinition.C. VPD policies are copied fro
m the original table to the new table during online redefinition.
A. The procedure may be used for some components to relocate component data to the SYSAUX tablespace from its c
urrent tablespace.B. The procedure may be used for some components to relocate component data from theSYSAUX
of 20
100墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜