Home / CSE MCQs / Apache Kafka ::

CSE MCQs :: Apache Kafka

  1. Each kafka partition has one server which acts as the _________
  2. A.
    leaders
    B.
    followers
    C.
    staters
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Which are the elements of Kafka?
  4. A.
    Topic
    B.
    Producer
    C.
    Consumer
    D.
    All of these

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. What are consumers or users?
  6. A.
    If all consumer instances have the same consumer set, then this works like a conventional queue adjusting load over the consumers
    B.
    If all customer instances have dissimilar consumer groups, then this works like a publish-subscribe and all messages are transmitted to all the consumers
    C.
    Both A and B
    D.
    None

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. What is the benefits of Apache Kafka over the traditional technique?
  8. A.
    Fast
    B.
    Scalable
    C.
    Durable
    D.
    All of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. Kafka maintains feeds of messages in categories called
  10. A.
    Topics
    B.
    Chunks
    C.
    domains
    D.
    messages

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Kafka only provides a _________ order over messages within a partition
  12. A.
    partial
    B.
    Total
    C.
    30%
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Preferred Leader Election is enabled by default. Typically, a leader is restored within 5 minutes of coming back online. Which property can be set to minimize the chance of data loss during the switching back?
  14. A.
    Kafka.request.required.acks property on the Producer to 1
    B.
    Kafka.request.required.acks property on the Producer to 10
    C.
    Kafka.request.required.acks property on the Producer to NIL
    D.
    Kafka.request.required.acks property on the Producer to -1

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. What exactly Kafka key capabilities?
  16. A.
    Publish and subscribe to streams of records, similar to a message queue or enterprise messaging system
    B.
    Store streams of records in a fault-tolerant durable way
    C.
    Process streams of records as they occur
    D.
    All of these

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which components are used for Stream Flow of Data?
  18. A.
    Bolt
    B.
    Spout
    C.
    Reliable
    D.
    All of these

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. What are the distinct layers are of Storm's codebase?
  20. A.
    First, Storm was designed from the very beginning to be compatible with multiple languages. Nimbus is a Thrift service and topologies are defined as Thrift structures. The usage of Thrift allows Storm to be used from any language
    B.
    Second, all of Storm's interfaces are specified as Java interfaces. So even though there's a lot of Clojure in Storm's implementation, all usage must go through the Java API. This means that every feature of Storm is always available via Java
    C.
    Third, Storm's implementation is largely in Clojure. Line-wise, Storm is about half Java code, half Clojure code. But Clojure is much more expressive, so in reality the great majority of the implementation logic is in Clojure
    D.
    All of these

    View Answer

    Workspace

    Discuss Discuss in Forum