Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Cognizant Team. If you also belong to the team, you can get access from here

Cognizant Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Cognizant Interview Questions and Answers

Updated 25 Jun 2025
Popular Designations

2.9k Interview questions

A Programmer Analyst was asked 3d ago
Q. What is the difference between partition and cluster?
Ans. 

Partitions divide data into distinct sections, while clusters group similar data points together for analysis.

  • Partitioning involves dividing a dataset into non-overlapping segments, e.g., dividing a database into tables.

  • Clustering groups similar data points based on characteristics, e.g., customer segmentation in marketing.

  • Partitions are often used for data organization and management, while clusters are used for ...

View all Programmer Analyst interview questions
A Programmer Analyst was asked 3d ago
Q. Why are we moving to modern data warehousing?
Ans. 

Modern data warehousing enhances scalability, performance, and analytics capabilities for better decision-making.

  • Scalability: Modern data warehouses can easily scale to accommodate growing data volumes, such as cloud-based solutions like Snowflake.

  • Real-time analytics: They support real-time data processing, enabling businesses to make timely decisions, as seen with platforms like Google BigQuery.

  • Cost-effectiveness...

View all Programmer Analyst interview questions
A Data Scientist was asked 2w ago
Q. What is Principal Component Analysis (PCA), and how does it work?
Ans. 

PCA is a dimensionality reduction technique that transforms data into a lower-dimensional space while preserving variance.

  • PCA identifies the directions (principal components) in which the data varies the most.

  • It computes the covariance matrix of the data to understand how variables relate to one another.

  • Eigenvalues and eigenvectors are derived from the covariance matrix to determine the principal components.

  • Data i...

View all Data Scientist interview questions
A Data Scientist was asked 2w ago
Q. Why is feature selection necessary, and what is the process by which it operates?
Ans. 

Feature selection improves model performance by reducing overfitting, enhancing interpretability, and speeding up training.

  • Reduces overfitting: Fewer features lead to simpler models that generalize better. Example: Using only age and blood pressure in a health model.

  • Enhances interpretability: Fewer features make it easier to understand model decisions. Example: A model with 3 features is easier to explain than one...

View all Data Scientist interview questions

What people are saying about Cognizant

View All
a junior software engineer
6d
Job offer in Malaysia - legit or scam?
Hey everyone, I received a job proposal from Mindgraph for a Junior Mainframe Developer position in Malaysia (onsite). Not sure if it's a real deal. They found my resume on Naukri and the offer includes: * Experience: 3+ years on cardlink, VSAM, CICS, JCL * Location: Malaysia (Accenture client in Kuala Lumpur) * Notice: 0-60 days * Benefits: One-way ticket, 1-week stay, medical insurance, visa. Has anyone heard of Mindgraph or had a similar experience? Note : This is a permanent position with Mindgragh and you need to work with our client Accenture - Malaysia (Kaula Lumpur) & we will provide one way Air Ticket from India - Malaysia, 1 Week Accommodation, Medical Insurance and will take care of the Visa process also. Any insights would be appreciated!
Got a question about Cognizant?
Ask anonymously on communities.
A Data Scientist was asked 2w ago
Q. How does Retrieval-Augmented Generation work in Generative AI?
Ans. 

Retrieval-Augmented Generation combines retrieval of relevant data with generative models to enhance response quality.

  • Retrieval-Augmented Generation (RAG) uses a two-step process: retrieval of relevant documents followed by generation of responses.

  • In the retrieval phase, a model searches a large database for documents that are contextually relevant to the input query.

  • The generative model then uses the retrieved do...

View all Data Scientist interview questions
A Business Analyst was asked 2w ago
Q. Explain the OSS processes.
Ans. 

OSS processes involve managing and optimizing operational systems for efficiency and effectiveness in business operations.

  • OSS stands for Operational Support Systems, which manage telecom networks.

  • Key processes include network management, service provisioning, and fault management.

  • For example, network management ensures optimal performance of telecom infrastructure.

  • Service provisioning automates the setup of servic...

View all Business Analyst interview questions
A Senior Systems Engineer was asked 2w ago
Q. What is RAM?
Ans. 

RAM (Random Access Memory) is a type of volatile memory used by computers to store data temporarily for quick access.

  • RAM is volatile, meaning it loses its data when power is turned off.

  • It allows for fast read and write operations, enhancing system performance.

  • Common types of RAM include DRAM (Dynamic RAM) and SRAM (Static RAM).

  • More RAM can improve multitasking capabilities and application performance.

  • For example, ...

View all Senior Systems Engineer interview questions
Are these interview questions helpful?
A Software Developer was asked 2w ago
Q. What do you know about software development?
Ans. 

Software is a collection of programs and data that instructs a computer on how to perform tasks and solve problems.

  • Software can be categorized into system software (e.g., operating systems like Windows) and application software (e.g., Microsoft Office).

  • Programming languages like Python, Java, and C++ are used to write software, each with its own syntax and use cases.

  • Software development involves various stages, in...

