MCQ Collection
Big Data Analytics MCQs
Practice Big Data Analytics questions with answers and explanations.
Choose an option to check your answer.
Correct Answer: B. A language combining object-oriented and functional programming on the JVM
Explanation:
Scala compiles to Java Virtual Machine bytecode.
It is widely used with Apache Spark.
Choose an option to check your answer.
Correct Answer: B. An immutable linked sequence
Explanation:
List is optimized for operations at the head and recursive processing.
Creating a changed list returns a new value.
Choose an option to check your answer.
Correct Answer: B. A singleton instance
Explanation:
An object is created once and can hold methods and values.
It is often used for application entry points or utility functions.
Choose an option to check your answer.
Correct Answer: C. Using the output of one MapReduce job as input to another
Explanation:
Complex workflows are decomposed into stages.
Intermediate HDFS output provides durability between jobs.
Choose an option to check your answer.
Correct Answer: C. A fair share of resources among active applications over time
Explanation:
When one application is alone, it may use extra capacity.
As others arrive, resources move toward fair shares.
Choose an option to check your answer.
Correct Answer: C. Use many existing Java libraries and runtime tools
Explanation:
Scala and Java share the JVM ecosystem.
Scala code can interoperate with Java classes in most cases.
Choose an option to check your answer.
Correct Answer: C. An immutable indexed sequence with efficient random access
Explanation:
Vector provides more balanced indexed access and updates than List.
It remains immutable.
Choose an option to check your answer.
Correct Answer: C. An object with the same name as a class in the same source file
Explanation:
The class and companion object can access each other's private members.
The object often contains factory methods or constants.
Choose an option to check your answer.
Correct Answer: D. Each stage may materialize intermediate data to disk and add scheduling overhead
Explanation:
Disk I/O and repeated job startup increase latency.
In-memory engines such as Spark can be faster for iterative pipelines.
Choose an option to check your answer.
Correct Answer: D. A logical grouping used to control and prioritize resource allocation
Explanation:
Queues organize users, teams, or workload classes.
Policies can set capacity, priority, and access controls.
Choose an option to check your answer.
Correct Answer: D. val
Explanation:
A val can be assigned only once.
The referenced object's internal state may still be mutable depending on its type.
Choose an option to check your answer.
Correct Answer: D. A fixed-length mutable indexed collection
Explanation:
Array elements can be changed in place.
Its length is determined when the array is created.