Big Data Important Questions

RGPV · B.Tech · CSE · Semester 7 · Current scheme · 6 papers (2020 to 2025)

  1. Read the answers

    Start with the topics that come every year.

  2. Revise unit notes

    Go through each unit once to score more.

Paperwala Imp Topics - Big Data important questions

Download Paperwala Imp Question & Answer (PDF)

Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.

Big Data important questions with answers

Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.

Q1. Characteristics of big data (the V's)

Asked 6 times in 2020, 2022, 2023, 2024, 2025 · Unit 1

From the papers

  • “Describe any five characteristics of Big Data.” (2020, 2023)
  • “Define Big Data. Discuss different characteristics of big data in detail.” (2025)
  • “Explain the concept of data veracity in the context of Big Data and discuss its implications for data analysis and decision-making.” (2025)

The short answer

Big data is data that is too large, too fast or too mixed for a normal database on one machine to store and process in time. We describe it with its V's.

Write these points

  1. Volume: the amount of data. It runs into terabytes and petabytes. A bank stores every card swipe for years. A social site stores billions of photos.
  2. Velocity: the speed at which data arrives and must be handled. UPI payments, stock prices and sensor readings come in every second.
  3. Variety: the many forms of data. Structured data sits in tables. Semi-structured data comes as JSON, XML or log lines. Unstructured data is text, images, audio and video.
  4. Veracity: how far we can trust the data. Sensors drop readings, people type wrong values and fake reviews creep in. Bad data gives wrong reports, so we clean it, check its source and mark doubtful values before analysis.
  5. Value: the useful result we get from the data. Data that never helps a decision is only a storage bill.
  6. Variability: the flow and meaning of data change. Orders jump on a sale day. The word "cool" means cold weather in one post and good in another.

Example.

An online shop shows all six. It keeps years of orders (volume) while clicks stream in every second (velocity). It holds tables, product photos and review text (variety). Some reviews are fake (veracity) and festival sales spike the load (variability). The shop studies all of it to recommend products and plan stock (value).

Real-life example

Instagram users upload millions of photos and videos a day. Likes and comments stream in every second. Some accounts are fake. The platform still finds value by showing each user the posts they are most likely to like.

Figure: the V's of big data
Figure: the V's of big data

Same or opposite: volume and variety

PointVolumeVarietySame or opposite
MeaningHow much dataHow many forms of dataOpposite
ExamplePetabytes of photosTables, JSON, images, videoOpposite
Tool that helpsHDFSNoSQL storesOpposite
One of the V'sYesYesSame

Exam tip. Write at least five V's with one real example each, since a list of names alone gets few marks. Draw the V's around a centre box. It takes one minute and the examiner sees the full set at a glance. Veracity is about trust in the data, so do not mix it up with velocity.

Back to the topic list

Q2. Challenges with big data

Asked 6 times in 2020, 2022, 2023, 2024, 2025 · Unit 1

From the papers

  • “List out the challenges in handling big data.” (2020, 2022)
  • “What are the major challenges with the big data? Explain.” (2025)
  • “Identify and discuss the main challenges associated with Big Data.” (2024)

The short answer

The challenges of big data are the problems we meet when we capture, store, process, protect and use data at this scale. Each V brings its own problem.

Write these points

  1. Storage: data grows faster than one disk or one server can hold. We need distributed storage such as HDFS. Its cost keeps rising.
  2. Processing speed: one machine cannot scan petabytes in time. The work has to run in parallel on a cluster.
  3. Data quality: data from many sources has duplicates, missing values and clashes. Cleaning it takes a large share of project time.
  4. Integration: logs, tables, JSON and images must be joined into one view. Each source has its own format and update speed.
  5. Security and privacy: big data holds personal details. We need access control, encryption and masking. India's Digital Personal Data Protection Act 2023 sets legal duties.
  6. Real-time analysis: fraud checks and traffic alerts need answers in seconds. Batch jobs are too slow for them.
  7. People and cost: few people know Hadoop, Spark and data science well. The cluster, tools and staff cost money before any value comes back.
ChallengeWhat helps
Storage at scaleHDFS, cloud object storage
Slow processingMapReduce, Spark on a cluster
Mixed formatsNoSQL stores, ETL with Pig or Hive
Bad dataCleaning rules, validation, data lineage
PrivacyAccess control, encryption, masking
Streaming dataKafka, Spark Streaming

Challenges for a city traffic system.

A city collects GPS points from 50,000 buses and cabs every 10 seconds. That is about 430 million points a day.

Storage: one server cannot hold years of points, so the data must be spread over a cluster.

Speed: jam alerts are useless after 10 minutes, so the data must be processed as it arrives.

Quality: some GPS units send wrong positions. Privacy: cab trips show where people live, so names must be removed.

Real-life example

Aadhaar holds details of more than a hundred crore people. Storing it safely, checking millions of requests a day and keeping it private are all big data challenges at national scale.

Figure: challenges of big data
Figure: challenges of big data

Same or opposite: storage and processing challenge

PointStorageProcessingSame or opposite
ProblemData grows past one machineOne machine is too slowOpposite
What helpsHDFS, cloud storageMapReduce, SparkOpposite
Solved by a clusterYesYesSame
Cost grows with dataYesYesSame

Exam tip. Give each challenge a one line reason and a tool that helps. That pairing earns the marks. Link the challenges to the V's in your opening line. It shows the examiner you see the pattern. Seven challenges with short notes are better than three long paragraphs.

Back to the topic list

Q3. Hive architecture, metastore and working

Asked 5 times in 2020, 2022, 2023, 2024, 2025 · Unit 2

From the papers

  • “Describe the physical architecture of Hive, focusing on its components and their interactions within a Hadoop ecosystem.” (2025)
  • “Explain working of Hive with proper steps and diagram.” (2024)
  • “What is Hive meta store? Which classes are used by the Hive to Read and write HDFS files? Explain.” (2023)

The short answer

Apache Hive is a data warehouse tool on top of Hadoop. Users write SQL-like HiveQL, which Hive turns into MapReduce, Tez or Spark jobs over files in HDFS.

Write these points

  1. User interfaces: the CLI or Beeline, a web UI such as Hue or JDBC and ODBC programs that connect through HiveServer2.
  2. Driver: receives the query, opens a session and controls the query from start to end.
  3. Compiler: parses the query, checks tables and columns against the metastore and builds an execution plan, a DAG of stages.
  4. Optimizer: improves the plan, for example by pushing filters down, skipping unused partitions and choosing a map-side join.
  5. Execution engine: runs the stages on the cluster through YARN and collects the result.
  6. Metastore: stores the schema of every table: columns, types, partitions, HDFS location and the SerDe. It sits in a relational database, Derby by default or MySQL in real clusters.
  7. Classes for HDFS files: an InputFormat (such as TextInputFormat) reads records and a Deserializer turns them into rows. On write, a Serializer turns rows into bytes and an OutputFormat writes them. Serializer plus Deserializer is the SerDe, for example LazySimpleSerDe.

Steps

  1. The UI sends the query to the driver (execute query).
  2. The driver asks the compiler for a plan. The compiler gets the table details from the metastore.
  3. The compiler returns the plan. The driver hands it to the execution engine.
  4. The engine runs the jobs on Hadoop. The jobs read and write data in HDFS.
  5. The result goes back through the driver to the user.

How one HiveQL query runs.

Query: SELECT city, SUM(amount) FROM sales GROUP BY city;

1. The driver receives the query. The compiler checks the table sales in the metastore and finds its HDFS folder.

2. The optimizer makes a plan: a map step that reads rows and emits (city, amount), then a reduce step that sums by city.

3. The execution engine runs the job on the cluster. The driver returns one total per city to the user.

Real-life example

A telecom company stores call records in HDFS. Its analysts write HiveQL to find which towers drop the most calls. Hive turns each query into cluster jobs, so they never write Java.

Figure: Hive architecture, from HiveQL to jobs on HDFS
Figure: Hive architecture, from HiveQL to jobs on HDFS
Figure: how Hive runs a query
Figure: how Hive runs a query

Same or opposite: Hive and Pig

PointHivePigSame or opposite
LanguageHiveQL, like SQLPig Latin, data flowOpposite
Used byAnalysts who know SQLProgrammers, ETL workOpposite
SchemaStored in the metastoreGiven in the scriptOpposite
Runs on HadoopYesYesSame

Exam tip. Draw the block diagram with numbered arrows. The 2024 paper asked for "steps and diagram" together. Remember that Hive keeps only metadata in the metastore. The table data stays in HDFS. Name the SerDe when asked how Hive reads and writes files.

Back to the topic list

Q4. HDFS architecture, features, file write and read

Asked 9 times in 2022, 2023, 2024, 2025 · Unit 2

From the papers

  • “Draw HDFS architecture. Explain any two commands of HDFS with syntax and at least one example of each.” (2025)
  • “Explain the key features and architecture of Hadoop Distributed File System.” (2025)
  • “Define HDFS. Describe namenode, datanode and block. Explain HDFS operations in detail.” (2025)

The short answer

HDFS (Hadoop Distributed File System) is the storage layer of Hadoop. It cuts a large file into blocks of 128 MB (the default in Hadoop 2 and 3) and keeps copies of each block on different machines.

Write these points

  1. NameNode (master): keeps the namespace (files, folders, permissions) and the list of blocks of each file with the DataNodes that hold them. It keeps this metadata in RAM and saves it on disk as the fsimage plus an edit log.
  2. DataNode (worker): stores the real blocks on its local disk. It sends a heartbeat every 3 seconds and a block report to the NameNode.
  3. Secondary NameNode: merges the edit log into the fsimage from time to time (a checkpoint). It is a helper. It does not take over if the NameNode fails.
  4. Replication: each block has 3 copies by default. Rack awareness puts one copy on the writer's node and two on nodes in another rack, so a whole rack can fail without data loss.
  5. Reliability: if a DataNode stops sending heartbeats for about 10 minutes, the NameNode marks it dead and copies its blocks again from the other replicas. Checksums catch corrupt blocks.
  6. Features: runs on cheap commodity machines, fault tolerant, high throughput for large sequential reads, write once and read many times. Computation moves to the node that holds the data.
CommandWhat it does
hdfs dfs -mkdir /dataMake a folder in HDFS
hdfs dfs -put sales.csv /dataCopy a local file into HDFS
hdfs dfs -ls /dataList files with size and replication
hdfs dfs -cat /data/sales.csvPrint a file
hdfs dfs -get /data/sales.csv .Copy a file back to local disk

Steps

  1. Write: the client asks the NameNode to create the file. The NameNode checks permissions and gives a list of DataNodes for each block.
  2. The client sends the block to the first DataNode. It passes the data to the second and the second to the third (a pipeline). Acknowledgements flow back along the same pipeline.
  3. Read: the client asks the NameNode for the block locations. It then reads each block straight from the nearest DataNode. Data never flows through the NameNode.

Example.

A 300 MB file becomes 3 blocks: 128 MB, 128 MB and 44 MB. With replication 3 the cluster stores 9 block copies, about 900 MB in all. The last block uses only 44 MB of disk.

Real-life example

A hospital keeps scans for years. HDFS splits each large file into blocks and stores three copies on different machines. If one disk fails, the scan is still read from another copy.

Figure: HDFS, one NameNode and DataNodes that hold each block three times
Figure: HDFS, one NameNode and DataNodes that hold each block three times
Figure: writing a file to HDFS
Figure: writing a file to HDFS

Same or opposite: HDFS write and HDFS read

PointWriteReadSame or opposite
Client first contactsNameNodeNameNodeSame
Data goesThrough a pipeline of DataNodesFrom the nearest DataNodeOpposite
Copies made3 by defaultNoneOpposite
NameNode handles the data itselfNoNoSame

Exam tip. Draw the NameNode, at least three DataNodes and the block copies. The diagram carries most of the marks. Say clearly that the Secondary NameNode is not a backup NameNode. Many students get this wrong. When the question asks for commands, write the full syntax with a path, as in the table.

Back to the topic list

Q5. Types of NoSQL databases and data architecture patterns

Asked 8 times in 2020, 2022, 2024, 2025 · Unit 4

From the papers

  • “Explain in brief various types of NoSQL databases in practice.” (2025)
  • “Explain the term: Data architectural patterns” (2025)
  • “List and explain the various architectural patterns to manage big data.” (2025)

The short answer

NoSQL databases come in four main types, named after how they store data: key-value, document, column-family and graph. These four storage shapes are the NoSQL data architecture patterns.

Write these points

  1. Key-value store: every item is a unique key and a value the database does not look inside. Lookup by key is very fast. Examples: Redis, Amazon DynamoDB, Riak. Used for sessions, carts and caches.
  2. Document store: the value is a JSON or BSON document with its own fields, so we can query on any field. Examples: MongoDB, CouchDB. Used for catalogs, profiles and content.
  3. Column-family store: each row has a row key and columns grouped into families. Rows can have different columns and empty cells take no space. Examples: HBase, Cassandra. Used for logs, time series and huge sparse tables.
  4. Graph store: data is nodes and edges, both with properties. A join becomes a walk along edges. Example: Neo4j. Used for social networks, fraud rings and recommendations.
  5. Variations: each pattern can run in RAM only or on disk with a RAM cache, on one server or sharded over a cluster, with or without replicas. Big data systems pick the variation that fits their load.
  6. Using NoSQL to manage big data: shard data by key over many nodes and keep replicas for failures. Move the query to the data and accept eventual consistency where it is safe.
TypeData looks likeExampleBest for
Key-valuekey to valueRedisCache, sessions
DocumentJSON documentMongoDBCatalogs, profiles
Column-familyrow key, column familiesHBaseLogs, time series
Graphnodes and edgesNeo4jSocial, fraud

Picking a NoSQL type for each need.

Shopping cart of each user, read by user id: key-value store such as Redis.

Product pages with different fields per product: document store such as MongoDB.

Billions of sensor readings written every second: column family store such as Cassandra.

"Friends of friends who bought this": graph store such as Neo4j.

Real-life example

A food delivery app often uses several NoSQL types at once. Login sessions sit in Redis, a key-value store. Menus sit in MongoDB, a document store. Order history goes to Cassandra, a column family store. The "people who ordered this also ordered" links live in Neo4j, a graph store.

Figure: types of NoSQL databases
Figure: types of NoSQL databases

Same or opposite: key-value and document store

PointKey-valueDocumentSame or opposite
Value seen by the databaseOpaque blobJSON with fieldsOpposite
Query on a field insideNoYesOpposite
ExampleRedis, DynamoDBMongoDB, CouchDBOpposite
Schema-free NoSQLYesYesSame

Exam tip. Give all four types with one product and one use each. A small sketch of each type adds marks. "Architectural patterns" and "types of NoSQL" are the same answer in RGPV papers. Do not call HBase a document store. It is a column-family store.

Back to the topic list

Q6. What is NoSQL? Features, advantages and NoSQL vs RDBMS

Asked 8 times in 2022, 2023, 2024, 2025 · Unit 4

From the papers

  • “Discuss key characteristics and advantages of NoSQL database.” (2023, 2024)
  • “What is NoSQL database? List the differences between NoSQL and relational databases.” (2025)
  • “Give a brief note on the storage structure of NoSQL and SQL.” (2025)

The short answer

NoSQL ("not only SQL") is a family of non-relational databases with no fixed table schema. They grow by adding servers and were built for the volume, speed and variety of big data.

Write these points

  1. Flexible schema: two records in the same collection can have different fields. New fields need no ALTER TABLE.
  2. Horizontal scaling: data is split (sharded) across many cheap servers. An RDBMS usually needs a bigger server instead.
  3. Replication: copies on several nodes keep the system up when a node fails.
  4. BASE model: Basically Available, Soft state, Eventually consistent. By the CAP theorem, during a network split a distributed store must choose consistency or availability. Many NoSQL stores choose availability.
  5. Storage structure: an RDBMS spreads one customer over normalised tables and joins them at query time. A NoSQL store keeps the whole aggregate (the customer with orders) together as one document or row, so one read fetches it.
  6. Why it helps big data: it takes unstructured and semi-structured data. It handles very high write rates from logs and sensors. It scales to petabytes on commodity machines.
PointRDBMS (SQL)NoSQL
Data modelTables of rows and columnsKey-value, document, column, graph
SchemaFixed, defined firstFlexible, can change per record
ScalingVertical (bigger server)Horizontal (more servers)
ConsistencyACID transactionsMostly BASE, eventual
QuerySQL with joinsOwn API, few joins
ExamplesMySQL, OracleMongoDB, Cassandra, Redis

Storing a student with two phone numbers.

RDBMS: a students table and a phones table joined by roll number. Adding an email field means ALTER TABLE for every row.

NoSQL document: { roll: 21, name: "Asha", phones: ["98...", "97..."] }. A new field can be added to one student only.

When students grow from 10 thousand to 10 crore, the RDBMS needs a bigger server. The NoSQL store adds more servers instead.

Real-life example

A social app's post can have text, photos, polls or nothing at all. A fixed SQL table fits this badly. A NoSQL document store keeps each post as it is and scales across many servers.

Figure: BASE properties of NoSQL
Figure: BASE properties of NoSQL

Same or opposite: NoSQL and RDBMS

PointNoSQLRDBMSSame or opposite
SchemaFlexibleFixed tablesOpposite
ScalingOut, add serversMostly up, bigger serverOpposite
ConsistencyOften eventual (BASE)Strong (ACID)Opposite
Stores and queries dataYesYesSame

Exam tip. Expand BASE and ACID in full. Each expansion is a sure mark. A comparison table of five or six rows answers the "differentiate" part in one go. NoSQL means "not only SQL". Do not write "no SQL at all".

Back to the topic list

Q7. Hadoop core components, building blocks and ecosystem

Asked 7 times in 2020, 2022, 2024, 2025 · Unit 2

From the papers

  • “What is Hadoop Ecosystem? Discuss various components of Hadoop Ecosystem.” (2025)
  • “Discuss the important components of Hadoop architecture.” (2025)
  • “List the components of Hadoop, explain its use.” (2024)

The short answer

Hadoop is an open source Apache framework that stores and processes very large data on a cluster of cheap machines. Its core is Hadoop Common, HDFS, YARN and MapReduce, with an ecosystem of tools around it.

Write these points

  1. Hadoop Common: the shared Java libraries and scripts every other part uses.
  2. HDFS: the storage layer. It splits files into blocks and keeps three copies of each.
  3. YARN (Yet Another Resource Negotiator): the resource manager. The ResourceManager hands out containers of CPU and memory. A NodeManager on each node runs them.
  4. MapReduce: the processing model. Map tasks work on blocks in parallel and reduce tasks combine their results.
  5. Building blocks (daemons): the master runs the NameNode, the Secondary NameNode and the ResourceManager. Each worker runs a DataNode and a NodeManager. In Hadoop 1 the JobTracker and TaskTrackers did the job of YARN.
  6. How they work together: Sqoop or Flume brings data into HDFS. YARN gives resources. MapReduce, Spark, Hive or Pig process the data. Oozie schedules the jobs. Results go back to HDFS, HBase or a database.
Ecosystem toolJob
HiveSQL-like queries (HiveQL) on HDFS data
PigData flow scripts in Pig Latin
HBaseColumn-family NoSQL store on HDFS
Sqoop / FlumeImport from databases / stream in logs
SparkFast in-memory processing
Oozie / ZooKeeperJob scheduling / cluster coordination
MahoutMachine learning on Hadoop

Which Hadoop part does what for a 1 TB log file.

HDFS cuts the file into about 8,000 blocks of 128 MB and keeps 3 copies of each.

YARN gives containers on the cluster nodes to the job.

MapReduce runs about 8,000 map tasks, one per block, next to the data. A few reduce tasks add up the results.

Hadoop Common supplies the shared libraries that all of these use.

Real-life example

An e-commerce company uses Flume to collect logs, HDFS to store them, Hive to query them and Oozie to run the jobs every night. All of these belong to the Hadoop ecosystem.

Figure: the Hadoop stack, HDFS and YARN at the base and the ecosystem on top
Figure: the Hadoop stack, HDFS and YARN at the base and the ecosystem on top
Figure: the Hadoop ecosystem
Figure: the Hadoop ecosystem

Same or opposite: HDFS and MapReduce

PointHDFSMapReduceSame or opposite
LayerStorageProcessingOpposite
MasterNameNodeResourceManager (YARN)Opposite
Core part of HadoopYesYesSame
Works on blocks across many nodesYesYesSame

Exam tip. Start with the four core parts, then the ecosystem tools. Examiners look for both. "Building blocks" means the daemons. Name all five and say which run on the master. A layered diagram (storage at the bottom, tools at the top) is worth drawing every time.

Back to the topic list

Q8. Social network mining and its applications

Asked 7 times in 2020, 2023, 2024, 2025 · Unit 5

From the papers

  • “What do you mean by social network mining? Write its applications.” (2020, 2025)
  • “Explain: Social Network Mining” (2023, 2024)
  • “What is social network mining, and how does it differ from traditional data mining?” (2025)

The short answer

Social network mining applies data mining and graph analysis to social network data, where people are nodes and links are edges. It finds groups, influential people and likely new links.

Write these points

  1. Difference from traditional data mining: ordinary mining treats each record as a separate row in a table. Social network mining studies the links between records, so the graph itself is the data.
  2. Main tasks: community detection, link prediction (who will connect next), finding influencers through centrality, spread of information and opinion mining of posts.
  3. Friend suggestions: "People you may know" uses mutual friends and common groups to predict links.
  4. Marketing: brands find influencers and close-knit groups for targeted and viral campaigns.
  5. Recommendations: pages, groups, products and posts liked by friends are shown first.
  6. Fraud and cyber attacks: fraud rings form tight clusters of accounts that share phones, devices or money flows. Fake accounts and bots show odd patterns, such as many new links with few mutual friends. Tracing how a phishing link spreads shows the source accounts.
  7. Other uses: tracking news and rumours, studying the spread of disease, public opinion before elections, hiring on LinkedIn and mapping crime networks.

Example.

A bank links accounts that share a phone number or send money to each other. Five new accounts share one phone and pass money round in a loop. In the graph they form a closed cycle with no outside friends, so the bank flags them for review.

Real-life example

LinkedIn suggests 'People you may know' by mining who shares friends, colleges and companies with you. That is social network mining on a graph of millions of people.

Figure: applications of social network mining
Figure: applications of social network mining

Same or opposite: social network mining and normal data mining

PointSocial network miningNormal data miningSame or opposite
Data shapeGraph of nodes and linksRows of a tableOpposite
Main questionWho is linked and howPatterns in recordsOpposite
Example taskCommunity detectionMarket basket analysisOpposite
Finds useful patternsYesYesSame

Exam tip. Define it first, then give at least five applications with one line each. When asked how it differs from data mining, the answer is the links. Say it in the first line. One worked example, like the fraud ring, makes the answer stand out.

Back to the topic list

Q9. MapReduce: phases, mapper, combiner and reducer

Asked 6 times in 2020, 2023, 2024, 2025 · Unit 2

From the papers

  • “What is MapReduce programming? Where is it used and why?” (2020, 2025)
  • “What is MapReduce? Explain working of various phases of MapReduce with appropriate example and diagram.” (2025)
  • “Explain concept of Map Reduce using an example.” (2024)

The short answer

MapReduce is Hadoop's model for processing large data in parallel. A map function turns each record into (key, value) pairs, then a reduce function combines all values that share a key.

Write these points

  1. Pseudocode for word count: map(offset, line): for each word w in line: emit(w, 1). reduce(w, counts): emit(w, sum(counts)).
  2. Where it is used: log analysis, counting clicks, building search indexes, ETL jobs and large joins.
  3. Why it is used: the code moves to the node that holds the data. The job scales by adding nodes. A failed task simply runs again on another node. The programmer writes only two functions.

Steps

  1. Input split: the InputFormat cuts the input into splits (usually one per HDFS block). A RecordReader turns each split into records, for text files (byte offset, line).
  2. Map: the mapper runs once per record and emits intermediate pairs. They go to the local disk of that node, not to HDFS.
  3. Combiner (optional): a mini reducer on the same node. It adds up the mapper's output before it travels, which cuts network traffic. It only suits jobs like sum, count or max.
  4. Partition: the partitioner picks the reducer for each key, by default hash(key) mod number of reducers.
  5. Shuffle and sort: each reducer copies its pairs from all mappers. The pairs are sorted and grouped by key.
  6. Reduce: reduce(key, list of values) runs once per key and writes the final output to HDFS.

Example.

Input line: "big data big". Map gives (big,1) (data,1) (big,1). The combiner gives (big,2) (data,1). After shuffle, the reducer for "big" gets (big,[2]) and writes big 2. The output is big 2 and data 1.

  • InputFormat and RecordReader decide how input is split and read.
  • Number of reducers is set by the job. It decides how many output files there are.

Real-life example

To count how often each hashtag was used in a day, each machine counts hashtags in its own share of posts. The counts for each hashtag are then sent to one reducer and added up.

Figure: word count in MapReduce, through map, shuffle and reduce
Figure: word count in MapReduce, through map, shuffle and reduce
Figure: phases of a MapReduce job
Figure: phases of a MapReduce job

Same or opposite: combiner and reducer

PointCombinerReducerSame or opposite
Runs onMapper's nodeReducer nodeOpposite
RequiredNo, optionalYesOpposite
Output goes toShuffleHDFSOpposite
Combines values of one keyYesYesSame

Exam tip. Write the phases in order and draw them, since most questions say "with diagram". Mention the combiner and the partitioner. They separate a full answer from a short one. Map output goes to local disk, while only the reducer output goes to HDFS.

Back to the topic list

Q10. Data types in Hive and Pig

Asked 6 times in 2020, 2022, 2024, 2025 · Unit 3

From the papers

  • “Explain the various Hive Data types with examples.” (2025)
  • “What are the different Hive data types? Explain them briefly.” (2024)
  • “Discuss the various data types in Pig.” (2022)

The short answer

Hive and Pig both work on data in Hadoop with simple types for single values and complex types for nested data. The type names look alike but differ.

Write these points

  1. Hive ARRAY: an ordered list of one type, for example skills ARRAY<STRING>. Read one item with skills[0].
  2. Hive MAP: key to value pairs, for example marks MAP<STRING,INT>. Read with marks['maths'].
  3. Hive STRUCT: named fields of different types, for example addr STRUCT<city:STRING, pin:INT>. Read with addr.city. UNIONTYPE holds one value out of a set of types.
  4. Pig tuple: an ordered set of fields, for example (101, 'Asha', 82). Pig bag: a collection of tuples that may repeat, for example {(101,'Asha'), (102,'Ravi')}. A relation is an outer bag.
  5. Pig map: chararray keys with values of any type, for example ['city'#'Bhopal'].
  6. Comparison: Hive needs the schema when the table is created. In Pig the schema is optional and a field with no type is a bytearray. Pig bags can nest inside tuples, which Hive cannot do in the same way. Both use NULL for missing values.
KindHivePig
Whole numbersTINYINT, SMALLINT, INT, BIGINTint, long, biginteger
DecimalsFLOAT, DOUBLE, DECIMALfloat, double, bigdecimal
TextSTRING, VARCHAR, CHARchararray
OthersBOOLEAN, DATE, TIMESTAMP, BINARYboolean, datetime, bytearray
ComplexARRAY, MAP, STRUCT, UNIONTYPEtuple, bag, map

Example.

Hive: CREATE TABLE student (name STRING, skills ARRAY<STRING>, marks MAP<STRING,INT>, addr STRUCT<city:STRING, pin:INT>); Pig: A = LOAD 'student' USING PigStorage(',') AS (name:chararray, age:int);

Real-life example

A customer table in Hive can hold a name as STRING, age as INT, phone numbers as ARRAY<STRING> and address as STRUCT. One row can store all of a customer's details.

Figure: data types in Hive
Figure: data types in Hive

Same or opposite: Hive ARRAY and Pig bag

PointHive ARRAYPig bagSame or opposite
HoldsValues of one type in orderA set of tuplesOpposite
Order keptYesNoOpposite
Complex typeYesYesSame
Example["a", "b"]{(1,2), (3,4)}Opposite

Exam tip. A side by side table answers the "compare" question fast. Add one line of syntax for each complex type. Write that the default type in Pig is bytearray, because it is often asked. Keep Hive type names in capitals and Pig type names in small letters.

Back to the topic list

Q11. MongoDB: features, storage, CRUD and sharding

Asked 6 times in 2020, 2022, 2024, 2025 · Unit 4

From the papers

  • “What is MongoDB? Explain in brief key features of MongoDB. Show basic CRUD operations in MongoDB with proper example.” (2025)
  • “Give a note on MongoDB. Discuss its data storage type in detail.” (2025)
  • “Discuss MongoDB features and what makes MongoDB suitable for a wide range of applications.” (2024)

The short answer

MongoDB is an open source document database. It stores data as BSON (binary JSON) documents grouped in collections, so one record can hold nested fields and arrays without a fixed schema.

Write these points

  1. Storage: a database holds collections and a collection holds documents. Each document has a unique _id (an ObjectId by default). A document can be up to 16 MB. Larger files go into GridFS. The default storage engine, WiredTiger, compresses data on disk.
  2. Features: flexible schema, rich queries, indexes (single, compound, text, geospatial), the aggregation pipeline and multi-document ACID transactions since version 4.0.
  3. Replica set: one primary takes writes and secondaries copy it. If the primary fails, the secondaries elect a new primary on their own.
  4. Sharding: a large collection is split into chunks by a shard key and spread over shards. The mongos router sends each query to the right shard. Config servers keep the chunk map. A balancer moves chunks to keep the shards even.
  5. Suited to: product catalogs, content sites, mobile apps, IoT data and real-time analytics, where data changes shape often.
RDBMSMongoDB
DatabaseDatabase
TableCollection
RowDocument
ColumnField
Primary key_id
JoinEmbedded document or $lookup

Steps

  1. Create: db.students.insertOne({name: "Asha", branch: "CSE", marks: 82})
  2. Read: db.students.find({branch: "CSE"})
  3. Update: db.students.updateOne({name: "Asha"}, {$set: {marks: 88}})
  4. Delete: db.students.deleteOne({name: "Asha"})

CRUD in MongoDB.

Create: db.students.insertOne({ roll: 21, name: "Asha", marks: 78 })

Read: db.students.find({ marks: { $gt: 70 } }) returns every student with more than 70 marks.

Update: db.students.updateOne({ roll: 21 }, { $set: { marks: 82 } })

Delete: db.students.deleteOne({ roll: 21 })

Real-life example

Many apps keep user profiles in MongoDB. A new field such as 'preferred language' can be added to some users without changing a table for everyone.

Figure: MongoDB sharding by a range of the shard key
Figure: MongoDB sharding by a range of the shard key
Figure: a sharded MongoDB cluster
Figure: a sharded MongoDB cluster

Same or opposite: MongoDB and MySQL

PointMongoDBMySQLSame or opposite
StoresDocuments (BSON)Rows in tablesOpposite
SchemaFlexibleFixedOpposite
Scaling across serversBuilt-in shardingHarderOpposite
Supports indexesYesYesSame

Exam tip. Write all four CRUD commands with the same small example. Examiners check the syntax. The term table (table is collection, row is document) is quick to draw and always earns marks. Students often forget BSON. Write it in the first line.

Back to the topic list

Q12. Recommender systems and their types

Asked 6 times in 2020, 2023, 2024, 2025 · Unit 5

From the papers

  • “Explain: Recommender system” (2023, 2024)
  • “Explain the role of recommender system in social network.” (2025)
  • “Discuss the types of recommendation approaches commonly used in recommender systems.” (2025)

The short answer

A recommender system predicts which items a user is likely to like and suggests them. It uses the user's past behaviour, details of the items or the choices of similar users.

Write these points

  1. Data: a utility matrix with users as rows, items as columns and ratings (or clicks) in the cells. Most cells are empty. The system predicts the empty ones.
  2. Content-based filtering: builds a profile from features of items the user liked, such as genre, actors or words (TF-IDF). It suggests similar items by cosine similarity. It works for new items but keeps suggesting the same kind.
  3. Collaborative filtering: uses only the ratings. User-based: find users with similar ratings and suggest what they liked. Item-based: suggest items that the same users rated alike.
  4. Problems: cold start (a new user or item has no ratings), sparsity of the matrix and scale with millions of users.
  5. Hybrid systems combine both methods to cover each other's gaps. Knowledge-based and popularity-based methods help when there is no history.
  6. Role in a social network: suggest friends (link prediction from mutual friends), groups, pages and posts. Likes from friends count for more than likes from strangers, since people trust their friends.
PointContent-basedCollaborative
UsesItem featuresRatings of many users
New itemCan recommend at onceNeeds ratings first
New userNeeds a few likesNeeds a few ratings
VarietyNarrow, same kindCan surprise the user

Example.

Asha and Ravi both gave 5 to Movie 1 and 4 to Movie 2, so their tastes match. Ravi also gave 5 to Movie 3, which Asha has not seen. User-based filtering recommends Movie 3 to Asha.

Real-life example

YouTube's 'Up next' and Flipkart's 'You may also like' are recommender systems. They use what you watched or bought and what similar users chose.

Figure: types of recommender systems
Figure: types of recommender systems

Same or opposite: content-based and collaborative filtering

PointContent-basedCollaborativeSame or opposite
UsesItem featuresRatings of many usersOpposite
New itemCan recommend at onceNeeds ratings firstOpposite
Predicts what a user will likeYesYesSame
VarietyNarrow, same kindCan surprise the userOpposite

Exam tip. Draw a small utility matrix with a "?" cell. It explains collaborative filtering at a glance. Name the cold start problem. It is almost always worth a mark. For "role in social network", talk about friend suggestions and trust between friends.

Back to the topic list

Q13. ETL processing in big data

Asked 5 times in 2020, 2022, 2024, 2025 · Unit 3

From the papers

  • “Explain the term: ETL processing” (2025)
  • “Explain: ETL processing techniques in big data” (2025)
  • “Describe the typical steps involved in an ETL pipeline implemented using Pig.” (2024)

The short answer

ETL (Extract, Transform, Load) takes data out of source systems, cleans and reshapes it, then loads it into a target. The target may be a data warehouse, Hive tables or HBase.

Write these points

  1. In big data, teams often do ELT: load raw data into HDFS first, then transform it inside the cluster with Pig, Hive or Spark. HDFS storage is cheap and Hive reads the schema at query time.
  2. Pig suits ETL well. LOAD extracts. FILTER, FOREACH GENERATE, JOIN and GROUP transform. STORE loads.
  3. A scheduler such as Oozie runs the ETL job every hour or every night.
  4. Common tools: Sqoop, Flume, Kafka, Pig, Hive, Spark, Informatica, Talend.

Steps

  1. Extract: read data from the sources. Sqoop pulls tables from MySQL or Oracle. Flume or Kafka bring in logs and streams. Files and APIs are read as they are. Extraction is full or incremental (only new rows).
  2. Transform: remove duplicates, fill or drop missing values, fix formats and types, join with lookup tables, aggregate, add new fields and mask personal data.
  3. Load: write the clean data into the target, often into date-wise partitions. A full load replaces the data. An incremental load adds only new data.

Example.

raw = LOAD '/raw/sales.csv' USING PigStorage(',') AS (id:int, city:chararray, amount:double);

good = FILTER raw BY amount IS NOT NULL AND amount > 0;

bycity = GROUP good BY city;

total = FOREACH bycity GENERATE group AS city, SUM(good.amount) AS sales;

STORE total INTO '/clean/city_sales' USING PigStorage(',');

Real-life example

Every night a retail chain pulls sales from all its stores, cleans wrong prices and duplicate bills and loads the result into its warehouse. The morning reports use that clean data.

Figure: an ETL pipeline with Pig
Figure: an ETL pipeline with Pig

Same or opposite: ETL and ELT

PointETLELTSame or opposite
OrderTransform before loadingLoad first, transform insideOpposite
Where transform runsSeparate engineThe warehouse or HadoopOpposite
Good forSmaller, structured dataBig dataOpposite
Moves data into a store for analysisYesYesSame

Exam tip. Write the three stages as headings and give two or three actions under each. Add the small Pig script when the question says "using Pig". It shows each stage in code. Mention ELT in one line. It shows you know how Hadoop projects work today.

Back to the topic list

Q14. HiveQL queries: SELECT, ORDER BY and joins

Asked 5 times in 2022, 2023, 2024, 2025 · Unit 3

From the papers

  • “Write example Hive Queries for Natural Join and Outer Join.” (2022, 2023)
  • “Explain the HiveQL Select Order By with suitable example.” (2025)
  • “Explain the term: Hive query language” (2025)

The short answer

HiveQL (HQL) is the SQL-like query language of Hive. Hive compiles each query into jobs over HDFS files, so it suits large batch analysis but has high latency.

Write these points

  1. Same as SQL: SELECT, FROM, WHERE, GROUP BY, HAVING, JOIN, UNION ALL, sub-queries in FROM and WHERE. Most built-in functions also work.
  2. ORDER BY sorts the full result through a single reducer, so on large data add LIMIT. SORT BY sorts inside each reducer only. DISTRIBUTE BY sends rows with the same key to the same reducer. CLUSTER BY does both.
  3. Joins: Hive supports only equality joins. It has INNER JOIN, LEFT, RIGHT and FULL OUTER JOIN, LEFT SEMI JOIN and CROSS JOIN. A small table can be joined on the map side.
  4. Hive has no NATURAL JOIN keyword. We write an equi-join on the common column, which gives the same rows.
  5. Extra in HiveQL: PARTITIONED BY and CLUSTERED BY (buckets) in CREATE TABLE, LOAD DATA INPATH and INSERT OVERWRITE. UPDATE and DELETE work only on transactional ORC tables.
JoinRows in the result
JOIN (equi / natural)Only employees whose dept_id matches a department
LEFT OUTER JOINAll employees; dname is NULL where no department matches
RIGHT OUTER JOINAll departments; name is NULL for a department with no employee
FULL OUTER JOINAll rows of both tables, NULL where no match

Steps

  1. Select with order: SELECT name, salary FROM emp WHERE salary > 50000 ORDER BY salary DESC LIMIT 5;
  2. Natural join (equi-join): SELECT e.name, d.dname FROM emp e JOIN dept d ON (e.dept_id = d.dept_id);
  3. Left outer join: SELECT e.name, d.dname FROM emp e LEFT OUTER JOIN dept d ON (e.dept_id = d.dept_id);
  4. Full outer join: SELECT e.name, d.dname FROM emp e FULL OUTER JOIN dept d ON (e.dept_id = d.dept_id);

Three HiveQL queries on a sales table.

Filter: SELECT * FROM sales WHERE city = 'Bhopal';

Sort: SELECT city, amount FROM sales ORDER BY amount DESC LIMIT 5; gives the five biggest sales.

Join: SELECT s.id, c.name FROM sales s JOIN customers c ON s.cust_id = c.id;

ORDER BY uses one reducer for a total order. SORT BY sorts inside each reducer only, so it is faster on big tables.

Real-life example

An analyst at a bank joins the transactions table with the customers table in HiveQL to find the top spenders in each city. The query looks like SQL but runs over the whole cluster.

Figure: joins in HiveQL
Figure: joins in HiveQL

Same or opposite: ORDER BY and SORT BY

PointORDER BYSORT BYSame or opposite
Sort scopeWhole resultWithin each reducerOpposite
Reducers usedOneManyOpposite
Speed on big dataSlowFastOpposite
Sorts rowsYesYesSame

Exam tip. Write two small tables (emp and dept) with three rows each and show the join output. It makes the answer clear in two minutes. Say that ORDER BY uses one reducer. It is the most asked difference from SQL. Use ON with an equality condition in every join.

Back to the topic list

Q15. Social network as a graph

Asked 5 times in 2020, 2024, 2025 · Unit 5

From the papers

  • “Explain the term: Social Network as Graph” (2025)
  • “Discuss the advantages of using graph-based representations for analyzing social network data.” (2024)
  • “Short note: Social Network as a graph” (2020, 2024, 2025)

The short answer

A social network can be shown as a graph G = (V, E). Each person is a node (vertex) and each relation, such as a friendship or a follow, is an edge.

Write these points

  1. Edges: undirected for two-way relations (Facebook friends), directed for one-way relations (a follow on X), weighted for strength (number of messages).
  2. Degree: the number of edges at a node. In a directed graph, in-degree counts followers and out-degree counts the people you follow.
  3. Locality: social graphs have communities, groups with many edges inside and few between. If A knows B and C, then B and C likely know each other, so triangles are common.
  4. Short paths: most people are linked by a few hops (the small world effect).
  5. Centrality: degree, closeness and betweenness show influencers and the bridge nodes that join communities.
  6. Advantages of the graph form: links become data we can compute on. Friend-of-friend queries, community detection, influence spread and fraud rings all become graph algorithms. The same model fits email, phone, citation and collaboration networks. The adjacency matrix lets us use matrix methods such as PageRank.

Example.

Nodes A to G with edges A-B, A-C, B-C, B-D, D-E, D-F, D-G, E-F and F-G. There are two communities: {A, B, C} and {D, E, F, G}. D has degree 4, the highest. Edge B-D is the only bridge between the groups, so it has the highest betweenness.

Real-life example

On Instagram, people are nodes and 'follows' are directed edges. On Facebook, friendship goes both ways, so the graph is undirected. The graph view makes friend suggestions possible.

Figure: a small social network as a graph
Figure: a small social network as a graph
Figure: graph measures used on social networks
Figure: graph measures used on social networks

Same or opposite: directed and undirected social graph

PointDirectedUndirectedSame or opposite
Edge meaningA follows BA and B are friendsOpposite
ExampleInstagram, XFacebookOpposite
DegreeIn-degree and out-degreeOne degreeOpposite
People are nodesYesYesSame

Exam tip. Draw a small graph and mark its communities. It is the core of the answer. Use the words node, edge, degree and community. They are what the examiner looks for. Say why a graph helps: the links themselves become data we can analyse.

Back to the topic list

How we picked these questions

RGPV teaches Big Data to 4 branches under one syllabus. Each branch prints its own code on the paper, but the units are the same. So one page and one PDF serve all of them.

We counted every question in the Big Data papers on this site by topic, from 2020 to 2025. A topic that keeps coming back is a topic RGPV likes, so it sits higher in the table. One branch alone has only a few papers. Counting them together gives a surer list.

Big Data important questions by branch

CS-702-D Big Data important questions for CSE, Semester 7

CS-702-D follows the same RGPV syllabus as the other codes on this page. The 15 topics and answers above are the CS-702-D important questions too.

See all 6 CS-702-D previous year papers

AD-801 Big Data important questions for AI & Data Science, Semester 8

AD-801 follows the same RGPV syllabus as the other codes on this page. The 15 topics and answers above are the AD-801 important questions too.

See all 1 AD-801 previous year paper

AL-802-C Big Data important questions for CSE-AIML, Semester 8

AL-802-C follows the same RGPV syllabus as the other codes on this page. The 15 topics and answers above are the AL-802-C important questions too.

See all 2 AL-802-C previous year papers

IS-802-C Big Data important questions, Semester 8

IS-802-C follows the same RGPV syllabus as the other codes on this page. The 15 topics and answers above are the IS-802-C important questions too.

See all 1 IS-802-C previous year paper

About Big Data

Big Data (CS-702 D) is an elective in Semester 7 of RGPV B.Tech CSE. It explains how data too large for one machine is stored and processed. Its five units cover big data basics, Hadoop, Hive and Pig, NoSQL databases, and social network mining. Install Hadoop or use a hosted one to try the tools.

Big Data unit-wise brief

Unit 1: Introduction to big data

This unit covers what big data is: its characteristics, types, how it differs from traditional data, its evolution, challenges, technologies, infrastructure and the properties a good big data system should have. Be able to explain how big data differs from traditional data.

Unit 2: Introduction to Hadoop

Here you learn the core Hadoop components and ecosystem, its limits, RDBMS compared with Hadoop, the Hadoop Distributed File System, processing with MapReduce, and resource management with YARN. Trace a word count through map and reduce.

Unit 3: Hive and Pig

This unit covers Hive architecture, data types and the Hive Query Language, then Pig: its anatomy, use cases, ETL processing, execution model, operators and functions. Write one query in each tool.

Unit 4: Introduction to NoSQL

The unit covers NoSQL business drivers, architectural patterns and their variations, how NoSQL manages big data, and an introduction to MongoDB. Compare NoSQL with a relational database.

Unit 5: Mining social network graphs

The last unit covers social network mining and its applications, social networks as graphs, their types, clustering of social graphs, direct discovery of communities, and an introduction to recommender systems. Explain how a recommender system works in simple words.

Units follow the RGPV scheme and syllabus, B.Tech Computer Science and Engineering, Semester 7 (AICTE flexible curriculum, w.e.f. July 2020) (copy hosted by VIT Bhopal (RGPV-affiliated)). For the full topic list of each unit, open the Big Data notes.

Start with the latest papers

Big Data - Jun 2025

Big Data - Dec 2025

Big Data - Dec 2024

See all 6 papers →

Big Data (CS-702-D) FAQs

What are the most important topics in Big Data?

By how often they were asked in the papers on this site: HDFS architecture, features, file write and read (9 times); Types of NoSQL databases and data architecture patterns (8 times); What is NoSQL? Features, advantages and NoSQL vs RDBMS (8 times); Hadoop core components, building blocks and ecosystem (7 times); Social network mining and its applications (7 times).

How were these Big Data important questions chosen?

Each topic was counted from the questions in the past papers listed on this site (2020-2025). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.

Is there a PDF of Big Data important questions with answers?

Yes. The Paperwala Imp Question & Answer PDF for Big Data is free to download from this page.

The 15 most repeated topics of Big Data (CS-702-D) for RGPV B.Tech CSE semester 7, counted from the previous year papers on this site. The same syllabus is taught under 4 codes: CS-702-D, AD-801, AL-802-C, IS-802-C. Big Data is also searched for as AI-702-D, IO-802-C and IS-802-C.

Also known as AI-702-D, IO-802-C, IS-802-C