As reported: Cohesity Software Engineer 3 (Bangalore), May 2026, hiring manager round with a director: one technical question alongside the behavioural part. The discussion covered reading in chunks sized to the available RAM, memory corruption and running out of disk space.
You have two files on a server, A and B. B is 100 GB. Append the full contents of B to the end of A.
- How do you do it when the machine has far less RAM than 100 GB?
- What can go wrong while it runs, and how do you make the operation safe?