nerdexam
Confluent

CCAAK · Question #4

What are benefits to gracefully shutting down brokers? (Choose two.)

The correct answer is A. It will sync all its logs to disk to avoid needing to do any log recovery when it restarts. B. It will migrate any partitions the server is the leader for to other replicas prior to shutting down. A graceful shutdown ensures that logs are flushed to disk, minimizing recovery time during Kafka performs controlled leader migration during a graceful shutdown to avoid disruption and ensure availability.

Managing Brokers and Clusters

Question

What are benefits to gracefully shutting down brokers? (Choose two.)

Options

  • AIt will sync all its logs to disk to avoid needing to do any log recovery when it restarts.
  • BIt will migrate any partitions the server is the leader for to other replicas prior to shutting down.
  • CIt will automatically re-elect leaders on restart.
  • DIt will balance the partitions across brokers before restarting.

How the community answered

(52 responses)
  • A
    71% (37)
  • C
    21% (11)
  • D
    8% (4)

Explanation

A graceful shutdown ensures that logs are flushed to disk, minimizing recovery time during Kafka performs controlled leader migration during a graceful shutdown to avoid disruption and ensure availability.

Topics

#graceful shutdown#broker shutdown#leader migration#log sync

Community Discussion

No community discussion yet for this question.

Full CCAAK Practice