IDQ Interview Questions and Answers

 Categories of IDQ Interview Questions

1Q) What are the types of loading in Informatica?

Ans: There are two types of loading, normal loading, and bulk loading. In normal loading, it loads record by record and writes log for that. It takes comparatively a longer time to load data to the target in normal loading. But in bulk loading, it loads a number of records at a time to target database. It takes less time to load data to the target.

2Q) What is aggregate cache in aggregator transformation?

Ans: The aggregator stores data in the aggregate cache until it completes aggregate calculations. When you run a session that uses an aggregator transformation, the Informatica server creates index and data caches in memory to process the transformation. If the Informatica server requires more space, it stores overflow values in cache files.

3Q) How can you define a transformation? What are the different types of transformations available in Informatica?

Ans: A transformation is a repository object that generates, modifies, or passes data. The Designer provides a set of transformations that perform specific functions. For example, an Aggregator transformation performs calculations on groups of data. Below are the various transformations available in Informatica:

4Q) What is the Surrogate key?

Ans: The surrogate key is a substitution for the natural primary key. It is just a unique identifier or number of each row that can be used for the primary key to the table.

5Q) Define the Informatica repository?

Ans: Informatica Repository: The Informatica repository is at the center of the Informatica suite. You create a set of metadata tables within the repository database that the Informatica application and tools access. The Informatica client and server access the repository to save and retrieve metadata.

6Q) What are the tasks that the source qualifier performs?

Ans: Join data originating from the same source database. Filter records when the Informatica server reads source data. Specify an outer join rather than the default inner join specify sorted records. Select only distinct values from the source. Creating a custom query to issue a special SELECT statement for the Informatica server to read source data.

7Q) What is the target load order?

Ans: Specify the target load order based on source qualifiers in a mapping. If you have the multiple source qualifiers connected to the multiple targets you can designate the order in which the Informatica server loads data into the targets.

8Q) How Union Transformation is used?

Ans: The union transformation is a multiple-input group transformation that can be used to merge data from various sources (or pipelines). This transformation works just like UNION ALL statement in SQL, which is used to combine the result set of two SELECT statements.

9Q) Can two flat files be joined with Joiner Transformation?

Ans: Yes, joiner transformation can be used to join data from two flat file sources.

10Q) What is a lookup transformation?

Ans: This transformation is used to lookup data in a flat-file or a relational table, view, or synonym. It compares lookup transformation ports (input ports) to the source column values based on the lookup condition. Later returned values can be passed to other transformations.

11Q) Which transformation should you need while using the COBOL sources as source definitions?

Ans: Normalizer transformation which is used to normalize the data. Since COBOL sources often consist of Denormalized data.

12Q) What is the difference between a connected lookup and an unconnected lookup?

Ans: The connected lookup takes input values directly from other transformations in the pipeline.

Unconnected lookup doesn't take inputs directly from any other transformation, but it can be used in any transformation (like expression) and can be invoked as a function using: LKP expression. So, an unconnected lookup can be called multiple times in a mapping.

13Q) What are the types of data that pass between the Informatica server and the stored procedure?

Ans:

3 types of data

  1. Input/Output parameters
  2. Return Values
  3. Status code.

Informatica Data Quality Tutorials

14Q) What is the status code?

Ans: Status code provides error handling for the Informatica server during the session. The stored procedure issues a status code that notifies whether or not the stored procedure completed successfully. This value can not be seen by the user. It only used by the Informatica server to determine whether to continue running the session or stop.

15Q) What is the source qualifier transformation?

Ans: 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 transformation represents the records that the Informatica Server reads when it runs a session.

 

IDQ Certification Questions and Answers

16Q) How many types of dimensions are available in Informatica?

Ans: There are three types of dimensions available are :

  1. Junk dimension
  2. Degenerative Dimension
  3. Conformed Dimension

17Q) What is the maplet?

Ans: Maplet is a set of transformations that you build in the maplet designer and you can use in multiple mappings

18Q) What are Session and Batches?

Ans: Session:

A session is a set of commands that describes the server to move data to the target.

Batch:

A Batch is a set of tasks that may include one or more number of tasks (sessions, event wait, email, command, etc).

19Q) What are slowly changing dimensions?

Ans: Dimensions that change over time are called Slowly Changing Dimensions(SCD).

Slowly Changing Dimension-Type 1: Which has only current records.

Slowly Changing Dimension-Type2: Which has current records + historical records.

Slowly Changing Dimension-Type3: Which has current records + one previous records.

20Q) What is the difference between Active and Passive transformation?

Ans: Active Transformation: An active transformation can change the number of rows that pass through it from source to target i.e it eliminates rows that do not meet the condition in transformation.

Passive Transformation: A passive transformation does not change the number of rows that pass through it i.e it passes all rows through the transformation.

21Q) What is the Aggregator Transformation?

