Quiz Space

Introduction to Big Data · End Term · 22 Dec 2024 · September 2024 term · Set QDB4

Question 11: Consider a Kafka system that has two brokers with the ex…

Question 11

+2 marksOne correct option

Consider a Kafka system that has two brokers with the exact same specifications. Let’s consider a topic A with a single partition, whose two copies are being maintained by Kafka. Consider the following cases:
Case 1: Both the copies reside in the same broker
Case 2: Each broker has one copy of the partition
Two of the key promises of Kafka are:
(i) Availability
(ii) Throughput
Regarding which of the above promises, case 1 is at a disadvantage as compared to case 2?

  1. A

    Only (i)

  2. B

    Only (ii)

  3. C

    Both (i) and (ii)

  4. D

    Neither (i) nor (ii)

Show answer

Correct answer

  • A

    Only (i)

Question 11 of 21 in the IIT Madras BS Introduction to Big Data (Intro to Big Data) End Term paper sat on 22 Dec 2024, in the September 2024 term (IIT M DEGREE AN EXAM QDB4 22 Dec 2024). It carries 2 marks.

This question was also asked in

More questions from this paper

  1. Q1What happens when a Spark Structured Streaming pipeline operating with Kafka as the source is subject to a machine fail…
  2. Q2A company with headquarters (HQ) in the Middle East operates on a Sunday-Thursday weekday schedule with Friday \& Satur…
  3. Q3In the class, we saw the UDF for mobilenet_v2. Specifically, the predict() function contained the below lines of code
  4. Q4Dhoni is on the crease with a bat in hand that has sensors embedded throughout. The sensors talk to the spider cam ever…
  5. Q5In the class, we saw the UDF for mobilenet_v2. By definition, UDFs are scalar. In Spark, there is another class of user…
  6. Q6You are appointed as a Data Engineer in a company that has a legacy reporting application written in Java which suffers…
  7. Q7You are given a Spark Streaming pipeline that invokes a pre-trained DL model for every image it receives as input and p…
  8. Q8Which of the following code snippets will give a runtime error? (Note: df is a spark dataframe. It has a column called …
  9. Q9Since it is the onset of summer, there is a surge in railway ticket bookings. The business head at IRCTC is interested …
  10. Q10Consider a Structured Streaming application running on Google Dataproc firing up every 10 seconds, consuming any number…
  11. Q12Let us say we are using structured streaming for continuously reading data from Kafka and storing the results back into…
  12. Q13Kubernetes is an open-source system for automating deployment, scaling and management of containerized applications. Go…
  13. Q14A big data streaming application that reads from using Kafka as source is observed to be really slow. The Kafka cluster…
  14. Q15You are given the task of improving the performance of a Spark SQL program. You suspect that the culprit is the main tr…
  15. Q16What differentiates “streaming processing” from “batch processing” in the context of big data?
  16. Q17What are the core components for a Big Data Streaming application?
  17. Q18Which of the following statements are true?
  18. Q19Observe the below image and select the options that are true.
  19. Q20A Spark Streaming application is configured to execute once per minute. However, each run takes 10+ minutes consistentl…
  20. Q21You are given a Spark program that runs on a Google Dataproc cluster on a daily schedule from 1AM-12PM to produce as ou…