nerdexam
Splunk

SPLK-1003 · Question #121

In this example, if useACK is set to true and the maxQueueSize is set to 7MB, what is the size of the wait queue on this universal forwarder?

The correct answer is A. 21MB. When useACK is enabled on a universal forwarder, the wait queue is automatically sized to 3x the configured maxQueueSize. With maxQueueSize set to 7MB, the wait queue is 3 x 7MB = 21MB.

Splunk Forwarding

Question

In this example, if useACK is set to true and the maxQueueSize is set to 7MB, what is the size of the wait queue on this universal forwarder?

Options

  • A21MB
  • B28MB
  • C14MB
  • D7MB

How the community answered

(45 responses)
  • A
    78% (35)
  • B
    7% (3)
  • C
    2% (1)
  • D
    13% (6)

Why each option

When useACK is enabled on a universal forwarder, the wait queue is automatically sized to 3x the configured maxQueueSize. With maxQueueSize set to 7MB, the wait queue is 3 x 7MB = 21MB.

A21MBCorrect

When useACK is set to true in outputs.conf, Splunk provisions a wait queue that is exactly 3 times the maxQueueSize to buffer events pending acknowledgment from the receiving indexer. With maxQueueSize=7MB, the resulting wait queue is 3 x 7MB = 21MB.

B28MB

28MB would imply a 4x multiplier for the wait queue, but Splunk's documented behavior uses a fixed 3x multiplier when useACK is enabled.

C14MB

14MB would imply a 2x multiplier, but the wait queue is always 3x the maxQueueSize when useACK is set to true.

D7MB

7MB would mean no additional queue capacity is allocated beyond maxQueueSize, but enabling useACK requires a separate wait queue equal to 3x maxQueueSize.

Concept tested: Universal Forwarder useACK wait queue sizing

Source: https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Forwarderqueueing

Topics

#Forwarder queues#Reliable data delivery#ACK mechanism#Universal Forwarder

Community Discussion

No community discussion yet for this question.

Full SPLK-1003 Practice