nerdexam
Oracle

1Z0-052 · Question #248

Your application demands frequent connection and disconnection from the database. You have three listener processes that are listening for the database PROD. While setting up the connect string…

The correct answer is B. Try one address, selected at random. D. Try each address, randomly, until one succeeds. To balance connection load across multiple listener processes, Oracle Net must be configured to randomly select addresses rather than use a fixed sequential order.

Configuring the Oracle Network Environment

Question

Your application demands frequent connection and disconnection from the database. You have three listener processes that are listening for the database PROD. While setting up the connect string using Oracle Enterprise Manager 11g Database Control, which two options would you select to balance the connection load across all the listener processes? (Choose two.)

Options

  • AUse only the first address.
  • BTry one address, selected at random.
  • CTry each address, in order, until one succeeds.
  • DTry each address, randomly, until one succeeds.

How the community answered

(52 responses)
  • A
    8% (4)
  • B
    77% (40)
  • C
    15% (8)

Why each option

To balance connection load across multiple listener processes, Oracle Net must be configured to randomly select addresses rather than use a fixed sequential order.

AUse only the first address.

Using only the first address sends every connection to a single listener, creating a bottleneck and completely negating load balancing across the other listener processes.

BTry one address, selected at random.Correct

Selecting one address at random (LOAD_BALANCE=ON without failover) distributes each new connection attempt to a randomly chosen listener, spreading the load evenly across all available listener processes.

CTry each address, in order, until one succeeds.

Trying addresses in sequential order always attempts the first address first, resulting in uneven load concentration on the primary listener rather than distributing connections across all three.

DTry each address, randomly, until one succeeds.Correct

Trying each address randomly until one succeeds (LOAD_BALANCE=ON with FAILOVER=ON) combines load balancing with resilience - it randomly picks a listener and falls over to another random choice if needed, ensuring both distribution and connection reliability.

Concept tested: Oracle Net client-side connection load balancing

Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/netag/enabling-advanced-features-of-oracle-net-services.html

Topics

#listener load balancing#connection load balancing#Oracle Net#multiple listeners

Community Discussion

No community discussion yet for this question.

Full 1Z0-052 Practice