DevOps Exercises
Sharpen DevOps expertise through a collection of hands-on exercises. This page provides practical challenges designed to simulate real-world scenarios in automation, CI/CD, containerization, and infrastructure as code. Solve these problems to build confidence and apply theoretical knowledge to tangible development and operations tasks.
Discover categories
AllLinuxDevOpsCybersecurityDevOps EngineerCybersecurity EngineerDevSecOpsKali LinuxRed Hat Enterprise LinuxRHCSA TrainingRHCE in Enterprise Linux TrainingLFCS TrainingShellGitDockerKubernetesCKA TrainingCKAD TrainingCKS TrainingAnsibleRHCE in Ansible TrainingJenkinsNmapWiresharkHydraCompTIADatabaseMySQLPostgreSQLRedisMongoDBSQLitePythonGolangJavaCC++Web DevelopmentData Science
NumPy Math Games
In this challenge, you will practice using the NumPy module in Python and work with NumPy arrays to perform common mathematical operations.
ChallengeDevOps
Git Configuration with GitHub
Git is developed by Linus Torvalds, the creator of the Linux operating system. It is a free and open-source tool that is used by many developers and data scientists. It is a powerful tool that allows you to track changes to files and folders.
ChallengeDevOps
User Account Management
In this lab, we will introduce how to manage the user account in the Linux platform, such as creating new user accounts, modifying the user account management, and deleting a user account.
LabDevOps
Print Hello Python
Create your first interactive Python program that accepts user input and displays personalized output. Learn fundamental concepts like variables, input/output operations, and string formatting.
ChallengeDevOps
Decision-Making with If Statements
Since choices are often made in work and life, let's play some games with the if statement.
ChallengeDevOps
Classes and Objects
In this lab, you will learn about classes and objects in Python. A class is a template for creating objects. An object is an instance of a class.
LabDevOps
Python Code Comments
Code comments can help people understand what the code is for, and good commenting habits are essential for a good developer. In this lab, you can learn how to add comments to the Python language, and several common ways to comment.
LabDevOps
Python Data Structures Fundamentals
In this lab, we'll learn data structures in Python, the main contents of the data structures we'll be working with are: lists, tuples, dictionaries, and sets.
LabDevOps
Python Function Fundamentals
In this lab, you will learn how to define and use Python functions. We will start with simple examples and gradually increase the complexity.
LabDevOps
Python's Conditional Statements
In this experiment, we will explore how to use if statements in Python. if statements allow you to execute code only if a certain condition is met. This is a fundamental concept in programming that allows you to control the flow of your program based on different conditions.
LabDevOps
Exploring IPython's Interactive Computing Features
IPython is a command line interactive shell for Python. It provides some features for interactive computing, such as advanced introspection, rich media, and a powerful history mechanism.
LabDevOps
Python Math and Augmented Assignment
In this lab, we'll dive into crucial aspects of Python programming: math operators and augmented assignment operators.
LabDevOps
Variable Type Conversion
In this lab, we will learn how to convert variables between different data types in Python. We will start with simple examples and gradually move on to more complex ones.
LabDevOps
NumPy List Value Statistics
In this challenge, you will create a Python program using the NumPy library to perform various statistical operations on a list of values. The program will contain multiple sub-challenges that will test your knowledge and understanding of NumPy and its capabilities.
ChallengeDevOps
NumPy Einsum for Scientific Computing
In scientific computing, it is often necessary to perform various linear algebra operations. NumPy is a popular Python library that provides efficient and convenient tools for performing such operations. One of the most powerful tools in NumPy is einsum, which stands for Einstein Summation.
LabDevOps