Skip to content
GK24
Computer AwarenessEasy

In Hadoop, which component is responsible for storing data across the machines of a cluster?

  1. A.MapReduce
  2. B.HDFS
  3. C.YARN
  4. D.Hive

Correct answer

B. HDFS

Explanation

The correct answer is B, HDFS, the Hadoop Distributed File System. It splits a large file into fixed-size blocks, 128 megabytes by default in current versions, scatters those blocks over the machines of the cluster and keeps more than one copy of each block so that the failure of a machine does not lose data. A NameNode holds the directory of blocks while DataNodes hold the blocks themselves. Option A is wrong because MapReduce is the processing model, which works in a map stage and then a reduce stage on data already stored in HDFS. Option C is wrong because YARN, Yet Another Resource Negotiator, allots processing resources to jobs in the cluster and schedules them. Option D is wrong because Hive is a layer above Hadoop that lets a user run SQL-like queries, translating them into jobs underneath.

Read the full article: Big Data, Data Mining and Data Analytics: Exam Notes

View all
Q2.Computer AwarenessAsked in: Delhi · 7 Aug 2021, Shift 1Medium

Which of the following statement(s) is/are correct regarding On-Line Transaction Processing (OLTP)? I. Responses to the user inquiry are immediate. II. The associated cost is economical with efficient utilization of resources. III. The database is always up-to-date.

  1. A.Only II
  2. B.I and III
  3. C.I and II
  4. D.Only III
Show answer
Correct answer: B. I and III

On-Line Transaction Processing is the mode in which a bank counter, a railway booking window or a payment gateway works: each transaction is processed the moment it is entered, so the response to the user is immediate, and every committed transaction is written at once, so the database always reflects…

Read the full explanation →
Q4.Computer AwarenessMedium

Data mining is best described as which step of the knowledge discovery process?

  1. A.The collection of raw data from sensors
  2. B.The step that finds patterns in prepared data
  3. C.The backing up of a database
  4. D.The printing of a management report
Show answer
Correct answer: B. The step that finds patterns in prepared data

In the process called Knowledge Discovery in Databases, or KDD, the stages run from selection of the relevant data, through cleaning and preprocessing, to transformation, then data mining, and finally interpretation and evaluation of what was found.

Read the full explanation →