热门标签 | HotTags
当前位置:  开发笔记 > 数据库 > 正文

Oracle10gOCP042题库121-166题共168题

Oracle10gOCP042题库121-166题共168题

Oracle 10g OCP 042 题库 121-166题 共168题

121. You want to create a new optimized database for your transactional production environment to be used by a financial application. While creating the database, you want the Oracle software to take care of all basic settings to optimize the database performance. Which method would you use to achieve this objective?

A) Use the CREATE DATABASE.. command to create the database with Oracle-managed files.

B) Use the Database Configuration Assistant (DBCA) to create the database with Oracle-managed files.

C) Use Enterprise Manager to create a new database with the Online Transaction Processing (OLTP) option.

D) Use Database Configuration Assistant (DBCA) to create the database with Transaction Processing template.

E) Use the CREATE DATABASE.. command to create the database with Automatic Storage Management (ASM) file system.

答案: D

122. You received complaints about the degradation of SQL query performance. You identified top SQL queries that consume time. What would be your next step to find out recommendations about statistics collection and restructuring of the SQL statement to improve query performance?

A) run Segment Advisor

B) run SQL Tuning Advisor on top SQL statements

C) run the Automatic Workload Repository (AWR) report

D) run the Automatic Database Diagnostic Monitor (ADDM) on top SQL statements

答案:B

123. View the Exhibit.

Which statement regarding the dept and emp tables is true?

A) When you delete a row from the emp table, you would receive a constraint violation error.

B) When you delete a row from the dept table, you would receive a constraint violation error.

C) When you delete a row from the emp table, automatically the corresponding rows are deleted from the dept table.

D) When you delete a row from the dept table, automatically the corresponding rows are deleted from the emp table.

E) When you delete a row from the dept table, automatically the corresponding rows are updated with null values in the emp table.

F) When you delete a row from the emp table, automatically the corresponding rows are updated with null values in the dept table.

答案:D

124. User Scott has updated the salary of one of the employees in the EMPLOYEES table and has not committed the transaction. What are the two types of locks that this scenario would lead to? (Choose two.)

A) null lock on the row being updated

B) null lock on the table containing the row

C) ROW SHARE lock for the row being updated

D) ROW EXCLUSIVE lock for the row being updated

E) shared row-exclusive lock for the row being updated

F) a shareable table lock for the table containing the row

G) exclusive table-level lock for the table containing the row

答案:DF

125. View the Exhibit and examine the output.

Which statement describes the conclusion?

A) The users should use bind variables instead of literals in the query.

B) The dictionary cache is consuming more space than the library cache.

C) The shared pool size should be increased to accommodate the SQL statements.

D) Preparing indexes on the tables used in the SQL statements would improve the library cache performance.

答案:A

126. Your database is configured in NOARCHIVELOG mode. All the control files have been lost due to a hard disk failure but the data files are not lost. You have the closed whole database backup available to you. Which two statements are true in this scenario? (Choose two.)

A) The instance aborts.

B) The database cannot be recovered.

C) The database can be recovered by restoring the control files from the backup.

D) The database remains opened and you have to shut it down with the ABORT option.

E) The database can be restored till the point of the last closed whole database backup.

答案:AE

127. While running the Oracle Universal Installer on a Unix platform to install Oracle Database 10g software, you are prompted to run orainstRoot.sh script. What does this script accomplish?

A) It creates the pointer file.

B) It creates the base directory.

C) It creates the Inventory pointer file.

D) It creates the Oracle user for installation.

E) It modifies the Unix kernel parameters to match Oracle's requirement.

答案: C

128. Your database is started with SPFILE. You want the database instance to be dynamically registered with a

listener L2 with the following details:

Protocol: TCP

Host: indl151e

Port: 1525

Which is the correct order of the steps that you would follow to achieve this?

1. Set the LOCAL_LISTENER parameter to L2 dynamically.

2. Make an entry for L2 in tnsnames.ora on the database server.

3. Restart L2.

4. Modify the listener.ora file to add the instance name in SID_LIST of L2.

A) 1, 2, 4, 3

B) 1, 2, 3; 4 is not required.

C) 2, 1; 3 and 4 are not required.

D) 1, 2; 3 and 4 are not required.

答案:C

129. The junior DBA in your organization has accidentally deleted the alert log file. What will you do to create new alert log file?

A) Create the new text file file as ALERT.LOG.

B) You have to recover the alert log file from the valid backup.

C) Change the value for the BACKGROUND_DUMP_DEST parameter.

D) No action required.The file would be created automatically by the instance.

答案: D

130. View the Exhibit.

Your Oracle 10g database has 6 tablespaces in which)

-TEMP is the default temporary tablespace

-UNDOTBS1 is the default undo tablespace

-USERS is the default permanent tablespace

In this database, which two tablespaces can be made read only? (Choose two.)

A) TEMP

B) PROD

C) USERS

D) SYSAUX

E) SYSTEM

F) UNDOTBS1

答案: BC

131. You are using the backup scheduler in Enterprise Manager (EM) to schedule a backup of your database. Which type of script does the backup scheduler generate?

A) SQL script

B) PL/SQL script

