nerdexam
Oracle

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.

Configuring the Oracle Network Environment

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)
  • A
    3% (1)
  • B
    94% (29)
  • D
    3% (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.

AThe sessions are able to perform only queries

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.

BThe sessions are not affected and continue to function normallyCorrect

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.

CThe sessions are terminated and the active transactions are rolled back

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.

DThe sessions are not allowed to perform any operations till the listener is started

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

#Oracle listener#LSNRCTL STOP#existing sessions#new connections

Community Discussion

No community discussion yet for this question.

Full 1Z0-052 Practice