Prem Mandal
@premmandal
INTERVIEW
QUESTIONS
ON DATA
MODELING
CONCEPTS
@PREMMANDAL
1.What is data modeling, and why is it
important?
Data modeling is the process of
creating a visual representation of the
data structure and relationships
within a databases,It is important
because it helps,in understanding the
data requirements,designing efficient
databases, ensuring data integrity,a
and facilitating communication
between stakeholders.
@PREMMANDAL
2.What are the different types of data models?
There are three main types of data models.
conceptual data model:Represents high-level
entities and relationships without considering
implementation details.
logical data model:Defines the structure of the
data without considering how it will be
physically implemented.
physical data model:Specifies the physical
implementation of the database, including
tables, columns, indexes etc.
@PREMMANDAL
3.What is Normalization and
denormalization?
Normalization is the process of
organizing data in a database to
reduce redundancy and dependency
by dividing large tables into smaller
ones and defining relationships
between them.
Denormalization, on the other hand,
involves adding redundant data to
improve query performance by
reducing the need for joins.
@PREMMANDAL
4.What is surrogate key and natural
keys?
Surrogate keys are artificial keys
generated solely for identifying
records in a table, while natural keys
are atrributes that already exists in
the real world and can uniquely
identify records.
@PREMMANDAL
5.Explain the differences between
OLTP and OLAP?
OLTP(Online transaction processing)
is designed for transaction-oriented
applications that involve frequent,
short transactions, while OLAP(Online
Analytical Processing) is optimized for
complex queries and analysis of large
volumes of data.
@PREMMANDAL
6.What is a star schema and
snowflake schema?
Astar schema is a data warehouse
schema that consists of one or more
fact tables referencing any number of
dimension tables.In a snowflake
schema,dimension tables are
normalized into multiple related
tables, resulting in a more normalized
structure.
@PREMMANDAL
6.How did you handle slowly
changing dimensions(SCDs) in data
modeling?
Slowly changing dimensions are
dimensions that change over
time.They can be handled using
various techniques such as
Type1(overwrite),Type2(add new row),
and Type 3(add new column).The
choice depends on the specific
requirements of the business.
@PREMMANDAL
7.What is cardinality in data
modeling?
Cardinality refers to the relationship
between rows of two tables.It
describes the number of instances of
one entity that can be associated with
a single instance of another entity.
@PREMMANDAL
ONE SHARE FOR MY WORK
THANK
YOU SO
MUCH!
@PREMMANDAL