Tip 1: Go through the GATE preparation videos.
Tip 2: Learn concepts about troubleshooting approach and mindset.
Tip 1: Keep it clear and well-prepared.
Tip 2: Add a point or two about the role you are applying for.
There were 10 MCQs related to AWS, Networking, OS and Troubleshooting.
Problem: Write a function that parses a log file and returns error counts by error type.
Sample log format:
2024-03-02T10:15:30 ERROR: Connection timeout
2024-03-02T10:15:35 INFO: Server started
2024-03-02T10:15:40 ERROR: Connection timeout
2024-03-02T10:15:45 ERROR: Invalid credentials
2024-03-02T10:15:50 INFO: Request processed
Expected output:
{
'Connection timeout': 2,
'Invalid credentials': 1
}
We start by creating an empty dictionary to store our error counts
We go through each line of the log file one by one
For each line, we check if it contains the word "ERROR:"
If we find "ERROR:", we extract the actual error message
We update our dictionary with the count of each unique error
Finally, we return the dictionary with all error counts
Which of the following best describes a zombie process in Linux?
a) A process that is consuming too much CPU
b) A process that has completed execution but still has an entry in the process table
c) A process that is stuck in an infinite loop
d) A process that has been killed forcefully
Ans- b) A process that has completed execution but still has an entry in the process table.
Write a script that monitors system processes and alerts if CPU usage exceeds a threshold.
You have a database table 'orders' with millions of records that's performing slowly. Write queries to analyse and optimize it.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?