DevOps Intern

10+ DevOps Intern Interview Questions and Answers

Updated 12 Sep 2024

Popular Companies

search-icon

Q1. Minimum number of towers required such that every house is in the range of at least one tower

Ans.

The minimum number of towers required to cover all houses.

  • Iterate through the houses and find the maximum distance between any two adjacent houses.

  • Divide this maximum distance by the range of each tower to get the minimum number of towers required.

  • If there is a remainder, add one to the result.

  • Return the minimum number of towers.

Q2. Linux file system role of each folders.

Ans.

Linux file system folders and their roles

  • The / directory is the root directory

  • The /bin directory contains essential command binaries

  • The /etc directory contains configuration files

  • The /home directory contains home directories for users

  • The /lib directory contains shared library files

  • The /tmp directory contains temporary files

  • The /usr directory contains user binaries, libraries, documentation, and source-code

  • The /var directory contains variable data files

DevOps Intern Interview Questions and Answers for Freshers

illustration image

Q3. Minimum number of deletions to make a sorted sequence

Ans.

Find minimum deletions to make a sequence sorted.

  • Count the number of elements that are not in increasing order.

  • Subtract the count from the length of the sequence to get the minimum deletions.

  • Use dynamic programming to optimize the solution.

  • Time complexity: O(nlogn) using binary search.

Q4. Write automation script for memory consumption to set email alerts.

Ans.

Automation script to set email alerts for memory consumption

  • Use a monitoring tool like Nagios or Zabbix to track memory consumption

  • Write a script to periodically check memory usage and compare it to a predefined threshold

  • If memory usage exceeds the threshold, send an email alert to the specified recipients

Are these interview questions helpful?

Q5. Python programming how to count vowels

Ans.

Python program to count vowels in a given string

  • Iterate through the string and check if each character is a vowel (a, e, i, o, u)

  • Increment a counter for each vowel found

  • Return the total count of vowels

Q6. What is Placement Group

Ans.

Placement Group is a logical grouping of instances within a single Availability Zone.

  • It helps to achieve low-latency network performance by grouping instances in a single rack.

  • It is used to deploy a group of instances that need to be in close proximity to each other.

  • It is only available for certain instance types and cannot span multiple Availability Zones.

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Q7. What is the use of Github?

Ans.

Github is a web-based platform used for version control and collaboration on software development projects.

  • Allows developers to store, manage, and track changes to their code

  • Facilitates collaboration among team members through features like pull requests and code reviews

  • Enables integration with various tools and services for continuous integration and deployment

  • Provides a platform for hosting code repositories and project documentation

  • Used by developers to showcase their work...read more

Q8. how to install operating system

Ans.

To install an operating system, you need to boot from installation media and follow the on-screen instructions.

  • Create a bootable installation media (USB, DVD, etc.)

  • Insert the installation media into the computer

  • Boot the computer from the installation media

  • Follow the on-screen instructions to select language, partition the disk, and install the OS

  • Reboot the computer after installation is complete

DevOps Intern Jobs

DevOps Intern - Virtual Private Cloud/CI/CD Pipeline (0-1 yrs) 0-1 years
Mobifly
2.3
Devops Intern 0-2 years
Exeter Premedia Services
2.8
Chennai
DevOps Intern 0-3 years
SPCL Infotech
4.4
Pune

Q9. Whats containerisation , benifits

Ans.

Containerisation is a method of packaging and running applications in isolated environments called containers.

  • Containers are lightweight, portable, and can run on any platform that supports containerisation.

  • Benefits include improved scalability, faster deployment, resource efficiency, and easier management.

  • Containers help in achieving consistency across different environments and simplifying the development process.

  • Popular containerisation tools include Docker, Kubernetes, an...read more

Q10. what is ci cid pipeline?

Ans.

