Interview practice plan
Software Engineering LMTS (Database Engineering)
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, DynamoDB, Observability, NoSQL, SRE, Java, 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 25 questions practised
Answer each one out loud, then tick it. Progress is saved in this browser only.
SQL
This role asks for PostgreSQL and MySQL. These SQL questions cover the ground they share.
Find users who were active on at least three consecutive days.
What good looks likeHide hint
A gaps-and-islands pattern: subtract ROW_NUMBER() from the activity date, group by user and that difference, and count.
A query that used to take 2 seconds now takes 2 minutes. How do you debug it?
What good looks likeHide hint
Read the execution plan, check stale statistics, missing or unused indexes, data growth and skew, parameter-sensitive plans, and locking.
Compute a 7-day rolling average of daily revenue, including days with no sales.
What good looks likeHide hint
Build a calendar of dates, LEFT JOIN the sales, fill missing days with zero, then AVG over ROWS BETWEEN 6 PRECEDING AND CURRENT ROW.
Python
This role asks for Python.
Explain decorators. Write one that retries a function with exponential backoff.
What good looks likeHide hint
A function that wraps another, functools.wraps to keep metadata, configurable retries and delays, and only retrying exceptions that are actually transient.
How do you structure a Python codebase so a team can work on it safely?
What good looks likeHide hint
Locked dependencies, pyproject-based packaging, type hints checked in CI, pytest with fixtures, linting and formatting, and clear module boundaries.
A Python data-processing script takes hours. How do you speed it up?
What good looks likeHide hint
Profile first, replace row-by-row loops with vectorised NumPy or pandas operations, process in chunks, then consider multiprocessing or a distributed engine.
CI/CD & IaC
This role asks for CI/CD, Jenkins, Git and Terraform. These CI/CD & IaC questions cover the ground they share.
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.
Cybersecurity
This role asks for IAM. These Cybersecurity questions cover the ground it builds on.
Walk me through your response to a suspected compromised user account.
What good looks likeHide hint
Contain (revoke sessions and keys), scope using logs, eradicate, recover, communicate to the right people, and run a blameless review.
What is the difference between authentication and authorisation, and where do OAuth 2.0 and OpenID Connect fit?
What good looks likeHide hint
Authentication proves identity, authorisation decides access; OAuth delegates access with tokens, OIDC adds an identity layer on top.
How would you run a penetration test on a web application, from scoping to report?
What good looks likeHide hint
Rules of engagement and scope, reconnaissance, testing for auth, access control and injection issues, safe exploitation, and a report with clear risk and fixes.
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.
Explain slowly changing dimensions, especially Type 1 versus Type 2.
What good looks likeHide hint
Type 1 overwrites history, Type 2 adds a new row with effective dates and a current flag; choose based on whether reports need history.
Star schema or one wide denormalised table: what are the trade-offs for analytics?
What good looks likeHide hint
Star schemas keep dimensions consistent and reusable; wide tables are simpler and faster for specific use cases but duplicate logic. Many teams use both layers.
AWS
This role asks for AWS.
How would you design a highly available web application on AWS across multiple availability zones?
What good looks likeHide hint
Load balancer across AZs, auto-scaling stateless compute, a multi-AZ database, externalised sessions, health checks and a tested failover plan.
Explain IAM users, roles and policies. How does a Lambda or EC2 instance get credentials without hard-coded keys?
What good looks likeHide hint
Roles assumed by services issue temporary credentials; policies grant least privilege; never embed long-lived access keys in code or images.
How would you secure an S3 bucket that stores customer documents?
What good looks likeHide hint
Block public access, least-privilege bucket policies, encryption with KMS, pre-signed URLs for access, versioning and access logging.
Core programming
This role asks for Shell scripting. 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 likeHide hint
Memory isolation versus shared memory, cost of creation and context switches, and the synchronisation problems that sharing introduces.
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.
Walk me through what happens when you type a URL into a browser and press Enter.
What good looks likeHide hint
DNS, TCP and TLS handshakes, the HTTP request, server processing, then parsing, rendering and loading sub-resources. Depth in one area beats a shallow list.
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.
Describe a piece of feedback that changed how you work.
What good looks likeHide hint
State the feedback, your honest first reaction and the concrete behaviour you changed. Close with evidence that the change stuck.
Walk me through a project you are proud of and your specific role in it.
What good looks likeHide hint
Separate "we" from "I". Cover the problem, the decisions you personally made, the trade-offs, and a measurable result.
Tell me about a time you disagreed with a teammate or your manager. How did it resolve?
What good looks likeHide hint
Show that you disagreed on substance with evidence, listened properly, and committed once a decision was made, even if it went the other way.
Why do you want this role, and why now?
What good looks likeHide hint
Connect two or three specific requirements of the role to your experience and to a direction you are deliberately moving in. Generic praise of the company scores poorly.
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 Salesforce and CRM 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.