MCQ Collection
Big Data Analytics MCQs
Practice Big Data Analytics questions with answers and explanations.
Choose an option to check your answer.
Correct Answer: D. Managing containers and resource usage on one worker node
Explanation:
Each worker runs a NodeManager that launches and monitors containers.
It reports node status and resource availability to the ResourceManager.
Choose an option to check your answer.
Correct Answer: D. It provides a general resource-management layer independent of one processing model
Explanation:
Spark, Tez, and other engines can request containers through YARN.
Storage and resource management are therefore decoupled from MapReduce.
Choose an option to check your answer.
Correct Answer: D. A function that accepts or returns another function
Explanation:
Higher-order functions support reusable behavior and functional composition.
Examples include map, filter, and reduce.
Choose an option to check your answer.
Correct Answer: D. A fixed-size grouping of values that may have different types
Explanation:
Tuples provide lightweight product types such as (String, Int).
Pair RDDs commonly use Tuple2 values.
Choose an option to check your answer.
Correct Answer: D. Fixing some arguments of a function to create another function
Explanation:
A partially applied function retains provided arguments.
It can be reused where the remaining parameters vary.
Choose an option to check your answer.
Correct Answer: A. An allocation of resources such as memory and CPU on a node
Explanation:
Containers provide bounded resources in which application processes run.
They are logical allocations rather than virtual machines necessarily.
Choose an option to check your answer.
Correct Answer: A. YARN may restart it according to the application's retry policy
Explanation:
The ResourceManager tracks application attempts.
A replacement ApplicationMaster can recover or restart work depending on framework support.
Choose an option to check your answer.
Correct Answer: A. Applies a function to each element and returns the transformed collection
Explanation:
The output contains one transformed result for each input element.
The original immutable collection remains unchanged.
Choose an option to check your answer.
Correct Answer: A. With _1
Explanation:
Tuple components use positional accessors _1, _2, and so on.
Pattern matching can also destructure tuples.
Choose an option to check your answer.
Correct Answer: A. A function defined for only part of its input domain
Explanation:
PartialFunction includes logic for testing whether an input is defined.
It is commonly used with pattern-based collection operations.
Choose an option to check your answer.
Correct Answer: B. Coordinating one application's execution and requesting containers
Explanation:
Each YARN application has an ApplicationMaster.
It negotiates resources and monitors the application's tasks.
Choose an option to check your answer.
Correct Answer: B. Failure of the cluster's central resource-management service
Explanation:
Active and standby ResourceManagers reduce control-plane downtime.
State recovery and failover coordination support continuity.