Interview practice plan

T

Sr AI Engineer- Item Science

Target · Bengaluru

Data & AISenior28 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.

StatisticsMachine LearningSupply chainNetwork securityGenerative AIComputer VisionNLPDeep LearningJavaScalaPythonCI/CDETLAgile

Also named in the description, not covered below: Supply chain, CI/CD, ETL, Agile. 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 28 questions practised

Answer each one out loud, then tick it. Progress is saved in this browser only.

01Required skill0/3

Machine Learning

This role asks for Machine Learning, Computer Vision, NLP and Deep Learning. These Machine Learning questions cover the ground they share.

  • 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.

02Required skill0/3

Data analysis

This role asks for Statistics. These Data analysis questions cover the ground it builds on.

  • Daily active users dropped 15% yesterday. How do you investigate?

    What good looks like

    Rule out tracking or pipeline issues first, segment by platform, region, version and channel, check releases and external events, then size and communicate.

  • How would you design an A/B test for a new sign-up flow, and how long should it run?

    What good looks like

    Primary metric and guardrails, sample size from baseline rate and minimum detectable effect, randomisation unit, no peeking, and watching for novelty effects.

  • Explain Simpson's paradox with an example, and how you guard against it.

    What good looks like

    A trend in every subgroup reverses in the aggregate because group sizes differ; segment by likely confounders before drawing conclusions.

03Required skill0/3

Cybersecurity

This role asks for Network security. These Cybersecurity questions cover the ground it builds on.

  • Walk me through your response to a suspected compromised user account.

    What good looks like

    Contain (revoke sessions and keys), scope using logs, eradicate, recover, communicate to the right people, and run a blameless review.

  • A scanner reports thousands of vulnerabilities. How do you prioritise them?

    What good looks like

    Exploitability and exposure, asset criticality, known-exploited lists, compensating controls, and remediation SLAs by risk rather than raw severity.

  • How would you run a penetration test on a web application, from scoping to report?

    What good looks like

    Rules of engagement and scope, reconnaissance, testing for auth, access control and injection issues, safe exploitation, and a report with clear risk and fixes.

04Required skill0/3

LLMs & GenAI

This role asks for Generative AI. These LLMs & GenAI questions cover the ground it builds on.

  • How do you reduce hallucinations in a question-answering system over company documents?

    What good looks like

    Improve retrieval (chunking, hybrid search, reranking), instruct the model to answer only from sources with citations, allow it to abstain, and measure with evals.

  • What are the main cost and latency levers for an LLM application in production?

    What good looks like

    Model choice and routing, prompt caching, trimming context, batching, streaming responses, and caching repeated answers.

  • What security risks are specific to LLM applications, and how do you mitigate prompt injection?

    What good looks like

    Treat retrieved content as untrusted data, give tools least privilege, validate outputs, require human confirmation for side effects, and log for review.

05Required skill0/3

Java

This role asks for Java.

  • 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 the Java Memory Model. What do volatile and synchronized actually guarantee?

    What good looks like

    Visibility versus atomicity, happens-before, and why a volatile counter++ is still not thread-safe (use atomics or locks).

  • Your Java service throws OutOfMemoryError in production about once a week. How do you investigate?

    What good looks like

    Heap dump on OOM, analyse retained sizes and dominators, check caches and unbounded collections, and correlate with traffic or batch jobs.

06Required skill0/3

Python

This role asks for Python.

  • Explain the GIL and how it affects threading, multiprocessing and asyncio.

    What good looks like

    Threads help I/O-bound work but not CPU-bound Python code; multiprocessing sidesteps the GIL at a memory and IPC cost; asyncio suits many concurrent I/O tasks.

  • How does Python manage memory, and why might a long-running process keep growing?

    What good looks like

    Reference counting plus a cyclic garbage collector, fragmentation, unbounded caches or globals, and using tracemalloc to find the growth.

  • A Python data-processing script takes hours. How do you speed it up?

    What good looks like

    Profile first, replace row-by-row loops with vectorised NumPy or pandas operations, process in chunks, then consider multiprocessing or a distributed engine.

07Fundamentals0/3

Core programming

This role asks for Scala. We do not have questions specific to it yet, so practise these fundamentals and answer them in that language.

  • Explain the difference between a process and a thread, and when you would use each.

    What good looks like

    Memory isolation versus shared memory, cost of creation and context switches, and the synchronisation problems that sharing introduces.

  • 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

Senior engineering roles almost always include a design round. State requirements and rough numbers first, then walk through trade-offs.

  • Design a payment service that must never charge a customer twice.

    What good looks like

    Idempotency keys, a payment state machine, reconciliation with the provider, and at-least-once delivery with de-duplication rather than hoping for exactly-once.

  • Your service's p99 latency doubled after a release. Walk me through how you investigate.

    What good looks like

    Check what changed, compare dashboards and traces, isolate by endpoint and dependency, roll back first if users are hurting, then find the root cause with profiling.

  • Design the REST API for a multi-tenant SaaS product.

    What good looks like

    Resource modelling, versioning, pagination, authentication and tenant isolation, idempotent writes, and a consistent error contract.

09Every loop0/4

Behavioural

Every interview loop has a behavioural round. For senior roles, expect probing on influence without authority, judgement under pressure and raising the bar for others. 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.

  • Describe the most complex technical or analytical problem you have solved.

    What good looks like

    Explain why it was hard, the options you considered, how you de-risked the chosen approach, and what you would do differently now.

  • 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".

  • 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.

Company research brief: Target

From the roles we track on LYDJ, refreshed daily from the official careers page.

70

open roles

31

added in 30 days

11

in Data & AI

Retail, Travel & ConsumerGCC

Hiring most for

  • Other27
  • Engineering16
  • Data & AI11
  • Operations4

Cities

Bengaluru · 70
See all 70 roles at Target →

Read before the interview

Questions to ask them

  • ›There are several open Data & AI roles at Target right now. How is the team growing, and where does this role fit?
  • ›How does the team use Statistics and Machine Learning 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: Sr AI Engineer- Item Science at Target | LYDJ