CY-703-C Data Engineering

Data Engineering (CY-703-C) Important Questions

The most asked Data Engineering (CY-703-C) topics in RGPV papers are Data engineering and its lifecycle, Data lineage tracking in DataOps, Gartner data maturity model and Types of data architecture with advantages and disadvantages. We read the RGPV B.Tech Cyber Security semester 7 papers from 2023 and counted every question. Data engineering and its lifecycle, Data lineage tracking in DataOps, Gartner data maturity model and Types of data architecture with advantages and disadvantages came once each.

Download Paperwala Imp Question & Answer (PDF)

How we made this list
  • Exams counted: 2023
  • All papers on this site: 1 (2023 to 2023)
  • Units asked most: Unit 2 and Unit 1
  • Answers: We wrote these answers with AI help from the real RGPV papers and the syllabus. A teacher has not checked them yet, so read them with your syllabus. How we make these

10 most repeated Data Engineering topics (2023)

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

Data Engineering important questions with answers

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

Q1. Data engineering and its lifecycle

Short answer. Data engineering builds and runs the systems that collect, store, clean and serve data so that analysts and models can use it. The data engineering lifecycle has five stages with undercurrents that run through all of them.

Asked 1 time in 2023 · Unit 1

From the papers

  • “What do you understand by Data Engineering? Draw the data engineering lifecycle and explain each of its components.” (November 2023)

Write these points

The five stages

  1. Generation: source systems such as apps, databases and sensors produce data.
  2. Ingestion: data is moved from the source, in batches or as a stream.
  3. Transformation: data is cleaned, joined and shaped.
  4. Storage: data sits in a warehouse, lake or other store. Storage touches every stage.
  5. Serving: data goes to dashboards, machine learning and reverse ETL.

Undercurrents

  • Security
  • Data management such as quality and governance
  • DataOps
  • Data architecture
  • Orchestration
  • Software engineering

A ride app.

A trip record is created on the phone (generation).

It is sent to a queue every second (ingestion). Bad GPS points are removed and fares are added (transformation).

It is saved in the warehouse (storage). A daily earnings report reads it (serving).

Real-life example

A water supply has a source, pipes, a treatment plant, a tank and taps. Data engineering does the same job for data. The engineer keeps the whole system leak free.

Figure: data engineering lifecycle
Figure: data engineering lifecycle

Difference between Data engineer and data scientist

PointData engineerData scientistSame or opposite
Works with dataYesYesSame
Main taskBuilds the pipelines and storesBuilds models and insightsOpposite
OutputClean and reliable dataPredictions and analysisOpposite
Needs coding skillYesYesSame

Exam tip. Draw the five stages as a flow and write the undercurrents beside them.

Back to the topic list

Q2. Data lineage tracking in DataOps

Short answer. Data lineage records where data came from, how it changed and where it went. In DataOps it is tracked automatically so that errors can be traced and changes can be tested.

Asked 1 time in 2023 · Unit 1

From the papers

  • “Explain data lineage tracking in DataOps with suitable examples.” (November 2023)

Write these points

Why track lineage

  • Root cause analysis: find the step that broke a report.
  • Impact analysis: see what depends on a table before changing it.
  • Compliance: prove the source and use of personal data.
  • Trust: users see how a number was made.

What is recorded

  1. Datasets and columns.
  2. The jobs or queries that read and write them.
  3. Run time and version.
  4. Owners and tags.

Walking the graph.

Lineage: raw_orders to clean_orders to daily_sales to sales_dashboard.

A bug is found in raw_orders. Walking forward shows 3 downstream items to rebuild.

A wrong figure on the dashboard is traced backward to the same source.

Real-life example

A parcel tracking page shows every hub the parcel passed. If it is damaged, the company knows where to look.

Figure: a lineage graph
Figure: a lineage graph

Difference between Lineage and a data catalog

PointLineageCatalogSame or opposite
Describe dataYesYesSame
ShowsFlow and change over timeWhat data exists and its meaningOpposite
Main useTracing and impact checksSearch and discoveryOpposite
Needs metadataYesYesSame

Exam tip. Give the why, what is recorded and one graph example.

Back to the topic list

Q3. Gartner data maturity model

Short answer. A data maturity model rates how well an organisation manages and uses data. Gartner's information management model has six levels, from no awareness to a fully effective practice.

Asked 1 time in 2023 · Unit 1

From the papers

  • “Explain Gartner Data Maturity Model in detail with help of examples.” (November 2023)

