Senior Devops Engineer

10+ Senior Devops Engineer Interview Questions and Answers for Freshers

Updated 11 Aug 2022

Q1. What are Terraform life cycles ? and how do we use them ?

Ans.

Terraform life cycles are a set of stages that define how resources are created, updated, and destroyed.

  • Terraform life cycles include create, read, update, and delete (CRUD) operations.

  • They are defined in the provider's resource configuration.

  • They can be used to control the order in which resources are created or updated.

  • Examples of life cycle hooks include pre-create, post-update, and pre-delete.

  • They can be used to perform custom actions before or after resource creation or ...read more

Q2. how to trigger a pipeline from specific version of Application code ?

Ans.

Trigger pipeline from specific version of app code

  • Use version control system to track code changes

  • Configure pipeline to trigger on specific branch or tag

  • Pass version number as parameter to pipeline

  • Use scripting to automate version selection

  • Integrate with CI/CD tools for seamless deployment

Q3. what is ingress in Kubernetes and how does it helps us while we deploy an application in AKS ?

Ans.

Ingress is a Kubernetes resource that manages external access to services in a cluster.

  • Ingress acts as a reverse proxy and routes traffic to the appropriate service based on the URL path or host.

  • It allows for multiple services to share a single IP address and port.

  • In AKS, we can use Ingress to expose our application to the internet or to other services within the cluster.

  • We can configure Ingress rules to specify which services should handle which requests.

  • Ingress controllers,...read more

Q4. what are stages involved in release pipeline ? Explain the code

Ans.

Release pipeline involves stages for deploying code changes to production.

  • Stages include build, test, deploy, and release.

  • Code is built and tested in a development environment before being deployed to staging.

  • Once tested in staging, code is released to production.

  • Continuous integration and delivery tools automate the pipeline.

  • Examples include Jenkins, GitLab CI/CD, and AWS CodePipeline.

Are these interview questions helpful?

Q5. Default inbound/outbound NSG rules when we deploy VM with NSG? Explain them

Ans.

Default inbound/outbound NSG rules when we deploy VM with NSG

  • By default, all inbound traffic is blocked except for traffic that is explicitly allowed by a rule

  • By default, all outbound traffic is allowed

  • Inbound rules are evaluated before outbound rules

  • Default rules can be modified or deleted as per requirement

Q6. How do we ensure high availability of VM and AKS worker nodes ?

Ans.

Ensure high availability of VM and AKS worker nodes

  • Use availability sets for VMs to distribute them across fault domains and update domains

  • Use node pools in AKS to distribute worker nodes across multiple availability zones

  • Implement auto-scaling to add or remove nodes based on demand

  • Monitor node health and set up alerts for failures

  • Regularly update and patch nodes to ensure security and stability

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Q7. What are TF provisioners ? Describe their use cases

Ans.

TF provisioners are used to execute scripts or commands on a resource after it is created.

  • Provisioners are used to configure resources after they are created

  • They can be used to install software, run scripts, or execute commands

  • Provisioners can be local or remote, depending on where the script or command is executed

  • Examples include installing packages on a newly created EC2 instance or running a script to configure a database

  • Provisioners should be used sparingly and only when ...read more

Q8. How do we test connectivity to our app in AKS from Azure Front Door?

Ans.

Test connectivity to AKS app from Azure Front Door

  • Create a test endpoint in AKS app

  • Add the endpoint to Front Door backend pool

  • Use Front Door probe feature to test endpoint connectivity

  • Check Front Door health probes for successful connectivity

Senior Devops Engineer Jobs

Senior DevOps Engineer 8-13 years
Schneider Electric India Pvt. Ltd.
4.2
Bangalore / Bengaluru
Senior DevOps Engineer 4-6 years
Siemens Limited
4.1
Chennai
Senior Devops Engineer 5-10 years
Way Dot Com
4.7
₹ 15 L/yr - ₹ 30 L/yr
Kochi

Q9. what is nodeaffinity and pod affinity in k8s?

Ans.

Node affinity and pod affinity are Kubernetes features that allow you to control the scheduling of pods on nodes.

  • Node affinity is used to schedule pods on specific nodes based on labels or other node attributes.

  • Pod affinity is used to schedule pods on nodes that already have pods with specific labels or attributes.

  • Both features can be used to improve performance, reduce network latency, or ensure high availability.

  • Examples include scheduling pods on nodes with specific hardwa...read more

Q10. Azurecloud services that you worked on ? discuss their use cases in detail at your workplace ?

Ans.

I have worked on Azure App Service, Azure Functions, and Azure DevOps.

  • Azure App Service was used for hosting web applications and APIs.

  • Azure Functions were used for serverless computing and event-driven scenarios.

  • Azure DevOps was used for continuous integration and deployment.

  • We used Azure DevOps to automate the deployment of our applications to Azure App Service and Azure Functions.

  • We also used Azure DevOps for source control, work item tracking, and build pipelines.

Q11. Monitoring tool experience? explain the kind of monitors you might have set for monitoring infra?

Ans.

I have experience with various monitoring tools and can set up monitors for infrastructure health, performance, and security.

  • I have experience with tools like Nagios, Zabbix, and Prometheus.

  • For infrastructure health, I set up monitors for CPU usage, memory usage, disk space, and network connectivity.

  • For performance, I set up monitors for response time, throughput, and error rates.

  • For security, I set up monitors for unauthorized access attempts, failed login attempts, and susp...read more

Q12. difference between pipeline variables and variable groups in Azure DevOps?

Ans.

Pipeline variables are scoped to a single pipeline, while variable groups can be shared across multiple pipelines.

  • Pipeline variables are defined within a pipeline and can be used in tasks within that pipeline

  • Variable groups are defined at the project level and can be used across multiple pipelines

  • Variable groups can be linked to Azure Key Vault for secure storage of sensitive information

  • Pipeline variables can be overridden at runtime using runtime parameters

  • Variable groups ca...read more

Q13. Discuss architecture of K8s in detail ?

Ans.

K8s is a container orchestration platform that automates deployment, scaling, and management of containerized applications.

  • K8s architecture consists of a master node and worker nodes.

  • Master node manages the cluster state and schedules workloads on worker nodes.

  • Worker nodes run the containers and communicate with the master node.

  • K8s uses etcd for storing cluster state and API server for communication.

  • K8s also has various components like kubelet, kube-proxy, and controllers for...read more

Q14. any exposure to PCI / DSS compliance ?

Ans.

Yes, I have exposure to PCI/DSS compliance.

  • I have experience implementing security controls to meet PCI/DSS requirements.

  • I have worked with teams to ensure compliance during audits.

  • I am familiar with the 12 requirements of PCI/DSS and how to implement them.

  • I have experience with tools such as vulnerability scanners and log management systems to ensure compliance.

  • I have worked with payment gateways and understand the importance of secure payment processing.

Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

3.7
 • 10.5k Interviews
3.8
 • 8.2k Interviews
3.6
 • 7.6k Interviews
3.8
 • 5.6k Interviews
3.5
 • 3.9k Interviews
3.8
 • 3k Interviews
3.7
 • 902 Interviews
3.8
 • 509 Interviews
3.6
 • 363 Interviews
View all

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Senior Devops Engineer Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter