Sanlam frontend mock interview
Pick from 11 questions candidates reported at Sanlam or its interview guide picks, solve them against the clock, then answer the follow-ups.
Build your interview
Pick up to 6 questions, or add them at random. They share one clock and open in any order.
Sanlam's 11 questions are part of Pro. Choose Google, Meta, Amazon, Microsoft and Flipkart to pick from their free questions.
Your interview
0 of 6
0min on one clock
- 1Choose a free company to start
Sanlam mock interviews are part of Pro
With a free account you can take mock interviews for Google, Meta, Amazon, Microsoft and Flipkart.
The Sanlam loop
The rounds Sanlam runs for frontend roles, from its interview guide. The mock interview rehearses the coding and design rounds.
- 1Application and HR callYou apply through Sanlam's careers portal, and shortlisting starts only after the closing date. A Cape Town Software Engineer report describes an initial call with HR as the first step.
- 2Take-home assessmentAn open-ended task done in your own time. The Cape Town report gives a bank account withdrawal flow as the example, and a 2015 report describes importing an XML file, processing it and exporting a result set.
- 3Solution deep dive or technical panelDeep dives on your take-home solution, or a panel with a senior developer. Reported questions cover OOP, .NET, interfaces versus abstract classes, and HTTP, web, services and threads.
- 4Case study (some roles)One Associate Java Developer was given a case study 15 minutes before the last panel and asked how they would design a system for it.
- 5Leadership principles roundThe Cape Town Software Engineer report says the final round is about Sanlam's leadership principles, so expect behavioural questions tied to them.
- The full Sanlam interview guide
Sanlam questions in this mock interview
Every one of them opens with Pro.
JavaScript round5
- Diagnose a failing CORS preflight and write the server's CORS handler35 min
- Choose Cache-Control headers for hashed assets, HTML and API responses25 min
- Model a school with classes: inheritance, private fields, validated setters, a static id counter and overrides35 min
- Build Angular reactive forms: FormControl, FormGroup, FormArray, validators, status and dirty state70 min
- Implement RxJS switchMap, mergeMap, concatMap and exhaustMap with correct completion and teardown55 min
React & UI round4
- Debug an infinite useEffect() loop and prevent stale asynchronous responses35 min
- Build a fault-tolerant React checkout flow with idempotent submission, recovery, and persistent state75 min
- Build a multi-step form as a useReducer state machine with no impossible states40 min
- Build a LoadingButton that keeps its width, blocks double submits and stays accessible35 min
How the mock interview works
- 1Step 1
Build your interview
Pick how many questions you want from each round, the level and a company. Google, Meta, Amazon, Microsoft and Flipkart are free with an account; every other company is in Pro.
- 2Step 2
Solve them against the clock
The room goes full screen: your questions down the left, the problem beside a real editor with tests, and one clock for the whole set. Open the questions in any order.
- 3Step 3
Answer the follow-ups
Then the interviewer asks follow-up questions. Answer each one out loud, open the model answer, and grade yourself as strictly as an interviewer would.
- 4Step 4
Read your debrief
Tests or design, follow-ups and time add up to a score out of 100 for each question, with the verdict a debrief would give. Every score is saved to your dashboard.