Lead Devops Engineer Interview Questions

10,597 lead devops engineer interview questions shared by candidates

1. Write a shell script that takes a string as input and reverses it. 2. Based on the “Harry Potter.Docx” File. a. Create a shell script that counts the number of lines, words, and characters in the attached file. b. Calculate the number of times the word Harry is coming in the file c. Convert all Harry to Harriet in the file and save it as a new file. 3. Write a script to check if a list of websites is reachable. websites=(“google.com” “github.com” “nonexistentwebsite.example”) 4. Write a shell script to print the size of all files in a folder in descending order.
avatar

Associate DevOps Engineer

Interviewed at Ascendeum

4.4
Sep 26, 2024

1. Write a shell script that takes a string as input and reverses it. 2. Based on the “Harry Potter.Docx” File. a. Create a shell script that counts the number of lines, words, and characters in the attached file. b. Calculate the number of times the word Harry is coming in the file c. Convert all Harry to Harriet in the file and save it as a new file. 3. Write a script to check if a list of websites is reachable. websites=(“google.com” “github.com” “nonexistentwebsite.example”) 4. Write a shell script to print the size of all files in a folder in descending order.

Viewing 9701 - 9710 interview questions

Glassdoor has 10,597 interview questions and reports from Lead devops engineer interviews. Prepare for your interview. Get hired. Love your job.