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 3 MCQs Map Reduce and YARN

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 Introduction to MapReduce Easy

    What is MapReduce primarily used for in the Hadoop ecosystem?

  2. Question 2 of 60 Map Phase Easy

    In the MapReduce framework, what is the standard output format of the Map phase?

  3. Question 3 of 60 Reduce Phase Easy

    What is the primary function of the Reducer in a MapReduce job?

  4. Question 4 of 60 Introduction to YARN Easy

    What does YARN stand for in Big Data processing?

  5. Question 5 of 60 Introduction to YARN Easy

    YARN was introduced in which major version of Hadoop to resolve the scalability bottlenecks of the classic MapReduce architecture?

  6. Question 6 of 60 YARN Architecture Easy

    Which component in YARN is considered the master daemon responsible for globally managing and allocating resources across the entire cluster?

  7. Question 7 of 60 YARN Architecture Easy

    In YARN, which component runs on each individual worker node to monitor resource usage (CPU, memory) and report it to the master?

  8. Question 8 of 60 YARN Architecture Easy

    In YARN, what is the role of the ApplicationMaster?

  9. Question 9 of 60 YARN Architecture Easy

    What term is used in YARN to represent a fraction of cluster resources (like memory, CPU) allocated to execute a specific task?

  10. Question 10 of 60 MapReduce Execution Flow Easy

    Which crucial phase occurs between the Map phase and the Reduce phase to group identical keys together?

  11. Question 11 of 60 MapReduce Execution Flow Easy

    Which optional component is often called a "mini-reducer" because it performs local aggregation on the Mapper output to reduce network bandwidth?

  12. Question 12 of 60 MapReduce Execution Flow Easy

    What determines which specific Reducer instance will process a given key-value pair in a MapReduce job?

  13. Question 13 of 60 MapReduce Architecture Easy

    In the older Hadoop 1.x architecture, which central daemon was strictly responsible for both resource management and job scheduling?

  14. Question 14 of 60 MapReduce Architecture Easy

    In Hadoop 1.x, which worker daemon accepted tasks from the master daemon and executed the Map and Reduce operations?

  15. Question 15 of 60 MapReduce Execution Flow Easy

    What is the logical representation of a chunk of input data that is processed by a single Mapper instance?

  16. Question 16 of 60 MapReduce Execution Flow Easy

    Which of the following statements about MapReduce job execution is true?

  17. Question 17 of 60 Introduction to YARN Easy

    What is a major advantage of YARN over the classic Hadoop 1.x MapReduce architecture?

  18. Question 18 of 60 MapReduce Execution Flow Easy

    In Hadoop MapReduce, which standard Java interface must keys and values implement so they can be serialized and sent over the network?

  19. Question 19 of 60 YARN Architecture Easy

    In a standard Hadoop YARN cluster, where does the NodeManager typically run?

  20. Question 20 of 60 Map Phase Easy

    How many Output files are typically created by a MapReduce job that is configured to run with Reducers?

  21. Question 21 of 60 MapReduce Architecture Medium

    Which of the following scenarios best demonstrates the appropriate use of a Combiner in a MapReduce job?

  22. Question 22 of 60 Map Phase Medium

    If a file is 300 MB and the HDFS block size is 128 MB, how many Map tasks will typically be launched by default, and why?

  23. Question 23 of 60 Shuffle and Sort Medium

    How does a Partitioner operate in a MapReduce job?

  24. Question 24 of 60 MapReduce Architecture Medium

    What is the purpose of Speculative Execution in Hadoop MapReduce?

  25. Question 25 of 60 Reduce Phase Medium

    What happens if a developer configures a MapReduce job with setNumReduceTasks(0)?

  26. Question 26 of 60 YARN Architecture Medium

    Which of the following best describes the structural difference between Hadoop 1.x (MRv1) and YARN regarding resource management?

  27. Question 27 of 60 ResourceManager Medium

    What are the two main components of the YARN ResourceManager?

  28. Question 28 of 60 ApplicationMaster Medium

    In a YARN cluster, what happens if an ApplicationMaster fails during the execution of a job?

  29. Question 29 of 60 Containers Medium

    A YARN Container represents a collection of physical resources. If a task inside a container attempts to use more RAM than allocated, what is the default behavior of YARN?

  30. Question 30 of 60 YARN Scheduling Medium

    Which YARN scheduler allocates a fraction of cluster capacity to multiple organizations, allowing them to utilize unused cluster capacity when available, but restricts them to their guaranteed minimum when the cluster is busy?

  31. Question 31 of 60 MapReduce Architecture Medium

    During the shuffle phase, MapReduce must transfer intermediate data across the network. How is this data managed on the Mapper node before transfer?

  32. Question 32 of 60 NodeManager Medium

    What is the primary role of the Heartbeat mechanism between the NodeManager and the ResourceManager in YARN?

  33. Question 33 of 60 YARN Scheduling Medium

    In the context of the Fair Scheduler in YARN, what does 'preemption' allow the scheduler to do?

  34. Question 34 of 60 Reduce Phase Medium

    In a standard MapReduce job, what is the input format received by the reduce() function?

  35. Question 35 of 60 MapReduce Architecture Medium

    Why is 'Data Locality' a critical optimization in the MapReduce framework?

  36. Question 36 of 60 ResourceManager Medium

    To achieve High Availability (HA) for the YARN ResourceManager, an Active/Standby architecture is used. What component typically manages the state and leader election to handle automatic failover?

  37. Question 37 of 60 MapReduce Architecture Medium

    Which interface allows a MapReduce application to broadcast read-only files (like lookup tables or dictionaries) to all worker nodes before tasks execute?

  38. Question 38 of 60 ApplicationMaster Medium

    When an ApplicationMaster requires resources to run tasks, how does it specify its request to the ResourceManager?

  39. Question 39 of 60 YARN Architecture Medium

    What is the defining characteristic of a YARN Application?

  40. Question 40 of 60 Shuffle and Sort Medium

    If two keys, and , yield the exact same hash code from the Partitioner, what is the consequence in the MapReduce pipeline?

  41. Question 41 of 60 MapReduce Execution Framework Hard

    In a MapReduce job, what happens if an InputSplit boundary occurs in the middle of a logical record (e.g., a line in a text file)?

  42. Question 42 of 60 Combiners and Partitioners Hard

    A developer writes a MapReduce job to calculate the global average of values associated with a key. They use the same Reducer implementation as the Combiner to optimize network traffic. Which of the following describes the outcome of this decision?

  43. Question 43 of 60 Shuffle and Sort Phase Hard

    During the shuffle phase, Reducers must fetch Map outputs from various NodeManagers. How does a Reducer task efficiently determine the locations of the completed Map outputs?

  44. Question 44 of 60 YARN Scheduling Hard

    Under the YARN Fair Scheduler using Dominant Resource Fairness (DRF), consider a cluster with 100 CPUs and 1000 GB of RAM. App A requests containers with 2 CPUs and 10 GB of RAM, while App B requests containers with 1 CPU and 20 GB of RAM. How are the dominant shares calculated?

  45. Question 45 of 60 Fault Tolerance and Speculative Execution Hard

    A MapReduce job performs a complex data transformation and inserts the output records directly into an external non-idempotent relational database from within the Map tasks. Speculative execution is enabled by default. What critical issue will arise in this scenario?

  46. Question 46 of 60 YARN Architecture Components Hard

    In a High Availability (HA) YARN cluster, a 'split-brain' scenario occurs where two ResourceManagers (RM1 and RM2) both believe they are active. How does YARN's architectural design prevent cluster corruption in this specific scenario?

  47. Question 47 of 60 Combiners and Partitioners Hard

    To achieve a total global ordering of output data in MapReduce, a developer decides to use the TotalOrderPartitioner. Which of the following prerequisites is strictly necessary for TotalOrderPartitioner to function efficiently without causing extreme data skew?

  48. Question 48 of 60 YARN Architecture Components Hard

    If the ApplicationMaster (AM) container fails in YARN, what is the exact sequence of recovery initiated by the framework?

  49. Question 49 of 60 Shuffle and Sort Phase Hard

    During the Map phase, output records are buffered in memory before being spilled to disk. The spill threshold is defined by mapreduce.map.sort.spill.percent. What happens when the buffer usage reaches this threshold?

  50. Question 50 of 60 MapReduce Execution Framework Hard

    A MapReduce developer is implementing a secondary sort to sort values arriving at the reducer. They configure a custom WritableComparable as the Map output key and write a custom Partitioner. What third component MUST be heavily customized to ensure the Reducer receives all values for a given logical key in a single reduce() call?

  51. Question 51 of 60 YARN Scheduling Hard

    In the YARN Capacity Scheduler, what is the effect of configuring yarn.scheduler.capacity.<queue-path>.maximum-capacity lower than 100% for a specific queue?

  52. Question 52 of 60 MapReduce Execution Framework Hard

    Consider a scenario where you have two large datasets, A and B. You want to perform a Map-side join. Which of the following conditions is strictly necessary to implement a standard Map-side join efficiently using the framework's CompositeInputFormat?

  53. Question 53 of 60 YARN Architecture Components Hard

    What happens in YARN if a NodeManager experiences a transient network partition and fails to send heartbeats to the ResourceManager for a duration exceeding the yarn.resourcemanager.nm.liveness-monitor.expiry-interval-ms?

  54. Question 54 of 60 MapReduce Execution Framework Hard

    Uber mode (or Uber task optimization) in MapReduce v2 (YARN) is designed to optimize execution for small jobs. How does it alter the standard execution model?

  55. Question 55 of 60 MapReduce Execution Framework Hard

    In the context of MapReduce job commitment, what is the primary role of the OutputCommitter class's two-phase commit protocol?

  56. Question 56 of 60 Shuffle and Sort Phase Hard

    During the Reduce phase, the execution fundamentally consists of three sub-phases: Copy (Shuffle), Sort (Merge), and Reduce. Which of the following accurately describes a critical operation during the Sort (Merge) phase?

  57. Question 57 of 60 YARN Architecture Components Hard

    YARN Federation addresses the scalability limits of a single ResourceManager cluster. How does YARN Federation manage a single application that requires more resources than a single sub-cluster can provide?

  58. Question 58 of 60 MapReduce Execution Framework Hard

    If you submit a MapReduce job with the configuration mapreduce.job.reduces=0, what happens to the output data?

  59. Question 59 of 60 YARN Architecture Components Hard

    In YARN, an ApplicationMaster operates within a container and must authenticate with the ResourceManager to request further resources. Which security mechanism does the AM use to securely communicate with the RM in a Kerberized cluster?

  60. Question 60 of 60 Combiners and Partitioners Hard

    A developer writes a custom Partitioner for a MapReduce job to route records based on an 'AccountID' string. The logic uses (accountID.hashCode() % numReducers). Under what circumstance will this custom partitioner cause a severe job failure?

That's unit 3

Answer a few questions and your score shows up here.