Ans: Aggregator transformation is an Active and Connected transformation. This transformation is useful to perform calculations such as averages and sums (mainly to perform calculations on multiple rows or groups).

22Q) What are Expression transformation?

Ans: Expression transformation is a Passive and Connected transformation. This can be used to calculate values in a single row before writing to the target.

23Q) What is Filter transformation?

Ans: Filter transformation is an Active and Connected transformation. This can be used to filter rows in a mapping that does not meet the condition.

24Q) What is Joiner's transformation?

Ans: Joiner Transformation is an Active and Connected transformation. This can be used to join two sources coming from two different locations or from the same location.

25Q) Why we use lookup transformations?

Ans: Lookup Transformations can access data from relational tables that are not sourced in mapping.

26Q) What is the Normalizer transformation?

Ans: Normalizer Transformation is an Active and Connected transformation. It is used mainly with COBOL sources where most of the time data is stored in a denormalized format. Also, Normalizer transformation can be used to create multiple rows from a single row of data.

27Q) What is Rank transformation?

Ans: Rank transformation is an Active and Connected transformation. It is used to select the top or bottom rank of data.

28Q) What is Router transformation?

Ans: Router transformation is an Active and Connected transformation. It is similar to filter transformation. The only difference is, filter transformation drops the data that do not meet the condition whereas the router has an option to capture the data that do not meet the condition. It is useful to test multiple conditions.

29Q) What is the Sorter transformation?

Ans: Sorter transformation is a Connected and an Active transformation. It allows to sort data either in ascending or descending order according to a specified field

IDQ Interview Questions For Experienced!

30Q) Name four output files that the information server creates during the session running?

Ans: Session Log ,Workflow Log,Errors Log, Badfile

31Q) Why we use stored procedure transformation?

Ans: A stored procedure transformation is an important tool for populating and maintaining databases.

32Q) What is the difference between static cache and dynamic cache?

Ans: Dynamic cache decreases the performance in comparison to the static cache.

Static cache do not see such things just insert data as many times as it is coming

33Q) Define mapping and sessions?

Ans: Mapping:

It is a set of source and target definitions linked by transformation objects that define the rules for transformation.

Session:

It is a set of instructions that describe how and when to move data from source to target.

34Q) What is a command that used to run a batch?

Ans: pmcmd is used to start a batch.

35Q) What is Data-driven?

Ans: The Informatica server follows instructions coded into update strategy transformations within the session mapping determine how to flag records for insert, update, delete or reject.

36Q) What is the power center repository?

Ans: The PowerCenter repository allows you to share metadata across repositories to create a data mart domain.

37Q)What is the parameter file?

Ans: A parameter file is a file created by text editors such as word pad or notepad. U can define the following values in the parameter file.

  • Maping parameters
  • Maping variables
  • session parameters.

38Q) What are the types of lookup caches?

Ans: Static cache Dynamic cache Persistent cache Shared cache Recache.

39Q) What are the differences between Connected and Unconnected Lookup?

Ans:

Connected LookupUnconnected Lookup
Connected lookup participates in dataflow and receives input directly from the pipelineUnconnected lookup receives input values from the result of a LKP: expression in another transformation
Connected lookup can use both dynamic and static cacheUnconnected Lookup cache can NOT be dynamic
Connected lookup can return more than one column value ( output port )Unconnected Lookup can return only one column value i.e. output port
Connected lookup caches all lookup columnsUnconnected lookup caches only the lookup output ports in the lookup conditions and the return port
Unconnected lookup caches only the lookup output ports in the lookup conditions and the return portSupports user-defined default values (i.e. value to return when lookup conditions are not satisfied)

 

40Q) What is the fact table?

Ans: The centralized table in a star schema is called a fact table. Fact tables are three types

Additive   non-additive   semi-additive

41Q) What is a Data warehouse?

Ans: According to Bill Inmon, known as the father of Data warehousing. “A Data warehouse is a subject-oriented, integrated,time-variant, nonvolatile collection of data in support of management’s decision-making process”.

42Q)What is Data Transformation Manager(DTM)?

Ans: After the load manager performs validations for the session, it creates the DTM process. The DTM process is the second process associated with the session run.

43Q) How can you define a transformation?

Ans: A transformation is a repository object that generates, modifies, or passes data. The Designer provides a set of transformations that perform specific functions.

44Q) What is the Lookup transformation?

Ans: Lookup transformation is Passive and it can be both Connected and UnConnected as well. It is used to lookup data in a relational table, view, or synonym. Lookup definition can be imported either from source or from target tables.

45Q) What is the difference between maplet and reusable transformation?

Ans: Maplet consists of a set of transformations that are reusable.

A reusable transformation is a single transformation that can be reusable.

46Q) What is the Update Strategy transformation?

