Interview practice plan
Principal Engineer
Target · Bengaluru
Practice content written by LYDJ for interview preparation. These are common questions for this kind of role, not this employer's actual interview questions.
What this role asks for
Skills we found in the job description. The plan below is built around them.
Also named in the description, not covered below: Cassandra, Observability, Generative AI, SQL, MongoDB, Python, Kubernetes. Review these on your own.
Sign in to see your gap areas first. We compare this role with the skills on your profile.
0 of 30 questions practised
Answer each one out loud, then tick it. Progress is saved in this browser only.
Agile
This role asks for Agile.
The team carries over stories every sprint. What do you do?
What good looks likeHide hint
Look at story size, work in progress, interruptions and dependencies, agree retro actions with owners, and track flow metrics such as cycle time.
How do you make retrospectives actually lead to change?
What good looks likeHide hint
Vary the format, focus on one or two actions with owners and dates, review last retro's actions first, and make it safe to speak honestly.
How do you coordinate several agile teams working on one product?
What good looks likeHide hint
A shared roadmap and dependency view, joint planning on a regular cadence, clear ownership boundaries, and lightweight rituals rather than heavy process.
Java
This role asks for Java and Spring Boot. These Java questions cover the ground they share.
How does garbage collection work in the JVM, and how would you tune it for a low-latency service?
What good looks likeHide hint
Generational heap, G1 versus ZGC trade-offs, reading GC logs, and reducing allocation rate before reaching for JVM flags.
Explain @Transactional: propagation, self-invocation and which exceptions trigger a rollback.
What good looks likeHide hint
It is proxy-based, so calls within the same class bypass it; by default only unchecked exceptions roll back; know REQUIRED versus REQUIRES_NEW.
How would you make a Spring Boot service production-ready?
What good looks likeHide hint
Health and readiness endpoints, externalised config and secrets, structured logs, metrics and tracing, connection pool sizing and graceful shutdown.
Kafka
This role asks for Kafka.
Explain at-most-once, at-least-once and exactly-once delivery. How would you get effectively-once processing?
What good looks likeHide hint
Idempotent producers and transactions, committing offsets after processing, and idempotent consumers keyed on a business id.
A consumer group is lagging badly. How do you diagnose and fix it?
What good looks likeHide hint
Check lag per partition, slow processing versus too few partitions or consumers, rebalancing storms, and batching or scaling out.
How would you choose the number of partitions for a new topic?
What good looks likeHide hint
Target throughput per partition, consumer parallelism, key distribution, and the cost of too many partitions; increasing later changes key-to-partition mapping.
ETL & data pipelines
This role asks for Data modeling. These ETL & data pipelines questions cover the ground it builds on.
How do you design a pipeline that can be safely re-run for a past date?
What good looks likeHide hint
Idempotent writes via partition overwrite or merge on keys, deterministic inputs, no side effects outside the target, and a backfill procedure.
How do you orchestrate dependent jobs and handle late-arriving data?
What good looks likeHide hint
DAGs with explicit dependencies, data-availability checks rather than fixed times, retries, backfills, and reprocessing windows for late records.
How would you migrate an on-premise data warehouse to a cloud platform with minimal disruption?
What good looks likeHide hint
Inventory and prioritise workloads, run old and new in parallel with reconciliation, cut over domain by domain, model costs, and plan decommissioning.
CI/CD & IaC
This role asks for CI/CD.
Design a CI/CD pipeline for a service with many contributors. Which gates would you put before production?
What good looks likeHide hint
Fast unit tests on every PR, integration and security scans, build once and promote the same artifact, staged environments, and automated rollback.
Blue-green, canary or rolling deployment: how do you choose?
What good looks likeHide hint
Blast radius, rollback speed, infrastructure cost and how good your metrics are for judging a canary. Give a case for each.
The build takes 40 minutes. How do you bring it down?
What good looks likeHide hint
Measure where time goes, cache dependencies, parallelise and shard tests, only build what changed, and fix or quarantine the slowest tests.
Machine Learning
This role asks for Machine Learning.
How do you detect and prevent data leakage?
What good looks likeHide hint
Time-based splits, features computed after the label, target encoding outside cross-validation folds, and the same entity appearing in train and test.
Design a recommendation system for a job site.
What good looks likeHide hint
Candidate generation then ranking, content and behavioural signals, cold start for new users and jobs, implicit feedback, and offline metrics validated by A/B tests.
How would you explain a model's predictions to a non-technical stakeholder or a regulator?
What good looks likeHide hint
Global versus local explanations (feature importance, SHAP values), plain-language examples, documented limitations and how decisions can be reviewed.
Core programming
This role asks for Ruby. We do not have questions specific to it yet, so practise these fundamentals and answer them in that language.
How would you find and fix a memory leak in a long-running service?
What good looks likeHide hint
Confirm with memory metrics over time, take and compare heap snapshots, look for unbounded caches, listeners and global collections, then add a regression check.
What makes code testable? Show how you would refactor a function to make it easier to test.
What good looks likeHide hint
Separate pure logic from I/O, inject dependencies instead of constructing them inside, and keep functions small with clear inputs and outputs.
System design
This role asks for REST APIs, so expect an architecture round. State requirements and numbers first, then trade-offs.
Design the home feed for a professional networking app.
What good looks likeHide hint
Discuss fan-out on write versus read, very large accounts, ranking, pagination and cache invalidation, and state your trade-offs explicitly.
How would you break a monolith into microservices? Where would you start?
What good looks likeHide hint
Start from domain boundaries and the parts that change most, use a strangler approach, plan for shared data and distributed transactions, and invest in observability first.
Design a real-time chat system with one-to-one and group messages.
What good looks likeHide hint
Connection handling (WebSockets), ordering and delivery receipts, offline storage and sync, fan-out for groups, and presence.
Behavioural
Every interview loop has a behavioural round. For lead and manager roles, the focus is on people decisions, prioritisation and leading through change. Use the STAR structure.
Tell me about a time you influenced an important decision without having formal authority.
What good looks likeHide hint
Cover how you built the case (data, prototypes, allies), handled objections and what changed. Strong answers show patience and shared credit.
Tell me about a time a project you owned was at risk of missing its date.
What good looks likeHide hint
Show early detection, honest escalation and the scope, sequencing or resourcing levers you pulled. Avoid stories that end with "we all worked weekends".
Describe a time you had to deliver bad news to a stakeholder.
What good looks likeHide hint
Show that you told them early, came with options and a recommendation rather than just the problem, and kept their trust.
Tell me about a time you used data to change someone's mind.
What good looks likeHide hint
Explain what the data showed, how you made it understandable for that audience, and which decision changed as a result.
Leadership
The title marks this as a lead or manager role. Expect questions on hiring, developing people and setting priorities.
Tell me about someone you mentored or developed. What changed for them?
What good looks likeHide hint
Describe their starting point, what you specifically did (stretch work, feedback, sponsorship) and their measurable growth.
Tell me about a time you led a team through a significant change, such as a re-org or new way of working.
What good looks likeHide hint
Explain the why you communicated, how you handled resistance, and how you measured whether the change actually worked.
How do you keep a hybrid or distributed team aligned and engaged?
What good looks likeHide hint
Name concrete rituals (written plans, demos, regular 1:1s), how you spot disengagement early, and one thing you changed based on team feedback.
Company research brief: Target
From the roles we track on LYDJ, refreshed daily from the official careers page.
67
open roles
25
added in 30 days
19
in Engineering
Hiring most for
- Other25
- Engineering19
- Data & AI9
- Operations4
Read before the interview
Questions to ask them
- ›There are several open Engineering roles at Target right now. How is the team growing, and where does this role fit?
- ›How does the team use Agile and Java today, and what would you like to change?
- ›What does success look like in this role after six months?
- ›What is the biggest challenge the team is facing this year?
- ›What are the next steps in the process, and when should I expect to hear back?
Preparation checklist
0/9 doneSaved in this browser only.