Cognizant Software Engineer interview questions
Practice questions matched to the live Cognizant postings, not questions collected from Cognizant. GenioPrep is not affiliated with Cognizant.
Cognizant has 79 open Software Engineer roles in India right now, most in Chennai, Bengaluru, Pune. The postings ask most for Java, REST APIs, JavaScript, SQL. Below: 20 practice questions picked from those skills, one card at a time, then a plan for the days you have left.
Practice deck: 20 questions in 3 rounds
Answer each question in your head or out loud, then check what a strong answer covers.
Technical round
Explain how HashMap works in Java and what happens when two keys collide.
A strong answer coversHashing to buckets, equals and hashCode, collision chains and tree bins, resizing, and why mutable keys cause bugs.
Tests Java, in 28% of these postings
How do you design a REST API for a resource that clients create, list, update and delete?
A strong answer coversResource naming, HTTP methods and status codes, pagination and filtering, validation errors, versioning and idempotency.
Tests REST APIs, in 23% of these postings
Explain the event loop in JavaScript and how promises and async functions use it.
A strong answer coversCall stack, task and microtask queues, why await does not block the thread, and a bug that comes from misunderstanding the order.
Tests JavaScript, in 23% of these postings
Write a query that returns the top three products by revenue in each region, and explain how it works.
A strong answer coversA window function such as ROW_NUMBER or RANK partitioned by region and ordered by revenue, a filter on the rank, and how ties are handled.
Tests SQL, in 22% of these postings
What makes a unit test useful, and what makes one a burden?
A strong answer coversTests that check behaviour, not internals, clear names, no hidden dependencies, fast runs, and how flaky tests are handled.
Tests Unit testing, in 20% of these postings
How do components, services and dependency injection fit together in an Angular application?
A strong answer coversComponents for views, services for logic and data, injection scopes, observables for async data, and how this makes testing easier.
Tests Angular, in 19% of these postings
When does splitting a system into microservices help, and when does it make things worse?
A strong answer coversIndependent deploys and scaling against network calls, data consistency, monitoring and team cost, with a clear view of service boundaries.
Tests Microservices, in 16% of these postings
Walk through how you would build a Spring Boot REST service that reads and writes to a database.
A strong answer coversController, service and repository layers, validation, transactions, error handling, configuration per environment, and tests at each layer.
Tests Spring Boot, in 16% of these postings
HR round
Which kind of engineering work energises you most: building new features, fixing hard bugs or improving systems?
A strong answer coversAn honest answer with an example, linked to the work this role describes.
How do you keep your technical skills current?
A strong answer coversSpecific habits such as projects, reading, courses or open source, and something you learned recently and used.
Why are you looking to leave your current role?
A strong answer coversA positive, honest reason about growth or fit, no criticism of your employer, and a link to this role.
Where do you want to be in three years?
A strong answer coversA realistic goal that this role helps you reach, and what you will do to get there.
What are your salary expectations?
A strong answer coversA researched range for the role and city, flexibility on the total package, and calm wording.
What is your notice period, and when could you join?
A strong answer coversAn exact, honest answer, any buyout or early release options, and no promises you cannot keep.
Hiring manager round
Tell me about a time you disagreed with a technical decision. What did you do?
A strong answer coversRaised it with evidence, listened, agreed or escalated properly, committed once decided, and what happened.
How do you estimate a task, and what do you do when your estimate turns out wrong?
A strong answer coversBreaking work down, comparing with past work, adding buffer for unknowns, and telling people early when it slips.
Describe a production issue you caused or fixed. What did you learn?
A strong answer coversWhat happened, how you found it, the fix, the follow-up to stop it recurring, and owning your part.
How do you balance shipping fast with keeping code quality high?
A strong answer coversAgreed standards, small changes, tests on risky parts, paying down debt in planned slices, and being explicit about shortcuts.
Tell me about a time you had to learn a new technology quickly for a project.
A strong answer coversWhy it was needed, how you learned, how you managed risk while learning, and the outcome.
How do you handle several urgent tasks with the same deadline?
A strong answer coversClarify priorities with the people involved, plan, communicate early, and deliver the most important first.
Arrow keys move between questions. Your ratings stay in this browser only.
Your readiness
Marked shaky or not yet:
Say it out loud
Reading an answer is not the same as saying it. Practise out loud with an AI interviewer set up with a live Cognizant Software Engineer posting.
How Cognizant interviews in India right now
Freshers go through an online communication test, aptitude and technical assessment, then a technical interview and often HR. Offer level (GenC, Pro or Next) depends on performance.
Timeline: 2026 fresher cycle: applications closed 7 March, technical interviews from 27 March, per one guide.
Tips from the reports
- Practise spoken English on a recorded test; it is the first filter.
- Pick your skill cluster for the technical test deliberately.
Topics candidates report for Software Engineer roles
OOP concepts, SQL joins, coding in a chosen skill cluster. Fresher route only. (sources 1, 2)
What changed recently
Mar 2026. 2026 fresher cycle ran applications to 7 March with interviews from 27 March. (source 1)
Sources, read 20 Nov 2026, written in our words. What candidates report is not an official process.
- Cognizant GenC hiring process, Unstop, Mar 2026
- Cognizant GenC Next recruitment process, PlacementPreparation, 2026
- Cognizant interview process, Final Round AI, 2026
Skills Cognizant Software Engineer postings ask for
Share of the 79 postings that list each skill as a requirement. The technical questions above follow this list.
Newest Cognizant Software Engineer openings
- View on company site ↗Chennai · 6-12 yrs · posted 3 days ago
- View on company site ↗Chennai · 8-10 yrs · posted 4 days ago
- View on company site ↗Pune · 8-12 yrs · posted 4 days ago
- View on company site ↗Hyderabad · 12-15 yrs · posted 4 days ago
- View on company site ↗Chennai · 10-12 yrs · posted 4 days ago
- View on company site ↗Bengaluru · 10-12 yrs · posted 6 days ago
- View on company site ↗Bengaluru · posted 6 days ago
- View on company site ↗Bengaluru · posted 6 days ago
- View on company site ↗Kolkata · 5+ yrs · posted 7 days ago
- View on company site ↗Bengaluru · 7-11 yrs · posted 8 days ago
The 10 most recent of 79. All Cognizant jobs in India. Software Engineer jobs at every company.
Other Cognizant interviews
Software Engineer interviews at other companies
Questions
Are these the questions Cognizant asks in a Software Engineer interview?
No. They are practice questions from a question bank GenioPrep wrote, picked to match the skills in the 79 live Cognizant Software Engineer postings in India. They are not collected from Cognizant or its candidates, and GenioPrep is not affiliated with Cognizant.
How does Cognizant interview for Software Engineer roles in India?
Freshers go through an online communication test, aptitude and technical assessment, then a technical interview and often HR. Offer level (GenC, Pro or Next) depends on performance. This is from 3 sources checked on 20 Nov 2026, mostly candidate reports and guides, not an official process. Rounds can differ by team and level.
Which skills do Cognizant Software Engineer postings ask for?
Across the 79 postings: Java (28%), REST APIs (23%), JavaScript (23%), SQL (22%), Unit testing (20%), Angular (19%).
How much experience do Cognizant Software Engineer postings ask for?
The typical stated minimum is 6 years. 0-2 years: 1%; 3-5 years: 28%; 6-9 years: 39%; 10+ years: 9%.
How can I practise for a Cognizant Software Engineer interview?
Work through the deck above: think for 90 seconds, check what a strong answer covers, and mark each card. Then start the free 5-minute GenioPrep mock interview, set up with a live Cognizant Software Engineer posting, and say your answers out loud.