Write these points

LevelNameWhat it looks like
0UnawareData is not seen as an asset. Spreadsheets everywhere.
1AwareLeaders see the value. Efforts are isolated.
2ReactiveFixes follow problems. Teams act alone.
3ProactiveShared plans and standards. Data is treated as a business asset.
4ManagedGovernance and measures are in place.
5EffectiveData is a core strength and drives strategy.

Remember. The textbook Fundamentals of Data Engineering describes a simpler three stage model: starting with data, scaling with data and leading with data. Ask your teacher which model your class follows.

How to use it

  • Assess people, process, tools and data quality.
  • Find the current level.
  • Plan the next level, not the top level.
  • Repeat the assessment every year.

A retail chain.

Each shop keeps its own sales sheet. This is Level 1 or 2.

The chain builds one warehouse and a data owner for each subject. This moves it to Level 3.

Later it adds quality scores and alerts, which is Level 4.

Real-life example

School grades show how far a student has come and what to learn next. A maturity model gives an organisation the same kind of grade.

Figure: levels of data maturity
Figure: levels of data maturity

Difference between Low and high maturity

PointLow maturityHigh maturitySame or opposite
Organisation holds dataYesYesSame
Data handlingAd hoc, by teamStandard and governedOpposite
DecisionsGut feelingEvidence basedOpposite
Quality checksRareMeasuredOpposite

Exam tip. Write the six level names in order with one example.

Back to the topic list

Q4. Types of data architecture with advantages and disadvantages

Short answer. A data architecture sets how data is collected, stored, processed and served. The main types are the warehouse, data lake, lakehouse, Lambda, Kappa and the modern data stack.

Asked 1 time in 2023 · Unit 2

From the papers

  • “Explain different types of data architectures with the advantages and disadvantages.” (November 2023)

Write these points

TypeAdvantageDisadvantage
Data warehouseClean, fast SQL on structured dataCostly. Rigid for new data types.
Data lakeCheap storage of any dataCan become a swamp without governance
LakehouseOne copy for BI and machine learningNewer. Needs table format tools.
LambdaAccurate batch plus fast streamTwo code bases to keep in step
KappaOne stream code baseReplay of history can be slow
Modern data stackCloud tools that plug togetherMany vendors and tool cost

How to choose

  • Data type: structured or mixed.
  • Latency need: hours or seconds.
  • Team size and skills.
  • Budget and cloud provider.

Real-life example

A house can be a flat, a farm or a hostel. Each type suits a different family. None is best for all.

Figure: common data architectures
Figure: common data architectures

Difference between Warehouse and data lake

PointWarehouseLakeSame or opposite
Stores data for analysisYesYesSame
Data formStructured, modelledRaw, any formatOpposite
Schema appliedOn writeOn readOpposite
Cost of storageHigherLowerOpposite

Exam tip. Make a table of type, advantage and disadvantage.

Back to the topic list

Q5. Data lake patterns, merits and applications

Short answer. A data lake stores raw data of any type at low cost. A data lake pattern is a standard way to organise it, usually in zones that clean the data step by step.

Asked 1 time in 2023 · Unit 2

From the papers

  • “What do you understand by the data lake patterns. Mention its merits and applications.” (November 2023)

Write these points

Common patterns

  • Zones: landing, raw, cleansed and curated areas.
  • Medallion: bronze (raw), silver (clean) and gold (ready for business).
  • Partitioning by date or region to read less data.
  • Table formats such as Delta, Iceberg and Hudi add transactions.

Merits

  • Cheap storage on object stores.
  • Keeps raw data for later use.
  • Supports machine learning and SQL together.

Applications

  • Log and clickstream analysis.
  • Machine learning training data.
  • Archive of source data.
  • Internet of Things data.

Medallion counts.

Bronze receives 1,000,000 raw events.

Silver keeps 940,000 after duplicates and bad rows go.

Gold holds 365 daily summary rows for the dashboard.

Real-life example

A water tank collects rainwater of every kind. Filter stages then make it fit for washing and drinking.

Figure: bronze, silver and gold zones
Figure: bronze, silver and gold zones

Difference between Data lake and data swamp

PointData lakeData swampSame or opposite
Stores raw dataYesYesSame
Catalog and ownershipPresentMissingOpposite
Findable and trustedYesNoOpposite
Quality controlYesNoneOpposite

Exam tip. Explain the medallion pattern with counts.

