Big Data Analytics (Introductory) MCQs for the NSCT

By the NSCT Exam Editorial Team · Updated 2026-11-24 · Facts checked against official sources on 2026-11-24

Big Data Analytics is the study of data too large, fast or varied for one machine, and of the tools that process it across a cluster: the 5 Vs describe the problem, Hadoop stores the data, MapReduce processes it in batches, and Spark does the same work faster in memory. It is one of the 17 topics in the AI, Machine Learning & Data Analytics area, which carries 10% of the NSCT according to HEC's Areas of Competencies. Candidates averaged 50.8% accuracy in this area in 2026, per the HEC NSCT report and APP.

HEC lists this topic as introductory, so questions focus on concepts and simple counts rather than cluster tuning.

The 5 Vs

The original definition (Doug Laney, 2001) had three Vs: volume, velocity and variety. Most courses now teach five, and some books list seven or more, so learn the five below and recognise extras such as variability and visualisation.

V Meaning Example
Volume Sheer amount of data Petabytes of telecom call records
Velocity Speed of arrival and processing Card swipes checked for fraud in seconds
Variety Different formats Tables, JSON, images, free text
Veracity Quality and trustworthiness Duplicate or mistimed sensor readings
Value Useful business insight Better stock planning from sales data

Data also comes in three shapes: structured (relational tables), semi-structured (JSON, XML) and unstructured (text, images, video).

Exam angle: scenario questions describe a problem and ask which V it is. Duplicates and wrong values mean veracity, not variety.

Hadoop

Apache Hadoop has three core parts:

The NameNode holds metadata (which blocks make up which file, and where they live). DataNodes store the blocks. The Secondary NameNode only merges checkpoints and is not a backup that takes over; automatic failover needs a Standby NameNode in a high-availability set-up.

Example: a 300 MB file with 128 MB blocks becomes 3 blocks (128 + 128 + 44 MB). With replication 3 that is 9 block replicas.

Exam angle: know the difference between metadata (NameNode) and data (DataNodes), and do not confuse the Secondary NameNode with a hot standby.

MapReduce

MapReduce runs in three phases:

  1. Map: each mapper turns its input split into key-value pairs.
  2. Shuffle and sort: the framework groups all values of each key and sends them to one reducer, chosen by hash(key) mod R.
  3. Reduce: each reducer aggregates the values of its keys.

Word count on the line "pak china pak": the mapper emits (pak, 1), (china, 1), (pak, 1), and the reducer outputs (china, 1) and (pak, 2). A combiner runs reducer-like logic on the map side to send fewer pairs over the network. It only works for operations such as sum, count and max, which give the same answer however you group them.

Exam angle: count map output pairs per word occurrence, and count reducer keys per distinct word.

Spark

Apache Spark keeps working data in memory and plans each job as a DAG (directed acyclic graph). It is often much faster than MapReduce for iterative and interactive work.

Hadoop MapReduce Apache Spark
Intermediate data Written to disk Kept in memory where possible
Programming model Map and reduce only Many transformations plus SQL, streaming, MLlib
Iterative jobs Slow (disk I/O each pass) Fast with cache()
Fault tolerance Re-run failed tasks; HDFS replication Recompute lost partitions from lineage

Spark's core abstraction is the RDD (Resilient Distributed Dataset). Transformations such as map, filter and reduceByKey are lazy; actions such as count, collect and reduce trigger execution. Wide transformations like reduceByKey cause a shuffle, which starts a new stage.

Exam angle: if nothing seems to run, look for a missing action; if work repeats, look for a missing cache().

Common traps

Worked examples

1. Understanding. A hospital stores CT scans, typed doctors' notes and lab results in a database. Which V does this mix mainly illustrate? Answer: Variety. The data arrives as images, unstructured text and structured records, so it needs tools that handle many formats.

2. Application. A 2 GB (2,048 MB) log file is loaded into HDFS with 128 MB blocks and default replication. How many blocks and replicas are there, and how many map tasks will a MapReduce job usually start? Answer: 2,048 ÷ 128 = 16 blocks, 16 × 3 = 48 replicas, and usually 16 map tasks, because one input split per block is the default.

3. Analysis. A Spark job uses groupByKey() followed by summing each key's values. It is slow and the shuffle is huge. What change helps most? Answer: Replace it with reduceByKey(). It sums values inside each partition before the shuffle, so only one partial result per key per partition crosses the network.

Practise

The quiz below has 100 Big Data Analytics questions you can filter by tier and difficulty.

Practise: 100 questions

