Interview practice plan
Software Engineering PMTS (NodeJs, Javascript, Distributed Systems)
Salesforce · 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: 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.
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 likeHide hint
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 likeHide hint
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 likeHide hint
try/catch around await, .catch on chains, Promise.allSettled when partial failure is fine, and a global handler for logging unhandled rejections.
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 likeHide hint
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 likeHide hint
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 likeHide hint
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.
Product management
This role asks for Product management.
How would you improve the job search experience for first-time job seekers?
What good looks likeHide hint
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 likeHide hint
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 likeHide hint
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.
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 likeHide hint
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 likeHide hint
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 likeHide hint
A secrets manager or the platform's secret store, short-lived federated credentials, masking in logs, and never committing secrets to the repo.
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 likeHide hint
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 likeHide hint
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 likeHide hint
Prefer unknown plus narrowing, enable strict mode, validate external data at the boundary, and tighten gradually with lint rules.
React
This role asks for React.
What are the rules of hooks, and why do they exist?
What good looks likeHide hint
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 likeHide hint
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 likeHide hint
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.
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 likeHide hint
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 likeHide hint
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 likeHide hint
Resource modelling, versioning, pagination, authentication and tenant isolation, idempotent writes, and a consistent error contract.
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 likeHide hint
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 likeHide hint
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 likeHide hint
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 likeHide hint
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
Hiring most for
- Engineering12
- Other11
- Sales & Marketing9
- Operations3
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 doneSaved in this browser only.