Question
In Hadoop’s distributed storage system, which of the
following is responsible for managing and storing the actual data blocks?Solution
DataNode in Hadoop's HDFS (Hadoop Distributed File System) is responsible for managing and storing the actual data blocks. DataNodes perform read/write operations on the data blocks as directed by the NameNode and report back with the status of the operations. a) Job Tracker : The Job Tracker manages the jobs and distributes tasks to various TaskTrackers, not data blocks. b) NameNode : The NameNode manages the metadata and directory structure of HDFS but does not store data itself. d) YARN : YARN (Yet Another Resource Negotiator) is responsible for cluster resource management and job scheduling, not data storage. e) HDFS Client : The HDFS Client is used to interact with the HDFS, not to store or manage data blocks.
In a 5-stage pipeline (Fetch, Decode, Execute, Memory, Write-back), how many instructions can be in various stages of processing at the same time?
A transformer has a primary coil with 300 turns and a secondary coil with 150 turns. If the primary voltage is 240V, calculate the secondary voltage.
Which of the following is a common problem that synchronization mechanisms address in multi-threaded or multi-process environments?
What happens when a program accesses data that is not currently in physical memory (RAM) due to virtual memory management?
Which of the following is not a valid keyword in C++ language?
XML is designed to ____ and ____ data)
What is the main purpose of a digital signature in public key cryptography?
The best case time complexity of selection sort?
What is the space complexity of an algorithm?
Which functions are declared inside a class have to be defined separately outside the class?