CI/CD pipeline is a set of automated processes for building, testing, and deploying software.

  • CI/CD stands for Continuous Integration/Continuous Deployment

  • It automates the process of integrating code changes, testing them, and deploying them to production

  • Common tools used in CI/CD pipelines include Jenkins, GitLab CI, and CircleCI

  • CI/CD pipelines help teams deliver software faster and with fewer errors

Q11. What is Jenkins CICD Pipeline?

Ans.

Jenkins CICD Pipeline is a tool that allows for the automation of building, testing, and deploying code changes.

  • Jenkins CICD Pipeline is a series of steps that automate the software delivery process.

  • It allows for continuous integration, continuous delivery, and continuous deployment.

  • Pipeline stages can include building code, running tests, and deploying to production.

  • Jenkins Pipeline can be defined using a Jenkinsfile, which is written in Groovy.

  • It helps in reducing manual er...read more

Q12. Exam abstraction with live example

Ans.

Exam abstraction is the process of simplifying complex exam questions to make them easier to understand.

  • Exam abstraction involves breaking down complex questions into simpler components

  • It helps to identify the key concepts and ideas being tested

  • It can be done by rephrasing the question or breaking it down into smaller parts

  • Example: 'What is the impact of climate change on the environment?' can be abstracted to 'How does rising temperatures affect plant and animal life?'

Q13. What is S3 Lifecycle

Ans.

S3 Lifecycle is a feature that automates the transition of objects between different storage classes based on their age and usage.

  • S3 Lifecycle can be used to automatically move objects from Standard storage class to Infrequent Access (IA) or Glacier storage class based on their age.

  • It can also be used to automatically delete objects that have reached the end of their retention period.

  • S3 Lifecycle policies can be applied to individual objects or entire buckets.

  • Lifecycle polici...read more

Q14. Pillars of oops concepts?

Ans.

The four pillars of OOP are Abstraction, Encapsulation, Inheritance, and Polymorphism.

  • Abstraction: Hiding implementation details and showing only necessary information.

  • Encapsulation: Binding data and functions together and restricting access to them.

  • Inheritance: Creating new classes from existing ones, inheriting their properties and methods.

  • Polymorphism: Using a single interface to represent different types of objects.

Q15. What is TensorFlow?

Ans.

TensorFlow is an open-source machine learning framework developed by Google for building and training neural networks.

  • TensorFlow is widely used for tasks such as image recognition, natural language processing, and more.

  • It allows users to create complex neural network architectures using high-level APIs.

  • TensorFlow provides tools for data visualization, model debugging, and deployment to production environments.

Q16. Why optum, values

Ans.

Optum values innovation, collaboration, integrity, and compassion in their work culture.

  • Optum values innovation by constantly seeking new ways to improve healthcare services.

  • Collaboration is important at Optum as teams work together to achieve common goals.

  • Integrity is a core value at Optum, ensuring honesty and ethical behavior in all aspects of their work.

  • Compassion is shown through a focus on improving patient outcomes and overall healthcare experiences.

Q17. Structure of kuberntes

Ans.

Kubernetes is an open-source container orchestration platform for automating deployment, scaling, and management of containerized applications.

  • Kubernetes uses a master-slave architecture with a master node controlling multiple worker nodes.

  • It allows for automatic scaling, self-healing, and rolling updates of applications.

  • Kubernetes uses declarative configuration files (YAML or JSON) to define the desired state of the cluster.

  • It provides features like service discovery, load b...read more

Q18. Explain projects

Ans.

Projects are specific tasks or assignments that individuals or teams work on to achieve a particular goal or outcome.

  • Projects have defined objectives and timelines

  • They require resources such as time, money, and manpower

  • Project management methodologies like Agile or Waterfall are often used to plan and execute projects

Frequently asked in, ,
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

4.0
 • 403 Interviews
4.2
 • 265 Interviews
3.3
 • 63 Interviews
4.3
 • 57 Interviews
3.3
 • 50 Interviews
3.1
 • 14 Interviews
4.4
 • 8 Interviews
2.9
 • 3 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

DevOps Intern 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
Get AmbitionBox app

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