Oracle 19c OCP 1Z0-083题库(7-12)

简介: Which three actions will add a resource to an Oracle Restart configuration?

7 、Which three actions will add a resource to an Oracle Restart configuration?

A)creating a database service using Oracle Database Configuration Assistant(DBCA)

B)creating a disk group using the CREATE DISKGROUP SQL statement

C)creating a database using the CREATE DATABASE SQL statement

D)creating an Oracle Database service by modifying the SERVICE NAMES parameter

E)creating an Oracle Automatic Storage Management(AM)instance with ASM Configuration Assistant(ASMCA)

F ) creating a database service using DBMS_SERVICE.CREATE_SERVICE


https://docs.oracle.com/en/database/oracle/oracle-database/19/admin/configuring-automatic-restart-of-an-oracle-database.html#GUID-AEB55E5C-48C7-4542-9384-492204F501AE

restart对服务的管理使用srvctl。 srvctl -h|grep service


答案: ABE


8、How do you configure a CDB for local undo mode?

A)Open the CDB instance in restricted mode. In CDBR O O T , d r o p t h e U N D O t a b l e s p a c e E x e c u t e A I T E R D A M B A S E L O C A L U N D O O N i n e a c h P D B . a n d t h e n r e s t a r t t h e C D B i n s t a n c e B ) O p e n t h e C D B i n s t a n c e i n r e s t r i c t e d m o d e . I n C D B ROOT, drop the UNDO tablespace Execute AI TER DAMBASE LOCAL UNDO ON in each PDB. and then restart the CDB instance B)Open the CDB instance in restricted mode. In CDBROOT,droptheUNDOtablespaceExecuteAITERDAMBASELOCALUNDOONineachPDB.andthenrestarttheCDBinstanceB)OpentheCDBinstanceinrestrictedmode.InCDBROOT, execute ALTER DATABASE LOCAL UNDO ON. create an UNDO tablespace in each PDB, and then restart the CDB instance.

C)Open the CDB instance in upgrade mode. In CDBR O O T , e x e c u t e A L T E R D A T A B A S E L O C A L U N D O O N , a n d t h e n r e s t a r t t h e C D B i n s t a n c e D ) O p e n t h e C D B i n r e a d − o n l y m o d e . I n C D B ROOT, execute ALTER DATABASE LOCAL UNDO ON, and then restart the CDB instance D)Open the CDB in read-only mode. In CDBROOT,executeALTERDATABASELOCALUNDOON,andthenrestarttheCDBinstanceD)OpentheCDBinread−onlymode.InCDBROOT, execute ALTER DATABASE LOCAL UNDO ON and then change the CDB to read/write mode


E)Open the CDB instance in upgrade mode. In each PDB, execute ALTER DATABASE LOCAL UNDO ON, create an UNDO tablespace, and then restart the CDB instance.

答案: C

https://docs.oracle.com/en/database/oracle/oracle-database/12.2/admin/administering-a-cdb-with-sql-plus.html#GUID-1AAB032F-D13A-4E06-A062-59E0487C2FC5


9 、Which three activities are possible for PDBS?

A)converting an application PDB to a regular PDB

B)converting an application PDB to an application seed

C)converting a regular PDB to an application PDB

D)copying an application container into another application container in the same CDB

E)converting an application seed to an application PDB

F)converting an application PDB to an application root

G)copying an application container into another application container in a different CDB

答案: BCE


可以使用应用PDB创建应用种子,也可以反过来。

https://docs.oracle.com/en/database/oracle/oracle-database/21/multi/creating-application-seeds.html#GUID-6C75735A-3612-4D62-8566-DD40C8725F1A

Example 14-9 Creating an Application Seed From an Application PDB


可以从一个普通的pdb创建应用pdb

https://docs.oracle.com/en/database/oracle/oracle-database/21/multi/creating-application-containers1.html#GUID-3C6D4200-1FEC-4C0F-B335-EFDC655ADABC

Example 14-3 Creating an Application Container by Cloning a Local PDB


10、A user complains about poor database performance

You want to verify if the user’s session has waited for certain types of I/O activity

Which view displays all waits waited on by a session at least once?

A)VS E S S T A T B ) V SESSTAT B)VSESSTATB)VSESSION_WAIT

C)VS E S S I O N E V E N T D ) V SESSION_EVENT D)VSESSION

E

VENTD)VSESSION

E)VKaTeX parse error: Expected 'EOF', got '#' at position 114: …SION_EVENT.html#̲GUID-5723D404-8…SESSION_WAIT只显示当前和最后的等待事件,题目要求所有的事件。


