Corporate Training
Request Demo
Click me
Menu
Let's Talk
Request Demo

ETL Testing Interview Questions and Answers

by Bhavya Sri, on Mar 15, 2018 6:08:09 PM

ETL Testing Interview Questions and Answers

Q1. What is ETL Testing?

Ans: ETL stands for Extract-Transform-Load and it is a process of how data is loaded from the source system to the data warehouse. Data is extracted from an OLTP database, transformed to match the data warehouse schema and loaded into the data warehouse database.

Q2. Why is this ETL process used?

Ans: Data has become the critical part of all kinds of businesses and operations. Because data is so important to a successful business, poor performance or inaccurate procedure can cost time and money. Therefore, ETL testing is designed to ensure that the data processing is done in the expected way for the business/enterprise to get the benefit out of it.

Q3. What is Full load & Incremental or Refresh load?

Ans: 

  • Initial Load: It is the process of populating all the data warehousing tables for the very first time.
  • Full Load: While loading the data for the first time, all the set records are loaded at a stretch depending on the volume. It erases all the contents of tables and reloads with fresh data.
  • Incremental Load: Applying the dynamic changes as and when necessary in a specific period. The schedule is predefined each period.

Q4. Where are this ETL systems exactly used?

Ans: ETL systems are used by businesses to integrate data from multiple sources. These software systems are key components in ensuring that your company is processing its data efficiently, allowing your business to run smooth and without interruption.

Q5. What tools you have used for ETL testing?

Ans:

  • Data access tools e.g., TOAD, WinSQL, AQT etc. (used to analyze content of tables)
  •  ETL Tools e.g. Informatica, DataStage.
  • Test management tool e.g. Test Director, Quality Center etc. ( to maintain requirements, test cases, defects and traceability matrix)

Q6. Explain what are Cubes and OLAP Cubes?

Ans: Cubes are data processing units comprised of fact tables and dimensions from the data warehouse. It provides multi-dimensional analysis.

OLAP stands for Online Analytics Processing, and OLAP cube stores large data in muti-dimensional form for reporting purposes. It consists of facts called as measures categorized by dimensions.

Q7. What are ETL tester roles and responsibilities?

Ans: Requires in depth knowledge on the ETL tools and processes

Needs to write the SQL queries for the various given scenarios during the testing phase.

Test components of  ETL data warehouse

Execute backend data-driven test

Create, design and execute test cases, test plans and test harness

Identify the problem and provide solutions for potential issues

Approve requirements and design specifications

Data transfers and Test flat file

Writing SQL queries for various scenarios like count test.

Should be able to carry our different types of tests such as Primary Key, defaults and keep a check on the other functionality of the ETL process.

Quality Check.

Q8. What is ETL testing in comparison with data base testing?

Ans:

  • Verifies whether data is moved as expected• Verifies whether counts in the source an target are matching• Verifies whether data is transformed as expected• Verifies that the foreign primary key relations are preserved during the ETL• Verifies for duplication in loaded data.

     

Q9. What Is The Difference Between Etl Tool And Olap Tools?

Ans: ETL tool is meant for extraction data from the legacy systems and load into specified database with some process of cleansing data.

ex: Informatica, data stage ....etc

OLAP is meant for Reporting purpose in OLAP data available in Multidirectional model. so that you can write simple query to extract data from the data base.

ex: Business objects, Cognos....etc

Q10. Explain what factless fact schema is and what is Measures?

Ans: A fact table without measures is known as Factless fact table. It can view the number of occurring events. For example, it is used to record an event such as employee count in a company.

Q11. What Is Ods (operation Data Source)?

Ans:

ODS: Operational Data Store.

ODS: Comes between staging area & Data Warehouse. The data is ODS will be at the low level of granularity.

Once data was populated in ODS aggregated data will be loaded into EDW through ODS.

Q12. What Is A Staging Area? Do We Need It? What Is The Purpose Of A Staging Area?

Ans: Data staging is actually a collection of processes used to prepare source system data for loading a data warehouse. Staging includes the following steps:

  • Source data extraction, Data transformation (restructuring),
  • Data transformation (data cleansing, value transformations),
  • Surrogate key assignments.

Q13. What is a three-tier data warehouse?

Ans: Most data warehouses are considered to be a three-tier system. This is essential to their structure. The first layer is where the data lands. This is the collection point where data from outside sources is compiled. The second layer is known as the ‘integration layer.’ This is where the data that has been stored is transformed to meet company needs. The third layer is called the ‘dimension layer,’ and is where the transformed information is stored for internal use.

Q14. What is the difference between data mining and data warehousing? 

