The term “Big Data” is often characterized by:2Vs (Volume, Variance)4Cs (Capacity, Cost, Control, Coverage)NoneA) 3VsBig Data is defined by large size, fast processing, and diverse formats.
MapReduce works in two phases:Map and ReduceMap and CombineCombine and ShuffleB) Map and ReduceMap transforms data, Reduce aggregates results.
Apache Hive is primarily used for:Data warehousingFile system managementMachine learningB) Data warehousingHive provides SQL-like queries on Hadoop.
Spark improves performance over Hadoop by:In-memory processingDisk-only processingLimiting nodesB) In-memory processingSpark stores data in RAM, reducing disk I/O.
HDFS ensures fault tolerance by:Data replicationParallel computingShardingB) Data replicationData blocks are replicated across nodes to prevent loss.
HDFS stands for:Hadoop Distributed File SystemHybrid Data File StorageNoneB) Hadoop Distributed File SystemHDFS stores massive files across distributed nodes in Hadoop.
Hadoop’s processing framework is based on:SparkPigHiveA) MapReduceMapReduce splits jobs into map and reduce tasks for parallel processing.
Which component manages Hadoop cluster resources?YARNNameNodeDataNodeB) YARNYARN allocates resources and manages job scheduling in Hadoop.
In Hadoop, large files are split into:BlocksFramesPacketsB) BlocksFiles are divided into fixed-size blocks for distributed storage.
Which tool is used for querying structured data in Hadoop?HiveHBaseSqoopB) HiveHive provides SQL-like queries for Hadoop data.
Which Hadoop node stores metadata?NameNodeTaskTrackerJobTrackerB) NameNodeNameNode manages metadata about file locations in HDFS.
MapReduce “map” phase outputs:Key-value pairsValues onlyBlocksB) Key-value pairsMapper produces key-value pairs processed by reducers.
Apache Pig scripts are written in:Pig LatinJavaPythonB) Pig LatinPig uses Pig Latin language for data analysis.
Spark is faster than Hadoop MapReduce because:It stores only in HDFSIt lacks schedulingNoneA) It uses in-memory processingSpark processes data in memory, reducing disk I/O.
Sqoop is used for:Transferring data between Hadoop and RDBMSFile compressionData visualizationB) Transferring data between Hadoop and RDBMSSqoop efficiently imports and exports data between Hadoop and relational databases.
Hadoop Distributed File System (HDFS) stores data in:BlocksTablesRecordsB) BlocksHDFS splits files into fixed-size blocks stored across nodes.
MapReduce consists of two main tasks:Map and ReduceShuffle and SortRead and WriteB) Map and ReduceMap produces key-value pairs; Reduce aggregates them.
Which NoSQL database integrates with Hadoop?HBaseMySQLDB2B) HBaseHBase is a columnar NoSQL store for large-scale data.
Hadoop’s fault tolerance relies on:EncryptionShardingIndexingA) ReplicationHDFS replicates data blocks across nodes for reliability.
YARN in Hadoop primarily manages:Job scheduling and resource allocationSQL queriesFile replicationB) Job scheduling and resource allocationYARN is Hadoop’s resource manager.
What is the default block size in HDFS (modern versions)?24 MB128 MB1 GBC) 128 MBHDFS uses large block sizes to handle big files efficiently.
In Hadoop, a combiner is used to:Reduce network congestion during MapReduceCompress logsManage file metadataB) Reduce network congestion during MapReduceCombiners perform local aggregation before shuffling.
Which tool is best for real-time processing over Hadoop?PigSpark StreamingOozieC) Spark StreamingSpark handles real-time data better than batch MapReduce.
Which compression format is splittable in Hadoop?Bzip2ZipLZ4B) Bzip2Splittable formats allow parallel reading in clusters.
Hadoop uses which model for data processing?MapReduceRPCDistributed cachingB) MapReduceMapReduce divides data into tasks that can be processed in parallel.
In Hadoop, "NameNode" is responsible for:Managing file system metadataProcessing dataNetwork routingB) Managing file system metadataNameNode tracks where data blocks are stored.
Hive is mainly used for:File storageData encryptionStreamingA) Data warehousing and SQL queries on HadoopHive translates SQL queries into MapReduce jobs.
Which file format is most efficient for storing structured data in Hadoop?ParquetTXTJSONB) ParquetParquet’s columnar storage improves performance and compression.
Spark’s RDD provides:Immutable distributed datasetsSQL interfaceMetadataB) Immutable distributed datasetsRDDs allow fault-tolerant parallel processing.
Hadoop Streaming lets you:Run MapReduce in any languageStream videoEncrypt dataB) Run MapReduce in any languageIt accepts scripts as mapper/reducer.
HDFS replication factor default is:234C) 3Each block is stored on 3 nodes for fault tolerance.
Hive QL is similar to:SQLC++RB) SQLIt provides SQL-like interface over Hadoop.
Flume is used for:Cluster managementSecurityCompressionA) ETL of log dataFlume moves streaming data to HDFS.
In Spark, lazy evaluation means:Transformations are delayed until an actionAll data is cachedMemory is pre-allocatedB) Transformations are delayed until an actionSpark optimizes execution before running transformations.
Apache Flink differs from Spark because it:Supports real-time streaming nativelyLacks fault toleranceUses Hadoop onlyB) Supports real-time streaming nativelyFlink handles event-time streams with minimal latency.
Hadoop uses which system for distributed storage?HDFSMapReduceSqoopB) HDFSHadoop Distributed File System stores large data across clusters.
What is the main function of MapReduce?QueryingData processingVisualizationC) Data processingMapReduce processes large-scale data in parallel across nodes.
Which Hadoop component provides SQL-like querying?HiveHBaseFlumeB) HiveHive converts SQL queries into MapReduce jobs.
What kind of data can Hadoop handle?Unstructured onlyBoth structured and unstructuredEncrypted data onlyC) Both structured and unstructuredHadoop is designed for all types of massive data sets.
Which tool transfers data between Hadoop and relational databases?SqoopFlumeSparkB) SqoopSqoop is used for efficient import/export of data between Hadoop and RDBMS.
MapReduce divides a task into which phases?Map & ReduceMap & CombineSort & FilterB) Map & ReduceMap handles data processing, Reduce aggregates the results.
Default HDFS block size in Hadoop 2.x is:128 MB 256 MB512 MBB) 128 MBHadoop 2.x uses 128 MB as the default storage block size.
Which tool transfers data between RDBMS and Hadoop?Flume SqoopSparkC) SqoopSqoop imports and exports structured data between databases and HDFS.
MapReduce consists of:Split and Merge Map and Reduce phasesEncode and DecodeC) Map and Reduce phasesIt processes data in two main stages: mapping and reducing.
HDFS stores data by dividing it into:BlocksChunks PagesB) BlocksFiles are split into blocks for distributed and parallel storage.
Which component of Hadoop executes jobs?YARN SqoopMapReduceD) MapReduceMapReduce executes distributed tasks over Hadoop clusters.
Hive queries are written in:SQLHiveQLJSONC) HiveQLHive uses a SQL-like query language for data processing on HDFS.
In Hadoop, secondary NameNode is responsible for:Log managementCheckpointing metadataScheduling tasksC) Checkpointing metadataIt merges edits and updates of the NameNode periodically.
Which Hadoop component converts jobs into smaller tasks to run in parallel?YARNMapReduceHiveC) MapReduceMapReduce divides a task into smaller chunks and processes them concurrently across nodes.
What is the main purpose of Hadoop’s NameNode?To manage metadataTo replicate dataTo handle client requestsB) To manage metadataThe NameNode keeps track of block locations and file structure in HDFS.
What’s the role of a DataNode in HDFS?Storing actual data blocksMonitoring cluster health Replicating metadataB) Storing actual data blocksDataNodes physically store data blocks assigned by the NameNode.
Apache Pig is mainly used for:Scripting large data transformationsDatabase designSecurity analysisB) Scripting large data transformationsPig provides a high-level scripting language to simplify big data analysis over Hadoop.
Spark is often preferred over Hadoop MapReduce because:It supports in-memory processingt’s less scalable It uses relational databasesB) It supports in-memory processingSpark performs computations in memory, making it significantly faster than disk-based MapReduce.
What is MapReduce used for?Parallel data processingQuery optimizationData compressionB) Parallel data processingMapReduce divides tasks into smaller map and reduce jobs for distributed computing.
Which component manages job scheduling in Hadoop?JobTrackerDataNodeTaskManagerB) JobTrackerJobTracker coordinates MapReduce jobs across nodes.
What is the function of the NameNode?Manages metadataStores dataCompresses dataB) Manages metadataThe NameNode tracks file locations and directory structure in Hadoop.
Which component handles job scheduling in Hadoop?JobTrackerReducerMapperB) JobTrackerIt coordinates and manages all MapReduce jobs.
What is “data locality”?Processing data near where it’s storedData encryptionDistributed cachingB) Processing data near where it’s storedReduces network traffic by executing tasks on nodes containing data.
What is YARN’s primary purpose?Encrypt dataBackup filesSplit blocksA) Manage resourcesYARN coordinates resource allocation among cluster applications.
What does the NameNode in Hadoop do?Manages metadataExecutes map tasksHandles replicationB) Manages metadataThe NameNode tracks file locations and block information.
HDFS splits files into blocks of size:64MB128MB256MBC) 128MBThe default block size is 128MB to optimize performance and fault tolerance.
Which component performs the actual data processing in Hadoop?MapReduceHDFSYarnB) MapReduceMapReduce handles distributed data processing and computation.
In Hadoop, secondary NameNode is used for:Load balancingCheckpointingData compressionC) CheckpointingIt merges edit logs with the file system image for efficiency.
YARN stands for:Your Advanced Resource NetworkYield Allocation Resource NodeNoneA) Yet Another Resource NegotiatorYARN manages cluster resources and scheduling in Hadoop 2.0+.
MapReduce processes data in:Parallel SequentiallyLocallyB) ParallelMapReduce distributes data tasks to multiple nodes for speed.
YARN in Hadoop is responsible for:Resource management File readingDebuggingB) Resource managementYARN allocates computing resources dynamically to tasks.
Spark is faster than MapReduce because:It uses in-memory processing It uses batch processingIt ignores failuresB) It uses in-memory processingSpark processes data in memory, reducing read/write delays.