View all Software Developer interview questions
A Senior Executive was asked 3w ago
Q. What are your extracurricular activities?
Ans. 

Extracurricular activities are non-academic pursuits that enhance personal development and skills outside the classroom.

  • Sports: Participating in team sports like soccer or basketball fosters teamwork and leadership skills.

  • Clubs: Joining clubs such as debate or drama enhances communication and critical thinking abilities.

  • Volunteering: Engaging in community service helps develop empathy and social responsibility.

  • Art...

View all Senior Executive interview questions
A Senior Customer Service Executive was asked 3w ago
Q. How do you handle difficult customers?
Ans. 

Handling difficult customers requires patience, empathy, and effective communication to resolve issues and maintain satisfaction.

  • Listen actively to the customer's concerns without interrupting. For example, if a customer is upset about a delayed order, let them express their frustration fully.

  • Empathize with their situation by acknowledging their feelings. You might say, 'I understand how frustrating this must be f...

View all Senior Customer Service Executive interview questions

Cognizant Interview Experiences

5.9k interviews found

Interview Questionnaire 

5 Questions

  • Q1. How to find 3rd Highest salary in Sql.
  • Q2. How to delete duplicate rows in Sql
  • Q3. Datastge - How will you remove Header and trailer from Sequential data file
  • Q4. How would you kill any job in Datastage
  • Ans. 

    To kill a job in Datastage

    • Stop the job manually from the Director client

    • Terminate the job from the command line using the dsjob command

    • Kill the job process from the operating system level

    • Delete the job from the Datastage repository

  • Answered by AI
  • Q5. How to find process id in linux

Skills evaluated in this interview

Accountant Interview Questions & Answers

user image Anonymous

posted on 6 Mar 2025

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I appeared for an interview in Feb 2025.

Round 1 - Aptitude Test 

How many questions are there for the aptitude test?

Round 2 - HR 

(2 Questions)

  • Q1. What are the best practices for attending an interview?
  • Ans. 

    Prepare thoroughly, dress appropriately, and communicate effectively to excel in an interview.

    • Research the company: Understand its mission, values, and recent developments. For example, know their latest product launch.

    • Dress professionally: Choose attire that aligns with the company's culture. For instance, a suit for corporate roles or smart casual for startups.

    • Practice common interview questions: Prepare answers for ...

  • Answered by AI
  • Q2. What factors should be considered when selecting candidates during an interview?
  • Ans. 

    Selecting candidates requires evaluating skills, experience, cultural fit, and potential for growth.

    • Relevant Experience: Assess if the candidate has prior experience in accounting roles, such as bookkeeping or financial analysis.

    • Technical Skills: Evaluate proficiency in accounting software like QuickBooks or Excel, which are essential for the role.

    • Cultural Fit: Consider how well the candidate aligns with the company's ...

  • Answered by AI
Round 3 - Assignment 

I will complete my assignment and provide the topic.

Round 4 - Group Discussion 

I will discuss my team and friends.

Round 5 - Coding Test 

I am not familiar with coding, but I will undergo training.

Round 6 - Technical 

(1 Question)

  • Q1. What is the application process for Cognizant?
  • Ans. 

    The application process for Cognizant involves online application, assessments, interviews, and onboarding.

    • 1. Online Application: Candidates submit their resumes through the Cognizant careers website.

    • 2. Assessments: Applicants may need to complete online tests that evaluate technical skills and aptitude.

    • 3. Interviews: Successful candidates are invited for one or more interviews, which may include HR and technical round...

  • Answered by AI
Round 7 - Case Study 

What are the case studies you can assist me with?

Round 8 - One-on-one 

(1 Question)

  • Q1. How many one-on-one interview rounds are conducted?
Round 9 - Application Form 

(2 Questions)

  • Q1. How do you search for applications?
  • Ans. 

    I utilize various methods to search for applications, including online databases, networking, and professional organizations.

    • Use online job boards like Indeed or LinkedIn to find accounting applications.

    • Network with professionals in the field to learn about new opportunities.

    • Attend industry conferences and seminars to discover applications and trends.

    • Utilize social media platforms to follow companies and job postings.

    • C...

  • Answered by AI
  • Q2. How many days in interview results

Interview Preparation Tips

Interview preparation tips for other job seekers - How can I apply for this job, and is there any application form available?

Full Stack Developer Interview Questions & Answers

user image Pawan Sai Kodali

posted on 25 Jun 2025

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview in May 2025, where I was asked the following questions.

  • Q1. Can you describe a time when you faced a failure and what you learned from that experience?
  • Q2. What motivates your interest in this role?
  • Q3. What is the team culture like?
  • Q4. What is polymorphism in programming?
  • Q5. How would you handle a situation where a team member is not contributing effectively?

Interview Preparation Tips

Interview preparation tips for other job seekers - The job market today, particularly in light of the rapid technological advancements and evolving economic landscape, requires a strategic and resilient approach.
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected
Round 1 - Technical 