C) Operating System (OS) script

D) Enterprise Manager (EM) script

E) Recovery Manager (RMAN) script

答案: E

linux


推荐阅读
  • 本文详细介绍了在ASP.NET中获取插入记录的ID的几种方法,包括使用SCOPE_IDENTITY()和IDENT_CURRENT()函数,以及通过ExecuteReader方法执行SQL语句获取ID的步骤。同时,还提供了使用这些方法的示例代码和注意事项。对于需要获取表中最后一个插入操作所产生的ID或马上使用刚插入的新记录ID的开发者来说,本文提供了一些有用的技巧和建议。 ... [详细]
  • ubuntu用sqoop将数据从hive导入mysql时,命令: ... [详细]
  • Postgresql备份和恢复的方法及命令行操作步骤
    本文介绍了使用Postgresql进行备份和恢复的方法及命令行操作步骤。通过使用pg_dump命令进行备份,pg_restore命令进行恢复,并设置-h localhost选项,可以完成数据的备份和恢复操作。此外,本文还提供了参考链接以获取更多详细信息。 ... [详细]
  • 在数据分析工作中,我们通常会遇到这样的问题,一个业务部门由若干业务组构成,需要筛选出每个业务组里业绩前N名的业务员。这其实是一个分组排序的 ... [详细]
  • 本文介绍了在Win10上安装WinPythonHadoop的详细步骤,包括安装Python环境、安装JDK8、安装pyspark、安装Hadoop和Spark、设置环境变量、下载winutils.exe等。同时提醒注意Hadoop版本与pyspark版本的一致性,并建议重启电脑以确保安装成功。 ... [详细]
  • HDFS2.x新特性
    一、集群间数据拷贝scp实现两个远程主机之间的文件复制scp-rhello.txtroothadoop103:useratguiguhello.txt推pushscp-rr ... [详细]
  • 仙贝旅行是日本最大的旅游服务平台之一,为广大用户提供优质的日本定制游服务。随着用户数量的增长,仙贝旅行决定与智齿科技合作,全面替换原有客服系统,打造全新的在线客服体系。该体系具备多渠道快速接入的能力,让仙贝旅行轻松与各个渠道的接入用户完成沟通。同时,机器人与人工协同发力,提升客户服务水平。 ... [详细]
  • 本文介绍了一些Java开发项目管理工具及其配置教程,包括团队协同工具worktil,版本管理工具GitLab,自动化构建工具Jenkins,项目管理工具Maven和Maven私服Nexus,以及Mybatis的安装和代码自动生成工具。提供了相关链接供读者参考。 ... [详细]
  • 本文由编程笔记#小编为大家整理,主要介绍了StartingzookeeperFAILEDTOSTART相关的知识,希望对你有一定的参考价值。下载路径:https://ar ... [详细]
  • 本文介绍了在Linux下安装和配置Kafka的方法,包括安装JDK、下载和解压Kafka、配置Kafka的参数,以及配置Kafka的日志目录、服务器IP和日志存放路径等。同时还提供了单机配置部署的方法和zookeeper地址和端口的配置。通过实操成功的案例,帮助读者快速完成Kafka的安装和配置。 ... [详细]
  • SAP羞辱国产软件商:技术停在10年前
    SAP中国研究院总裁芮祥麟表示,国产软件厂商过于热衷概念炒作,技术水平停留在10年前的客户端架构水平。他认为,国内厂商推出基于SOA的产品或转型SAAS模式是不可能的,研发新架构需要时间。当前最热门的概念是云计算,芮祥麟呼吁国产厂商应该潜心研发底层架构。 ... [详细]
  • IT方面的论坛太多了,有综合,有专业,有行业,在各个论坛里混了几年,体会颇深,以前是论坛哪里人多 ... [详细]
  • CEPH LIO iSCSI Gateway及其使用参考文档
    本文介绍了CEPH LIO iSCSI Gateway以及使用该网关的参考文档,包括Ceph Block Device、CEPH ISCSI GATEWAY、USING AN ISCSI GATEWAY等。同时提供了多个参考链接,详细介绍了CEPH LIO iSCSI Gateway的配置和使用方法。 ... [详细]
  • 本文讲述了孙悟空写给白骨精的信件引发的思考和反省。孙悟空在信中对自己的行为进行了反思,认识到自己胡闹的行为并没有给他带来实际的收获。他也揭示了西天取经的真相,认为这是玉皇、菩萨设下的一场陷阱。他还提到了师傅的虚伪和对自己的实心话,以及自己作为师傅准备提拔的对象而被派下来锻炼的经历。他认为路上的九九八十一难也都是菩萨算计好的,唐僧并没有真正的危险。最后,他提到了观音菩萨在关键时刻的指导。这封信件引发了孙悟空对自己行为的思考和反省,对西天取经的目的和自己的角色有了更深入的认识。 ... [详细]
  • Windows2003 IIS上设置301定向,实现不带www域名跳转带www域名的方法
    打开IIS,建一个网站,主机头用不带www的域名,随便指向一个目录。然后在这个网站上点右键,属性--主目录--重定向到URL如图ÿ ... [详细]
author-avatar
起来吧52
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有