Maximum Tree Height : Harry has n glasses of water. There is an array arr of n positive integers which represents the amount of water (in litres) in the ith glass. By watering X litres of water to a tree with height H, the height of the tree will increase by X units only if amount of water is more than the height of tree otherwise tree will soak the water and its height will not increase. Your task is to help Harry to water the tree with initial height 0 using n glasses of water in any order to maximize the height of the tree and return the maximum possible height of the tree. Note: One glass can be used only once, and you can't mix water of multiple glasses in one glass. Input Specification: input1: An integer n representing the available number of water glasses. input2: An integer array arr representing the amount of water in the ith glass. Output Specification: Return an integer value representing the maximum possible height of the tree.
Junior Devops Engineer Interview Questions
10,621 junior devops engineer interview questions shared by candidates
Normal Aptitude LeetCode Easy/Medium type coding questions
Explain your understanding and expertise on both the software development side and the technical operations side of an organization you have worked with in the past.
Which are the top DevOps tools? Which tools have you worked on?
Depends a lot in the role you are applying, it will go from basic things to deeper questions. Also, you will be asked for you experience.
Qual seu Hobby? Qual a pretensão?
Basic Kubernetes question, Terraform script, ansible script
Round 1 | Technical | Senior DevOps | Online Can you introduce yourself? Could you discuss the technologies you've worked with or the projects your team focused on? Describe the architecture and key components of Kubernetes (K8s). How can you determine if a pod was deployed using a rolling update? What strategies do you use for session management in Kubernetes? Why is Ansible utilized in infrastructure management? Explain your approach to managing SSH keys in Ansible. How does networking function within a Kubernetes cluster? How do you integrate secrets into GitHub Actions securely without using GitHub Secrets? Are you familiar with SSL certificates? If so, how are they used? How do you handle autoscaling in Kubernetes? How are logs typically forwarded to monitoring dashboards like Grafana in Kubernetes? What considerations are important when managing databases in Kubernetes?
Round 3 | Techno-Managerial | Senior DevOps | In-person Can you discuss your professional background and expertise? What are the advantages of Kubernetes over traditional containers or VMs? Please write a Python program that generates the Fibonacci series. Shell commands: How would you search for a specific pattern in a file? How do you replace a pattern in a file using shell commands? Explain the usage of chmod. What do permissions like 555 and 777 signify? Could you draft a sample GitHub Actions script that covers the entire application deployment process, from code checkout to Kubernetes deployment? How do you securely store and utilize secrets within a pipeline? Are you capable of writing Ansible playbooks? Tell me about Terraform: What are providers in Terraform? Explain the role of provisioners in Terraform. What is the purpose of a remote backend in Terraform? What motivates your decision to seek opportunities outside your current company? Do you have any questions you'd like to ask us?
Write Shell Script for reverse String
Viewing 9891 - 9900 interview questions