Data Warehousing Interview Questions and Answers
Last updated on 23rd Oct 2020, Blog, Interview Question
Are you preparing for Data Warehousing interview? If yes, go through our interview questions page to win your ideal job. Data Warehousing is the main act of business intelligence and it is used to assess and analyze the data. Search for the various jobs posted on ACTE on data warehousing by top companies and locations across india. Looking for a job can be cumbersome and tiring, especially when you are not aware of how to apply and where to search and how to prepare well for the job interviews. Wisdomjobs framed Data Warehousing job interview questions and answers to make is easier for your interview preparation. If you are expertise in Data base concepts, then it is the right time for you to grab those multiple job opportunities available.
1. How Can We Run The Graph? What Is The Procedure For That? How Can We Schedule The Graph In Unix?
If you want to run the graph through GDE then after save the graph just press F5 button of your keyboard, it will run automatically. If you want to run through the shell script then you have to fire the command at your UNIX box.
2. What Is A Real-time Data Warehouse? How Is It Different From Near To Real-time Data Warehouse?
As the term suggests, a real-time data warehouse is a system, which reflects all changes to its sources in real time. As simple as it sounds, this is still an area of active research in the field. In traditional DWH, the operational system(s) are kept separate from the DWH for a good reason.
The Operational systems are designed to accept inputs or changes to data regularly, hence have a good chance of being regularly queried. On the other hand, a DWH is supposed to do just the opposite – it is used to query data for reports only. No changes to data, through user actions is expected (or designed). The only inputs could come from the ETL feed at stipulated times. The ETL would source its data from the Operational systems just explained above.
To create a real-time DWH we would have to merge both systems (several ways are being explored), a concept that is against the reason of creating a DWH. Bigger challenges occur in terms of updating aggregated data in facts at real time, still maintaining the surrogate keys.
Besides, we would need lightening fast hardware to try this.Near Real time DWH is a trade-off between the conventional design and the dream of all clients today. The frequency of ETL updates in higher in this case for e.g. once in 2 hours. We can also analyze and use selective refreshes at shorter time intervals, while complete refreshes may still be kept further apart. Selective refreshes would look at only those tables that get updated regularly.
3. What Is Difference Between Drill & Scope Of Analysis?
Drilling can be done in drill down, up, through, and across; scope is the overall view of the drill exercise.
4. I Have Two Universes Created By Two Difference Database Can We Join Them In Designer & Report Level? How
We can link one universe to other universe in Universe parameters.
5. For Faster Process, What We Will Do With The Universe?
For a faster process create aggregate tables and write better sql so that the process would fast.
6. What Is Type 2 Version Dimension?
Version dimension is the SCD type II in real time it using because of it will maintain the current data and full historical data.
7. What Is Unit Testing?
The Developer created the mapping that can be tested independently by the developer individually.
8. What Is Informatica Architecture?
Informatica Architecture contains Repository, Repository server, Repository server administration console, sources, repository server and Data warehousing and it have the Designer, Work for manager, work for monitor combination of all these are called Informatica Architecture.
9. What Is Data Warehouse Architecture?
Data warehousing is the repository of integrated information data will be extracted from the heterogeneous sources. Data warehousing architecture contains the different; sources like oracle, flat files and ERP then after it have the staging area and Data warehousing, after that it has the different Data marts then it have the reports and it also have the ODS – Operation Data Store. This complete architecture is called the Data warehousing Architecture.
10. What Is Data Analysis? Where It Will Be Used?
Data analysis: consider that you are running a business and u store the data of that; in some form say in register or in a comp and at the year end you want know the profit or loss then it called data analysis .Data analysis use: then u want to know which product was sold the highest and if the business is running in a loss then finding, where we went wrong we do analysis.
11. What Are Data Modeling And Data Mining? Where It Will Be Used?
Data modeling is the process of designing a data base model. In this data model data will be stored in two types of table fact table and dimension table.
Fact table contains the transaction data and dimension table contains the master data. Data mining is process of finding the hidden trends is called the data mining.
12. What Is “method/1”?
Method 1 is system develop lifecycle create by Arthur Anderson a while back.
13. After The Generation Of A Report To Whom We Have To Deploy Or What We Do After The Completion Of A Report?
The generated report will be sent to the concerned business users through web or LAN.
Subscribe For Free Demo
Error: Contact form not found.
14. After The Complete Generation Of A Report Who Will Test The Report And Who Will Analyze It?
After the completion of reporting, reports will be sent to business analysts. They will analyze the data from different points of view so that they can make a proper business decisions.
15. Can You Pass Sql Queries In Filter Transformation?
We cannot use sql queries in filter transformation. It will not allow you to override default sql query like other transformations (Source Qualifier, lookup)
16. Where The Data Cube Technology Is Used?
A multi-dimensional structure called the data cube. A data abstraction allows one to view aggregated data from a number of perspectives. Conceptually, the cube consists of a core or base cuboids, surrounded by a collection of sub-cubes/cuboids that represent the aggregation of the base cuboids along one or more dimensions. We refer to the dimension to be aggregated as the measure attribute, while the remaining dimensions are known as the feature attributes.
17. How Can You Implement Many Relations In Star Schema Model?
Many-many relations can be implemented by using snowflake schema .With a max of n dimensions.
18. What Is Critical Column?
Let us take one ex: Suppose ‘XYZ’ is customer in Bangalore, he was residing in the city from the last 5 years, in the period of 5 years he has made purchases worth of 3 lacs. Now, he moved to ‘HYD’. When you update the ‘XYZ’ city to ‘HYD’ in your Warehouse, all the purchases by him will show in city ‘HYD’ only. This makes warehouse inconsistent. Here CITY is the Critical Column. Solution is use Surrogate Key.
19. What Is The Main Difference Between Star And Snowflake Star Schema? Which One Is Better And Why?
If u have one to may relation ship in the data then only we choose snowflake schema, as per the performance-wise every-one go for the Star schema. Moreover, if the ETL is concerned with reporting means choose for snowflake because this schema provides more browsing capability than the former schema.
20. What Is The Difference Between Dependent Data Warehouse And Independent Data Warehouse?
Dependent departments are those, which depend on a data ware to for their data.Independent department are those, which get their data directly from the operational data sources in the organization.
21. Which Technology Should Be Used For Interactive Data Querying Across Multiple Dimensions For A Decision Making For A Dw?
22. What Is Virtual Data Warehousing?
A virtual or point-to-point data warehousing strategy means that end-users are allowed to get at operational databases directly using whatever tools are enabled to the “data access network”.
23. What Is The Difference Between Metadata And Data Dictionary?
Meta data is nothing but information about data. It contains the information (i.e. data) about the graphs, its related files, abinitio commands, server information etc i.e. all kinds of information about project related information etc.
24. What Is The Difference Between Mapping Parameter & Mapping Variable In Data Warehousing?
Mapping Parameter defines the constant value and it cannot change the value throughout the session. Mapping Variables defines the value and it can be change throughout the session.
25. Explain The Advantages Of Raid 1, 1/0, And 5. What Type Of Raid Setup Would You Put Your Tx Logs?
The basic advantage of RAID is to speed up the data reading from permanent storage device (hard disk).
26. What Are The Characteristics Of Data Files?
A data file can be associated with only one database. Once created a data file can’t change size. One or more data files form a logical unit of database storage called a table space.
27. What Is Rollback Segment?
A Database contains one or more Rollback Segments to temporarily store “undo” information.
28. What Is A Table Space?
A database is divided into Logical Storage Unit called table spaces. A table space is used to grouped related logical structures together.
29. What Is Database Link?
A database link is a named object that describes a “path” from one database to another.
30. What Is A Private Synonyms?
A Private Synonyms can be accessed only by the owner.
31. What Is A Hash Cluster?
A row is stored in a hash cluster based on the result of applying a hash function to the row’s cluster key value. All rows with the same hash key value are stores together on disk.
32. Describe Referential Integrity?
A rule defined on a column (or set of columns) in one table that allows the insert or update of a row only if the value for the column or set of columns (the dependent value) matches a value in a column of a related table (the referenced value). It also specifies the type of data manipulation allowed on referenced data and the action to be performed on dependent data as a result of any action on referenced data.
33. What Is Schema?
A schema is collection of database objects of a User.
34. What Is Table?
A table is the basic unit of data storage in an ORACLE database. The tables of a database hold all of the user accessible data. Table data is stored in rows and columns.
35. What Is A View?
A view is a virtual table. Every view has a Query attached to it. (The Query is a SELECT statement that identifies the columns and rows of the table(s) the view uses.)
36. What Is An Extent?
An Extent is a specific number of contiguous data blocks, obtained in a single allocation, and used to store a specific type of information.
37. What Is An Index?
An Index is an optional structure associated with a table to have direct access to rows, which can be created to increase the performance of data retrieval. Index can be created on one or more columns of a table.
38. What Is An Integrity Constrains?
An integrity constraint is a declarative way to define a business rule for a column of a table.
Advance your Career with Data Warehousing Training By World Class Faculty
- Instructor-led Sessions
- Real-life Case Studies
39. What Are Clusters?
Clusters are groups of one or more tables physically stores together to share common columns and are often used together.
40. What Are The Different Types Of Segments?
- Data Segment,
- Index Segment,
- Rollback Segment
- Temporary Segment.
41. Explain The Relationship Among Database, Table Space And Data File?
Each databases logically divided into one or more table spaces one or more data files are explicitly created for each table space.
42. What Is An Index Segment?
Each Index has an Index segment that stores all of its data.
43. What Is A Redo Log?
The set of Redo Log files SYSDATE, UID, USER or USERENV SQL functions, or the pseudo columns LEVEL or ROWNUM.
44. What Are The Types Of Synonyms?
There are two types of Synonyms Private and Public.
45. What Are The Referential Actions Supported By Foreign Key Integrity Constraint?
Update And Delete Restrict – A referential integrity rule that disallows the update or deletion of referenced data. DELETE Cascade – When a referenced row is deleted all associated dependent rows are deleted.
46. Do You View Contain Data?
Views do not contain or store data.
47. What Is The Use Of Control File?
When an instance of an ORACLE database is started, its control file is used to identify the database and redo log files that must be opened for database operation to proceed. It is also used in database recovery.
48. Can Objects Of The Same Schema Reside In Different Table Spaces?
49. Can A Table Space Hold Objects From Different Schemes?
50. Can A View Based On Another View?
51. What Is A Full Backup?
A full backup is an operating system backup of all data files, on- line redo log files and control file that constitute ORACLE database and the parameter.
52. What Is Mirrored On-line Redo Log?
A mirrored on-line redo log consists of copies of on-line redo log files physically located on separate disks; changes made to one member of the group are made to all members.
53. What Is Partial Backup?
A Partial Backup is any operating system backup short of a full backup, taken while the database is open or shut down.
54. What Is Restricted Mode Of Instance Startup?
An instance can be started in (or later altered to be in) restricted mode so that when the database is open connections are limited only to those whose user accounts have been granted the RESTRICTED SESSION system privilege.
55. What Is Archived Redo Log?
Archived Redo Log consists of Redo Log files that have archived before being reused.
56. What Are The Steps Involved In Database Shutdown?
Close the Database; Dismount the Database and Shutdown the Instance.
57. What Are The Advantages Of Operating A Database In Archivelog Mode Over Operating It In No Archivelog Mode?
Complete database recovery from disk failure is possible only in ARCHIVELOG mode. Online database backup is possible only in ARCHIVELOG mode.
58. What Are The Different Modes Of Mounting A Database With The Parallel Server?
Exclusive Mode If the first instance that mounts a database does so in exclusive mode, only that Instance can mount the database. Parallel Mode If the first instance that mounts a database is started in parallel mode, other instances that are started in parallel mode can also mount the database.
59. Can Full Backup Be Performed When The Database Is Open?
60. What Are The Steps Involved In Instance Recovery?
Rolling forward to recover data that has not been recorded in data files yet has been recorded in the on-line redo log, including the contents of rollback segments. Rolling back transactions that have been explicitly rolled back or have not been committed as indicated by the rollback segments regenerated in step a.
1) Releasing any resources (locks) held by transactions in process at the time of the failure.
2) Resolving any pending distributed transactions undergoing a two-phase commit at the time of the instance failure.
61. What Are The Steps Involved In Database Startup?
Start an instance, Mount the Database and Open the Database.
62. Which Parameter Specified In The Default Storage Clause Of Create Tablespace Cannot Be Altered After Creating The Table Space?
All the default storage parameters defined for the table space can be changed using the ALTER TABLESPACE command. When objects are created their INITIAL and MINEXTENS values cannot be changed.
63. What Is On-line Redo Log?
The On-line Redo Log is a set of tow or more on-line redo files that record all committed changes made to the database. Whenever a transaction is committed, the corresponding redo entries temporarily stores in redo log buffers of the SGA are written to an on-line redo log file by the background process LGWR. The on-line redo log files are used in cyclical fashion.
64. What Is Log Switch?
The point at which ORACLE ends writing to one online redo log file and begins writing to another is called a log switch.
65. What Is Dimensional Modelling?
Dimensional Modelling is a design concept used by many data warehouse designers to build their data warehouse. In this design model all the data is stored in two types of tables – Facts table and Dimension table. Fact table contains the facts/measurements of the business and the dimension table contains the context of measurements i.e., the dimensions on which the facts are calculated.
66. What Are The Difference Between Snow Flake And Star Schema? What Are Situations Where Snow Flake Schema Is Better Than Star Schema To Use And When The Opposite Is True?
Star schema contains the dimension tables mapped around one or more fact tables. It is a renormalized model and no need to use complicated joins. Also queries results fast.Snowflake schema: It is the normalized form of Star schema. It contains in-depth joins, because the tables are split in to many pieces. We can easily do modification directly in the tables. We have to use complicated joins, since we have more tables.There will be some delay in processing the query.
67. What Is A Cube In Data Warehousing Concept?
Cubes are logical representation of multidimensional data. The edge of the cube contains dimension members and the body of the cube contains data values.
68. What Are The Differences Between Star And Snowflake Schema?
Star schema: A single fact table with N number of DimensionSnowflake schema: Any dimensions with extended dimensions are known as snowflake schema.
69. What Are Data Marts?
A data mart is a collection of tables focused on specific business group/department. It may have multi-dimensional or normalized. Data marts are usually built from a bigger data warehouse or from operational data.
70. What Is The Data Type Of The Surrogate Key?
There is no data type for a Surrogate Key. Requirement of a surrogate Key: UNIQUE Recommended data type of a Surrogate key is NUMERIC.
Learn On-Demand Data Warehousing Course from Real Time ExpertsWeekday / Weekend BatchesSee Batch Details
71. What Are Fact, Dimension, And Measure?
Fact is key performance indicator to analyze the business. Dimension is used to analyze the fact. Without dimension there is no meaning for fact.
72. What Are The Different Types Of Data Warehousing?
Types of data warehousing are:
1. Enterprise Data warehousing
2. ODS (Operational Data Store)
3. Data Mart
73. What Do You Mean By Static And Local Variable?
Static variable is not created on function stack but is created in the initialized data segment and hence the variable can be shared across the multiple call of the same function. Usage of static variables within a function is not thread safe.On the other hand, local variable or auto variable is created on function stack and valid only in the context of the function call and is not shared across function calls.
74. What Is A Source Qualifier?
When you add a relational or a flat file source definition to a mapping, you need to connect it to a Source Qualifier transformation. The Source Qualifier represents the rows that the Informatica Server reads when it executes a session.
75. What Are The Steps To Build The Data Warehouse?
Gathering business requirements>>Identifying Sources>>Identifying Facts>>Defining Dimensions>>Define Attributes>>Redefine Dimensions / Attributes>>Organize Attribute Hierarchy>>Define Relationship>>Assign Unique Identifiers.
76. What Is The Advantages Data Mining Over Traditional Approaches?
Data Mining is used for the estimation of future. For example, if we take a company/business organization, by using the concept of Data Mining, we can predict the future of business in terms of Revenue (or) Employees (or) Customers (or) Orders etc.Traditional approaches use simple algorithms for estimating the future. However, it does not give accurate results when compared to Data Mining.
77. What Is The Difference Between View And Materialized View?
View – store the SQL statement in the database and let you use it as a table. Every time you access the view, the SQL statement executes. Materialized view – stores the results of the SQL in table form in the database. SQL statement only executes once and after that every time you run the query, the stored result set is used. Pros include quick query results.
78. What Is The Main Difference Between Inmon And Kimball Philosophies Of Data Warehousing?
Both differed in the concept of building the data warehouse.According to Kimball, Kimball views data warehousing as a constituency of data marts. Data marts are focused on delivering business objectives for departments in the organization. And the data warehouse is a conformed dimension of the data marts. Hence, a unified view of the enterprise can be obtained from the dimension modeling on a local departmental level.Inmon beliefs in creating a data warehouse on a subject-by-subject area basis. Hence, the development of the data warehouse can start with data from the online store. Other subject areas can be added to the data warehouse as their needs arise. Point-of-sale (POS) data can be added later if management decides it is necessary.
79. What Is Junk Dimension? What Is The Difference Between Junk Dimension And Degenerated Dimension?
Junk dimension: Grouping of Random flags and text attributes in a dimension and moving them to a separate sub dimension. Degenerate Dimension: Keeping the control information on Fact table ex: Consider a Dimension table with fields like order number and order line number and have 1:1 relationship with Fact table, In this case this dimension is removed and the order information will be directly store.
80. Why Fact Table Is In Normal Form?
The fact table consists of the Index keys of the dimension/look up tables and the measures. So whenever we have the keys in a table. That it implies that the table is in the normal form.
81. What Is Difference Between E-r Modeling And Dimensional Modeling?
Basic difference is E-R modeling will have logical and physical model. Dimensional model will have only physical model. E-R modeling is used for normalizing the OLTP database design.Dimensional modeling is used for de-normalizing the ROLAP/MOLAP design.
82. What Is Conformed Fact?
Conformed dimensions are the dimensions, which can be used across multiple Data Marts in combination with multiple facts tables accordingly.
83. What Are The Methodologies Of Data Warehousing?
Every company has methodology of their own. However, to name a few SDLC Methodology, AIM methodology is standard used.
84. What Is Bus Schema?
BUS Schema is composed of a master suite of confirmed dimension and standardized definition if facts.
85. What Is Data Warehousing Hierarchy?
Hierarchies are logical structures that use ordered levels as a means of organizing data. A hierarchy can be used to define data aggregation. For example, in a time dimension, a hierarchy might aggregate data from the month level to the quarter level to the year level. A hierarchy can also be used to define a navigational drill path and to establish a family structure.Within a hierarchy, each level is logically connected to the levels above and below it. Data values at lower levels aggregate into the data values at higher levels. A dimension can be composed of more than one hierarchy. For example, in the product dimension, there might be two hierarchies–one for product categories and one for product suppliers.Dimension hierarchies also group levels from general to granular. Query tools use hierarchies to enable you to drill down into your data to view different levels of granularity. This is one of the key benefits of a data warehouse.When designing hierarchies, you must consider the relationships in business structures. Hierarchies impose a family structure on dimension values. For a particular level value, a value at the next higher level is its parent, and values at the next lower level are its children. These familial relationships enable analysts to access data quickly.
86. What Are Data Validation Strategies For Data Mart Validation After Loading Process?
Data validation is to make sure that the loaded data is accurate and meets the business requirements. Strategies are different methods followed to meet the validation requirements.
87. What Are The Data Types Present In Bo? What Happens If We Implement View In The Designer N Report?
Three different data types: Dimensions, Measure, and DetailView is nothing but an alias and it can be used to resolve the loops in the universe.
88. What Is Surrogate Key? Where We Use It? Explain With Examples.
Surrogate key is a substitution for the natural primary key.It is just a unique identifier or number for each row that can be used for the primary key to the table. The only requirement for a surrogate primary key is that it is unique for each row in the table.
Data warehouses typically use a surrogate, (also known as artificial or identity key), key for the dimension tables primary keys. They can use Info sequence generator, or Oracle sequence, or SQL Server Identity values for the surrogate key.
It is useful because the natural primary key (i.e. Customer Number in Customer table) can change and this makes updates more difficult.
Some tables have columns such as AIRPORT_NAME OR CITY_NAME which are stated as the primary keys (according to the business users) but ,not only can these change, indexing on a numerical value is probably better and you could consider creating a surrogate key called, say, AIRPORT_ID. This would be internal to the system and as far as the client is concerned, you may display only the AIRPORT_NAME.
89. What Is A Linked Cube?
Linked cube in which a sub-set of the data can be analyzed into detail. The linking ensures that the data in the cubes remain consistent.
90. What Is Meant By Metadata In Context Of A Data Warehouse And How It Is Important?
Metadata is the data about data; Business Analyst or data modeler usually capture information about data – the source (where and how the data is originated), nature of data (char, varchar, nullable, existence, valid values etc) and behavior of data (how it is modified / derived and the life cycle) in data dictionary.
Metadata is also presented at the Datamart level, subsets, fact and dimensions, ODS etc. For a DW user, metadata provides vital information for analysis / DSS.
91. What Are The Possible Data Marts In Retail Sales?
Product information and sales information.
92. What Are The Various Etl Tools In The Market?
Various ETL tools used in market are Informatica Data Stage Oracle Warehouse Builder Ab Initio Data Junction.
93. What Is Dimensional Modeling?
Dimensional Modeling is a design concept used by many data warehouse designers to build their data warehouse. In this design model all the data is stored in two types of tables – Facts table and Dimension table. Fact table contains the facts/measurements of the business and the dimension table contains the context of measurements i.e., the dimensions on which the facts are calculated.Dimension modeling is a method for designing data warehouse.
Three types of modeling are there
1. Conceptual modeling
2. Logical modeling
3. Physical modeling.
94. What Is Vldb?
The perception of what constitutes a VLDB continues to grow. A one-terabyte database would normally be considered VLDB.Degenerate dimension: it does not have any link with dimensions and it will not have any attribute.
95. What Is Degenerate Dimension Table?
Degenerate Dimensions: If a table contains the values, which r neither dimension nor measures is called degenerate dimensions. For example invoice id, employee no.A degenerate dimension is data that is dimensional in nature but stored in a fact table.
96. What Is Er Diagram?
The Entity-Relationship (ER) model was originally proposed by Peter in 1976 [Chen76] as a way to unify the network and relational database views. Simply stated the ER model is a conceptual data model that views the real world as entities and relationships. A basic component of the model is the Entity-Relationship diagram, which is used to visually represent data objects. Since Chen wrote his paper the model has been extended and today it is commonly used for database design for the database designer, the utility of the ER model is: it maps well to the relational model. The constructs used in the ER model can easily be transformed into relational tables. It is simple and easy to understand with a minimum of training. Therefore, the database designer to communicate the design to the end user can use the model. In addition, the model can be used as a design plan by the database developer to implement a data model in specific database management software.
97. What Is The Difference Between Snowflake And Star Schema? What Are Situations Where Snowflake Schema Is Better Than Star Schema When The Opposite Is True?
Star schema contains the dimension tables mapped around one or more fact tables.It is a renormalized model and no need to use complicated joins. Also Queries results fast.Snowflake schema is the normalized form of Star schema. It contains in-depth joins, because the tables are spited in to many pieces. We can easily do modification directly in the tables.We have to use complicated joins, since we have more tables. There will be some delay in processing the Query.
98. What Is The Difference Between Star And Snowflake Schemas?
A single fact table with N number of DimensionSnowflake schema: Any dimensions with extended dimensions are known as snowflake schema.
99. Can A Dimension Table Contain Numeric Values?
Yes. However, those data type will be char (only the values can numeric/char).Yes, dimensions even contain numerical because these are descriptive elements of our business.
100. What Is Hybrid Slowly Changing Dimension?
Hybrid SCDs are combination of both SCD 1 and SCD 2.It may happen that in a table, some columns are important and we need to track changes for them i.e. capture the historical data for them whereas in some columns even if the data changes, we don’t care.For such tables we implement Hybrid SCDs, where in some columns are Type 1 and some are Type 2.You can add that it is not an intelligent key but similar to a sequence number and tied to a timestamp typically!
Are you looking training with Right Jobs?Contact Us
- SAP-Bussiness Objects Tutorial
- Msbi Tutorial
- SAP HANA Interview Questions and Answers
- Tableau Tutorial
- What is Dimension Reduction? | Know the techniques
- Difference between Data Lake vs Data Warehouse: A Complete Guide For Beginners with Best Practices
- What is Dimension Reduction? | Know the techniques
- What does the Yield keyword do and How to use Yield in python ? [ OverView ]
- Agile Sprint Planning | Everything You Need to Know