Interactive quiz loading. The first 10 questions are shown below.

  1. In the 5 Vs of big data, what does Velocity refer to?

    1. The total amount of data stored
    2. The different formats of data
    3. The speed at which data is generated and must be processed
    4. The trustworthiness of the data
    Show answer

    Answer: C. The speed at which data is generated and must be processed

    Velocity is about speed: clickstreams, sensor readings and transactions arrive continuously and often need near-real-time processing. Amount is Volume, formats are Variety and trustworthiness is Veracity.

  2. Which of the 5 Vs is concerned with the accuracy and trustworthiness of data?

    1. Veracity
    2. Volume
    3. Velocity
    4. Variety
    Show answer

    Answer: A. Veracity

    Veracity covers data quality: noise, duplicates, missing values, bias and inconsistent sources. The other Vs describe size (Volume), speed (Velocity) and format diversity (Variety); the fifth, Value, is the business benefit.

  3. A JSON file of tweets with nested fields is usually classed as which type of data?

    1. Structured
    2. Semi-structured
    3. Unstructured
    4. Binary
    Show answer

    Answer: B. Semi-structured

    JSON and XML carry tags or keys that describe the data but do not force a fixed table schema, so they are semi-structured. Relational tables are structured; free text, images and video are unstructured.

  4. In HDFS, which component stores the file-system metadata such as the namespace and the block locations?

    1. DataNode
    2. ResourceManager
    3. NameNode
    4. NodeManager
    Show answer

    Answer: C. NameNode

    The NameNode is the HDFS master. It holds the directory tree, file-to-block mapping and block locations in memory. DataNodes store the actual blocks; ResourceManager and NodeManager belong to YARN.

  5. In HDFS, where are the actual data blocks of a file stored?

    1. On the NameNode
    2. On the Secondary NameNode
    3. Inside the ResourceManager
    4. On DataNodes
    Show answer

    Answer: D. On DataNodes

    DataNodes are the worker machines that store and serve block data and send heartbeats and block reports to the NameNode. The NameNode only keeps metadata.

  6. What is the correct order of phases in a classic MapReduce job?

    1. Reduce, then map, then shuffle
    2. Map, then shuffle and sort, then reduce
    3. Shuffle, then map, then reduce
    4. Map, then reduce, then shuffle and sort
    Show answer

    Answer: B. Map, then shuffle and sort, then reduce

    Mappers turn input records into key-value pairs. The framework then shuffles and sorts so that all values for one key reach the same reducer. Reducers then aggregate each key's values.

  7. What is the main reason Apache Spark is often much faster than Hadoop MapReduce?

    1. It runs only on a single machine
    2. It does not distribute data
    3. It uses no cluster manager
    4. It keeps intermediate data in memory instead of writing it to disk between steps
    Show answer

    Answer: D. It keeps intermediate data in memory instead of writing it to disk between steps

    MapReduce writes intermediate results to disk between jobs. Spark keeps working data in memory across a chain of operations and plans the whole chain as a DAG, which especially helps iterative and interactive work.

  8. In Apache Spark, what does RDD stand for?

    1. Relational Data Definition
    2. Resilient Distributed Dataset
    3. Replicated Disk Directory
    4. Remote Data Driver
    Show answer

    Answer: B. Resilient Distributed Dataset

    An RDD is a Resilient Distributed Dataset: an immutable collection partitioned across the cluster. 'Resilient' means lost partitions can be rebuilt from lineage.

  9. What is the role of YARN in Hadoop 2 and later?

    1. Managing cluster resources and scheduling applications
    2. Storing file blocks
    3. Running SQL queries
    4. Compressing data
    Show answer

    Answer: A. Managing cluster resources and scheduling applications

    YARN (Yet Another Resource Negotiator) separates resource management from processing. Its ResourceManager allocates containers and NodeManagers run them, so MapReduce, Spark and others can share one cluster.

  10. What is the default block replication factor in HDFS?

    1. 3
    2. 1
    3. 2
    4. 5
    Show answer

    Answer: A. 3

    By default HDFS keeps 3 copies of each block (dfs.replication = 3), normally placed so that the copies span at least two racks. It can be changed per file or cluster-wide.

FAQs

What are the 5 Vs of big data?

Volume (how much data), Velocity (how fast it arrives), Variety (how many formats), Veracity (how trustworthy it is) and Value (what insight it gives). The original model had only the first three; some books add more Vs, but the five above are the standard set in most courses.

Is Spark a replacement for Hadoop?

Spark replaces MapReduce as the processing engine in many projects, but it often still runs on Hadoop's YARN and reads data from HDFS. Think of Hadoop as storage plus resource management, and Spark as a faster engine that can sit on top of it.

Why is the HDFS block size so large?

Large blocks (128 MB by default) keep the number of blocks small. That means less metadata held in the NameNode's memory, fewer map tasks to schedule and long sequential disk reads. This is also why millions of tiny files cause problems in HDFS.

Does big data overlap with the Databases area?

Yes. NoSQL stores, data warehouses and distributed databases appear in both. See NoSQL & Modern Databases and Data Warehousing for the database side of the same ideas.

Next step

Continue with Model Deployment & MLOps MCQs, go back to the AI & ML MCQs hub, or try a timed NSCT mock test.