Senior Devops Engineer Interview Questions

13,167 senior devops engineer interview questions shared by candidates

Some of the questions I can remember, although not exact, but close :- 1. Here is data in some format state=on format=abcd;status=xyz state=on format=mnop;status=rtu .... n Re-arrange data through bash script in CSV format in the following manner state is on, format is abcd, status is xyz state is on format is mnop, status is rtu .... n 2. Which application runs on the following ports 1) port 20 2) port 22 3) port 25 4) port 53 3. A file abcd.txt is 5.1 mb in size. A hard link with name xyz.txt is created on that file and following is it's du -sh output # du -sh 5.1mb file1 What will be the size of xyz.txt? If we delete abcd.txt, now what will be the size of xyz.txt and will it exist? 4. /etc/passwd has the following entries :- ubuntu:ubuntu /bin/bash user:user /bin/bash /home/user Use shell command to display only the hostname and their home directories. 5. How will you recursively delete "*.bat" from current directory and sub-directories in single bash command? 6. egrep "*.bak" | find . -name "*.bak" {$find . -name "*.bak"} {} \. Explain what this command is doing 7. What is the difference between sudo and sudo -E?
avatar

DevOps Engineer

Interviewed at TravelTriangle

4
Feb 9, 2019

Some of the questions I can remember, although not exact, but close :- 1. Here is data in some format state=on format=abcd;status=xyz state=on format=mnop;status=rtu .... n Re-arrange data through bash script in CSV format in the following manner state is on, format is abcd, status is xyz state is on format is mnop, status is rtu .... n 2. Which application runs on the following ports 1) port 20 2) port 22 3) port 25 4) port 53 3. A file abcd.txt is 5.1 mb in size. A hard link with name xyz.txt is created on that file and following is it's du -sh output # du -sh 5.1mb file1 What will be the size of xyz.txt? If we delete abcd.txt, now what will be the size of xyz.txt and will it exist? 4. /etc/passwd has the following entries :- ubuntu:ubuntu /bin/bash user:user /bin/bash /home/user Use shell command to display only the hostname and their home directories. 5. How will you recursively delete "*.bat" from current directory and sub-directories in single bash command? 6. egrep "*.bak" | find . -name "*.bak" {$find . -name "*.bak"} {} \. Explain what this command is doing 7. What is the difference between sudo and sudo -E?

Everything practically based on Networking, Web related, Signals, Project-related, cloud, Servers/Hosts, then DevOps... I managed to answer those questions well... So, what is more important? --- Learn exactly all theory definition like a big bookworm... In BTech (3rd sem onwards...), we studied na those 2 marks/5 marks/10 marks, only that u must focus more...
avatar

Devops Engineer

Interviewed at Indix

3.6
Aug 13, 2015

Everything practically based on Networking, Web related, Signals, Project-related, cloud, Servers/Hosts, then DevOps... I managed to answer those questions well... So, what is more important? --- Learn exactly all theory definition like a big bookworm... In BTech (3rd sem onwards...), we studied na those 2 marks/5 marks/10 marks, only that u must focus more...

Viewing 1851 - 1860 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 13,167 interview questions and reports from Senior devops engineer interviews. Prepare for your interview. Get hired. Love your job.