Ans: Update strategy transformation is an active and connected transformation. It is used to update data in the target table, either to maintain a history of data or recent changes. You can specify how to treat source rows in table, insert, update, delete, or data-driven.

Informatica Data Quality Training

Informatica Data Quality Interview Questions

47Q) What is the difference between Router and Filter?

Ans:

RouterFilter
Router transformation divides the incoming records into multiple groups based on some condition. Such groups can be mutually inclusive (Different groups may contain same record)Filter transformation restricts or blocks the incoming recordset based on one given condition.
Filter transformation restricts or blocks the incoming recordset based on one given condition.Filter transformation does not have a default group. If one record does not match filter condition, the record is blocked
Router acts like CASE.. WHEN statement in SQL (Or Switch().. Case statement in C)Router acts like CASE.. WHEN statement in SQL (Or Switch().. Case statement in C)

 

48Q)What is the update strategy and what are the options for update strategy?

Ans: Informatica processes the source data row-by-row. By default, every row is marked to be inserted in the target table. If the row has to be updated/inserted based on some logic Update Strategy transformation is used. The condition can be specified in Update Strategy to mark the processed row for an update or insert.

The following options are available for update strategy :

DD_INSERTIf this is used the Update Strategy flags the row for insertion. Equivalent numeric value of DD_INSERT is 0.
DD_UPDATEIf this is used the Update Strategy flags the row for update. Equivalent numeric value of DD_UPDATE is 1.
DD_DELETEIf this is used the Update Strategy flags the row for deletion. Equivalent numeric value of DD_DELETE is 2.
DD_REJECTIf this is used the Update Strategy flags the row for rejection. Equivalent numeric value of DD_REJECT is 3.

 

49Q) What can we do to improve the performance of Informatica Aggregator Transformation?

Ans: Aggregator performance improves dramatically if records are sorted before passing to the aggregator and the "sorted input" option under aggregator properties is checked. The recordset should be sorted on those columns that are used in Group By operation.

50Q)What is the different lookup cache(s)?

Ans: Informatica Lookups can be cached or uncached (No cache). And Cached lookup can be either static or dynamic. A static cache is one that does not modify the cache once it is built and it remains the same during the session run. On the other hand, A dynamic cache is refreshed during the session run by inserting or updating the records in the cache based on the incoming source data. By default, the Informatica cache is a static cache.

Lookup cache can also be divided as persistent or nonpersistent based on whether Informatica retains the cache even after the completion of session run or deletes it

51Q) How can we update a record in the target table without using the Update strategy?

Ans: A target table can be updated without using 'Update Strategy'. For this, we need to define the key in the target table at the Informatica level and then we need to connect the key and the field we want to update in the mapping Target. In the session level, we should set the target property as "Update as Update" and check the "Update" check-box.

52Q) What is the difference between Static and Dynamic Lookup Cache?

Ans: We can configure a Lookup transformation to cache the underlying lookup table. In the case of static or read-only lookup cache, the Integration Service caches the lookup table at the beginning of the session and does not update the lookup cache while it processes the Lookup transformation.

In the case of a dynamic lookup cache, the Integration Service dynamically inserts or updates data in the lookup cache and passes the data to the target. The dynamic cache is synchronized with the target.

In case you are wondering why do we need to make lookup cache dynamic, read this article on dynamic lookup

Let's assume we have a target table "Customer" with fields as "Customer ID", "Customer Name" and "Customer Address". Suppose we want to update "Customer Address" without an Update Strategy. Then we have to define "Customer ID" as the primary key in the Informatica level and we will have to connect Customer ID and Customer Address fields in the mapping. If the session properties are set correctly as described above, then the mapping will only update the customer address field for all matching customer IDs.

53Q) Why is Sorter an Active Transformation?

Ans: This is because we can select the "distinct" option in the sorter property.

When the Sorter transformation is configured to treat output rows as distinct, it assigns all ports as part of the sort key. The Integration Service discards duplicate rows compared during the sort operation. The number of Input Rows will vary as compared with the Output rows and hence it is an Active transformation.

54Q) Is it lookup an active or passive transformation?

Ans: From Informatica 9x, Lookup transformation can be configured as as "Active" transformation.

55Q) What is the difference between STOP and ABORT options in Workflow Monitor?

Ans: When we issue the STOP command on the executing session task, the Integration Service stops reading data from the source. It continues processing, writing, and committing the data to targets. If the Integration Service cannot finish processing and committing data, we can issue the abort command.

In contrast, the ABORT command has a timeout period of 60 seconds. If the Integration Service cannot finish processing and committing data within the timeout period, it kills the DTM process and terminates the session.

56Q) When we install the Informatica PowerCenter, the following components get installed?

Ans:

  • powercenter clients
  • Integration service
  • powercenter Repository service
  • powercenter Repository
  • powercenter Domain
  • powercenter Administration console