Sail E0 Webinar

MCQs

Total Questions : 10
Question 1. Each kafka partition has one server which acts as the _________
  1.    leaders
  2.    followers
  3.    staters
  4.    All of the mentioned
 Discuss Question
Answer: Option A. -> leaders




Question 2. Kafka maintains feeds of messages in categories called
  1.    Topics
  2.    Chunks
  3.    domains
  4.    messages
 Discuss Question
Answer: Option A. -> Topics




Question 3. What is the benefits of Apache Kafka over the traditional technique?
  1.    Fast
  2.    Scalable
  3.    Durable
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above




Question 4. What are consumers or users?
  1.    If all consumer instances have the same consumer set, then this works like a conventional queue adjusting load over the consumers
  2.    If all customer instances have dissimilar consumer groups, then this works like a publish-subscribe and all messages are transmitted to all the consumers
  3.    Both A and B
  4.    None
 Discuss Question
Answer: Option C. -> Both A and B




Question 5. Which are the elements of Kafka?
  1.    Topic
  2.    Producer
  3.    Consumer
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Question 6. Kafka only provides a _________ order over messages within a partition
  1.    partial
  2.    Total
  3.    30%
  4.    None of the mentioned
 Discuss Question
Answer: Option B. -> Total




Question 7. 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?
  1.    Kafka.request.required.acks property on the Producer to 1
  2.    Kafka.request.required.acks property on the Producer to 10
  3.    Kafka.request.required.acks property on the Producer to NIL
  4.    Kafka.request.required.acks property on the Producer to -1
 Discuss Question
Answer: Option C. -> Kafka.request.required.acks property on the Producer to NIL




Question 8. What exactly Kafka key capabilities?
  1.    Publish and subscribe to streams of records, similar to a message queue or enterprise messaging system
  2.    Store streams of records in a fault-tolerant durable way
  3.    Process streams of records as they occur
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Question 9. What are the distinct layers are of Storm's codebase?
  1.    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
  2.    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
  3.    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
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Question 10. Which components are used for Stream Flow of Data?
  1.    Bolt
  2.    Spout
  3.    Reliable
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Latest Videos

Latest Test Papers