i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
Snowflake schema is a normalized form of star schema with additional dimension tables.
Snowflake schema is a data modeling technique used in data warehousing.
In snowflake schema, dimensions are normalized into multiple related tables.
Snowflake schema reduces redundancy and improves data integrity.
Star schema is a denormalized form of snowflake schema with a single dimension table.
In star schema, dimensions are not norma...
I applied via Naukri.com and was interviewed in Aug 2023. There were 2 interview rounds.
Types of SCD include Type 1, Type 2, Type 3, and Type 4.
Type 1 - Overwrite: Old record is replaced with new data.
Type 2 - Add new row: New record is added with a new surrogate key.
Type 3 - Update: New column is added to track changes.
Type 4 - Hybrid: Combination of Type 1 and Type 2.
I applied via Referral and was interviewed in Nov 2022. There were 4 interview rounds.
The number of staging, dimension and fact tables in source and target systems need to be compared.
Compare the number of staging, dimension and fact tables in source and target systems.
Check if the table names and column names are consistent in both systems.
Verify if the data types and data values are matching in both systems.
Ensure that the ETL process is properly mapping the data from source to target systems.
Perform ...
Test data creation types include manual, automated, random, boundary, and negative testing.
Manual testing involves creating data by hand
Automated testing uses tools to generate data
Random testing involves creating data randomly
Boundary testing involves testing data at the limits of its range
Negative testing involves testing invalid or unexpected data
SQL query to find the last day of the previous month.
Use the DATEADD function to subtract one day from the first day of the current month
Use the DAY function to get the day of the month
Subtract the day of the month from the date to get the last day of the previous month
To display horizontal Oracle into vertical Oracle, we can use the PIVOT function in SQL.
The PIVOT function is used to transform rows into columns.
It requires an aggregate function to be specified.
The PIVOT function can be used with the SELECT statement.
The PIVOT function can also be used with dynamic SQL.
Example: SELECT * FROM table_name PIVOT (SUM(column_name) FOR pivot_column IN (value1, value2, value3));
To fetch last 5 records from a table in SQL
Use SELECT statement to retrieve data from the table
Use ORDER BY clause to sort the data in descending order based on a column
Use LIMIT clause to limit the number of rows returned to 5
I will analyze the root cause and work with the team to fix the issue and prevent future occurrences.
Analyze the bug and identify the root cause
Work with the team to fix the issue
Implement measures to prevent future occurrences
Communicate the issue and resolution to stakeholders
What people are saying about Cognizant
I was interviewed before Feb 2023.
Cognizant interview questions for designations
Unique key allows null values while primary key does not.
Primary key is a unique identifier for a record in a table.
Unique key allows null values but primary key does not.
A table can have only one primary key but multiple unique keys.
Example: Employee ID can be a primary key while email can be a unique key.
Union combines the result sets of two or more SELECT statements, while Union All combines all rows from two or more SELECT statements.
Union removes duplicate rows, while Union All does not.
Union requires the number and order of columns in all SELECT statements to be the same, while Union All does not have this requirement.
Example: SELECT column1 FROM table1 UNION SELECT column1 FROM table2;
Example: SELECT column1 FROM
At landing and staging area, I will perform data validation to ensure accuracy and completeness of data.
Validate data against source system
Check for missing or duplicate data
Verify data types and formats
Ensure data integrity and consistency
Perform data profiling and data quality checks
To find the last 5 records, use the ORDER BY clause with a descending order and limit the result to 5. To find unique records, use the DISTINCT keyword.
To find the last 5 records, use the ORDER BY clause with a descending order and limit the result to 5.
Example: SELECT * FROM table_name ORDER BY column_name DESC LIMIT 5
To find unique records, use the DISTINCT keyword.
Example: SELECT DISTINCT column_name FROM table_name
Self join is joining a table with itself. Types of joins are inner, outer, left and right. CDC is change data capture used for tracking data changes.
Self join is used when we need to join a table with itself to retrieve data.
Types of joins are inner, outer, left and right join.
CDC is used to track data changes in the source system and apply those changes to the target system.
CDC can be used in ETL testing to verify tha...
SCD stands for Slowly Changing Dimensions. There are three types of SCD: Type 1, Type 2, and Type 3.
Type 1: Overwrites old data with new data.
Type 2: Creates a new record for new data and keeps the old record for historical data.
Type 3: Creates a new column for new data and keeps the old column for historical data.
Get interview-ready with Top Cognizant Interview Questions
I applied via Naukri.com and was interviewed in Dec 2020. There were 3 interview rounds.
ETL architecture refers to the design and structure of the ETL process.
ETL architecture involves three main components: extraction, transformation, and loading.
Data is extracted from various sources, transformed to fit the target system, and loaded into the target database.
ETL architecture can be implemented using different tools and technologies, such as ETL software, data integration platforms, and cloud-based soluti...
A fact is a piece of information that is known to be true or proven through evidence.
Facts are objective and can be verified through research or observation.
Facts are not opinions or beliefs.
Examples of facts include the boiling point of water, the population of a city, and historical events that have been documented.
Facts can be used to support arguments or conclusions.
Facts can change over time as new information is
Fact table is a table in a data warehouse that stores quantitative data about a business process.
Contains foreign keys to dimension tables
Stores numerical data such as sales, revenue, etc.
Used for analysis and reporting
Can have multiple fact tables in a data warehouse
Dimensions are attributes or characteristics of data that can be used for analysis and reporting.
Dimensions are used in data warehousing and business intelligence to categorize and organize data.
Types of dimensions include time, geography, product, customer, and organization.
Dimensions can be hierarchical, with subcategories and levels of detail.
Dimensions are often used in conjunction with measures, which are the nume
SCD types are used to track changes in data over time in a data warehouse.
SCD stands for Slowly Changing Dimensions.
There are three types of SCD: Type 1, Type 2, and Type 3.
Type 1 overwrites old data with new data.
Type 2 creates a new record for each change and keeps a history of changes.
Type 3 keeps both old and new data in the same record.
SCD types are important for maintaining data integrity and accuracy in a data w
The schema used in my project was a star schema.
Star schema is a type of data warehouse schema where a central fact table is connected to multiple dimension tables.
The fact table contains the measurements or metrics of the business process, while the dimension tables provide context and descriptive attributes.
This schema is commonly used in data warehousing and business intelligence applications.
Example: In a sales ana...
Prerequisites for ETL testing include understanding of data warehousing concepts, SQL, and ETL tools.
Understanding of data warehousing concepts
Proficiency in SQL
Familiarity with ETL tools such as Informatica, Talend, or SSIS
Knowledge of data mapping and transformation
Ability to write test cases and execute them
Experience in data validation and reconciliation
Understanding of data quality and data profiling
Knowledge of s...
A data mart is a subset of a larger data warehouse that is designed to serve a specific business unit or department.
Contains a subset of data from a larger data warehouse
Designed to serve a specific business unit or department
Provides a more focused view of data for analysis and reporting
Can be created using a top-down or bottom-up approach
Examples include sales data mart, marketing data mart, finance data mart
A data repository is a centralized location where data is stored, managed, and maintained.
It is used to store and manage data in a structured manner
It can be a database, data warehouse, or data lake
It allows for easy access and retrieval of data
Examples include Hadoop Distributed File System (HDFS), Amazon S3, and Oracle Database
To identify latest record in SCD, check the effective end date column.
Look for the record with the latest effective end date
Effective end date column should have the maximum date value
If there are multiple records with the same effective end date, choose the one with the latest modified date
I applied via Naukri.com and was interviewed before Jun 2021. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed before Jan 2024. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There was 1 interview round.
Drop command deletes the table structure along with data, while truncate command deletes only the data.
Drop command removes the table structure and all its data, while truncate command only removes the data but keeps the table structure intact.
Drop command is a DDL (Data Definition Language) command, while truncate command is a DML (Data Manipulation Language) command.
Drop command is slower than truncate command as it ...
In my project, I perform validations such as data completeness, data accuracy, data transformation, and data integrity checks.
Data completeness checks to ensure all required fields are populated
Data accuracy checks to verify the correctness of data
Data transformation checks to validate the transformation rules are applied correctly
Data integrity checks to maintain data consistency and reliability
Star Schema is a type of database schema where a central fact table is connected to multiple dimension tables. Snowflake Schema is a normalized form of Star Schema where dimension tables are further normalized into sub-dimension tables.
Star Schema has a central fact table connected to multiple dimension tables
Snowflake Schema is a normalized form of Star Schema with sub-dimension tables
Star Schema is denormalized for b...
Fact tables contain quantitative data while dimension tables contain descriptive attributes.
Fact tables store measurable, quantitative data such as sales revenue or quantity sold
Dimension tables store descriptive attributes related to the data in the fact table, such as product name or customer details
Fact tables are typically normalized while dimension tables are denormalized for easier querying
Example: In a sales dat...
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Project architecture refers to the overall structure of a software project, including components, modules, and their interactions.
Project architecture defines how different components of a software project are organized and interact with each other.
It includes the high-level design of the system, such as the database structure, data flow, and integration points.
Project architecture also involves decisions on technologi...
Challenges in ETL testing include data quality issues, complex transformations, and handling large volumes of data.
Data quality issues such as missing or incorrect data can impact testing results
Complex transformations can be difficult to validate and may lead to errors in the ETL process
Handling large volumes of data can slow down testing processes and require efficient testing strategies
Roles and responsibilities refer to the tasks and duties assigned to an individual within a specific job or position.
Roles define the position or job title of an individual within an organization.
Responsibilities outline the specific tasks, duties, and expectations associated with that role.
Roles and responsibilities help clarify expectations, define boundaries, and ensure accountability.
Examples include testing data e...
Use a dictionary to find duplicate values in an array of strings in Python.
Create an empty dictionary to store the count of each string in the array.
Iterate through the array and for each string, check if it exists in the dictionary. If it does, increment the count. If not, add it to the dictionary with a count of 1.
After iterating through the array, check the dictionary for any strings with a count greater than 1. The
1 Interview rounds
based on 35 reviews
Rating in categories
Associate
72.4k
salaries
| ₹5.1 L/yr - ₹15.9 L/yr |
Programmer Analyst
55.4k
salaries
| ₹2.4 L/yr - ₹9.6 L/yr |
Senior Associate
48.3k
salaries
| ₹9 L/yr - ₹27.1 L/yr |
Senior Processing Executive
28.6k
salaries
| ₹1.8 L/yr - ₹9 L/yr |
Technical Lead
17.6k
salaries
| ₹5.9 L/yr - ₹24 L/yr |
TCS
Infosys
Wipro
Accenture