20151126 ocp052 卷2 1-20
2015-11-26 19:28
302 查看
3.examine the following steps performed on a database:
1.the DBA grants the create table system privilege to the SKD user with ADMIN OPTION
2.the SKD user creats a table
3.the SKD user grants the CREATE table system privilige to the HR user
4.the HR user creats a table
5.the DBA revokes the create table system privilige from SKD
which statements is true after step 5 is performed?
c. the table created by the HR remains and HR still has the create table privilige
SKD用户可以访问原来创建的表,但不能创建新表,想想就是这个道理
SKD和hr用户的表都会保留,skd不能创建新表,但是hr用户可以。dba只是把skd创建表权限收回,oracle不具有级联收回的功能
大型池
数据库管理员可以配置称为“大型池”的可选内存区,以便为以下对象提供大型内存分配:
• 共享服务器的会话内存和Oracle XA 接口(在事务处理与多个数据库交互时使用)
•I/O 服务器进程
• Oracle DB 备份和还原操作
7.you have a large amount of historical data in a flat file.some analysts in your organizetion need to query this data in the file
the file is too large to load the data in it into your current database
which is the most effective method to access this data in your database?
d.create an external table and leave the data in the flat dile
你有一个大量的历史数据文件在一个平面文件。在您的组织中一些分析需要查询这个文件中的数据。文件过大,以至于不能加载到您当前的数据库
哪一个是有效的方法来访问这个数据库中的数据?
BC不对,题中说文件太大,不能加载到数据库,A也不对,这是一个平面文件,不是数据库文件,不能通过dblink来访问
所以只能使用外部表来访问
8.you want to check the details of few errors that users have reported .you search for the alert log file
and execute few commands to find the location of the alert log file
view the exhibit and check the commands executed
which is the location of the alert_oracl.log file?
e.ORACLE_BASE/diag/rdbms/oracl/oracl/trace
9.which statemens are true regarding the creation of an incident package file by using the EM WORKBENCH SUPPORT?
a.you can add SQL test cases to the incident package.
b.you can add or remove the trace files to the package
d.you can create the incremental incident package ZIP file for new or modified diagnostic information for the incident package already created
13.view the exhibit and examine the user information
the user has been granted connect and resourse roles and no individual system priviliges
the SL_REP user executes this command to create a table;
sql>create table orders(oid number(6),odate date,ccode number(4),oamt number(10,2)
tablespace purchase_space
the purchase_space tablespace already exists in the databse.which statements describes the
effect of the command
b.the command executes successfully and creates the table in the purchase_space tablespoace
因为resourse角色就有create table的权限
15.you executed the following command to create a tablespace called sales_data;
sql>create tablespace sales_data DATAFILE size 100m
which two statements are true about the sales_data_tablespace?
a.the database automatically determines the extent-sizing policy for the tablesoace
d.the allocation are automatically shrunk when the contents are removed from them
本地管理的表空间中的段空间管理方式可指定为;
自动;oracleDB 使用位图管理段中的空闲空间。位图描述了段中每个数据块的状态,
该状态可与插入行的块中的空间量有关。当数据块中可用空间增多或减少时,位图中会反映数据块的新状态。通过使用位图,oracle db可以提高管理空闲空间的自动化称帝
这种空间管理方式称为自动段空间管理(ASSM)
17.a constraint in a table is defined with the initialy immdiate(初始化立即执行--在每条语句执行结束时检验约束)
you executed the alter table command with the enable validate (要求新数据必须同时满足约束规则-在规则正在进行时是不容许在表上进行任何DML操作)
option to enable the constraint that was disabled
what are the two effects of this command?
a.it fails if any existing row violates the constraint
d.it prevents insert,update and delete operation on the table while the contraint is imin the
process of being enabled
20. which tw ostatements corectly describe the relation between a data file and the logical
dat
c17e
abase structures?
a.an extent spread acreoos datafiles;
c.a data file can belong to only one tablespace
一个数据文件只能属于一个表空间,而数据文件和和extent也是一一对应的,即是说数据文件不能夸区,但可以跨段
21 youe database is configure in shared server mode,HOWEVER,your senior dba shaks you to modify the value of the PRIVATE_SGA limit in
the profile of the users.what would be the reason for this
a.to limit the user glovbal area(UGA) memory allocated to a session from the SGA
22.which two oprerations can be performed on an external table?
a.create a view on the table
c.create a synonym on the table
1.the DBA grants the create table system privilege to the SKD user with ADMIN OPTION
2.the SKD user creats a table
3.the SKD user grants the CREATE table system privilige to the HR user
4.the HR user creats a table
5.the DBA revokes the create table system privilige from SKD
which statements is true after step 5 is performed?
c. the table created by the HR remains and HR still has the create table privilige
SKD用户可以访问原来创建的表,但不能创建新表,想想就是这个道理
SKD和hr用户的表都会保留,skd不能创建新表,但是hr用户可以。dba只是把skd创建表权限收回,oracle不具有级联收回的功能
大型池
数据库管理员可以配置称为“大型池”的可选内存区,以便为以下对象提供大型内存分配:
• 共享服务器的会话内存和Oracle XA 接口(在事务处理与多个数据库交互时使用)
•I/O 服务器进程
• Oracle DB 备份和还原操作
7.you have a large amount of historical data in a flat file.some analysts in your organizetion need to query this data in the file
the file is too large to load the data in it into your current database
which is the most effective method to access this data in your database?
d.create an external table and leave the data in the flat dile
你有一个大量的历史数据文件在一个平面文件。在您的组织中一些分析需要查询这个文件中的数据。文件过大,以至于不能加载到您当前的数据库
哪一个是有效的方法来访问这个数据库中的数据?
BC不对,题中说文件太大,不能加载到数据库,A也不对,这是一个平面文件,不是数据库文件,不能通过dblink来访问
所以只能使用外部表来访问
8.you want to check the details of few errors that users have reported .you search for the alert log file
and execute few commands to find the location of the alert log file
view the exhibit and check the commands executed
which is the location of the alert_oracl.log file?
e.ORACLE_BASE/diag/rdbms/oracl/oracl/trace
9.which statemens are true regarding the creation of an incident package file by using the EM WORKBENCH SUPPORT?
a.you can add SQL test cases to the incident package.
b.you can add or remove the trace files to the package
d.you can create the incremental incident package ZIP file for new or modified diagnostic information for the incident package already created
13.view the exhibit and examine the user information
the user has been granted connect and resourse roles and no individual system priviliges
the SL_REP user executes this command to create a table;
sql>create table orders(oid number(6),odate date,ccode number(4),oamt number(10,2)
tablespace purchase_space
the purchase_space tablespace already exists in the databse.which statements describes the
effect of the command
b.the command executes successfully and creates the table in the purchase_space tablespoace
因为resourse角色就有create table的权限
15.you executed the following command to create a tablespace called sales_data;
sql>create tablespace sales_data DATAFILE size 100m
which two statements are true about the sales_data_tablespace?
a.the database automatically determines the extent-sizing policy for the tablesoace
d.the allocation are automatically shrunk when the contents are removed from them
本地管理的表空间中的段空间管理方式可指定为;
自动;oracleDB 使用位图管理段中的空闲空间。位图描述了段中每个数据块的状态,
该状态可与插入行的块中的空间量有关。当数据块中可用空间增多或减少时,位图中会反映数据块的新状态。通过使用位图,oracle db可以提高管理空闲空间的自动化称帝
这种空间管理方式称为自动段空间管理(ASSM)
17.a constraint in a table is defined with the initialy immdiate(初始化立即执行--在每条语句执行结束时检验约束)
you executed the alter table command with the enable validate (要求新数据必须同时满足约束规则-在规则正在进行时是不容许在表上进行任何DML操作)
option to enable the constraint that was disabled
what are the two effects of this command?
a.it fails if any existing row violates the constraint
d.it prevents insert,update and delete operation on the table while the contraint is imin the
process of being enabled
20. which tw ostatements corectly describe the relation between a data file and the logical
dat
c17e
abase structures?
a.an extent spread acreoos datafiles;
c.a data file can belong to only one tablespace
一个数据文件只能属于一个表空间,而数据文件和和extent也是一一对应的,即是说数据文件不能夸区,但可以跨段
21 youe database is configure in shared server mode,HOWEVER,your senior dba shaks you to modify the value of the PRIVATE_SGA limit in
the profile of the users.what would be the reason for this
a.to limit the user glovbal area(UGA) memory allocated to a session from the SGA
22.which two oprerations can be performed on an external table?
a.create a view on the table
c.create a synonym on the table
相关文章推荐
- 一个获取毫秒的函数
- Java中使用Jedis操作Redis之一
- KMP字符串匹配
- Java中利用socket实现简单的服务端与客户端的通信(中级)——实现任意双向通信
- 同步机制之--java之CountDownLatch闭锁
- LintCode: Remove Linked List Elements
- 设计模式-策略模式
- HDU_1863
- HDU 5534 Partial Tree
- 不同浏览器对document.documentElement和document.body的scrollheight ,scrollTop,clientHeight以及判断滚动条是否滚动到页面最底部 【转载】
- 阿里云部署java web运行环境
- Dragonboard开发的准备工作
- eclipse导入已存在的android工程时遇到AndroidManifest.xml文件出错的问题(红叉)
- 存储
- 安装实例中出现的ORA-27123和ORA-12532的错误
- 利用89C52RC的DATAFLASH实现掉电存储数据
- 一个项目的开始——量化想法
- NSMutalbleString
- 在WPF中使用文件夹选择对话框
- IOS开发判断在字符串中是否包含相应的字符