Technology Exchange
免费咨询热线
400-090-9964
Oracle OCP 19c 认证考试1Z0-082考试题库(第7题)-CUUG内部学员版082题库解析
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. Dynamic service registration cannot be used for this database instance
B. The LREG process registers services dynamically with the LISTENER_1 listener
C. LISTENER_1 must also be defined in the LISTENER.ORA file to enable dynamic service registration
D. There are two listeners named LISTENER and LISTENER_1 running simultaneously using port 1521 on the same host as the database instances
E. The definition for LISTENER_1 requires a CONNECT_DATA section to enable dynamic service Registration
Answer: D
(解析:实验发现当前有两个监听启动,而且大家都是使用 1521 端口,不需要在 listener.ora添加内容。
这道题是第一次出现,我们原来配置的都是会默认端口,没有这种配置方式,感觉没有实际的意义。)
通过下面命令可以查看到有两个监听,而且可以直接用 lsnrctl start 来一起启动它。
lsnrctl status
lsnrctl status listener_1