11、 Which two are true about RMAN duplexed backup sets?

A) They can be written to media

B They can be created only by using the copies option of a BACKUP command

C)They can be created by using the RMAN CONFIGURE command to specify duplexing before taking a backup

D)They can be written only to disk.

E)They must be written to media

答案: AC

https://docs.oracle.com/cd/E18283_01/backup.112/e10642/rcmconfa.htm#i1007486

可以使用configure和backup两种方式进行duplex。


12 、Examine this configuration

1.CDB1 is a container database running in ARCHIVELOG mode.

2.Multiple uncommitted transactions are running in CDB1

3.Redo log groups 1 and 2 are INACTIVE

4.Redo log group 3 is the CURRENT group

All members of redo log group 3 are lost before it is archived

Examine these possible steps

1.SHUTDOWN ABORT

2.STARTUP NOMOUNT

3.STARUP MOUNT

4.ALTER DATABASE MOUNT

5.RESTORE DATABASE

6.RECOVER DATABASE NOREDO

7.RECOVER DATABASE UNTIL AVAILABLE

8.RESTORE ARCHIVELOG ALL

9.ALTER DATABASE OPEN

10.ALTER DATABASE OPEN RESETLOGS

Choose the minimum required steps in the correct order to recover the database

A)1,3,5,6,9

B)1,3,5,8,6,10

C)1,2,5,7,4,10

D)1,3,5,7,10

E)1,3,5,6,10

F)1,3,5,6,10

答案: D

当前联机日志丢失只能用open resetlogs打开


关于作者

姚远:Oracle ACE(Oracle和MySQL数据库方向 http://apex.oracle.com/pls/apex/aces/d/yuan.yao),华为云MVP,曾任IBM公司数据库部门经理。拥有包括Oracle 10g和12c OCM在内的20多项数据库相关技术认证,数据库类畅销书《MySQL 8.0运维与优化》的作者。


相关文章
|
6月前
|
Oracle 关系型数据库 Linux
Oracle 19c Centos7 静默安装记录整理 2
Oracle 19c Centos7 静默安装记录整理
|
2月前
|
Oracle 关系型数据库
oracle 19c 搭建dataguard 简要命令
通过service 完成dg 搭建。
50 0
|
4月前
|
Oracle 关系型数据库 数据库
windows Oracle Database 19c 卸载教程
打开任务管理器 ctrl+Shift+Esc可以快速打开任务管理器,找到oracle所有服务然后停止。 停止数据库服务 在开始卸载之前,确保数据库服务已经停止。你可以使用以下命令停止数据库服务: net stop OracleServiceORCL Universal Installer 卸载Oracle数据库程序 一般情况运行Oracle自带的卸载程序,如使用Universal Installer 工具卸载。 点击开始菜单找到Oracle,然后点击Oracle安装产品,再点击Universal Installer。 点击之后稍等一会然后会进入进入下图界面,点击卸载产品。 选中要删除的Orac
118 1
|
5月前
|
存储 Oracle 关系型数据库
windows 使用 Oracle Database 19c
Oracle数据库是由美国Oracle Corporation(甲骨文公司)开发和提供的一种关系型数据库管理系统,它是一种强大的关系型数据库管理系统(RDBMS)。它使用表格(表)组织和存储数据,通过SQL语言进行数据管理。数据以表格形式存储,表之间可以建立关系。支持事务处理、多版本并发控制、安全性和权限控制。具有高可用性、容错性,支持分布式数据库和可扩展性。Oracle Corporation提供全面的支持和服务,使其成为企业级应用的首选数据库系统。
60 0
|
5月前
|
Oracle 安全 关系型数据库
在Flink CDC中使用Oracle 19c时可能会遇到ORA-65040错误
在Flink CDC中使用Oracle 19c时可能会遇到ORA-65040错误
173 1
|
14天前
|
SQL Oracle 关系型数据库
【Oracle】玩转Oracle数据库(一):装上去,飞起来!
【Oracle】玩转Oracle数据库(一):装上去,飞起来!
56 7
|
1月前
|
Oracle 关系型数据库 数据库
|
1月前
|
Oracle 关系型数据库 数据库
Oracle数据库基本概念理解(3)
Oracle数据库基本概念理解(3)
18 2
|
1月前
|
Oracle 关系型数据库 数据库
如何利用 Docker 安装 Oracle 数据库
【2月更文挑战第14天】
94 0
|
14天前
|
SQL Oracle 关系型数据库
【Oracle】玩转Oracle数据库(七):RMAN恢复管理器
【Oracle】玩转Oracle数据库(七):RMAN恢复管理器
41 5