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 type of architecture is traditionally used by Hadoop?

  2. Question 2 of 60 Hadoop Architecture Easy

    Which two components form the core of classic Hadoop architecture?

  3. Question 3 of 60 Hadoop Storage: HDFS Easy

    What does HDFS stand for?

  4. Question 4 of 60 Hadoop Storage: HDFS Easy

    How does HDFS normally store a large file?

  5. Question 5 of 60 Hadoop Storage: HDFS Easy

    What is the main purpose of block replication in HDFS?

  6. Question 6 of 60 Hadoop MapReduce paradigm Easy

    Which two main phases are used in the MapReduce programming model?

  7. Question 7 of 60 Hadoop MapReduce paradigm Easy

    What is the primary role of the Map phase?

  8. Question 8 of 60 Hadoop MapReduce paradigm Easy

    What is the primary role of the Reduce phase?

  9. Question 9 of 60 MapReduce Terminology Easy

    In MapReduce, data is commonly processed in which form?

  10. Question 10 of 60 MapReduce Terminology Easy

    What is the process of transferring mapper output to reducers called?

  11. Question 11 of 60 MapReduce Terminology Easy

    What does a mapper produce before the Reduce phase begins?

  12. Question 12 of 60 Hadoop NameNode Easy

    What is the main responsibility of the HDFS NameNode?

  13. Question 13 of 60 Hadoop NameNode Easy

    Which information is maintained by the NameNode?

  14. Question 14 of 60 Hadoop DataNode Easy

    What is the main responsibility of an HDFS DataNode?

  15. Question 15 of 60 Hadoop DataNode Easy

    What does a DataNode regularly send to the NameNode to show that it is active?

  16. Question 16 of 60 Hadoop JobTracker Easy

    In classic Hadoop MapReduce, what is the main role of the JobTracker?

  17. Question 17 of 60 Hadoop JobTracker Easy

    Which component submits progress information to the JobTracker in classic Hadoop?

  18. Question 18 of 60 Hadoop TaskTracker Easy

    What does a TaskTracker do in classic Hadoop MapReduce?

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

    Which command pattern correctly runs a Hadoop word-count JAR?

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

    Which command can display the first reducer output file from an HDFS word-count result directory named output?

  21. Question 21 of 60 Hadoop Architecture Medium

    A Hadoop cluster must process a large dataset while minimizing network traffic. Which architectural decision best supports this goal?

  22. Question 22 of 60 Hadoop Architecture Medium

    A client submits a MapReduce job that reads a file from HDFS. Which sequence best describes the main interaction?

  23. Question 23 of 60 Hadoop Storage: HDFS Medium

    An HDFS file is divided into 5 blocks and stored with a replication factor of 3. Assuming every block is fully replicated, how many block replicas are stored in total?

  24. Question 24 of 60 Hadoop Storage: HDFS Medium

    A 300 MB file is stored in HDFS using a block size of 128 MB. How many HDFS blocks are required?

  25. Question 25 of 60 Hadoop Storage: HDFS Medium

    A DataNode containing one replica of an HDFS block becomes unavailable. Other replicas remain accessible. What is the expected immediate result?

  26. Question 26 of 60 Hadoop MapReduce paradigm Medium

    A MapReduce program calculates total sales for each product. The mapper emits (product, saleAmount). What should the reducer do?

  27. Question 27 of 60 Hadoop MapReduce paradigm Medium

    A job has many repeated mapper keys and performs an associative sum. Which feature can reduce the amount of data transferred during shuffle?

  28. Question 28 of 60 Hadoop MapReduce paradigm Medium

    A MapReduce job uses four reducers. What determines which reducer receives a particular intermediate key?

  29. Question 29 of 60 MapReduce Terminology Medium

    In a word-count job, a mapper emits (cloud, 1) three times and (data, 1) twice. After shuffle and sort, what input is logically presented to reducers?

  30. Question 30 of 60 MapReduce Terminology Medium

    Which MapReduce component defines how input data is divided into logical splits and converted into key-value records?

  31. Question 31 of 60 MapReduce Terminology Medium

    A mapper task fails after producing intermediate output, but before reducers finish fetching it. What normally happens?

  32. Question 32 of 60 Hadoop NameNode Medium

    A user renames an HDFS file without changing its contents. Which node primarily updates the information for this operation?

  33. Question 33 of 60 Hadoop NameNode Medium

    The NameNode stops receiving heartbeats from a DataNode for an extended period. What action is most appropriate?

  34. Question 34 of 60 Hadoop DataNode Medium

    During an HDFS read, a client discovers that the nearest replica is unavailable. What should the client normally do?

  35. Question 35 of 60 Hadoop DataNode Medium

    Which message allows a DataNode to inform the NameNode about the HDFS blocks it currently stores?

  36. Question 36 of 60 Hadoop JobTracker Medium

    In Hadoop MapReduce version 1, a TaskTracker repeatedly fails tasks assigned to it. Which JobTracker response best maintains job progress?

  37. Question 37 of 60 Hadoop JobTracker Medium

    The JobTracker has two available TaskTrackers, but only one stores a local replica of the next map task's input block. Which placement is generally preferred?

  38. Question 38 of 60 Hadoop TaskTracker Medium

    In MapReduce version 1, how does a TaskTracker normally obtain new work from the JobTracker?

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

    A word-count job has written results to /output/wc in HDFS. Which command displays all reducer output part files on the terminal?

  40. Question 40 of 60 Word count on command line Medium

    A word-count command fails because its intended HDFS output directory already exists. Which action usually resolves the issue before rerunning the job?

  41. Question 41 of 60 Hadoop Architecture Hard

    In a classic Hadoop 1.x cluster, a worker remains reachable and continues sending TaskTracker heartbeats, but its DataNode process has stopped. Which system behavior is most accurate?

  42. Question 42 of 60 Hadoop Storage: HDFS Hard

    A 300 MiB HDFS file uses a 128 MiB block size and replication factor 3. Ignoring checksums and metadata, which statement is correct?

  43. Question 43 of 60 Hadoop Storage: HDFS Hard

    An HDFS file has replication factor 3, and all DataNodes are healthy. The NameNode reports that all three replicas of one block are on the same rack. What is the most important consequence?

  44. Question 44 of 60 Hadoop Storage: HDFS Hard

    A MapReduce job reads 10,000 files of 1 KiB each from HDFS. The total payload is small, yet startup and metadata overhead are severe. Which explanation best identifies the structural cause?

  45. Question 45 of 60 Hadoop NameNode Hard

    Which statement correctly distinguishes a SecondaryNameNode checkpoint from NameNode failover in classic Hadoop 1.x?

  46. Question 46 of 60 Hadoop NameNode Hard

    After a NameNode restart, HDFS enters safe mode because the configured threshold of reported blocks has not yet been reached. Which action is expected during this period?

  47. Question 47 of 60 Hadoop DataNode Hard

    A client detects a checksum mismatch while reading one replica of an HDFS block, while another replica is healthy. What is the expected recovery path?

  48. Question 48 of 60 Hadoop DataNode Hard

    An administrator wants to retire a healthy DataNode without reducing the durable replication of its blocks. Which procedure has the intended semantics?

  49. Question 49 of 60 Hadoop MapReduce paradigm Hard

    A large text file has HDFS block boundaries that fall in the middle of several lines. With a standard line-oriented TextInputFormat, why are records normally neither lost nor duplicated?

  50. Question 50 of 60 MapReduce Terminology Hard

    A job uses four reducers and the default conceptual partition rule . Keys A and B have different hash codes but compare equal under the reducer's grouping comparator. What must be true for correctness?

  51. Question 51 of 60 Hadoop MapReduce paradigm Hard

    A mapper emits (department, (salary, 1)). A proposed combiner replaces all salaries for each department with (averageSalary, 1), and the reducer averages its received salary values. Why can this produce an incorrect global average?

  52. Question 52 of 60 Hadoop MapReduce paradigm Hard

    A reducer writes directly to an external payment service, and speculative execution is enabled. Two attempts of the same reduce task both reach the service before one attempt is discarded. Which design property is required to prevent duplicate payments?

  53. Question 53 of 60 MapReduce Terminology Hard

    A secondary-sort job uses composite keys (customer, timestamp) and must deliver each customer's records to one reducer in ascending timestamp order. Which configuration is correct?

  54. Question 54 of 60 MapReduce Terminology Hard

    A job has 12 map tasks and 5 reduce tasks. Every mapper emits data, but the partitioner assigns no keys to one reducer. How many final reducer part files are normally created after successful completion?

  55. Question 55 of 60 Hadoop JobTracker Hard

    In a default classic Hadoop 1.x deployment without configured recovery or external high availability, what is the principal effect of JobTracker failure?

  56. Question 56 of 60 Hadoop JobTracker Hard

    For a map task whose input block has replicas on nodes N1, N2, and N3, no map slot is immediately free on those nodes, but a slot is free on another node in the same rack. Which scheduling choice best reflects delay scheduling for locality?

  57. Question 57 of 60 Hadoop TaskTracker Hard

    A classic MRv1 TaskTracker is configured with 8 map slots and 2 reduce slots. All map slots are busy, both reduce slots are idle, and another map task is waiting. Under static slot configuration, what normally happens?

  58. Question 58 of 60 Hadoop TaskTracker Hard

    A TaskTracker stops heartbeating after launching several attempts. The attempts may still be running at the operating-system level. What does the JobTracker normally do after the worker timeout?

  59. Question 59 of 60 Word count on command line Hard

    The command hadoop jar hadoop-mapreduce-examples.jar wordcount /books /wc-out fails immediately with a message that /wc-out already exists. Which remedy preserves the existing output while allowing a new run?

  60. Question 60 of 60 Word count on command line Hard

    A WordCount job completes with three reducers. Running hadoop fs -cat /wc-out/part-r-00000 shows only some words, even though the input contained many more. What is the correct way to inspect the complete reducer output from the command line?

That's unit 2

Answer a few questions and your score shows up here.