
"1. Scala Coding's Fibonacci Check Question: Write a Scala program to find out if a given number belongs to the Fibonacci series. If the response is yes, return that number. If not, return -1. Solution: For n = 7 → Output: -1 (7 is not in the Fibonacci series) For n = 8 → Output: 8 (8 is in the Fibonacci series)"
"2. What is YARN? Hadoop's resource management layer is called YARN (Yet Another Resource Negotiator). It controls how CPU and memory resources are distributed throughout the cluster. YARN increases the system's scalability and efficiency by separating resource management from job execution. Key components: Resource Manager (RM): Allocates cluster-wide resources. Node Manager (NM): Manages resources on each node. Application Master (AM): Manages execution of a single job."
The interview comprised an online assessment and a technical interview. The online assessment combined theoretical MCQs on Java, NoSQL, Hadoop, Spark, and Scala with two Scala programming questions focused on fundamentals and problem-solving. The technical interview included coding and conceptual questions, such as a Scala program to check Fibonacci membership and expected outputs. YARN was described as Hadoop's resource management layer that controls CPU and memory allocation, enhancing scalability by separating resource management from job execution; key components include Resource Manager, Node Manager, and Application Master. Dynamic allocation in Spark was defined as automatic scaling of executors with min/max parameters.
Read at Medium
Unable to calculate read time
Collection
[
|
...
]