Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 2 MCQs Hadoop Architecture

INT312 — Big Data Fundamentals 60 questions. Pick an option to check it.

Read the notes Subjective questions

0 of 60 answered 0 right 0 wrong , 60 left

  1. Question 1 of 60 Hadoop Architecture Easy

    Which of the following components provides the distributed storage in the Hadoop Architecture?

  2. Question 2 of 60 Hadoop Architecture Easy

    What are the two core components of the original Apache Hadoop framework?

  3. Question 3 of 60 Hadoop Architecture Easy

    Hadoop is primarily optimized for which type of data processing?

  4. Question 4 of 60 Hadoop Storage: HDFS Easy

    What does HDFS stand for?

  5. Question 5 of 60 Hadoop Storage: HDFS Easy

    What is the default block size in HDFS for Hadoop 2.x and later?

  6. Question 6 of 60 Hadoop Storage: HDFS Easy

    How does HDFS primarily achieve fault tolerance?

  7. Question 7 of 60 Hadoop Storage: HDFS Easy

    Which data access model does HDFS follow?

  8. Question 8 of 60 Hadoop MapReduce paradigm Easy

    In the MapReduce paradigm, what is the role of the Reduce function?

  9. Question 9 of 60 Hadoop MapReduce paradigm Easy

    What is the primary data structure passed between the Map and Reduce phases?

  10. Question 10 of 60 Hadoop MapReduce paradigm Easy

    Which phase occurs directly between the Map phase and the Reduce phase to group data by keys?

  11. Question 11 of 60 MapReduce Terminology Easy

    In MapReduce terminology, what is an 'InputSplit'?

  12. Question 12 of 60 MapReduce Terminology Easy

    What does a 'RecordReader' do in a MapReduce job?

  13. Question 13 of 60 MapReduce Terminology Easy

    What is the term for the output produced by the Mapper before it reaches the Reducer?

  14. Question 14 of 60 Hadoop - Namenode, DataNode Easy

    In HDFS, which node is responsible for storing the metadata about the file system?

  15. Question 15 of 60 Hadoop - Namenode, DataNode Easy

    What is the primary function of a DataNode in HDFS?

  16. Question 16 of 60 Hadoop - Namenode, DataNode Easy

    What happens if the NameNode fails in a traditional Hadoop 1.x cluster (without High Availability)?

  17. Question 17 of 60 Job Tracker and TaskTracker Easy

    In the MapReduce version 1 (MRv1) architecture, which component manages the resources and schedules jobs across the cluster?

  18. Question 18 of 60 Job Tracker and TaskTracker Easy

    Where does a TaskTracker typically run in a Hadoop MRv1 cluster?

  19. Question 19 of 60 word count on command line Easy

    When running a typical Word Count program in Hadoop, what is the expected output format?

  20. Question 20 of 60 word count on command line Easy

    Which command is commonly used on the command line to execute a compiled MapReduce JAR file?

  21. Question 21 of 60 Hadoop Storage: HDFS Medium

    A user wants to store a file of size 300 MB in HDFS with a configured block size of 128 MB. Assuming the replication factor is set to 3, how many physical block replicas will be stored across the cluster in total?

  22. Question 22 of 60 Hadoop Architecture Medium

    In a Hadoop cluster configured with Rack Awareness and a replication factor of 3, how does the cluster typically place the replicas to ensure fault tolerance while optimizing write bandwidth?

  23. Question 23 of 60 Hadoop Architecture Medium

    What is the primary architectural advantage of the 'Data Locality' principle in Hadoop?

  24. Question 24 of 60 Hadoop Storage: HDFS Medium

    An administrator notices that the NameNode is running out of RAM, even though the cluster's total storage capacity is mostly empty. What is the most likely cause of this issue?

  25. Question 25 of 60 Hadoop Storage: HDFS Medium

    What is the actual role of the Secondary NameNode in a standard Hadoop cluster?

  26. Question 26 of 60 Hadoop Storage: HDFS Medium

    During an HDFS write operation, a client wants to write a block with a replication factor of 3. How is the data practically transferred to the DataNodes?

  27. Question 27 of 60 Hadoop MapReduce paradigm Medium

    If a MapReduce job is configured with zero Reducers (setNumReduceTasks(0)), what is the final output of the job?

  28. Question 28 of 60 Hadoop MapReduce paradigm Medium

    How does a Combiner optimize a MapReduce job that calculates the total sales per region?

  29. Question 29 of 60 Hadoop MapReduce paradigm Medium

    During the Shuffle and Sort phase of MapReduce, what specific guarantee is provided to the Reducer regarding its input?

  30. Question 30 of 60 MapReduce Terminology Medium

    In the context of MapReduce Terminology, what is the primary difference between an HDFS Block and an InputSplit?

  31. Question 31 of 60 MapReduce Terminology Medium

    Why must keys emitted by the Mapper implement the WritableComparable interface in Hadoop?

  32. Question 32 of 60 MapReduce Terminology Medium

    What component is directly responsible for converting raw input data (e.g., lines of a text file) into the initial <key, value> pairs processed by the Mapper?

  33. Question 33 of 60 Hadoop - Namenode, DataNode, Job Tracker and TaskTracker Medium

    In a MapReduce v1 (MRv1) architecture, what is the primary role of the JobTracker?

  34. Question 34 of 60 Hadoop - Namenode, DataNode, Job Tracker and TaskTracker Medium

    A TaskTracker node unexpectedly loses power while executing a Map task. How does the cluster recognize and handle this failure?

  35. Question 35 of 60 Hadoop - Namenode, DataNode, Job Tracker and TaskTracker Medium

    When a JobTracker determines that a specific Map task is running unusually slow compared to others in the same job, what mechanism can it use to mitigate this?

  36. Question 36 of 60 Hadoop - Namenode, DataNode, Job Tracker and TaskTracker Medium

    Which of the following best describes the relationship between DataNodes and TaskTrackers in a traditional Hadoop 1.x cluster?

  37. Question 37 of 60 Hadoop - Namenode, DataNode, Job Tracker and TaskTracker Medium

    If a DataNode successfully writes its block but its disk subsequently fails, how does the NameNode eventually find out about the missing data?

  38. Question 38 of 60 word count on command line Medium

    A user attempts to run a pre-compiled word count MapReduce job using the command: hadoop jar wc.jar WordCount /user/data/input /user/data/output. However, the job immediately fails before running any map tasks. What is the most likely cause?

  39. Question 39 of 60 word count on command line Medium

    When executing a WordCount program via the command line (hadoop jar wordcount.jar org.example.WordCount /input /output), what happens to the output data produced by the Reducers?

  40. Question 40 of 60 Hadoop Architecture Medium

    In a Hadoop High Availability (HA) cluster, what prevents the 'split-brain' scenario where two NameNodes both think they are active and attempt to alter the filesystem simultaneously?

  41. Question 41 of 60 Hadoop Storage: HDFS Hard

    During an HDFS write operation, if the second DataNode in the replication pipeline fails while receiving a block, what is the immediate sequence of actions taken by the HDFS client and the remaining DataNodes?

  42. Question 42 of 60 Hadoop - Namenode, DataNode, Job Tracker and TaskTracker Hard

    In the MRv1 architecture, what happens if a TaskTracker stops sending heartbeats to the JobTracker due to a temporary network partition that exceeds the timeout period?

  43. Question 43 of 60 Hadoop MapReduce paradigm Hard

    How does the MapReduce framework handle speculative execution when a task is straggling due to systemic data skew (e.g., one Reducer receives 90% of the data) rather than hardware degradation?

  44. Question 44 of 60 MapReduce Terminology Hard

    Suppose an HDFS file is 130 MB and the block size is 64 MB. The file contains textual records where a single logical record spans across the boundary of the first and second block. How does TextInputFormat handle the InputSplit boundary to ensure data integrity?

  45. Question 45 of 60 Hadoop - Namenode, DataNode, Job Tracker and TaskTracker Hard

    Which of the following best describes the structural transition of metadata when the NameNode is restarted, specifically regarding the FsImage and EditLog?

  46. Question 46 of 60 word count on command line Hard

    When executing a Word Count job via the Hadoop command line using hadoop jar, what is the effect of setting -D mapreduce.job.reduces=0?

  47. Question 47 of 60 Hadoop Architecture Hard

    In a Hadoop cluster configured with Rack Awareness, if a client running on a DataNode requests to write a file with a replication factor of 3, how does the block placement policy distribute the replicas?

  48. Question 48 of 60 Hadoop Storage: HDFS Hard

    An HDFS client opens a file for appending (append()). Simultaneously, a network partition isolates the client from the NameNode but not from the DataNodes. How does HDFS handle lease management for this file?

  49. Question 49 of 60 Hadoop MapReduce paradigm Hard

    Consider a MapReduce job where the map output keys are custom objects representing composite keys: [String category, Long timestamp]. You want the Reducer to process data grouped by category, but sorted internally by timestamp. Which components must be explicitly configured to achieve this Secondary Sorting?

  50. Question 50 of 60 MapReduce Terminology Hard

    What is the primary constraint placed on the Combiner function in the MapReduce paradigm to ensure the correctness of the final output?

  51. Question 51 of 60 Hadoop Storage: HDFS Hard

    How does HDFS ensure data integrity during a read operation if a client detects a checksum mismatch for a block?

  52. Question 52 of 60 Hadoop - Namenode, DataNode, Job Tracker and TaskTracker Hard

    In a heavily utilized MRv1 cluster, the JobTracker must schedule tasks based on data locality. If a node has a free slot, but no pending Map tasks have data local to that node, what is the default delay scheduling strategy often used by fair/capacity schedulers?

  53. Question 53 of 60 Hadoop MapReduce paradigm Hard

    During the Shuffle and Sort phase of MapReduce, what dictates the transition of map output data from memory to disk on the Mapper side?

  54. Question 54 of 60 word count on command line Hard

    A user executes a Word Count job from the command line using a compressed input file (input.txt.gz). What determines whether Hadoop can split this compressed file into multiple InputSplits?

  55. Question 55 of 60 MapReduce Terminology Hard

    In the context of the WritableComparable interface, which is strictly required for MapReduce keys, what is the specific purpose of the compareTo() and readFields() methods, respectively?

  56. Question 56 of 60 Hadoop Architecture Hard

    Which of the following describes the most critical limitation of the MRv1 architecture (JobTracker/TaskTracker) that ultimately necessitated the shift to YARN (Yet Another Resource Negotiator)?

  57. Question 57 of 60 Hadoop - Namenode, DataNode, Job Tracker and TaskTracker Hard

    If the JobTracker JVM fails and undergoes a restart in a classic MRv1 setup, what is the fate of the currently executing jobs and the TaskTrackers?

  58. Question 58 of 60 Hadoop MapReduce paradigm Hard

    In MapReduce, DistributedCache is used to broadcast side data. If an application utilizes DistributedCache.addCacheArchive(), how does the TaskTracker process this payload before task execution?

  59. Question 59 of 60 MapReduce Terminology Hard

    Regarding data localization, what distinguishes a Rack-local task from a Node-local task in Hadoop MapReduce?

  60. Question 60 of 60 Hadoop Architecture Hard

    Hadoop employs an abstraction called SequenceFile for storing binary key-value pairs. Within the architecture, what is the structural advantage of using SequenceFile.CompressionType.BLOCK over RECORD compression?

That's unit 2

Answer a few questions and your score shows up here.