Junior Devops Engineer Interview Questions

8,097 junior devops engineer interview questions shared by candidates

How can we integrate CloudWatch with Grafana? What is the architecture of Kubernetes? What are the 3 pillars of Observability? What is crashloopbackoff and how to troubleshoot? How to integrate alerts in Grafana? How can we customize dashboard in Grafana? How the prometheus is connect with diff. clusters, can we achieve this? What is Helm? How can we install a chart? Commands basics of Helm
avatar

Devops Engineer

Interviewed at Persistent Systems

4.2
Sep 14, 2025

How can we integrate CloudWatch with Grafana? What is the architecture of Kubernetes? What are the 3 pillars of Observability? What is crashloopbackoff and how to troubleshoot? How to integrate alerts in Grafana? How can we customize dashboard in Grafana? How the prometheus is connect with diff. clusters, can we achieve this? What is Helm? How can we install a chart? Commands basics of Helm

Martin is a software developer who is working on a problem regarding the bases of a number. His manager has assigned him an integer N. representing a number in base 10. In general, in a base X number system, we have X different digits to represent numbers. The digits range from 0 to X-1 because we start counting from 0. For example, in base 10, we have 10 digits (0 to 9), and in base 2 (binary), we have two digits (0 and 1). Your task is to help him to convert the number N to all possible bases and return a string value representing the lexicographically smallest possible number. Note: Consider the base of a number up to 36. The lexicographically smallest number is the one which will occur first on the number line among other numbers. Input Specification: input1: An integer value N. representing the integer in base 10. Output Specification: Return a string value representing the lexicographically smallest possible number. Example 1: input1:5 Output: 10 Explanation: Here the given number is 5 which is in the base 10 format. If we convert the number to base 5, we get: 510 (5 in base 10) will be 101 2 101 in base 2) as (2 ^ 2 * 1) + (2 ^ 1 * 0) + (2 ^ 0 + 1) = 4 + 0 + 1 = 5 5 10 (5 in base 10) will be 12 3 (12 in base 3) as (3 ^ 1 * 1) + (3 ^ 0 * 2) =3+ 2-5. 5 10 5 in base 10) will be 114 (11 in base 4) as (4 ^ 1 * 1) + (4 ^ 0 * 1) =4+ 15. s_{10} 5 in base 10) will be 10s (10 in base 5) as (5 ^ 1 * 1) + (5 ^ 0 * 0) =5+ 0=5. 10s (10 in base 5) is lexicographically the smallest among all the converted numbers. Therefore, 10 is returned as the output. Example 2: input1:50 Output:101 Explanation: Here the given number is 50 which is in the base 10 format. If we convert the number to base 7. we get: 5010 (50 in base 10) will be 1017 (101 in base 7) as (721) + (710) + (701)=49+0+1 = 50, This is lexicographically the smallest among all the converted numbers. Therefore. 101 is returned as the output.
avatar

DevOps Engineer - V1

Interviewed at ANSR

3.7
Apr 23, 2025

Martin is a software developer who is working on a problem regarding the bases of a number. His manager has assigned him an integer N. representing a number in base 10. In general, in a base X number system, we have X different digits to represent numbers. The digits range from 0 to X-1 because we start counting from 0. For example, in base 10, we have 10 digits (0 to 9), and in base 2 (binary), we have two digits (0 and 1). Your task is to help him to convert the number N to all possible bases and return a string value representing the lexicographically smallest possible number. Note: Consider the base of a number up to 36. The lexicographically smallest number is the one which will occur first on the number line among other numbers. Input Specification: input1: An integer value N. representing the integer in base 10. Output Specification: Return a string value representing the lexicographically smallest possible number. Example 1: input1:5 Output: 10 Explanation: Here the given number is 5 which is in the base 10 format. If we convert the number to base 5, we get: 510 (5 in base 10) will be 101 2 101 in base 2) as (2 ^ 2 * 1) + (2 ^ 1 * 0) + (2 ^ 0 + 1) = 4 + 0 + 1 = 5 5 10 (5 in base 10) will be 12 3 (12 in base 3) as (3 ^ 1 * 1) + (3 ^ 0 * 2) =3+ 2-5. 5 10 5 in base 10) will be 114 (11 in base 4) as (4 ^ 1 * 1) + (4 ^ 0 * 1) =4+ 15. s_{10} 5 in base 10) will be 10s (10 in base 5) as (5 ^ 1 * 1) + (5 ^ 0 * 0) =5+ 0=5. 10s (10 in base 5) is lexicographically the smallest among all the converted numbers. Therefore, 10 is returned as the output. Example 2: input1:50 Output:101 Explanation: Here the given number is 50 which is in the base 10 format. If we convert the number to base 7. we get: 5010 (50 in base 10) will be 1017 (101 in base 7) as (721) + (710) + (701)=49+0+1 = 50, This is lexicographically the smallest among all the converted numbers. Therefore. 101 is returned as the output.

Viewing 8081 - 8090 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 8,097 interview questions and reports from Junior devops engineer interviews. Prepare for your interview. Get hired. Love your job.