The user complains that the server is slow and everything hangs. You log in via SSH. What will you do first?
DevOps
How does DevOps differ from SRE engineer?
The external service is unavailable, but everything is running on the server. How do you check?
You have been given a server where Nginx is crashing. Where will you start?
How to enter a running container in interactive mode?
How to find a process by name, for example Nginx?
How would you update the config and restart the service on multiple servers?
You need the service to restart itself every day at 3 am. How to implement this in Linux?
How to view the list of containers in Docker?
The script does not start, it gives permission denied. What will you check and how will you fix it?
What IaC tools have you worked with?
How to see which ports are currently listening on the machine?
Which command to check the operating system, version, and free memory?
How to find lines with the word 'Error' in a file?
The application crashes every few hours, logs have accumulated. How would you look for the cause?
On the host, containers are running, one has stopped responding. How will you check what is happening with it?
What command can be used to view the last 20 lines of a text file or log?
How to view the list of files in the current directory with details: permissions, owner, size?