Back to the topic list

Q6. Real time processing with Lambda architecture

Short answer. Lambda architecture has a batch layer for accurate history, a speed layer for fresh events and a serving layer that merges both for queries.

Asked 1 time in 2023 · Unit 2

From the papers

  • “Explain in detail, how you will process Real-Time Data with Lambda Architecture.” (November 2023)

Write these points

Layers

  • Batch layer: stores the master data and recomputes views at fixed times.
  • Speed layer: processes new events within seconds. Its views are approximate and short lived.
  • Serving layer: indexes the batch views and merges them with the real time views.
  • Every event goes to both layers from one input stream.

Steps for real time data

  1. Events arrive in a log such as Kafka.
  2. The stream engine (Spark Streaming or Flink) updates real time views.
  3. The batch job rebuilds accurate views later. Old real time data is then dropped.
  4. A query adds batch view and real time view.

Page view count.

Batch view up to midnight: 1,000,000 views.

Speed layer since midnight: 2,345 views.

A query shows 1,002,345.

Real-life example

A school result board shows the final marks of the last exam. A live score for today's test is added beside it. Together they give the full picture.

Figure: Lambda architecture
Figure: Lambda architecture

Difference between Batch layer and speed layer

PointBatchSpeedSame or opposite
Process the same eventsYesYesSame
LatencyHoursSecondsOpposite
AccuracyExactApproximateOpposite
Data keptAll historyRecent onlyOpposite

Exam tip. Draw the three layers and show the merge in the query.

Back to the topic list

Q7. Pattern detection in time series with streaming architecture

Short answer. A streaming architecture reads events as they arrive. Patterns in a time series are found with windows, moving averages and rules or statistical tests on each window.

Asked 1 time in 2023 · Unit 2

From the papers

  • “How you will detect patterns in time-series data using streaming data architecture.” (November 2023)

Write these points

Steps

  1. Ingest events with timestamps into a log such as Kafka.
  2. Handle late events with event time and watermarks.
  3. Group events into tumbling, sliding or session windows.
  4. Compute features such as mean, trend and standard deviation.
  5. Flag a pattern when a rule or threshold is met.
  6. Send results to an alert or a store.

Patterns found

  • Spikes and drops (anomalies).
  • Trends (moving average rising).
  • Seasonality such as daily peaks.
  • Sequences of events, as in fraud checks.

Sensor z score.

Last five readings: 20, 21, 20, 22, 21. Mean = 20.8 and standard deviation = 0.75.

New reading 35 has z = (35 - 20.8) / 0.75 = 19. It is a clear anomaly.

A reading of 22 has z = 1.6 and is normal.

Real-life example

A nurse watching a heart monitor does not wait until the end of the day. She watches the last few beats and acts on a sudden jump.

Figure: pattern detection on a stream
Figure: pattern detection on a stream

Difference between Tumbling and sliding window

PointTumblingSlidingSame or opposite
Group events by timeYesYesSame
OverlapNoneWindows overlapOpposite
Output rateOne per windowOne per slide stepOpposite
Good forFixed reportsSmooth trendsOpposite

Exam tip. Give the steps and one z score example.

Back to the topic list

Q8. Schema migration with an example

Short answer. Schema migration is a controlled change to a database schema, such as adding a column, using versioned scripts so every environment ends in the same state.

Asked 1 time in 2023 · Unit 2

From the papers

  • “What do you understand by Schema Migration? Explain with the help of example.” (November 2023)

Write these points

Good practice

  • Keep each change in a numbered migration script under version control.
  • Test it on a copy of production data.
  • Keep changes backward compatible: add first, remove later (expand and contract).
  • Provide a rollback script.
  • Run it in the release pipeline with tools such as Flyway, Alembic or Liquibase.

Steps

  1. Write the migration.
  2. Apply it to the test database.
  3. Backfill old rows.
  4. Deploy the code that uses the new column.
  5. Drop the old column in a later release.

Splitting a name column.

Table students has 1,000,000 rows with column name.

Step 1: ALTER TABLE students ADD first_name, ADD last_name.

Step 2: backfill by splitting name in batches of 10,000, which takes 100 batches.

Step 3: switch the code. Step 4: drop name after a month.

Real-life example

A shop changes its price tag format. It adds the new tag first. It checks that the till reads it. Then it removes the old tag.

Figure: expand and contract migration
Figure: expand and contract migration

Difference between Schema migration and data migration

