HCL Interview Questions
Focused on GCP, DevOps, Docker, Kubernetes, and AWS (4-8 years of experience).
Company-focused questions
L1 round
Q1: Introduce yourself.
Q2: Where do you store credentials of CI/CD pipelines and Kubernetes?
Q3: Suppose an ECS deployment is stuck and pods are still running on the older version, how will you debug?
Q4: Suppose you deployed in non-prod successfully but in production it failed. How will you handle this scenario?
Q5: If CPU utilization is at 30%-40% but users face delayed response, how will you debug?
Q6: If users are getting 502 or 5xx errors, what will you check first?
Q7: What type of automations have you done in your current projects using Python?
Q8: Explain what happens and how your build starts once a developer commits code into 'develop'.
Q9: How do you manage Helm values files for different environments?
Q10: How will you optimize Docker image size?
L2 round
Q1: What is DevOps and SRE, and what do you think about both?
Q2: When does the state file get created in Terraform?
Q3: What is a remote backend in Terraform?
Q4: What are provisioners in Terraform?
Q5: Explain Kubernetes architecture.
Q6: Suppose there are three types of pods and each is managed by a single service. How does load balancing happen?
Q7: What are labels and selectors in Kubernetes?
Q8: What is PV and PVC in Kubernetes?
Q9: How does a request travel from the internet to your application?
Q10: Can a service load balance multiple types of pods?
Q11: What are autoscaling groups? Based on what metrics does autoscaling happen?
Q12: What happens when node count increases in an autoscaling group?
Q13: Is there a way to prevent specific nodes from scaling down in autoscaling groups?
Q14: Suppose in an ASG load increases and two new nodes are added, and now load has decreased. Which two nodes will get removed from the ASG?
Q15: What happens behind the scenes in this autoscaling mechanism?
Q16: What is a Dockerfile and a Docker image?
Q17: How can we secure Docker containers?