Dear Readers, Welcome to Informatica Interview Questions have been designed specially to get you acquainted with the nature of questions you may encounter during your Job interview for the subject of Informatica. These Informatica Questions are very important for campus placement test and job interviews. As per my experience good interviewers hardly plan to ask any particular questions during your Job interview and these model questions are asked in the online technical test and interview of many IT companies.
Repository is metadata which means it has data about the data(objects). It stores the data regarding the Informatica objects .For eg: We have a folder say “Folder1” and 3 mappings has been created within it, so all the information regarding all objects in mapping and the folder will be stored in repository database in forms of tables.
Repsoitory database is a database which contains all the metadata whereas the repository service is nothing but a service which runs on repository database and provides its services.
OPB_Mapping: This table contains all the mapping names.
Code page contains encoding to specify characters in a set of one or more languages.
Eg: If you have Malaysian or Chinese character in your source data then you have to choose the appropriate code page for these characters else you’ll see square boxes once the data is loaded and processed as Informatica will not be able to understand those characters.
Resilience time is the time defined in Informatica to wait before it lose the connection on a network failure.
Eg: If your resilience time is 180 sec and the network goes down so Informatica will wait for 180 sec and if network is established in between, the connection will be established. If the network is not up within 180 sec so the unsaved data will be lost and the client will be disconnected from the domain or repository
A node in Informatica is logical representation of a machine.
The data movement mode depends on whether Informatica server will process single byte or multi-byte character data set.
There are two data movement modes in Informatica:
I. Unicode: It allows two bytes for each character and uses the additional byte for each non ASCII character(Such as Malaysian characters)
II. ASCII: It holds the data in a single byte.
There are generally three types of methodology used for data migration in Informatica
I. Copy Paste: Copy the folder or object in one repository and click on the destination repository and paste it(This can be done with pmrep command aslo)
II. Import and Export: Exporting the object definition in xml file and then importing it to the destination folder or repository
III. Deployment group: While migrating objects in bulk the deployment group concept comes into picture. Create a deployment group, add then folders and object to it and then migrate the deployment group.
Integrations service is a application service in Informatica which run the workflows and session. It tells the Informatica server how to flow the data from source to target.
Analogy: Integration service is like a carrier truck which carries the goods (data) from one place to other.
pmrep and pmcmd commands are the command line interface to perform Informatica related task. These command s are used most in form of scripts. Pmrep is used for all repository related tasks. Pmcmd is used for Informatica monitor and server related tasks
Eg: pmrep connect –r Repository_name –d Domain_name –n Username –x password
The above command connects to repository. Once connected you can create a folder in repository by below command
Pmrep createfolder –f Foldername –o OwnerName
Some of the pmcmd commands:
Pmcmd startworkflow [ folder]
[ taskInstancePath ]
[ OSProfile] [-wait|-nowait]
[ runInsName] workflow
Pmrep createfolder –f Foldername –o OwnerName
A deployment group is a global object that consists of versioned objects from one or more folders. You use a deployment group to copy the versioned objects to another folder or repository. You can use a deployment group when you want to copy some, but not all, of the objects in a folder. You can also use a deployment group to copy objects from multiple folders
There is no direct approach to revert back a mapping to previous version however it can be achieved by the procedure defined below.
Right click on the mapping->version-View history
All the versions will be listed out. Select the version you want to revert back to and export or save its definition in local drive. Rename the last version with new name and then import the file.
A backup node can be defined for all nodes and services, so incase if the primary node goes down the backup node can take over the control.
Note: You should have the license to create a backup node
To open an older version of an object in the workspace:
I. In the workspace or Navigator, select the object and click Versioning > View History.
II. Select the version you want to view in the workspace and click Tools > Open in Workspace.
Note: An older version of an object is read-only, and the version number appears as a prefix before the object name. You can simultaneously view multiple versions of a non-composite object in the workspace
joining a node to an existing domain can be archived while installing Informatica.
Eg: Server is on machine1 and the new node is on machine2. Then go to machine2-Open Installer->join node to domain while configuring domain and provide the existing domain details.
Yes it is possible to create multiple nodes on same Informatica server
While migrating the folder or workflows make sure the connection name in both environment are same.
I. In the workspace or Navigator, select an object and click Versioning > View History.
II. Select the versions you want to compare and then click Compare > Selected Versions.
Select a version and click Compare > Previous Version to compare a version of the object with the previous version.
The Diff Tool appears.
Primary node is a node where a current node or applications are running and backup node is defined to run the domain or applications services while primary node goes down
Grid in Informatica is used for load balancing. A grid is nothing but a combination of nodes which distributes the request among them.
Eg: node1, node2, node3, node4 are assigned in a grid. 10 workflows started simultaneously. Now instead of giving burden to a single node to run the 10 workflows the request for running workflows will be distributed to all nodes.
It is not possible to create an Integration service without a repository service however a repository can be created without an integration service.
Yes it is possible to create multiple integration service on single repository. This is used when you have to choose different code page for different integration service in same repository
Eg: Repository : ASIA_PACIFIC_Repo is used to load the data for countries specific to ASIA PACIFIC to target warehouse. Different Integration service created for non English countries to support different code page (Malaysia, China, Japan, Thailand)
Native users are the users created with admin console.
LDAP users are the user which are configured with LDAP server (also may be MS Active directory ) and LDAP is integrated with power center to allow users to provide single sign on
Domain is a single point of entry or the administrative unit in Informatica. All the request from different clients (like Designer) first reaches to domain and then routed to associated services. A gateway node is the node on which a domain is defined.
A gateway node is a node on which domain is defined and it act as a router or administrator to all services. All other nodes in a domain are worker nodes where application services like Informatica services, repository services will be running.
SOA or service oriented architecture allows the Informatica to have services on distributed system. You can define a domain on a node say node1 and repository service on node2, repository service on node3. All nodes can be anywhere within a network. Once a request is made from client it goes to the domain or the gateway node and then it directs the request to the appropriate nodes or services.
Yes it is possible to define a node to act as both gateway node as well as worker node.
Eg: The domain is created on node1 and integration services and repository services are also running on the same machine or node. In this case a node will behave both as a domain and a worker node.
Yes it is possible assign a gateway node to a grid.
It is not possible to create two repositories on same instance of database in oracle as it will be creating the metadata tables for repository. However it is possible to create two repositories in oracle on same server if the database instance is different.
Login to admin console. Select the repository-> Action->Backup Content
The backup content will be stored in a XML file and the location of backup directory is defined in domain configuration.
Also you can create a script and schedule it to backup the content on certain date and time.
In script first connect to repository using pmrep command and then backup the content with the below command.
[-f (overwrite existing output file)]
[-b (skip workflow and session logs)]
[-j (skip deploy group history)]
[-q (skip MX data)]
[-v (skip task statistics)]
Stop waits for all running objects to complete and then terminate the process however abort stops the entire object running immediately.
Eg: A workflow is in running state and it’s having 5 sessions in it and only 2 sessions are running.
STOP: It will wait for the running sessions to complete their process and then terminate the workflow. Remaining 3 sessions will not run.
ABORT: It will kill the running session immediately and thus the workflow.
Every session has a property of commit interval. Commit interval is a point after which a session creates a log and commits the transaction at source, target or both levels. For each commit interval it generates an id corresponding for each row and when a session is recovered it reads the last id inserted to target and then proceeds the loading from next row.
Eg: Source is having 1000 rows and commit interval is set to 50 so it will commit for each 50 rows. Now session fails at row no 630. Now the target rows will be committed till 600th row as commit interval is 50. Once we recover a session the loading will start from 601th row.
?Network problems occur.
?A PowerCenter Client, Integration Service, Repository Service, or database machine shuts down improperly.
Exclusive mode is a mode defined while you make any changes to repository service. It’s like a lock while you play with repository configuration so its associated services like integration services will not be able to use its services.
To upgrade Informatica power center from one version to other version follow the below steps.
1. Upgrade Informatica server
2. Login to admin console help->About Informatica administrator and see the upgraded version
3. Select on repository Action->Content->Upgrade
4. Select on repository action-Content->upgrade users and groups
It’s not possible use client with different version than that of its Informatica server.
backup the repository using pmrep and the restore the content on new repository.
Local repository is a repository whose objects are accessible within that repository only.
Global repository: is a repository is a repository which can share its objects among the domain in different repository.
Eg: A mapping created in global repository can be accessed to all repositories in the domain.
It is not possible to make global repository to local because its associated objects might be used by other repositories as well.
A shortcut is a object which is defined inside a shared folder and used in different folders. Where as a copy is the replica of any object.
You cannot change the definition of a shortcut but can be changed in case of a copy.
Shortcut is useful in cases where source or target definition is same across multiple applications.
You just need to drag the source from shared folder and change the connections while creating a workflow in folder.
Parameter file is a file assigned to a session which has configuration details in it. The parameter file is used for reusability. Below things are defined in it.
Connections, mapping parameter, mapping variable
While migrating the data from one environment to other the parameter file should also be copied to new location else the file name on both environments can be same and then just we have to modify the parameter file to pint to the correct environment
The oracle client was not installed properly on Informatica server and also the tns entry in oracle client was not properly. During Informatica server installation the domain was not able to ping to the database due to the client issue.
2. The Informatica admin console was not opening due to open files in OS
Used ulimit –n command to check open files and then increased the no to 4096.
type the below command in command prompt
Ps –ef |grep pm
Check the id for the running session and then kill it using kill command
Kill -9 id
This command is used to follow the log file which keeps on appending.
infaservice.sh startup shutdown
?Complete: Allows the sessions and workflows to run to completion before disabling the service process.
?Stop: Stops all sessions and workflows and then disables the service process.
?Abort: Attempts to stop all sessions and workflows before aborting them and disabling the service process
? Load Balancer: The Integration Service uses the Load Balancer to dispatch tasks. The Load Balancer dispatches tasks to achieve optimal performance. It may dispatch tasks to a single node or across the nodes in a grid.
? Data Transformation Manager (DTM) process: The Integration Service starts a DTM process to run each Session and Command task within a workflow. The DTM process performs session validations, creates threads to initialize the session, read, write, and transform data, and handles pre- and post- session operations.
Manage user connections and locks