ocp|052-考试题库解析-2018.pdf_第1页
ocp|052-考试题库解析-2018.pdf_第2页
ocp|052-考试题库解析-2018.pdf_第3页
ocp|052-考试题库解析-2018.pdf_第4页
ocp|052-考试题库解析-2018.pdf_第5页
已阅读5页,还剩15页未读 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

052题库解析 最新15道题 CUUG ORACLE培训领航专家 十三.Audit 32. You want to audit update statements that refer to USER1.DEPT.DNAME. Which type of auditing must you use? A) standard auditing B) mandatory auditing C) value-based auditing D) fi ne-grained auditing Answer:D CUUG ORACLE培训领航专家 33. Which three are true about auditing? A) Auditing is active only when the database is OPEN. B) Audit records are always stored in the database. C) Audit of the use of system privileges can be enabled for individual database users. D) DDL statements can be audited when they fail to execute. E) All Oracle auditing operations occur by default. F) DML statements can be audited when they execute successfully. Answer:CDF CUUG ORACLE培训领航专家 34. Which four are true about auditing? A) DML statements can be audited when they fail to execute B) Select statements can be audited when they execute successfully. C) All Oracle auditing operations occur by default. D) No Oracle auditing operations occur by default. E) DDL statements can be audited when they fail to execute. F) Some auditing is active before the database is open. G) Audit records are never stored in the database. H) Audit records are always stored in the database. Answer:ABEF CUUG ORACLE培训领航专家 34. Examine this session output: SQL connect scott/tiger Connected. SQL select name,value 2 from v$parameter 3 where name = audit_trail; NAME VALUE - - audit_trail DB SQL audit all on emp; Audit succeeded. CUUG ORACLE培训领航专家 Answer:AB Which two will generate an audit record ? A) every UPDATE statement executed by SCOTT that updates SCOTT.EMP. B) every DDL statement executed by SCOTT that affects SCOTT.EMP. C) any DML statement executed by SYS on SCOTT.EMP. D) only the fi rst SELECT statement executed by SCOTT in a session on SCOTT.EMP E) every UPDATE statement executed by SCOTT that updates HR.EMP CUUG ORACLE培训领航专家 十.DBlink 36. you successfully executed these commands: connect scott/tigerprod1; CREAET DATABASE LINK db_prod2 CONNECT TO scott IDENTIFIED BY tiger USING PROD2; Which type of database link is created? A) private current user database link B) public connected user database link C) public current user database link D) private fi xed user database link E) public fi xed user database link Answer:D CUUG ORACLE培训领航专家 CUUG ORACLE培训领航专家 十五.External Table 37. which is true about external tables? A) Segments are allocated for external tables. B) They may have indexes. C) They do not support partitioning. D) The ORACLE_DATAPUMP access driver can be used to write data to external tables. E) DML operations may be performed on external tables. Answer:D CREATE TABLE scott.countries_ext ORGANIZATION EXTERNAL ( TYPE Oracle_DATAPUMP DEFAULT DIRECTORY dir -生成dmp文件存放路径 LOCATION (countries_ext.dmp) -生成外部文件的名称 ) AS SELECT * FROM scott.countries; -数据来源于实体表 CUUG ORACLE培训领航专家 38. Which two are true about external tables? A) They can be stored in an ASM Cluster File System(ACFS). B) They can always be updated using SQL. C) They support the ORACLE_DATAPUMP access driver. D) They have extents. E) They support all DML operations. Answer:AC CUUG ORACLE培训领航专家 39. You want to access employee details contained in fl at fi les created by an application. Which two methods will achieve this? A) Use a BFILE column in a table to access the fl at fi le. B) Use an Oracle Loader type External table. C) Use an Oracle Data Pump type External table. D) Use a CLOB column in a table to access the fl at fi le. E) Use a LONG RAW column in a table to access the fl at fi le. Answer:AB Flat File:平面文件,我们平常见到的txt、csv等都属于平面文件。 CUUG ORACLE培训领航专家 六.Temporary table 40. Examine this command: SQL CREATE GLOBAL TEMPORARY TABLE report_work_area (startdate DATE, enddate DATE, class CHAR(20) ON COMMIT PRESERVE ROWS; Which three statements are true about rows inserted into REPORT_WORK_AREA? A) Rows will be lost if a ROLLBACK is done. B) Rows will be lost upon session failure. C) Rows are visible to all sessions logged in by the same user until the session that inserted the rows terminates. D) Rows are visible to all sessions logged in by all users granted the DBA role until the session that inserted the rows terminates. E) Rows will be lost upon session normal termination. F) Rows are visible globally to all sessions logged in by any user until the session that inserted the rows terminates. Answer:ABE CUUG ORACLE培训领航专家 delete rows用于事务相关,也就在事务结束后truncate data in the temporary table. preserve rows表示在会话结束后清除临时表的数据 前者在事务提交后数据就已经清除了 后者在会话中止时或者导常退出时数据都会被清除掉 CUUG ORACLE培训领航专家 十七.ADDM 41. Which three are true about the Automatic Database Diagnostic Monitor (ADDM)? A) It improves database performance by automatically implementing Oracle s best practices. B) It can assist the DBA in diagnosing database instance startup failures. C) It can be used by executing the PL/SQL procedures in the DBMS_ADDM package. D) It runs automatically after each Automatic Workload Repository snapshot is created. E) It provides recommendations to improve database performance. F) Its fi ndings are accessible only by using Oracle Enterprise Manager. Answer:CDE CUUG ORACLE培训领航专家 42. Which is true about the Automatic Diagnostic Repository (ADR) ? A) It is used only if the DIAGNOSTIC_DEST parameter is manually confi gured. B) It only contains the alert log and trace fi les for background processes. C) Its location is always set by the ORACLE_BASE variable. D) It includes diagnostic data for critical errors for each server and background process. Answer:D CUUG ORACLE培训领航专家 在Oracle的11g版本中,alert文件的位置发生了变化,与此同时Oracle提供了一个 命令行工具ADRCI,它可以很便利的查看数据库中出现的异常。 1.查看到adrci命令行帮助 $ adrci -help 2.使用 help show alert 命令查看帮助文档 adrci help 3.使用 show alert 列出各个目录下的日志目录 adrci show alert ADR的结构和位置: 初始化参数diagnostic_dest指定了ADR的根目录。即使你忽略了该初始化参数。 oracle也会创建ADR。 如果你设置了ORACLE_BASE环境变量,那么diagnostic_dest缺省值是该目录。如 果你没有设置ORACLE_BASE变量,该参数值为$ORACLE_HOME/log目录。 ADR存储所有oracle产品的诊断数据。ADR为每一个oracle产品及其实例分配一个 单独的home目录。因此一个ADR目录包含多个home目录。每一个ADR的home目 录是一个为每一个数据库实例或其它oracle产品或组件存储其诊断文件。其目录 结构如下: ADR_base/diag/product_type/product_id/instance_id/,比如一个 diagnostic_dest 初始化参数为 /u05/app/oracle。那么一个oracle数据库的sid为prod1的home目录 就如下所示: /u05/app/oracle/diag/rdbms/prod1/prod1/ CUUG ORACLE培训领航专家 43. Which two statements are true about the Automatic Diagnostic Repository (ADR) ? A) It only exists if DIAGNOSTIC_DEST is confi gured in the SPFILE. B) It includes diagnostic data for critical errors for background processes. C) It only contains the alert log. D) It only contains trace fi les. E) It includes diagnostic data for critical errors for client processes. F) It includes diagnostic data for critical errors for server process. Answer:BF CUUG ORACLE培训领航专家 八.FRA 44. Which two are true about the Fast Recovery Area (FRA)? A) It should be larger than the database. B) Only consistent backups can be stored in the FRA. C) Space management in the FRA is infl uenced by the database backup retention policy. D) It must reside on the same fi le system as the database data fi les. E) A database must be in ARCHIVELOG mode to use the FRA. Answer:AC CUUG ORACLE培训领航专家 45. Your database is open in ARCHIVELOG mode. LOG_ARCHIVE_DEST is set to Fast Recovery Area (FRA) and It is 100% full when a log switch takes place. No alternative or optional archive destinations are defi ned. What is the outcome? A) Obsolete backups are automatically deleted and new archivelogs are generated. B) All active sessions hang until the database administrator (DBA) makes space available in the FRA. C) The a

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论