Bird
0
0

Which of the following is the correct syntax to start a Kafka broker using the command line?

easy📝 Syntax Q3 of 15
Kafka - Cluster Architecture

Which of the following is the correct syntax to start a Kafka broker using the command line?

Astart-kafka-broker.sh config/server.properties
Bkafka-start-server.sh config/server.properties
Ckafka-server-start.sh config/server.properties
Dkafka-broker-run.sh config/server.properties
Step-by-Step Solution
Solution:
  1. Step 1: Recall Kafka broker start command

    The official command to start a Kafka broker is kafka-server-start.sh followed by the config file.
  2. Step 2: Verify options

    Only kafka-server-start.sh config/server.properties matches the correct command syntax.
  3. Final Answer:

    kafka-server-start.sh config/server.properties -> Option C
  4. Quick Check:

    Broker start command = kafka-server-start.sh [OK]
Quick Trick: Use kafka-server-start.sh to launch Kafka broker [OK]
Common Mistakes:
  • Using incorrect script names
  • Omitting config file path
  • Confusing start commands with other scripts

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes