Interview
Interview
Interview
1)Self introduction
2)About project
5) send first three records to one target, next 5 records to another target,
remaining to another target.
-> 1.TAke expression drag column to expression
2.take sequence generator and start value with 1 and drag nexvalue to
expression
3.take router and take both column to the router and make condtion
nexvalue<=3 , nexvalue>3 and nexvalue<=8 and nexvalue>8
4. connect to the output
***********************************************************************************
***********************************************************
Cognizant Interview questions
GROUP BY EMPID);
-> WITH cte AS (SELECT EMPID ,ROW_NUMBER()OVER (PARTITION BY EMPID, ORDER BY EMPID)
as row_num FROM employee)
DELETE FROM cte
WHERE row_num > 1;
So be careful guys
28-5-22
Cognizant Interview Questions
1.explain about scd type 2
-> Transformation needed : expression, Lookup, sequence-generator, router,update-
strategy
2.how to load unique records into one table duplicate records into another table
-> 1. take aggregate transformation find the count of the cloumn
2. take router and make two condtion one is count =1 for unique and count!=1
or default gruop can be used for duplicate
3.indirect file method
-> Used to load the source files with same structure by using singal source
qulifier to the target
6 . Scd 2
-> Transformation needed : expression, Lookup, sequence-generator, router,update-
strategy
8. Partitioning
->Partitioning Option to increases the performance of ETL through parallel data
processing.
9. Hash Auto-Keys
->The Integration Service uses all grouped or sorted ports to generate compound
Partition keys
10.Hash User-Keys
->The Integration Service uses a hash function to group rows of data among
Partitions, We define the number of ports to generate the partition key
10.performance tuning
->to optimize session performance by eliminating performance
bottlenecks.performance bottlenecks mean bez of one object or compoent the entire
session or workflow is getting stopped or running for long time
11. Joins
-> To join the two tables ,inner,left ,right,full
18. Indexes
->Used to speed up the data retrieval form the database . liek select , or
delete,update , insert
19.views
->virtual table of an SQL statement.The fields in a view are fields from one or
more real tables in the database
23.what is worklet and what use of worklet and in which situation we can use it?..
->Worklet:- Group of tasks taken to accomplih a task is known as a Worklet.
Use of Worklet:- You can bind many of the tasks in one place so that they can
easily get identified and also they can be of a specific purpose.
26.Degenerate Dimensions
->When the dimension attribute is stored in the fact table and not in a separate
dimension table
***********************************************************************************
**************************************
Infosys Interview questions
--------------------------------
1)SQl operations
->
2)difference between fact and dimension
-> Fact: Quantitative data , we can make calulation on them
Dimension : Descriptive data, information regarding facts fields
3)push down optimization
-> Convrt the Transformation logic into sql queries and push them into either
source ot target side
4)partitions in informatica
-> parallel processing for workflow
6)dynamic lookup
-> its type of lookup cache . whenever IS peocess the lookup every time the cache
will chnage it is called the lookup cache
&****************
SELECT *
FROM EMPLOYEES
WHERE employee_id NOT IN (SELECT employee_id FROM job_history)
from EMPLOYEES e)
Expression Transformation
Sequence Generator Transformation
Lookup Transformation
Stored Procedure Transformation
XML Source Qualifier Transformation
External Procedure Transformation
Input Transformation(Mapplet)
Output Transformation(Mapplet)