1Z0-052 · Question #38
Your database is open and the LISTENER listener is running. The new DBA of the system stops the listener by using the command: LSNRCTL> STOP What happens to the sessions that are presently connected…
The correct answer is B. The sessions are not affected and continue to function normally. This question tests knowledge of the Oracle Net Listener's role, which is limited to establishing new connections and does not participate in maintaining existing sessions.
Question
Your database is open and the LISTENER listener is running. The new DBA of the system stops the listener by using the command: LSNRCTL> STOP What happens to the sessions that are presently connected to the database instance?
Options
- AThe sessions are able to perform only queries
- BThe sessions are not affected and continue to function normally
- CThe sessions are terminated and the active transactions are rolled back
- DThe sessions are not allowed to perform any operations till the listener is started
How the community answered
(31 responses)- A3% (1)
- B94% (29)
- D3% (1)
Why each option
This question tests knowledge of the Oracle Net Listener's role, which is limited to establishing new connections and does not participate in maintaining existing sessions.
There is no mechanism by which stopping the listener restricts active sessions to read-only operations - the listener is completely uninvolved in session activity after connection handoff.
The Oracle listener is solely responsible for brokering new incoming connection requests to the database. Once a client session is established and handed off to a dedicated server process or dispatcher, the listener plays no further role in that session's communication, so stopping the listener has no effect on currently connected sessions.
Sessions are not terminated and transactions are not rolled back; stopping the listener only closes the port for new connection requests and does not send any signal to existing server processes.
Existing sessions communicate directly with their server processes independent of the listener, so they are never blocked from performing operations when the listener is down.
Concept tested: Oracle Net Listener role in established sessions
Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/netag/configuring-and-administering-oracle-net-listener.html
Topics
Community Discussion
No community discussion yet for this question.