PointSchema migrationData migrationSame or opposite
Change a databaseYesYesSame
What movesTable structureRows and valuesOpposite
Version controlled scriptYesOftenSame
RiskBreaks code that expects old formLoss or damage of dataOpposite

Exam tip. Show one expand and contract example.

Back to the topic list

Q9. Building a data warehouse for a university

Short answer. A data warehouse is a central, subject oriented store of history for reporting. For a university we follow dimensional modelling in clear steps.

Asked 1 time in 2023 · Unit 2

From the papers

  • “Explain step-by-step approach to build a Data Warehouse for a university setup.” (November 2023)

Write these points

Steps

  1. Choose the business process: such as student enrolment and results.
  2. Declare the grain: one row per student, course and semester.
  3. Choose the dimensions: student, course, department, time, teacher.
  4. Choose the facts: marks, credits, attendance percentage.
  5. Design a star schema and create the tables.
  6. Build ETL from the admission, exam and fee systems.
  7. Load, test and publish reports.
TableTypeKey columns
fact_resultFactstudent_key, course_key, date_key, marks
dim_studentDimensionstudent_key, name, branch, category
dim_courseDimensioncourse_key, name, credits, department
dim_dateDimensiondate_key, semester, year

A report query.

Question: average marks by department and year.

Join fact_result with dim_course and dim_date, then group.

The star shape keeps this to 2 joins.

Real-life example

A library keeps a catalogue card system on top of its shelves. The warehouse is that catalogue for all the university's records.

Figure: star schema for a university
Figure: star schema for a university

Difference between Fact table and dimension table

PointFact tableDimension tableSame or opposite
Part of a star schemaYesYesSame
HoldsMeasures such as marksDescriptions such as namesOpposite
RowsVery manyFewerOpposite
Linked by keysYesYesSame

Exam tip. Draw the star schema with one fact and four dimensions.

Back to the topic list

Q10. Webhooks and how they work

Short answer. A webhook is an HTTP callback. When an event happens in one system, it sends a POST request to a URL registered by another system, so no repeated polling is needed.

Asked 1 time in 2023 · Unit 3

From the papers

  • “What are Webhooks and explain how they work with help of examples.” (November 2023)

Write these points

How it works

  1. The receiver exposes an HTTPS endpoint.
  2. The receiver registers that URL with the provider.
  3. An event happens, for example a payment succeeds.
  4. The provider sends a POST with a JSON body and a signature header.
  5. The receiver verifies the signature, stores the event and returns HTTP 200 quickly.

Good practice

  • Check the HMAC signature.
  • Handle duplicate deliveries (idempotency).
  • Queue the work and reply fast.
  • Expect retries after failure.
import hmac, hashlib
secret = b'whsec'
body = b'{"event":"payment.done","amount":500}'
sig = hmac.new(secret, body, hashlib.sha256).hexdigest()
# receiver recomputes and compares
ok = hmac.compare_digest(sig, hmac.new(secret, body, hashlib.sha256).hexdigest())

Tampering check.

A payment body with amount 500 gives a signature starting 8fd0d0a0.

If an attacker changes the amount to 5000, the recomputed signature does not match.

The receiver rejects the request.

Real-life example

Instead of calling the courier every hour, you give them your phone number. They call you the moment the parcel arrives.

Figure: webhook delivery
Figure: webhook delivery

Difference between Webhook and polling

PointWebhookPollingSame or opposite
Moves data between systemsYesYesSame
Who startsThe providerThe receiverOpposite
DelayAlmost noneUp to one poll intervalOpposite
Wasted requestsFewManyOpposite

Exam tip. Explain with a payment gateway example and mention signature checks.

Back to the topic list

Start with the latest papers

Data Engineering - Nov 2023

See all 1 papers →

Data Engineering (CY-703-C) FAQs

What are the most important topics in Data Engineering?

By how often they were asked in the papers on this site: Data engineering and its lifecycle (1 times); Data lineage tracking in DataOps (1 times); Gartner data maturity model (1 times); Types of data architecture with advantages and disadvantages (1 times); Data lake patterns, merits and applications (1 times).

How were these Data Engineering important questions chosen?

Each topic was counted from the questions in the past papers listed on this site (2023). 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 Data Engineering important questions with answers?

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

The 10 most repeated topics of Data Engineering (CY-703-C) for RGPV B.Tech Cyber Security semester 7, counted from the previous year papers on this site.