(5 Questions)

  • Q1. What is Adls?how is it works
  • Ans. 

    Azure Data Lake Storage (ADLS) is a scalable data storage service for big data analytics in the cloud.

    • ADLS is designed for big data analytics, allowing storage of large amounts of unstructured data.

    • It integrates seamlessly with Azure services like Azure Databricks and Azure HDInsight.

    • ADLS supports hierarchical namespace, enabling efficient organization of data in directories.

    • It provides fine-grained access control usin...

  • Answered by AI
  • Q2. What is integration pipeline?how is it work?
  • Ans. 

    An integration pipeline automates the process of integrating code changes into a shared repository, ensuring quality and consistency.

    • Continuous Integration (CI) is a key component, where developers frequently merge code changes.

    • Automated tests run on each integration to catch bugs early, e.g., unit tests, integration tests.

    • Build automation tools like Jenkins or Travis CI are often used to manage the pipeline.

    • Deployment...

  • Answered by AI
  • Q3. Copy data from one on premise sql server to Adls and Adls to Azure SQL?
  • Q4. What is Azuredata bricks?
  • Q5. What is cluster? How is it work?
  • Ans. 

    A cluster is a group of interconnected computers that work together to perform tasks as a single system.

    • Clusters improve performance by distributing workloads across multiple machines.

    • They provide redundancy; if one node fails, others can take over (e.g., database clusters).

    • Common types include load-balancing clusters and high-availability clusters.

    • Examples include Hadoop clusters for big data processing and Kubernetes...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - I am not advice the tips
Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(16 Questions)

  • Q1. What are custom hooks in React, and what are their use cases? Additionally, can you provide an example of a custom hook that performs an API call and utilizes the retrieved data?
  • Ans. 

    Custom hooks in React are reusable functions that allow you to extract component logic into separate functions for better code organization and reusability.

    • Custom hooks are created using the 'use' prefix and can be used to share logic between components.

    • Use cases for custom hooks include fetching data from an API, handling form state, managing local storage, and more.

    • Example of a custom hook for API call: const useFetc...

  • Answered by AI
  • Q2. What is the difference between useMemo and useCallback in React?
  • Ans. 

    useMemo is used to memoize a value, while useCallback is used to memoize a function.

    • useMemo is used to memoize a value and recompute it only when its dependencies change.

    • useCallback is used to memoize a callback function and prevent unnecessary re-renders.

    • Example: useMemo can be used to memoize the result of a complex computation, while useCallback can be used to memoize an event handler function.

  • Answered by AI
  • Q3. What is the difference between class-based components and functional components in React?
  • Ans. 

    Class-based components use ES6 classes and have lifecycle methods, while functional components are simpler and use functions.

    • Class-based components use ES6 classes to create components, while functional components are created using functions.

    • Class-based components have lifecycle methods like componentDidMount and componentDidUpdate, while functional components do not.

    • Functional components are simpler and more lightweig...

  • Answered by AI
  • Q4. How can you implement the lifecycle of a React component in a functional component?
  • Ans. 

    Implementing the lifecycle of a React component in a functional component

    • Use the useEffect hook to replicate lifecycle methods like componentDidMount, componentDidUpdate, and componentWillUnmount

    • Pass an empty array as the second argument to useEffect to mimic componentDidMount

    • Pass a variable or state as the second argument to useEffect to mimic componentDidUpdate

    • Return a cleanup function inside useEffect to mimic compo...

  • Answered by AI
  • Q5. What are the various state management techniques available in React?
  • Ans. 

    Various state management techniques in React include Context API, Redux, and local state.

    • Context API: React's built-in solution for passing data through the component tree without having to pass props down manually at every level.

    • Redux: A popular state management library for React applications, allowing for a centralized store to manage application state.

    • Local state: Managing state within individual components using us...

  • Answered by AI
  • Q6. What is the architecture of Redux, and what purposes do middlewares serve within it?
  • Ans. 

    Redux is a predictable state container for JavaScript apps. Middlewares are functions that intercept actions before they reach the reducer.

    • Redux follows a unidirectional data flow architecture.

    • Middlewares in Redux are functions that can intercept, modify, or dispatch actions.

    • Common use cases for middlewares include logging, asynchronous API calls, and handling side effects.

    • Examples of popular Redux middlewares are Redu...

  • Answered by AI
  • Q7. What is hoisting in JavaScript?
  • Ans. 

    Hoisting in JavaScript is the behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase.

    • Variable declarations are hoisted to the top of their scope, but not their initializations.

    • Function declarations are fully hoisted, meaning they can be called before they are declared.

    • Hoisting can lead to unexpected behavior if not understood properly.

  • Answered by AI
  • Q8. What is event bubbling in JavaScript?
  • Ans. 

    Event bubbling is the propagation of events from the target element up through its ancestors in the DOM tree.

    • Events triggered on a child element will 'bubble up' and trigger on parent elements.

    • Event listeners can be attached to parent elements to handle events from multiple child elements.

    • Stopping event propagation can be done using event.stopPropagation() or event.stopImmediatePropagation().

  • Answered by AI
  • Q9. What are block scope and function scope in JavaScript?
  • Ans. 

    Block scope and function scope are two types of scopes in JavaScript that determine the visibility and accessibility of variables.

    • Block scope refers to the visibility of variables within a block of code enclosed by curly braces. Variables declared with 'let' and 'const' have block scope.

    • Function scope refers to the visibility of variables within a function. Variables declared with 'var' have function scope.

    • Variables de...

  • Answered by AI
  • Q10. Have you had experience working with semantic tags in HTML?
  • Ans. 

    Yes, I have experience working with semantic tags in HTML.

    • Used semantic tags like <header>, <nav>, <main>, <section>, <article>, <aside>, <footer> for better structure and SEO.

    • Understand the importance of using semantic tags for accessibility and search engine optimization.

    • Semantic tags help in organizing content and making it more readable for developers and browsers.

  • Answered by AI
  • Q11. What are the various methods for creating an object in JavaScript?
  • Ans. 

    Various methods for creating an object in JavaScript include object literals, constructor functions, ES6 classes, and Object.create() method.

    • Object literals: var obj = { key: value };

    • Constructor functions: function ObjectName() { this.key = value; } var obj = new ObjectName();

    • ES6 classes: class ClassName { constructor() { this.key = value; } } var obj = new ClassName();

    • Object.create() method: var obj = Object.create(pr...

  • Answered by AI
  • Q12. What are the differences between shallow copy and deep copy in JavaScript?
  • Ans. 

    Shallow copy only copies the references of nested objects, while deep copy creates new copies of nested objects.

    • Shallow copy creates a new object but does not create copies of nested objects, only copies their references.

    • Deep copy creates a new object and also creates new copies of all nested objects.

    • Shallow copy can be achieved using Object.assign() or spread operator, while deep copy can be achieved using JSON.parse(...

  • Answered by AI
  • Q13. What will be the output of the following JavaScript code fragment: `const a; function test() { console.log(a); }; test();`?
  • Ans. 

    The code will throw an error because 'a' is declared but not initialized.

    • The code will result in a ReferenceError because 'a' is declared but not assigned a value.

    • Variables declared with 'const' must be initialized at the time of declaration.

    • Initializing 'a' with a value before calling test() will prevent the error.

  • Answered by AI
  • Q14. How can you use CSS to arrange elements in a row and column layout?
  • Ans. 

    CSS can be used to arrange elements in a row and column layout using flexbox or grid layout properties.

    • Use display: flex; for a row layout and display: flex; flex-direction: column; for a column layout

    • Use justify-content and align-items properties to align items in the main axis and cross axis respectively

    • For grid layout, use display: grid; and grid-template-columns or grid-template-rows to define the layout

  • Answered by AI
  • Q15. Have you utilized CSS preprocessors, and if so, which ones?
  • Ans. 

    Yes, I have utilized CSS preprocessors such as SASS and LESS.

    • I have experience using SASS to streamline my CSS workflow by utilizing variables, mixins, and nesting.

    • I have also worked with LESS to improve code organization and maintainability through features like variables and functions.

  • Answered by AI
  • Q16. If I have assigned different colors to an ID and a class and applied both to the same element, which color will be applied based on CSS specificity precedence?
  • Ans. 

    The color applied will be based on the specificity of the selector, with ID having higher specificity than class.

    • ID has higher specificity than class in CSS

    • Color applied will be based on the selector with higher specificity

    • Example: If ID selector has color red and class selector has color blue, the color applied will be red

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Senior Software Engineer interview:
  • Javascript
  • React.Js
  • HTML
  • CSS
Interview preparation tips for other job seekers - Possessing a deep understanding of JavaScript and React is essential. Interviewers may engage in mind games with candidates; therefore, we should remain calm and focused solely on the questions. Additionally, we need to be confident in our answers; otherwise, they may respond with doubt, asking, "Is that so?"

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response

I appeared for an interview in Feb 2025.

Round 1 - Technical 

(5 Questions)

  • Q1. Can you provide information about yourself and the projects you have worked on?
  • Ans. 

    I am a UiPath Developer with experience in automating various business processes.

    • Developed automation solutions using UiPath for data entry tasks

    • Integrated UiPath robots with APIs to automate data retrieval and processing

    • Worked on projects to automate invoice processing and report generation

    • Implemented error handling mechanisms and logging in UiPath workflows

  • Answered by AI
  • Q2. What is the Re-Framework, and how do the Dispatcher, Performer, and DataTable transaction approaches function in UiPath?
  • Ans. 

    ReFramework is a template in UiPath for building robust, scalable, and reusable automation projects.

    • ReFramework is a template that includes Dispatcher and Performer components for handling transactions.

    • Dispatcher is responsible for reading input data and adding it to a queue.

    • Performer processes items from the queue, performs the necessary actions, and updates the status of each transaction.

    • DataTable transaction approac...

  • Answered by AI
  • Q3. What is the difference between an execute query and an execute non-query?
  • Ans. 

    Execute query is used to retrieve data from a database, while execute non-query is used to perform operations that do not return data.

    • Execute query is used for SELECT statements to retrieve data from a database.

    • Execute non-query is used for INSERT, UPDATE, DELETE statements that do not return data.

    • Execute query returns a result set, while execute non-query returns the number of rows affected.

    • Examples: Execute query - S...

  • Answered by AI
  • Q4. What is the difference between a switch statement and an if-else statement?
  • Ans. 

    Switch statement is used for multiple conditions, while if-else statement is used for binary conditions.

    • Switch statement is more efficient when there are multiple conditions to check.

    • If-else statement is more flexible as it can handle complex conditions.

    • Switch statement uses 'case' and 'break' keywords, while if-else statement uses 'if', 'else if', and 'else'.

  • Answered by AI
  • Q5. Datatable how to use it in Uipath, what is a connection string and how we can create that?
  • Ans. 

    Datatable is used to store and manipulate data in UiPath. Connection string is used to establish a connection to a database.

    • Datatable is a structured data type used to store information in rows and columns.

    • You can use activities like 'Build Data Table' to create a new datatable or 'Read Range' to read data from an Excel file into a datatable.

    • Connection string is a string that contains information about how to connect t...

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Selected Selected
Round 1 - Technical 

(3 Questions)

  • Q1. Star based questions
  • Q2. Testing methodology
  • Q3. Bug life cycle
Round 2 - Technical 

(3 Questions)

  • Q1. Testing principles
  • Q2. Smoke and sanity test
  • Q3. Project roles and responsibilities
  • Ans. 

    Project roles and responsibilities define tasks and expectations for team members to ensure project success.

    • Project Manager: Oversees project planning, execution, and closure. Example: Coordinating team meetings and tracking progress.

    • Team Members: Execute specific tasks assigned to them. Example: Developers coding features based on requirements.

    • Stakeholders: Provide input and feedback throughout the project. Example: C...

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. Salary discussion

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well easily you can crack it
Interview experience
5
Excellent
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview in Feb 2025.

Round 1 - Technical 

(2 Questions)

  • Q1. Related to Palo Alto firewall and Prisma Access. Global Protect, App- ID, Routing, Security Policies.
  • Q2. Packet flow of firewall, Device Group, template, template stack etc.
Round 2 - Technical 

(2 Questions)

  • Q1. Global Protect troubleshooting.
  • Q2. Panorama Management and firewall congratulations.
Round 3 - HR 

(2 Questions)

  • Q1. Salary discussion and skills
  • Q2. Company policies.
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I appeared for an interview in May 2025, where I was asked the following questions.

  • Q1. Talk about your self
  • Ans. 

    Dynamic HR professional with a passion for fostering positive workplace culture and enhancing employee engagement.

    • Over 5 years of experience in HR management, focusing on talent acquisition and employee development.

    • Successfully implemented an employee engagement program that increased retention rates by 20%.

    • Skilled in conflict resolution, having mediated several workplace disputes to maintain a harmonious environment.

    • P...

  • Answered by AI
  • Q2. Why did u choose this company
  • Ans. 

    I chose this company for its commitment to employee development and its innovative approach to HR practices.

    • The company's strong reputation for fostering a positive workplace culture aligns with my values.

    • I admire the emphasis on continuous learning and professional growth, as seen in your training programs.

    • The innovative HR strategies implemented here, such as flexible work arrangements, resonate with my belief in wor...

  • Answered by AI
  • Q3. Your salary expectation salary
  • Ans. 

    I expect a competitive salary that reflects my experience and the industry standards for this role.

    • Research industry standards: For example, HR executives in my region typically earn between $70,000 and $90,000 annually.

    • Consider my experience: With over 5 years in HR management, I believe a salary in the higher range is justified.

    • Flexibility: I am open to discussing a salary that aligns with the company's budget and co...

  • Answered by AI
  • Q4. After 5 years where u want to be
  • Ans. 

    In five years, I envision myself as a strategic leader in HR, driving organizational growth and fostering a positive workplace culture.

    • I aim to advance to a senior HR leadership role, such as HR Director, where I can influence company strategy.

    • I plan to enhance my skills in data analytics to make informed decisions that improve employee engagement and retention.

    • I want to lead initiatives that promote diversity and incl...

  • Answered by AI
  • Q5. Say about ur project
  • Ans. 

    I led a project to streamline HR processes, enhancing efficiency and employee satisfaction through technology integration.

    • Implemented an automated onboarding system, reducing onboarding time by 30%.

    • Developed a centralized employee database for easy access to records and information.

    • Introduced a feedback mechanism to gather employee insights, leading to a 15% increase in engagement scores.

    • Collaborated with IT to integra...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Motivated and enthusiastic MBA graduate specializing in human Resources Management, seeking a challenging opportunity in aReputed firm to utilize my skills knowledge and passion for organizational strong communication and leadership to company growth and sucess
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
-

I applied via Referral and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(17 Questions)

  • Q1. How many ways can we call a server side code from Client side?
  • Ans. 

    There are multiple ways to call server side code from client side, including AJAX, WebSockets, and REST API calls.

    • AJAX

    • WebSockets

    • REST API calls

  • Answered by AI
  • Q2. How to create a new request type in ITSM?
  • Ans. 

    To create a new request type in ITSM, follow these steps.

    • Navigate to the Service Catalog in the ITSM module.

    • Click on 'Create New' to start creating a new request type.

    • Fill in the necessary details such as name, description, and category.

    • Define the workflow for the request type, including approval processes and assignment rules.

    • Test the new request type to ensure it functions correctly.

    • Publish the request type for users...

  • Answered by AI
  • Q3. Restrict a characters for 'Investment' field in incident table that characters should not exceed 500 characters do this in client script or UI policy?
  • Ans. 

    Restrict characters for 'Investment' field in incident table to 500 characters using UI policy.

    • Create a UI policy on the incident table

    • Add a condition to check the length of the 'Investment' field

    • Set the UI policy action to display an error message if the character limit is exceeded

  • Answered by AI
  • Q4. What is the use GFST submit?
  • Ans. 

    GFST submit is used to submit a GlideFormState object in ServiceNow.

    • GFST submit is used to save the current state of a form in ServiceNow.

    • It is commonly used in client-side scripts to save form data without refreshing the page.

    • GFST submit can be used to trigger business rules and workflows upon form submission.

  • Answered by AI
  • Q5. Using 'IT Service Manager' role description and short description should be visible?
  • Ans. 

    Yes, 'IT Service Manager' role description and short description should be visible.

    • Role description should clearly outline the responsibilities and requirements of the IT Service Manager position

    • Short description should provide a brief overview of the role to attract potential candidates

    • Both descriptions should be easily accessible on the job posting or company website

  • Answered by AI
  • Q6. Types of Client Scripts?
  • Ans. 

    Client scripts in ServiceNow are used to automate processes on the client side.

    • onChange

    • onLoad

    • onSubmit

  • Answered by AI
  • Q7. Client script or UI Policy which one will runs first and why?
  • Ans. 

    Client script runs before UI Policy due to the order of execution in ServiceNow.

    • Client script runs before UI Policy because it is executed on the client side before the form is submitted.

    • UI Policy runs after Client script as it is applied after the form is submitted.

    • Client script is used for field-level validation and manipulation, while UI Policy is used for controlling field visibility and mandatory fields.

  • Answered by AI
  • Q8. Types of Business rule, difference between after and Async business rule?
  • Ans. 

    Business rules in ServiceNow can be categorized as before, after, async, and synchronous. After business rules run after a record is inserted or updated, while async business rules run in the background.

    • Types of business rules in ServiceNow: before, after, async, synchronous

    • After business rules run after a record is inserted or updated

    • Async business rules run in the background without blocking the user interface

    • Differe...

  • Answered by AI
  • Q9. There are 4 types of Business rule, can we change the order of Business rule?
  • Ans. 

    Yes, the order of Business rules can be changed.

    • Yes, the order of Business rules can be changed by adjusting the order in which they are executed in the Business rule list.

    • This can be done by changing the 'Order' field value in the Business rule record.

    • Business rules with lower 'Order' values will be executed before those with higher 'Order' values.

    • Changing the order of Business rules can impact the overall behavior an...

  • Answered by AI
  • Q10. Email Notification scripts scenario?
  • Ans. 

    Email notifications in ServiceNow can be customized using scripts for dynamic content and conditions.

    • Use 'Email Notification' module to create notifications based on specific conditions.

    • Scripts can be added to the 'Condition' field to determine when to send an email.

    • Example: Use 'current.state.changes()' to trigger an email when the state changes.

    • Utilize 'Email Template' for consistent formatting and dynamic content in...

  • Answered by AI
  • Q11. What is the use of isolate checkbox?
  • Ans. 

    The isolate checkbox is used to prevent a script from running in the global scope.

    • Prevents variables and functions from being accessed globally

    • Helps in avoiding conflicts with other scripts

    • Useful when developing complex applications with multiple scripts

  • Answered by AI
  • Q12. Xml() and xml() wait difference?
  • Ans. 

    xml() and xml() wait are both used in ServiceNow to parse XML data, but xml() wait is used for asynchronous parsing.

    • xml() is used for synchronous parsing of XML data in ServiceNow

    • xml.wait() is used for asynchronous parsing of XML data in ServiceNow

    • xml() is blocking, while xml.wait() allows other operations to continue while parsing XML data

  • Answered by AI
  • Q13. How will you achieve UI action in server side and client side, I.e both the code should work in client side and server side
  • Ans. 

    To achieve UI actions in ServiceNow, use client scripts for client-side and business rules for server-side execution.

    • Use Client Scripts for UI actions that need to run on the user's browser.

    • Use Business Rules for server-side logic that should execute on record changes.

    • Example: A Client Script can validate a form before submission, while a Business Rule can update a field based on that submission.

    • You can call server-sid...

  • Answered by AI
  • Q14. There is a 'Investment' field in incident table Old value: Standard New Value: SMA Replace the options, instead of standard, SMA option should be updated to all records in the table.
  • Ans. 

    Update 'Investment' field in incident table from Standard to SMA for all records

    • Create a script to update the 'Investment' field in incident table for all records

    • Use a loop to iterate through each record and update the 'Investment' field value from Standard to SMA

  • Answered by AI
  • Q15. Can we use previous in Business rule?
  • Ans. 

    Yes, we can use 'previous' in Business rule to access the previous value of a field.

    • Use 'previous' keyword in a Business rule to access the previous value of a field

    • Can be helpful in comparing current and previous values for triggering actions

    • Example: gs.info('Previous value: ' + current.previous.value)

  • Answered by AI
  • Q16. Normal change states
  • Q17. What is the use of get reference?
  • Ans. 

    get reference is used to retrieve a reference to a record in another table

    • Used to establish relationships between records in different tables

    • Allows for easy access to related information

    • Can be used in scripts to retrieve data from related records

  • Answered by AI
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
-

I applied via Walk-in and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(8 Questions)

  • Q1. Can you introduce yourself?
  • Ans. 

    I am a Senior Automation Test Engineer with 5+ years of experience in designing and implementing automated testing frameworks.

    • 5+ years of experience in automation testing

    • Proficient in designing and implementing automated testing frameworks

    • Strong knowledge of testing tools like Selenium, Appium, and JUnit

    • Experience in creating test scripts and executing test cases

    • Ability to analyze test results and identify defects

  • Answered by AI
  • Q2. What is the syntax for using driver.findElement in Selenium?
  • Ans. 

    The syntax for using driver.findElement in Selenium is driver.findElement(By locator)

    • Use driver.findElement(By locator) to locate a single element on the web page

    • Specify the locator strategy (e.g. By.id, By.name, By.xpath) to identify the element

    • Example: WebElement element = driver.findElement(By.id("username"));

  • Answered by AI
  • Q3. What are the different types of assertions, and what is the syntax for a hard assertion in TestNG?
  • Ans. 

    Different types of assertions and syntax for hard assertion in TestNG

    • Types of assertions: Hard assertions and Soft assertions

    • Syntax for hard assertion in TestNG: Assert.assertEquals(expected, actual)

  • Answered by AI
  • Q4. What types of wait mechanisms are utilized in your project?
  • Ans. 

    Types of wait mechanisms include implicit wait, explicit wait, fluent wait, and thread.sleep.

    • Implicit wait: Waits for a certain amount of time before throwing a NoSuchElementException.

    • Explicit wait: Waits for a certain condition to occur before proceeding further.

    • Fluent wait: Waits for a condition to be true with a specified polling frequency.

    • Thread.sleep: Pauses the execution for a specified amount of time.

  • Answered by AI
  • Q5. How do you manage frames in Selenium?
  • Ans. 

    Frames in Selenium can be managed using switchTo() method to navigate between frames.

    • Use driver.switchTo().frame() method to switch to a frame by index, name or WebElement

    • Use driver.switchTo().defaultContent() method to switch back to the main content

    • Use driver.switchTo().parentFrame() method to switch to the parent frame

  • Answered by AI
  • Q6. How do you remove duplicates from an array?
  • Ans. 

    Use a Set data structure to remove duplicates from an array of strings.

    • Create a Set from the array to automatically remove duplicates

    • Convert the Set back to an array to get the unique values

  • Answered by AI
  • Q7. What is the difference between List, Set, and Map collections in Java?
  • Ans. 

    List, Set, and Map are different types of collections in Java used to store and manipulate groups of objects.

    • List is an ordered collection that allows duplicate elements. Example: ArrayList, LinkedList

    • Set is a collection that does not allow duplicate elements. Example: HashSet, TreeSet

    • Map is a collection of key-value pairs where each key is unique. Example: HashMap, TreeMap

  • Answered by AI
  • Q8. What actions would you take if there is a mismatch between user stories and application functionality?
  • Ans. 

    I would analyze the user stories and application functionality to identify the root cause of the mismatch and work towards resolving it.

    • Review the user stories and application functionality to understand the discrepancies

    • Communicate with stakeholders to clarify requirements and expectations

    • Update test cases and automation scripts to align with the corrected user stories

    • Collaborate with developers to address any underly...

  • Answered by AI
Round 2 - Technical 

(4 Questions)

  • Q1. What is your relevant experience, and what are your roles and responsibilities in your current company?
  • Ans. 

    I have over 5 years of experience in automation testing, with a focus on creating and executing test scripts for web applications.

    • Developing automation test scripts using tools like Selenium and TestNG

    • Creating test plans and test cases based on requirements

    • Executing test cases and reporting defects

    • Collaborating with developers and QA team to ensure quality of the product

    • Participating in Agile ceremonies such as sprint ...

  • Answered by AI
  • Q2. Can you provide a specific scenario from your previous project, and detail the feature file step definitions while demonstrating how to run the scenario with different sets of data?
  • Ans. 

    Demonstrating feature file step definitions with different sets of data in a previous project scenario

    • Create a feature file with a scenario outline that includes placeholders for different sets of data

    • Write step definitions that use the placeholders to run the scenario with different data sets

    • Use data tables or examples in the feature file to provide the different sets of data

    • Run the scenario with different data sets t...

  • Answered by AI
  • Q3. What approach can be used to count the number of URLs in an HTML page using Selenium and open the URL that contains your name?
  • Ans. 

    To count URLs in an HTML page using Selenium and open the URL containing your name, you can use a combination of Selenium WebDriver methods and regular expressions.

    • Use Selenium WebDriver to navigate to the HTML page and retrieve its source code

    • Use regular expressions to identify and count the URLs in the source code

    • Iterate through the list of URLs to find the one containing your name

    • Use Selenium WebDriver to open the U...

  • Answered by AI
  • Q4. How can you separate letters and digits from a string in Java? Please provide the Java code for this task.
  • Ans. 

    Use regular expressions to separate letters and digits from a string in Java.

    • Use the String class's split() method with a regular expression to separate letters and digits.

    • Create a regular expression pattern that matches either letters or digits.

    • Store the separated letters and digits in separate arrays.

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Senior Automation Test Engineer interview:
  • Java oops
  • Selenium
  • Cucumber
Interview preparation tips for other job seekers - Review fundamental concepts, practice coding daily, and utilize free websites for practice. Be well-versed in the roles and responsibilities of your current or previous projects, and answer confidently.

Cognizant Interview FAQs

How many rounds are there in Cognizant interview?
Cognizant interview process usually has 2-3 rounds. The most common rounds in the Cognizant interview process are Technical, HR and Resume Shortlist.
How to prepare for Cognizant interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Cognizant. The most common topics and skills that interviewers at Cognizant expect are Java, Project Management, SQL, Project Planning and Javascript.
What are the top questions asked in Cognizant interview?

Some of the top questions asked at the Cognizant interview -

  1. 1 Tell me about your self 2 What is c# 3 What is oops concept 4 What is Delegat...read more
  2. What is meant by quality and brief explanation of it with an examp...read more
  3. What array list and linkedlist difference,how hashmap internally working,what i...read more
What are the most common questions asked in Cognizant HR round?

The most common HR questions asked in Cognizant interview are -

  1. Why are you looking for a chan...read more
  2. Tell me about yourse...read more
  3. What are your salary expectatio...read more
How long is the Cognizant interview process?

The duration of Cognizant interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

4.1/5

based on 4.6k interview experiences

Difficulty level

Easy 26%
Moderate 69%
Hard 5%

Duration

Less than 2 weeks 61%
2-4 weeks 26%
4-6 weeks 6%
6-8 weeks 3%
More than 8 weeks 4%
View more

Interview Questions from Similar Companies

TCS Interview Questions
3.6
 • 11.1k Interviews
Accenture Interview Questions
3.8
 • 8.6k Interviews
Infosys Interview Questions
3.6
 • 7.9k Interviews
Wipro Interview Questions
3.7
 • 6k Interviews
Capgemini Interview Questions
3.7
 • 5k Interviews
Tech Mahindra Interview Questions
3.5
 • 4.1k Interviews
HCLTech Interview Questions
3.5
 • 4.1k Interviews
Genpact Interview Questions
3.8
 • 3.4k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
DXC Technology Interview Questions
3.7
 • 836 Interviews
View all

Cognizant Reviews and Ratings

based on 54.4k reviews

3.7/5

Rating in categories

3.6

Skill development

3.6

Work-life balance

3.3

Salary

3.5

Job security

3.6

Company culture

3.0

Promotions

3.4

Work satisfaction

Explore 54.4k Reviews and Ratings
Microsoft team Administration

Hyderabad / Secunderabad,

Chennai

+1

3-5 Yrs

₹ 3-13 LPA

Microsoft team Administration

Hyderabad / Secunderabad,

Chennai

+1

9-14 Yrs

Not Disclosed

Microsoft team Administration

Hyderabad / Secunderabad,

Chennai

+1

5-10 Yrs

Not Disclosed

Explore more jobs
Associate
73.1k salaries
unlock blur

₹5.1 L/yr - ₹14.4 L/yr

Programmer Analyst
56.1k salaries
unlock blur

₹2 L/yr - ₹9.2 L/yr

Senior Associate
54.7k salaries
unlock blur

₹8.4 L/yr - ₹28.6 L/yr

Senior Processing Executive
29.7k salaries
unlock blur

₹1.4 L/yr - ₹9 L/yr

Technical Lead
18k salaries
unlock blur

₹6 L/yr - ₹25.5 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.6
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

Accenture

3.8
Compare
write
Share an Interview