Oracle 19c OCP 1Z0-082认证考试题库(51-60)

简介: .View the Exhibit and examine the description of the tables You execute this SQL statement Which three statements are true?

51.View the Exhibit and examine the description of the tables You execute this SQL statement


Which three statements are true?


A.The sales table has five foreign keys

B.The statement will execute successfully and a new row will be inserted into the SALES table

C.A product can have a different unit price at different times

D.A customer can exist in many countries.

E.The statement will fail if a row already exists in the SALES table for product 23

F. The statement will fail because a subquery may not be contained in a VALUES clause

答案: ABD


52.View the Exhibits and examine the structure of the costs and PROMOTIONS tables

You want to display prod_ids whose promotion cost is less than the highest cost prod_id in a promotion time interval

Examine this SQL statement


What will be the result?

A.It executes successfully and gives the required result.

B.It gives an error because the GROUP BY clause is not valid

C.It executes successfully but does not give the required result

D.It gives an error because the ALL keyword is not valid

答案: C

Prom_end_date-promo_begin_date不能保证产品在同一个时间段进行促销。


53.You must create a tablespace of non-standard block size in a new file system and plan to use this command


The standard block size is 8k but other non-standard block sizes will also be used

Which two are requirements for this command to succeed?

A.DB_32K_CACHE_SIZE must be set to a value that can be accommodated in the SGA

B.DB_32K_CACHE_SIZE should be set to a value greater than DB_CACHE_SIZE

C.DB_32K_CACHE_SIZE must be less than DB_CACHE_SIZE

D.The operating system must use a 32k block size

E.DB_CACHE_SIZE must be set to a size that is smaller than DB_32K_CACHE_SIZE

F. The /u02 file system must have at least 100g space for the datafile

答案: AF


54.Which two statements are true about single row functions?

A.FLOOR: retums the smallest integer greater than or equal to a specified number

B.CEIL: can be used for positive and negative numbers

C.CONCAT: can be used to combine any number of values

D.TRUNC: can be used only with NUMBER data types

E.MOD: returns the remainder of a division operation

答案: BE

trunc可以用于日期


55.Examine the description of the PRODUCR STATUS table


The STATUS column contains the values ‘in stock’ or ‘OUT OF STOCK’ for each row

Which two queries will execute successfully?

