没有合适的资源?快使用搜索试试~ 我知道了~
Oracle 11g OCP 052
需积分: 9 2 下载量 127 浏览量
2017-12-18
15:07:04
上传
评论
收藏 2.63MB PDF 举报
温馨提示
试读
92页
Oracle 11g OCP 052 中文解析。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
资源推荐
资源详情
资源评论
美河学习在线 www.eimhe.com 仅学习参考
1.The instance abnormally terminates because of a power outage.
Which statement is true about redo log files during instance recovery?
由于电源中断导致实例异常终止,在实例恢复期间,下面哪句对重做日志的说法正确?
A. Inactive and current redo log files are required to accomplish recovery
B. Online and archived redo files are required to accomplish instance recovery
C. All redo log entries after the last checkpoint are applied from redo log files to data files
D. All redo log entries recorded in the current log file until the checkpoint position are
applied to data files
Answer: C
答案解析:
这个是属于实例恢复,实例恢复不需要 DBA 的干预。
Oracle DB 会自动从实例故障中进行恢复。实例所需要做的就是正常启动。如果 Oracle
Restart 已启用并且配置为监视该数据库,则该启动操作会自动进行。实例会装载控制文件,
然后尝试打开数据文件。如果实例发现数据文件在关闭期间尚未同步,则会使用重做日志
组中包含的信息将数据文件前滚到关闭时的状态,此时利用的重做日志信息即是自最后一次
检查点以来所有的重做信息。然后,将打开数据库,并回退所有未提交的事务处理。
2.Examine the command:
SQL>ALTER USR skd ACCOUNT LOCK; 将 skd 用户锁定后会发生啥?选俩
Which two statements are true after the command is executed.? (Choose two.)
A. The SKD user cannot log in to the database instance
B. The objects owned by the SKD user are not accessible to any user
--SYS 可访问 skd 的对象 B 错误,C 正确
C. The other users can access the objects owned by the SKD user, on which they have access
D. The password for the SKD user expires and the user is forced to change the password at
the next login--只是不能连接到数据库,但密码没有过期,也没有强制要求改变密码,错误。
Answer: AC
3.For which database operation would you need the database to be in the MOUNT state?
什么数据库操作需要使数据库出于 mount 状态?
A. Renaming the control files
B. Re-creating the control files
C. Dropping a user in your database
D. Dropping a tablespace in your database
E. Configuring the database instance to operate in the ARCHIVELOG or NOARCHIVELOG
modes 设置数据库为归档模式或非归档模式
Answer: E
美河学习在线 www.eimhe.com 仅学习参考
4.The job to gather optimizer statistics for objects runs as part of the automatic maintenance
window in your database instance. At a certain point of time, the maintenance window
closes before the statistics are gathered for all objects.
Which statement is true in this scenario?
一个作业在你的数据库实例的自动维护窗口中为一些对象正在搜集优化统计信息,在一个特
定的时间点,所有对象的统计信息还没有搜集完,维护窗口就关闭了,此时:
A. The statistics collection continues until all objects are processed.
B. The job is terminated and the statistics collected are restored to a time before the job
started.
C. This produces an error and the statistics collected are locked until the next time that the
maintenance
window is opened.
D. The job is terminated and the statistics for the remaining objects are
collected the next time that the maintenance window is opened.这个作业被终止,
剩下的统计信息的搜集将在下次维护窗口打开的时候继续搜集。
Answer: D
5.You want to move all objects of the APPS user in the test database to the DB_USR schema
of the production database.
Which option of IMPDP would you use to accomplish this task?
将测试 DB 中 APPS 用户的所有对象移动到生产 DB 的 DB_USR 模式下,使用哪个 IMPDP
选项完成这个任务?
A. FULL
B. SCHEMAS
C. TRANSFORM
D. REMAP_SCHEMA
E. REMAP_TABLESPACE
Answer: D
答案解析:
REMAP_SCHEMA 提供原有的 FROMUSER/TOUSER 功能,可用于更改对象所有权。实
现不同用户之间的数据迁移。例如:
impdp system/123456 schemas=scott directory=mydc dump=scott.dmp remap_schema=scott:bob
--导入 scott 模式到 bob 模式
6.You executed the following command to create a password file in the database server:
$ orapwd file = orapworcl entries = 5 ignorecase=N
Which statement describes the purpose of the above password file?
用该命令在 DB Server 上创建一个口令文件,下面哪句是描述该口令文件含义的?
A. It records usernames and passwords of users when granted the DBA role
B. It contains usernames and passwords of users for whom auditing is enabled
C. It is used by Oracle to authenticate users for remote database administrator
远程连接,则使用口令文件来验证授权用户。如果已配置口令文件,则首先检查此文件。
美河学习在线 www.eimhe.com 仅学习参考
D. It records usernames and passwords of all users when they are added to OSDBA or
OSOPER
operating groups
Answer: C
答案解析:
远程连接,则使用口令文件来验证授权用户。如果已配置口令文件,则首先检查此文件。
使用 Database Configuration Assistant 创建数据库时,口令文件是区分大小写的。
如果从早期数据库版本进行升级,请确保用于远程连接的口令文件区分大小写:
orapwd file=orapworcl entries=5 ignorecase=N
7.Which two statements are true regarding the MRKT tablespace? (Choose two.)
下列哪两个选项对 MRKT tablespace 的描述是正确的?
SQL> CREATE BIGFILE TABLESPACE MRKT
2 DATAFILE '/u01/app/oracle/oradata/orcl/mrkt.dbf' size 10M LOGGING 3 EXTENT
MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
Tablespace created.
SQL> ALTER DATABASE DEFAULT TABLESPACE MRKT;
Database altered.
A. No more data files can be added to the tablespace.
BIGFILE 只能有一个数据文件。A 对
B. Segment space is managed by free lists in the tablespace.
C. A user created without being assigned a default tablespace uses this tablespace.
没有指定默认表空间的新建用户会被指定使用这个表空间,正确
D. The tablespace can be dropped with the current setting with segments present in it.
Answer: AC
答案解析:
1、BIGFILE 只能有一个数据文件。A 对
2、ALTER DATABASE DEFAULT TABLESPACE MRKT;设置默认表空间,以后用户创建
的数据都会放在这个表空间里。C 对。
3、创建 BIGFILE 时,oracle 自动创建本地管理表空间和自动段空间管理(ASSM)。B 错
Oracle Database automatically creates a locally managed tablespace with automatic
segment space management.
4、正在使用的默认表空间不能被 drop。 D 错。
8.View the Exhibit and examine the privileges granted to the MGR_ROLE role.
The user SKD has been granted the CONNECT and RESOURCE roles only.
SKD 用户仅被授予 CONNECT and RESOURCE 角色
The database administrator (DBA) grants MGR_ROLE to the user SKD by executing the command:
SQL> GRANT MGR_ROLE TO SKD WITH ADMIN OPTION;
DBA 用上面的 SQL 语句授予 SKD 用户 MGR_ROLE 角色,下面对 SKD 用户被授予此角色后的
美河学习在线 www.eimhe.com 仅学习参考
描述哪句正确?
Which statement is true about the user SKD after he/she is granted this role?
A. The user SKD can grant only the MGR_ROLE role to other users, but not the privileges in it
正确,可以授权给 MGR_ROLE 给别的用户,但不能把 MGR_ROLE 里面的权限如 create user
授权给别的用户。
B. The user SKD can revoke the MGR_ROLE only from the users for whom he/she is the
grantor
C. The user SKD can grant the privileges in the MGR_ROLE role to other users but not with
ADMIN OPTION
D. The user SKD can grant the privileges in the MGR_ROLE role to other users, but cannot
revoke privileges from them
Answer: A
答案解析:
B 错误,可以级联回收,可以回收不是 SKD 自己授予的。
C 错误,The user SKD can grant the privileges in the MGR_ROLE role to other users。根
据 A 答案,SKD 不能将 MGR_ROLE 角色里的权限给别的用户。
D 错误,也可以回收权限。
9.After performing a clean shut down of the database instance for maintenance, you mount the
database and then execute a command to open the database:
SQL> ALTER DATABASE OPEN;
执行从 DB 的 mount 状态到 OPEN,哪两句正确?
Which two statements are true? (Choose two.)
A. The online redo log files and online data files are opened
打开所有联机重做日志日志文件和数据文件
B. All the online data files headers are checked for consistency
检查数据库数据文件头的一致性
C. Instance recovery is performed before opening the database
D. The path and existence of all the log file members are checked
Answer: AB
答案解析:
数据库操作正常意味着实例已启动、数据库已装载且已打开。在数据库操作正常时,任何
有效用户都可连接到数据库,而且可执行典型数据访问操作。
打开数据库过程包括执行以下任务:
• 打开数据文件
• 打开联机重做日志文件
如果尝试打开数据库时任一数据文件或联机重做日志文件不存在,则 Oracle 服务器返回错
误。
在最后这个阶段,Oracle 服务器会验证是否可以打开所有数据文件和联机重做日志文件,
还会检查数据库的一致性。如有必要,系统监视器(SMON) 后台进程将启动实例恢复。可
美河学习在线 www.eimhe.com 仅学习参考
以在受限模式下启动数据库实例,以便只让有管理权限的用户使用该实例。要在受限模式下
启动实例,可在“Advanced Startup Options(高级启动选项)”页上选择“Restrict access to
database(限制对数据库的访问)”选项。
或者在启动 Open 模式时,添加 restrict 关键字:startup restrict,
设置或取消受限状态:alter system enable\disable restricted session;
命令:
sys@TEST0924> alter database open;
10.Examine the command that is used to create a table:
SQL> CREATE TABLE orders (
oid NUMBER(6) PRIMARY KEY,
odate DATE,
ccode NUMBER (6),
oamt NUMBER(10,2)
) TABLESPACE users;
Which two statements are true about the effect of the above command? (Choose two.)
上面创建表的 SQL 语句产生什么影响?选俩
A. A CHECK constraint is created on the OID column.
B. A NOT NULL constraint is created on the OID column.
一个非空约束被创建在 OID 列上
C. The ORDERS table is the only object created in the USERS tablespace.
D. The ORDERS table and a unique index are created in the USERS tablespace
默认情况下,users 是用户创建对象默认的表空间,所以创建的表和索引都放在 users 表
空间里。
E. The ORDERS table is created in the USERS tablespace and a unique index is created on the
OID column in the SYSTEM tablespace.
Answer: BD
答案解析:
A。在 oid 列上不是 check 约束,是主键约束。
B。在 oid 列上有主键约束,主键约束包含唯一约束和非空约束,故正确。
C。因为在 oid 列上有主键索引,故会自动创建唯一索引,故对象不只 ORDERS 表,还有一
个索引。
D。默认情况下,users 是用户创建对象默认的表空间,所以创建的表和索引都放在 users 表
空间里。
E。ORDERS 被创建在 USERS 表空间,唯一性索引页被创建在 USERS 表空间,而不是 SYSTEM
表空间。
所以选 BD.
剩余91页未读,继续阅读
资源评论
fish5241
- 粉丝: 1
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Matlab人脸肤色定理的教师人数统计+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab霍夫曼变换的表盘读数识别+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab火灾烟雾检测源码带GUI界面+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab的恶劣天气交通标志识别系统+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于MATLAB的霍夫曼变换的表盘示数识别+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab的车道线识别系统 +源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于MATLAB的教室人数统计系统带Gui界面+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于MATLAB的教室人数统计系统带Gui界面+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于MATLAB 的霍夫曼变换答题卡识别源码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
- 基于Matlab+bp神经网络的神经网络汉字识别系统+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功