Practice Library
All MCQs
Browse exam-wise, subject-wise, and country-wise MCQs with explanations.
Choose an option to check your answer.
Correct Answer: A. Allocating resources according to policies and queue constraints
Explanation:
The Scheduler decides which applications receive containers.
It does not directly monitor the internal logic of tasks.
Choose an option to check your answer.
Correct Answer: D. Node health and available or used resources
Explanation:
Regular heartbeats carry resource and status information.
The ResourceManager uses it for scheduling decisions.
Choose an option to check your answer.
Correct Answer: C. The ResourceManager allocates a container to start its ApplicationMaster
Explanation:
The ApplicationMaster is the first application-specific process launched.
It then requests additional containers for the workload.
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: 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: 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: C. Managing cluster-wide resources and scheduling applications
Explanation:
The ResourceManager arbitrates resources among applications.
It includes scheduling and application-management responsibilities.
Choose an option to check your answer.
Correct Answer: B. Yet Another Resource Negotiator
Explanation:
YARN separates cluster resource management from application processing logic.
It became the general resource layer of Hadoop 2.
Choose an option to check your answer.
Correct Answer: A. It groups multiple small files into larger logical input splits
Explanation:
Fewer, larger splits reduce mapper count and scheduling overhead.
The underlying small files remain separate.
Choose an option to check your answer.
Correct Answer: D. They create many small tasks and excessive scheduling overhead
Explanation:
Task startup cost can dominate actual processing for tiny inputs.
Container files or combined input formats can improve efficiency.
Choose an option to check your answer.
Correct Answer: C. Multiple mappers can process different portions of the compressed file
Explanation:
Unsplittable compressed files may be assigned to one mapper.
Splittability preserves input parallelism.
Choose an option to check your answer.
Correct Answer: B. To reduce disk I/O and network traffic during shuffle
Explanation:
Intermediate data can be large and temporary.
Compression often saves more transfer time than it costs in CPU.