A.SELECT prod_id || q ’ (‘s not available.’ from product status WHERE status = ‘OUT OF STOCK’

B.SELECT prod_id || q ’ (‘s not available.’ “CURRENT AVAILABILITY"FROM product status WHERE status = 'OUT OF STOCK ’

C.SELECT prod_id “CURRENT AVAILABILITY” || q ’ ('s not availablE.'from product status WHERE status = ‘OUT OF STOCK’

D.SELECT prod_id || q(‘s not availablE.’ 'current AVAILABILITY ’ FROM product status WHERE status = ‘OUT OF STOCK’

E.SELECT prod_id q 's not available” FROM product status WHERE status =“OUT OF STOCK”

F.SELECT prod_id || q" 's not available" FROM product_status WHERE status = ‘OUT OF STOCK’

答案: AB ???


56.Which two statements are true about Enterprise Manager(EM)Express?

A.By default, EM Express is available for a database after database creation using DBCA

B.You can shut down a database instance using EM Express.

C.EM Express uses a separate repository database to store target database metadata

D. You cannot start up a database instance using EM Express

E.You can use a single instance of EM Express to manage multiple databases running on the same server

答案: AD

EM Express 简化版的 em,只要用存储过程设置了端口号就可以访问。


57.In the spfile of a single instance database, LOCAL_LISTENER is set to LISTENER_1.

The TNSNAMES.ORA file in $ORACLE HOME/network/admin in the database home contains: LISTENER_1 =

(ADDRESS= (PROTOCOL= TCP)

(HOST =host1 abc. com) (PORT=1521)

)


Which statement is true?

A.There are two listeners named LISTENER and LISTENER_1 running simultaneously using port 1521on the same host as the database instances

B.The definition for LISTENER_1 requires a CONNECT_DATA section to enable dynamic service registration

C. LISTENER_1 must also be defined in the LISTENER. ORA file to enable dynamic service registration

D.The LREG process registers services dynamically with the LISTENER_1 listener E.Dynamic service registration cannot be used for this database instance

答案: A

local_listener时需要把定义增加到服务器端的tnsnames.ora中


58.Which two statements are true about UNDO and REDO?

A.The generation of UNDO generates REDO.

B.DML, modifies Oracle database objects and generates UNDO and REDO

C.DML modifies Oracle database objects and only generates UNDO.

D.The generation of REDO generates UNDO.

E.DML modifies Oracle database objects and only generates REDO


答案: AB

59.Examine the description of the CUSTOMERS table:

You need to display last names and credit limits of all customers whose last name starts with A or B in lower or upper case, and whose credit limit is below 1000

Examine this partial query

SELECT cust_last_name, cust_credit_limit FROM customers

Which two WHERE conditions give the required result?

A.WHERE(INITCAP(cust_last_name) LIKE ‘A%’ OR INITCAP(cust_last_name) LIKE ‘B%’) AND cust_credit_limit < 1000

B.WHERE UPPER(cust_1ast_name IN (‘A%’, ‘B%’ ) AND cust_credit_limit < 1000

C.WHERE (UPPER(cust_last_name LIKE INITCAP(‘A’) OR UPPER(cust -Last-namE.LIKE INITCAP(‘B’))

AND ROUND(cust_credit_limit)< ROUND(1000);

D.WHERE( UPPER(cust_1ast_namE.LIKE 'A% OR UPPER(Cust_1ast_namE.LINK ‘B%’

AND ROUND(cust_credit_limit)< 1000

E.WHERE UPPER(cust_last_name) BETWEEN UPPER (‘A%’ AND ‘B%’ )

AND ROUND(cust_credit_limit)< 1000

答案: AD


60.Which two statements are true about the tools used to configure Oracle Net Services?


A.The lsnrctrl utility requires a listener. ora file to exist before it is started

B.The Oracle Net Configuration Assistant is only used when running the Oracle installer. C.Enterprise Manager Cloud Control can be used to centrally configure net service names for any database server target.

D.Oracle Net Manager can be used to centrally configure listeners on any database server target. E.Oracle Net Manager can be used to locally configure naming methods on a database server.

答案: C E


相关文章
|
Oracle 关系型数据库 网络安全
Oracle 19c 安装教程学习
Oracle 19c 安装教程学习
2365 2
|
Oracle 关系型数据库 数据库
Oracle 19c OCP 认证考试 083 题库(第37题)- 2024年修正版
本文介绍Oracle 19c OCP认证题库中的1Z0-083科目,包含85道试题,需在150分钟内完成,通过分数为57%。重点解析了关于阈值、指标和警报的问题,并指出需通过Oracle指定的WDP机构培训后才能参加考试,考试科目包括082和083,通过后可获得OCP证书。CUUG作为金牌合作机构,提供详细咨询与帮助。
447 2
|
SQL Oracle 关系型数据库
Oracle 19c OCP 认证考试 082 题库(第26题)- 2024年修正版
这是关于Oracle 19c OCP认证考试(1Z0-082)的题库,包含90道题目,通过分数为60%,考试时间为150分钟。本文由CUUG原创整理,重点解析了全球临时表的特点和相关操作,并提供了正确答案及详细解释,帮助考生更好地理解和备考。
229 2
|
4月前
|
Oracle 关系型数据库 Linux
【赵渝强老师】Oracle数据库配置助手:DBCA
Oracle数据库配置助手(DBCA)是用于创建和配置Oracle数据库的工具,支持图形界面和静默执行模式。本文介绍了使用DBCA在Linux环境下创建数据库的完整步骤,包括选择数据库操作类型、配置存储与网络选项、设置管理密码等,并提供了界面截图与视频讲解,帮助用户快速掌握数据库创建流程。
415 93
|
3月前
|
Oracle 关系型数据库 Linux
【赵渝强老师】使用NetManager创建Oracle数据库的监听器
Oracle NetManager是数据库网络配置工具,用于创建监听器、配置服务命名与网络连接,支持多数据库共享监听,确保客户端与服务器通信顺畅。
240 0
|
6月前
|
存储 Oracle 关系型数据库
服务器数据恢复—光纤存储上oracle数据库数据恢复案例
一台光纤服务器存储上有16块FC硬盘,上层部署了Oracle数据库。服务器存储前面板2个硬盘指示灯显示异常,存储映射到linux操作系统上的卷挂载不上,业务中断。 通过storage manager查看存储状态,发现逻辑卷状态失败。再查看物理磁盘状态,发现其中一块盘报告“警告”,硬盘指示灯显示异常的2块盘报告“失败”。 将当前存储的完整日志状态备份下来,解析备份出来的存储日志并获得了关于逻辑卷结构的部分信息。
|
4月前
|
SQL Oracle 关系型数据库
Oracle数据库创建表空间和索引的SQL语法示例
以上SQL语法提供了一种标准方式去组织Oracle数据库内部结构,并且通过合理使用可以显著改善查询速度及整体性能。需要注意,在实际应用过程当中应该根据具体业务需求、系统资源状况以及预期目标去合理规划并调整参数设置以达到最佳效果。
352 8
|
6月前
|
SQL Oracle 关系型数据库
比较MySQL和Oracle数据库系统,特别是在进行分页查询的方法上的不同
两者的性能差异将取决于数据量大小、索引优化、查询设计以及具体版本的数据库服务器。考虑硬件资源、数据库设计和具体需求对于实现优化的分页查询至关重要。开发者和数据库管理员需要根据自身使用的具体数据库系统版本和环境,选择最合适的分页机制,并进行必要的性能调优来满足应用需求。
303 11
|
6月前
|
Oracle 关系型数据库 数据库
数据库数据恢复—服务器异常断电导致Oracle数据库报错的数据恢复案例
Oracle数据库故障: 某公司一台服务器上部署Oracle数据库。服务器意外断电导致数据库报错,报错内容为“system01.dbf需要更多的恢复来保持一致性”。该Oracle数据库没有备份,仅有一些断断续续的归档日志。 Oracle数据库恢复流程: 1、检测数据库故障情况; 2、尝试挂起并修复数据库; 3、解析数据库文件; 4、导出并验证恢复的数据库文件。
|
6月前
|
存储 Oracle 关系型数据库
【赵渝强老师】Oracle RMAN的目录数据库
Oracle RMAN默认将备份元信息存储在控制文件中,但控制文件损坏或丢失会导致恢复失败,且备份增多会使控制文件无限增长。为解决这些问题,Oracle引入了RMAN目录数据库(Catalog Database),专门用于存储RMAN备份的元信息。使用目录数据库可提升备份管理效率,支持多数据库共享、长期备份历史记录存储,并可保存RMAN脚本。本文详细介绍了如何创建目录数据库、注册目标数据库及其操作步骤。
160 0

推荐镜像

更多