Interview practice plan

S

Software Engineering PMTS (NodeJs, Javascript, Distributed Systems)

Salesforce · Bengaluru

EngineeringMid level25 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.

Node.jsJavaScriptDistributed systemsSalesforceCRMDigital marketingAuditProduct managementGitTypeScriptReactMicroservicesREST APIsGraphQLAWSAgile

Also named in the description, not covered below: Salesforce, CRM, Digital marketing, AWS, Agile, Observability. 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 25 questions practised

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

01Required skill0/3

JavaScript

This role asks for Node.js and JavaScript. These JavaScript questions cover the ground they share.

  • Explain the event loop. In what order do setTimeout, a resolved Promise and code after await run?

    What good looks like

    Call stack, microtask queue (promises) drained before the next macrotask (timers), and how await splits a function into a microtask continuation.

  • Implement debounce, and explain when you would use debounce versus throttle.

    What good looks like

    Debounce waits for a pause (search input), throttle limits the rate (scroll handlers). Handle this, arguments and clearing the timer.

  • How do you handle errors in async code? What happens to an unhandled promise rejection?

    What good looks like

    try/catch around await, .catch on chains, Promise.allSettled when partial failure is fine, and a global handler for logging unhandled rejections.

02Required skill0/3

Audit

This role asks for Audit.

  • How do you choose a sample size, and what do you do when you find an exception?

    What good looks like

    Base it on control frequency and risk; for an exception, understand the cause, consider extending the sample, assess impact and report it.

  • Explain SOX 404 and the role of IT general controls.

    What good looks like

    Management's assessment of internal control over financial reporting; ITGCs (access, change management, operations) support the reliability of automated controls.

  • A process owner strongly disagrees with your audit finding. How do you handle it?

    What good looks like

    Re-check your evidence, listen for facts you may have missed, focus on risk rather than blame, and agree the rating and actions or escalate respectfully.

03Required skill0/3

Product management

This role asks for Product management.

  • How would you improve the job search experience for first-time job seekers?

    What good looks like

    Pick a clear user segment, find a real pain point, propose a few solutions, prioritise one with reasoning, and define how you would measure success.

  • A key metric dropped right after your launch. What do you do?

    What good looks like

    Verify the data, check whether the launch caused it (cohorts, rollout groups), decide whether to roll back, and communicate a plan with timelines.

  • How do you define success metrics for a new feature?

    What good looks like

    Link to the product's north-star metric, choose a leading indicator you can move, add guardrail metrics, and make sure it can be measured and attributed.

04Required skill0/3

CI/CD & IaC

This role asks for Git. These CI/CD & IaC questions cover the ground it builds on.

  • How do you manage infrastructure as code safely across environments and a team?

    What good looks like

    Remote state with locking, reusable modules, plans reviewed in pull requests, separate state per environment, drift detection and least-privilege CI credentials.

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

  • How should secrets be handled in a CI/CD pipeline?

    What good looks like

    A secrets manager or the platform's secret store, short-lived federated credentials, masking in logs, and never committing secrets to the repo.

05Required skill0/3

TypeScript

This role asks for TypeScript.

  • Explain generics with constraints. Write a typed function that picks a set of keys from an object.

    What good looks like

    Use <T, K extends keyof T> returning Pick<T, K>, and explain how the constraint keeps callers from passing keys that do not exist.

  • What are discriminated unions, and how do they help with exhaustive checks?

    What good looks like

    A shared literal field narrows the type in a switch; assigning the default case to never makes the compiler flag any unhandled variant.

  • When is using any or a type assertion acceptable, and how do you keep a large codebase strictly typed?

    What good looks like

    Prefer unknown plus narrowing, enable strict mode, validate external data at the boundary, and tighten gradually with lint rules.

06Required skill0/3

React

This role asks for React.

  • What are the rules of hooks, and why do they exist?

    What good looks like

    Call hooks at the top level and only from components or custom hooks, because React tracks hook state by call order between renders.

  • Explain useEffect dependencies, and describe a bug caused by a stale closure.

    What good looks like

    The effect sees values from the render it was created in; missing dependencies leave it reading old state. Fix with correct deps, functional updates or refs.

  • How do you make a React page accessible?

    What good looks like

    Semantic HTML, labelled controls, focus management for dialogs, full keyboard support, ARIA only when native elements cannot do it, and testing with a screen reader.

07Design round0/3

System design

This role asks for Distributed systems, Microservices, REST APIs and GraphQL, so expect an architecture round. State requirements and numbers first, then trade-offs.

  • Design a URL shortener that handles 100 million redirects a day.

    What good looks like

    Clarify the read/write ratio, design ID generation, storage and caching, then cover hot keys, analytics and expiry. Back-of-envelope numbers earn credit.

  • Design a rate limiter for a public API.

    What good looks like

    Compare token bucket, fixed and sliding windows; decide where it lives (gateway or service), how counters are shared across nodes, and how clients learn they are limited.

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

08Every loop0/4

Behavioural

Every interview loop has a behavioural round. At mid level, expect questions on delivering independently, handling ambiguity and working through disagreement. Use the STAR structure.

  • Tell me about a time you worked with unclear or changing requirements.

    What good looks like

    Show how you reduced ambiguity: clarifying questions, writing down assumptions, small experiments and getting explicit sign-off.

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

  • What is a goal you set for yourself in the last year, and how did you track it?

    What good looks like

    Pick a measurable goal, describe the system you used to track it, and be honest about where you fell short.

  • 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: Salesforce

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

38

open roles

18

added in 30 days

12

in Engineering

Product & SoftwareGCCGreat Place to Work

Hiring most for

  • Engineering12
  • Other11
  • Sales & Marketing9
  • Operations3

Cities

Bengaluru · 18Hyderabad · 14Gurugram · 3Mumbai · 3
See all 38 roles at Salesforce →

Read before the interview

Questions to ask them

  • ›There are several open Engineering roles at Salesforce right now. How is the team growing, and where does this role fit?
  • ›The company hires in Bengaluru, Hyderabad, Gurugram. How do teams across locations work together day to day?
  • ›How does the team use Node.js and JavaScript 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?

Preparation checklist

0/8 done

Saved in this browser only.

Interview prep: Software Engineering PMTS (NodeJs, Javascript, Distributed Systems) at Salesforce | LYDJ