Interview practice plan

T

Principal Engineer

Target · Bengaluru

EngineeringLead / Manager30 practice questions

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.

AgileJavaSpring BootCassandraREST APIsKafkaData modelingObservabilityCI/CDMachine LearningGenerative AISQLMongoDBPythonRubyKubernetes

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.

01Required skill0/3

Agile

This role asks for Agile.

  • The team carries over stories every sprint. What do you do?

    What good looks like

    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 like

    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 like

    A shared roadmap and dependency view, joint planning on a regular cadence, clear ownership boundaries, and lightweight rituals rather than heavy process.

02Required skill0/3

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 like

    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 like

    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 like

    Health and readiness endpoints, externalised config and secrets, structured logs, metrics and tracing, connection pool sizing and graceful shutdown.

03Required skill0/3

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 like

    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 like

    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 like

    Target throughput per partition, consumer parallelism, key distribution, and the cost of too many partitions; increasing later changes key-to-partition mapping.

04Required skill0/3

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 like

    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 like

    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 like

    Inventory and prioritise workloads, run old and new in parallel with reconciliation, cut over domain by domain, model costs, and plan decommissioning.

05Required skill0/3

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 like

    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 like

    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 like

    Measure where time goes, cache dependencies, parallelise and shard tests, only build what changed, and fix or quarantine the slowest tests.

06Required skill0/3

Machine Learning

This role asks for Machine Learning.

  • How do you detect and prevent data leakage?

    What good looks like

    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 like

    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 like

    Global versus local explanations (feature importance, SHAP values), plain-language examples, documented limitations and how decisions can be reviewed.

07Fundamentals0/2

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 like

    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 like

    Separate pure logic from I/O, inject dependencies instead of constructing them inside, and keep functions small with clear inputs and outputs.

08Design round0/3

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 like

    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 like

    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 like

    Connection handling (WebSockets), ordering and delivery receipts, offline storage and sync, fan-out for groups, and presence.

09Every loop0/4

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 like

    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 like

    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 like

    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 like

    Explain what the data showed, how you made it understandable for that audience, and which decision changed as a result.

10Leadership0/3

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 like

    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 like

    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 like

    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

Retail, Travel & ConsumerGCC

Hiring most for

  • Other25
  • Engineering19
  • Data & AI9
  • Operations4

Cities

Bengaluru · 67
See all 67 roles at Target →

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 done

Saved in this browser only.

Interview prep: Principal Engineer at Target | LYDJ