Ans: Data warehousing comes before the mining process. This is the act of gathering data from various exterior sources and organizing it into one specific location: the warehouse. Data mining is when that data is analyzed and used as information for making decisions.

Q15. What is partitioning and what are some types of partitioning?

Ans: Partitioning is when an area of data storage is sub-divided to improve performance. Think of it as an organizational tool. If all your collected data is in one large space without organization the digital tools used for analyzing it will have a more difficult time finding the information in order to analyze it. Partitioning your warehouse will create an organizational structure that will make locating and analyzing easier and faster.

Two types of partitioning are round-robin partitioning and Hash Partitioning. Round-robin partitioning is when the data is evenly distributed among all partitions. This means that the number of rows in each partition is relatively the same. Hash partitioning is when the server applies a hash function in order to create partition keys to group data.

Q16. What process is exactly involved in ETL testing?

Ans: The process of ETL allows a business/enterprise to collect important data from different source systems and validate/change it to fit their goals and models, and then store it in data warehouse for analytic, forecasts and other kinds of reports for daily use. In a world of digital enterprise, it is a critical part of running an effective and efficient business.

Q17. What are the different ETL testing operations?

Ans: ETL testing includes the following :

Verify whether the data is transforming correctly according to business requirements.

Verify that the projected data is loaded into the data warehouse without any truncation and data loss.

Make sure that ETL application reports invalid data and replaces with default values.

Make sure that data loads at expected time frame to improve scalability and performance.

Q18. Explain what is tracing level and what are the types?

Ans: Tracing level is the amount of data stored in the log files. Tracing level can be classified in two Normal and Verbose. Normal level explains the tracing level in a detailed manner while verbose explains the tracing levels at each and every row.

Q19. Explain what is Grain of Fact?

Ans: Grain fact can be defined as the level at which the fact information is stored. It is also known as Fact Granularity.

Q20. What is Data base testing?

Ans: Data base testing contains different steps compared to data ware house testing:

  • Database testing is done using smaller scale of data normally with OLTP (Online transaction    processing) type of databases.
  • In database testing normally data is consistently injected from uniform sources.
  • We generally perform only CRUD (Create, read, update and delete) operation in database testing.
  • Normalized databases are used in DB testing.

Q21. Why ETL testing is required?

Ans: To verify the Data which are being transferred from one system to the other in the described patter/manner by the business (requirements).

Q22. What are snapshots? What are materialized views & where do we use them? What is a materialized view log?

Ans:

  • Snapshots are copies of read-only data of a master table.
  • They are located on a remote node that is refreshed periodically to reflect the changes made to the master table.
  • They are replica of tables.

Views:

  • Views are built by using attributes of one or more tables.
  • View with single table can be updated, whereas view with multiple tables cannot be updated.

Materialized View log:

  • A materialized view is a pre computed table that has aggregated or joined data from fact tables and dimension tables.
  • To put it simple, a materialized view is an aggregate table.

Q23. What is partitioning? Explain about Round-Robin, Hash partitioning.

Ans:

  • Partitioning is to sub divide the transactions to improve performance.
  • Increasing the number of partitions enables Informatica Server for creation of multiple connections to various sources.
  • The following are the partitions.

Round-Robin Partitioning:

  • Data is distributed evenly by Informatica among all partitions.
  • This partitioning is used where the number of rows to process in each partition are approximately same

Hash Portioning:

  • Informatica server applies a hash function for the purpose of partitioning keys to group data among partitions.
  • It is used where ensuring the processes groups of rows with the same partitioning key in the same partition, need to be ensured.

Q24. What are the differences between Connected and Unconnected lookup?

Ans: Connected Lookup:

  • Participates in mapping.
  •  Returns multiple values.
  • Can be connected to another transformations and returns a value.

Unconnected Lookup:

  • It is used when lookup function is used instead of an expression transformation while mapping, where lookup does not available in the main flow.
  • Returns only one output port.
  • It cannot be connected to another transformation.
  • Unconnected Lookups are reusable.

Q25. How to fine tune mappings?

Ans: The following are the steps to fine tune mappings:

  • Use the condition for filter in source qualifies without using filter.
  •  Utilize persistence and cache that is shared in look up t/r.
  • Use the aggregations t/r in sorted i/p group by different ports.
  • Use operators in expressions instead of functions.
  • Increase the cache size and commit interval.
Topics:ETL Testing Interview Questions and AnswersInformation Technologies (IT)

Comments

Subscribe

Top Courses in Python

Top Courses in Python

We help you to choose the right Python career Path at myTectra. Here are the top courses in Python one can select. Learn More →

aathirai cut mango pickle

More...