nerdexam
Confluent

CCDAK · Question #50

A producer application in a developer machine was able to send messages to a Kafka topic. After copying the producer application into another developer's machine, the producer is able to connect to…

The correct answer is C. The Kafka ACL does not allow another machine IP. ACLs take "Host" as a parameter, which represents an IP. It can be * (all IP), or a specific IP. Here, it's a specific IP as moving a producer to a different machine breaks the consumer, so the ACL needs to be updated.

Security

Question

A producer application in a developer machine was able to send messages to a Kafka topic. After copying the producer application into another developer's machine, the producer is able to connect to Kafka but unable to produce to the same Kafka topic because of an authorization issue. What is the likely issue?

Options

  • ABroker configuration needs to be changed to allow a different producer
  • BYou cannot copy a producer application from one machine to another
  • CThe Kafka ACL does not allow another machine IP
  • DThe Kafka Broker needs to be rebooted

How the community answered

(47 responses)
  • A
    6% (3)
  • B
    4% (2)
  • C
    87% (41)
  • D
    2% (1)

Explanation

ACLs take "Host" as a parameter, which represents an IP. It can be * (all IP), or a specific IP. Here, it's a specific IP as moving a producer to a different machine breaks the consumer, so the ACL needs to be updated.

Topics

#Kafka ACL#authorization#producer security#access control

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice