0
0
Hadoopdata~20 mins

ResourceManager and NodeManager in Hadoop - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
YARN Resource Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Role of ResourceManager in Hadoop YARN

What is the primary role of the ResourceManager in Hadoop YARN?

AIt stores the actual data blocks in the Hadoop cluster.
BIt executes tasks on the worker nodes directly.
CIt manages the allocation of cluster resources and schedules applications.
DIt monitors the health of the Hadoop Distributed File System.
Attempts:
2 left
💡 Hint

Think about which component decides how resources are shared among applications.

🧠 Conceptual
intermediate
1:30remaining
Function of NodeManager in Hadoop YARN

Which of the following best describes the function of the NodeManager in Hadoop YARN?

AIt stores metadata about the cluster nodes.
BIt schedules jobs across the entire cluster.
CIt coordinates communication between ResourceManagers.
DIt manages resources and monitors containers on a single node.
Attempts:
2 left
💡 Hint

Consider which component runs on each node and manages local resources.

data_output
advanced
2:00remaining
YARN Resource Allocation Output

Given the following YARN cluster resource report, what is the total available memory across all NodeManagers?

NodeManager1: 8 GB
NodeManager2: 16 GB
NodeManager3: 12 GB
A36 GB
B32 GB
C30 GB
D40 GB
Attempts:
2 left
💡 Hint

Add the memory available on each NodeManager.

🔧 Debug
advanced
2:00remaining
Identifying NodeManager Failure Cause

A NodeManager is not reporting to the ResourceManager. Which of the following is the most likely cause?

ANodeManager service is stopped or crashed on that node.
BResourceManager is overloaded with too many applications.
CHDFS DataNode is running normally on the node.
DThe cluster has no available memory.
Attempts:
2 left
💡 Hint

Think about what would prevent a NodeManager from communicating with ResourceManager.

🚀 Application
expert
2:30remaining
Analyzing ResourceManager Scheduling Behavior

In a Hadoop YARN cluster, the ResourceManager uses the Capacity Scheduler. If one queue is configured with 50% capacity but only uses 20%, what happens to the unused resources?

ANodeManagers automatically redistribute resources without ResourceManager involvement.
BUnused resources are temporarily allocated to other queues until needed by the original queue.
CResourceManager shuts down the underutilized queue to save resources.
DUnused resources remain idle and cannot be used by other queues.
Attempts:
2 left
💡 Hint

Consider how Capacity Scheduler manages resource sharing among queues.