Deloitte Interview Question

You have to write a java code not to write the code just asked the intuition Live server is running and you have to write a java code to automatically find the status of log coz i am not able to check every log so you write a code for automation and tell me the cpu utilisation performance of this server when you have 3 months log file of that server

Interview Answer

Anonymous

Sep 6, 2025

I said i will iterate through each line of log and check for error code like 404,200 like that i will pop up the status accordingly.. For the 2nd one i said i will calculate no of process that have used the cpu in these 3 months and i will ise time stamps to calculate the cpu utilisation time and find the average of them to get cpu performance