As a Software Engineer at KSB, you are at the heart of maintaining and optimizing the robust technological backbone that powers our global operations. This role is not merely about writing code; it is about ensuring that our complex IT infrastructure, network architecture, and collaboration platforms remain resilient, scalable, and secure. You will play a critical role in supporting the digital transformation of KSB, ensuring that our systems meet the high-performance demands of our international business units. Your work will directly influence the efficiency of our internal stakeholders and the reliability of our mission-critical services. Whether you are managing complex network environments, architecting IT infrastructure, or optimizing M365 implementations, your contributions ensure that KSB maintains its operational excellence. We look for engineers who are not only technically proficient but also proactive in identifying bottlenecks and implementing sustainable, long-term solutions. This module provides an overview of the compensation landscape for technical roles at KSB within the Indian market. You should interpret these figures as a competitive benchmark that reflects the seniority, technical depth, and specialized domain knowledge required for the position. Use this data to calibrate your expectations and ensure your own compensation discussions are grounded in market reality.
Technical Screening
reportedInitial assessment to establish your baseline skills in software engineering.
What to demonstrate
- Initial assessment to establish your baseline skills in software engineering
- Depth in Microsoft 365 (M365) Support
How to prepare
- Answer aloud and timed: Explain the process of troubleshooting a high-latency network connection in a distributed environment.
- Answer aloud and timed: How do you approach the configuration and security of a multi-site network infrastructure?
Deeper-Dive Interviews
reportedIn-depth discussions focusing on your domain expertise and problem-solving capabilities.
What to demonstrate
- In-depth discussions focusing on your domain expertise and problem-solving capabilities
- Depth in Microsoft 365 (M365) Support
How to prepare
- Answer aloud and timed: Describe your experience with managing enterprise-level hardware and server environments.
- Answer aloud and timed: What steps do you take to ensure high availability in a critical IT infrastructure setup?
Managerial Review
reportedFinal assessment by management to evaluate overall fit and alignment with team goals.
What to demonstrate
- Final assessment by management to evaluate overall fit and alignment with team goals
- Depth in Microsoft 365 (M365) Support
How to prepare
- Answer aloud and timed: How do you handle disaster recovery and business continuity planning for core systems?
- Answer aloud and timed: How do you manage user permissions and security policies within M365?
PracHub editorial advice for the preparation topics above.
Document your process
During technical questions, always explain your "why" before your "how."
Be proactive
Mention how you stay updated with emerging technology trends relevant to your field.
Understand the business
Research KSB and understand how our products rely on the infrastructure you will be managing.
Choose a category, try a prompt, then open its approach, worked solution or follow-up when you need it.
Identify the heaviest tenants in a five-minute window under memory pressure
The edge service handles about 3,000 requests per second across roughly 50,000 tenants, peaking near 9,000. Expose the 50 heaviest tenants by request count over the trailing five minutes so limits can be tightened before one tenant's backfill starves the fleet. You may not retain five minutes of raw records. Give the exact solution and its memory, then the bounded-memory approximation with its error stated as a formula, and say which you would ship and at what tenant cardinality that choice changes.
Approach
- Do the exact version first, because it is affordable at this cardinality: a ring of 300 one-second counters per tenant, advanced lazily, is 1,200 bytes of counters per tenant and roughly 60 to 90 MB for 50,000 tenants with overhead. Carry a running total and subtract the bucket you overwrite so a window read is O(1) rather than 300 adds.
- Extract the top 50 with a size-k min-heap over the tenant sums: O(d log k) for d tenants, against O(d log d) to sort them all. Maintaining the heap continuously instead of on query requires a tenant-to-heap-index map, because incrementing a count already inside the heap means sifting from a known position, and without that map you rebuild the heap on every request.
- State the approximation precisely rather than gesturing at sketches. Misra-Gries with m counters retains every item whose true count exceeds N/(m+1), and each retained count underestimates the truth by at most N/(m+1). With m = 1,000 and N = 900,000 requests in the window the error is roughly 900 requests, which is fine for spotting a tenant sending 50,000 and useless for ranking two tenants 200 apart.
- Say what breaks when the window slides: Misra-Gries and Space-Saving are insert-only and cannot be decremented as records age out. The workable construction is one summary per sub-window, say ten seconds, with 30 summaries merged at query time, and the merged error is the sum of the per-summary errors, so the bound degrades linearly in the number of sub-windows.
Follow-up
- The heaviest tenant is heavy because of one export job rather than user traffic. Should the limiter treat those as the same tenant?
- Two tenants sit tied at the boundary of the top 50. Does your answer flap, and does the flapping matter?
Diff a projection against the primary without per-row point reads
The listing projection has drifted and some rows show a stale version. The primary holds 40,000,000 resource rows across 12,000 tenants while serving 1,200 writes and 14,000 reads per second. The obvious repair, reading each resource row and comparing its version against the projection, is correct and would eventually finish. Explain precisely why it is unacceptable here, then give a diff that finds the differing rows, state its complexity, and make it safe to run against a live primary. Replication lag is usually under 100 ms and is not bounded.
Approach
- Quantify the naive cost rather than calling it slow: 40,000,000 point reads at even 0.5 ms each is over five hours serialised, and the only lever is concurrency, which is exactly what you cannot spend. The primary's pool is sized for the write path, and 40,000,000 random reads evict the buffer cache that sustains the 85 percent cache hit rate, so the audit degrades the system it is auditing.
- Replace random access with one ordered pass per side. Both sides can be read in (tenant_id, resource_id) order, which is a sequential scan on each and a merge join in O(n) time and O(1) memory. For a dense diff that is the whole answer, and it reads the primary once instead of 40,000,000 times.
- For the expected sparse case, compare range hashes instead of rows: partition the key space, compute per range an order-independent aggregate over hash(resource_id, version), compare aggregates, and descend only into ranges that differ. With d differing rows and branching factor B, at most d ranges mismatch per level, so the drill-down examines O(d log_B(n/d)) ranges and reads full rows only in mismatching leaves.
- Aggregate with a sum modulo 2^64 or a multiset hash, never XOR. XOR is order-independent but self-cancelling, so two rows wrong in the same way, or a row duplicated on one side, leave the range aggregate matching and the range is declared clean.
Follow-up
- The diff reports 900 stale rows. How do you decide between patching those rows and rebuilding the projection from resource_revision?
- Same job, but the projection lives in a search index that cannot be scanned in key order. What changes?
Track a rolling failure rate per destination for circuit decisions
The egress service delivers about 1,500 webhooks per second across roughly 40,000 destinations, each call bounded by a 10 second timeout. Maintain, per destination, the failure rate over the trailing 60 seconds so a caller can ask before dispatch whether the circuit should open. Attempts arrive as (destination_id, finished_at_ms, outcome). Requirement: amortised O(1) per attempt, with total memory bounded by the destination count rather than by traffic. Give the structure, its exact memory, and the rule that stops a destination with three attempts from opening a circuit.
Approach
- Name the exact-deque version and then reject it as the default. Holding timestamps and advancing a tail pointer past anything older than now minus 60 seconds is a correct two-pointer window at amortised O(1) per attempt, but its memory tracks in-window traffic, so one destination in a retry storm holds hundreds of thousands of entries while thousands of quiet destinations hold none.
- Use a ring of 60 one-second buckets per destination, each bucket a pair of counters for attempts and failures. On an attempt, advance the ring by the elapsed whole seconds, zeroing at most min(elapsed, 60) buckets, then increment the head. That is amortised O(1) with a fixed footprint per destination.
- State the footprint: 60 buckets times two 4-byte counters is 480 bytes of payload per destination, so 40,000 destinations is roughly 20 to 25 MB with per-entry overhead, bounded by the catalogue rather than by the rate. The cost is granularity, since the oldest bucket ages out in whole seconds, which is far tighter than the decision needs.
- Require a minimum sample before the circuit may open. A destination with three attempts and three failures reads as 100 percent and is not evidence; a floor of roughly 20 attempts in the window makes the ratio meaningful, and below that floor use a run of consecutive failures as the trigger instead.
Follow-up
- The fleet is 30 instances and each sees roughly a thirtieth of a destination's traffic. Where does the rate actually live, and what does a per-instance answer get wrong?
- A destination answers in 9.5 seconds and succeeds. It is not failing but it is consuming your per-destination concurrency. What signal should open the circuit here?
Replace offset paging on the resource feed with keyset
resource holds resource_id, tenant_id, owner_user_id, title, body_ref, version, status ('draft','active','archived','deleted'), created_at, updated_at, deleted_at, with an index on (tenant_id, status, updated_at DESC, resource_id DESC). The listing endpoint returns active resources for one tenant, newest update first, 50 per page, today with LIMIT 50 OFFSET n. Tenants reach page 400 and rows are created while they read. Write the keyset query, define what the cursor carries and how it is encoded, and say which part of the index each predicate uses. Assume PostgreSQL 16.
Approach
- Name the two failures separately. OFFSET 20000 makes the server produce and discard 20,000 rows, so page cost grows with depth rather than with page size. Independently, any write that changes how many rows sort above the offset moves the window between two fetches, and the direction decides which anomaly you get: an insert lands at the head of updated_at DESC and pushes already-returned rows down past the boundary, so they are returned a second time; a delete above the offset, or a row whose updated_at is bumped above the cursor, pulls rows up and one is never returned at all. Nothing in the response reveals either.
- Write the seek: WHERE tenant_id = $1 AND status = 'active' AND (updated_at, resource_id) < ($2, $3) ORDER BY updated_at DESC, resource_id DESC LIMIT 50. The row-value comparison is one index range rather than a disjunction, and both columns are NOT NULL, which is what makes that comparison well defined.
- Map each predicate onto the index: tenant_id and status are equality on the leading columns, (updated_at, resource_id) is the range, and the ORDER BY matches the index order so no Sort node appears and the scan stops after 50 rows. The DESC in the definition only matters for mixed directions — a plain ascending btree on the same columns is read backwards for this query.
- Put both sort columns in the cursor and nothing the client can tamper with into another tenant: base64 of (updated_at, resource_id), validated server-side, with tenant_id taken from the principal.
Follow-up
- The client asks for 'jump to page 400'. What do you offer instead, and what does the honest version cost?
- Sort order becomes user-selectable across four columns. How many indexes is that, and which would you refuse to add?
Keep soft-deleted accounts from blocking re-registration
app_user holds user_id, tenant_id, email CITEXT, password_hash (NULL for SSO principals), email_verified_at, auth_version, status ('invited','active','suspended','deactivated'), created_at, updated_at, deleted_at. Two live accounts for one address inside a tenant must be impossible, but an address freed by a soft delete must be reusable, and the same tenant may delete and re-register it repeatedly. Write the uniqueness DDL for PostgreSQL 16, then the equivalent for MySQL 8 where partial indexes do not exist, and say what each permits once three deleted rows already hold that address.
Approach
- Start from what is actually unique: not (tenant_id, email), but (tenant_id, email) among live rows. PostgreSQL says that directly — CREATE UNIQUE INDEX app_user_live_email ON app_user (tenant_id, email) WHERE deleted_at IS NULL. A full constraint over the same two columns burns the address permanently the first time someone deletes an account.
- Keep case-insensitivity in the type or the index, never in the application: CITEXT as given, or UNIQUE (tenant_id, lower(email)) as an expression index where the extension is unavailable. A case-sensitive unique column is exactly how two accounts for one human appear.
- For MySQL 8 the predicate has to move inside the key: add a discriminator column that is a constant 0 while the row is live and is set to user_id on delete, with UNIQUE (tenant_id, email, deleted_marker). Live rows share the constant and still collide; deleted rows differ from each other and stop colliding.
- State the NULL variant and its dependency: leaving the marker NULL for deleted rows also works, because a unique index treats NULLs as distinct — true in MySQL, and true in PostgreSQL only under the default NULLS DISTINCT, which PostgreSQL 15 lets you reverse. Check the polarity against the three existing deleted rows: constant-on-live is what preserves the collision you want, and reversing it silently admits duplicate live accounts.
Follow-up
- A deleted account re-registers with the same address the next day. Do the old resource rows follow the new user_id, and how does the API keep the two principals apart?
- How do you honour an erasure request while resource_revision.actor_user_id still references this table?
How do you approach the configuration and security of a multi-site network infrastructure?
How do you approach the configuration and security of a multi-site network infrastructure?
Approach
- Fix the scope first: who calls this, how often, and what they do when it fails.
- Name the read and write paths separately; they rarely have the same bottleneck.
- Choose a partition key and say what query it makes expensive.
- State the consistency you need, and where you are willing to be stale.
Follow-up
- What breaks first when traffic grows ten times?
- How does this behave when that dependency is down for an hour?
What steps do you take to ensure high availability in a critical IT infrastructure setup?
What steps do you take to ensure high availability in a critical IT infrastructure setup?
Approach
- Fix the scope first: who calls this, how often, and what they do when it fails.
- Name the read and write paths separately; they rarely have the same bottleneck.
- Choose a partition key and say what query it makes expensive.
- State the consistency you need, and where you are willing to be stale.
Follow-up
- What breaks first when traffic grows ten times?
- How does this behave when that dependency is down for an hour?
How do you manage user permissions and security policies within M365?
How do you manage user permissions and security policies within M365?
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
Describe a challenging issue you resolved regarding Exchange or Teams integration.
Describe a challenging issue you resolved regarding Exchange or Teams integration.
Approach
- Say who the caller is and what they do when the call fails halfway.
- Define the identity of a request so a retry cannot double-apply it.
- Separate accepted, pending, failed and confirmed; they are different facts.
- Design the error taxonomy before the success shape; callers branch on it.
Follow-up
- What happens if the caller retries after a timeout?
- How does a client discover it is on an old version of this contract?
What strategies do you use for monitoring and optimizing M365 performance?
What strategies do you use for monitoring and optimizing M365 performance?
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
How do you ensure data compliance and security when managing cloud-based collaboration tools?
How do you ensure data compliance and security when managing cloud-based collaboration tools?
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
Explain the process of migrating or scaling services within a large-scale tenant environment.
Explain the process of migrating or scaling services within a large-scale tenant environment.
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
How do you prioritize tasks when dealing with multiple critical infrastructure incidents simultaneously?
How do you prioritize tasks when dealing with multiple critical infrastructure incidents simultaneously?
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
Tell us about a technical project where you had to balance performance with budget constraints.
Tell us about a technical project where you had to balance performance with budget constraints.
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
How do you document your processes to ensure other team members can maintain your work?
How do you document your processes to ensure other team members can maintain your work?
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
Explain the process of troubleshooting a high-latency network connection in a distributed environment.
Explain the process of troubleshooting a high-latency network connection in a distributed environment.
Approach
- Establish what changed and when, before forming any theory.
- Pick a bisection that eliminates candidates whichever way it turns out.
- Check the instrumentation before believing the symptom.
- Separate the trigger from the cause; the deploy is rarely the bug.
Follow-up
- What would you look at first, and what would it rule out?
- How would you tell a cause from a coincidence here?
Built from the rounds and topics KSB candidates report.
Prepare, practise & reflect
One practical outcome each day. Spend longer where you need it.
0 / 7 done01Map the KSB loop
- Write out the reported sequence: Technical Screening, Deeper-Dive Interviews, Managerial Review.
- For each round, write one sentence on what it is judging, from the description above, and mark the one you are least ready for.
Deliverable: A one-page map of the 3 reported rounds, with the weakest marked.
02Work Microsoft 365 (M365) Support
- Spend the session on Microsoft 365 (M365) Support, which KSB candidates report being tested on.
- Write one worked example in Microsoft 365 (M365) Support and time yourself on it.
Deliverable: One timed worked example in Microsoft 365 (M365) Support.
03Work Identity and Access Management
- Spend the session on Identity and Access Management, which KSB candidates report being tested on.
- Write one worked example in Identity and Access Management and time yourself on it.
Deliverable: One timed worked example in Identity and Access Management.
04Work Software Engineering
- Spend the session on Software Engineering, which KSB candidates report being tested on.
- Write one worked example in Software Engineering and time yourself on it.
Deliverable: One timed worked example in Software Engineering.
05Answer out loud: Technical Infrastructure & Networking
- Answer aloud, timed: Explain the process of troubleshooting a high-latency network connection in a distributed environment.
- Answer aloud, timed: How do you approach the configuration and security of a multi-site network infrastructure?
Deliverable: Spoken answers to 2 reported Technical Infrastructure & Networking question(s), under time.
06Answer out loud: M365 & Collaboration Systems
- Answer aloud, timed: How do you manage user permissions and security policies within M365?
- Answer aloud, timed: Describe a challenging issue you resolved regarding Exchange or Teams integration.
Deliverable: Spoken answers to 2 reported M365 & Collaboration Systems question(s), under time.
07Answer out loud: Problem-Solving & Operational Logic
- Answer aloud, timed: Describe a time you identified a root cause for a recurring system failure.
- Answer aloud, timed: How do you prioritize tasks when dealing with multiple critical infrastructure incidents simultaneously?
Deliverable: Spoken answers to 2 reported Problem-Solving & Operational Logic question(s), under time.
Expand any day for tasks and deliverables. Your progress is saved on this device.
Behavioural rounds judge the decision you made and what it cost.
Describe your experience with managing enterprise-level hardware and server environments.
Describe your experience with managing enterprise-level hardware and server environments.
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- Name the disagreement and how you resolved it with evidence.
Follow-up
- What would you do differently if you ran that again?
- How did you know your change caused the improvement?
How do you handle disaster recovery and business continuity planning for core systems?
How do you handle disaster recovery and business continuity planning for core systems?
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- Name the disagreement and how you resolved it with evidence.
Follow-up
- What would you do differently if you ran that again?
- How did you know your change caused the improvement?
Describe a time you identified a root cause for a recurring system failure.
Describe a time you identified a root cause for a recurring system failure.
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- Name the disagreement and how you resolved it with evidence.
Follow-up
- What would you do differently if you ran that again?
- How did you know your change caused the improvement?
- 01
Describe your experience with managing enterprise-level hardware and server environments.
- 02
How do you handle disaster recovery and business continuity planning for core systems?
- 03
Describe a time you identified a root cause for a recurring system failure.
How long does the interview process typically take?
The duration varies, but candidates generally complete the full cycle within 3 to 5 weeks. We aim for efficiency while ensuring we have enough data to make a confident decision.
KSB Software Engineer candidate reports ↗Is there a coding component to the interview?
For infrastructure roles, we focus more on scripting (like PowerShell) and system configuration logic rather than complex algorithm development.
KSB Software Engineer candidate reports ↗What is the work culture like at KSB?
KSB is a global company that values precision, reliability, and collaborative problem-solving. We pride ourselves on a culture that supports professional growth and technical excellence.
KSB Software Engineer candidate reports ↗What topics does KSB test in interviews?
KSB interviews most often cover Change Management, Microsoft 365 (M365) Administration, UX/UI Design, Operations Management, and Microsoft 365 (M365) Support. The exact emphasis depends on the specific role you apply for.
KSB Software Engineer candidate reports ↗Sources & methodology 3 sources ↗
No official company page is cited. Rounds and questions come from candidate reports and PracHub editorial material; each source shows the date it was read.
- 01KSB Software Engineer candidate reports ↗
Company-reported rounds, questions and FAQ.
Candidate reports · Accessed 2026-09-22 - 02PracHub Software Engineer practice ↗
PracHub practice material, not company-reported.
PracHub page · Accessed 2026-09-22 - 03PracHub preparation framework ↗
PracHub preparation guidance.
PracHub page · Accessed 2026-09-22