CompTIA Exercises

Sharpen CompTIA skills through a series of hands-on exercises and practical challenges. This collection of interactive tasks allows users to apply theoretical knowledge to real-world scenarios in networking, cybersecurity, and IT operations. Each exercise is designed to build and test proficiency in key CompTIA domains, providing valuable experience for certification preparation and professional development.

User Account Management

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.
LabCompTIA
Archive a Draft File

Archive a Draft File

Move and rename one draft file without changing its content.
ChallengeCompTIA
Display User and Group Information

Display User and Group Information

In this challenge, you need to use the Linux command to display user and group information.
ChallengeCompTIA
Onboard a Practice User

Onboard a Practice User

Create one normal Linux user and grant access to one existing supplementary group.
ChallengeCompTIA
Find and Protect a Configuration File

Find and Protect a Configuration File

Locate one exact configuration file and make it private to its owner.
ChallengeCompTIA
File and Directory Operations

File and Directory Operations

Build practical Linux file skills by navigating paths, creating and editing files, inspecting metadata, working with links, and comparing files and directories.
LabCompTIA
Get Help on Linux Commands

Get Help on Linux Commands

Learn how to identify commands, read quick usage text, navigate manual pages, and discover commands by topic without memorizing every option.
LabCompTIA
Basic File Operations in Linux

Basic File Operations in Linux

Learn how Linux paths, directories, files, listings, wildcards, copy, move, removal, and terminal shortcuts fit together in one safe workspace.
LabCompTIA
Linux User Group and File Permissions

Linux User Group and File Permissions

Learn to manage Linux users, groups, account locks, ownership, default permissions, sticky directories, and setgid collaboration in a safe practice environment.
LabCompTIA
Check Mounted File System Usage

Check Mounted File System Usage

In this challenge, we will write a script to determine whether a given file system or mount point is mounted. We will use the df command to check if the file system is mounted or not. If it's mounted, we will print the free space available in it, otherwise, we will print an error message.
ChallengeCompTIA
Your First Git Lab

Your First Git Lab

Learn the basics of Git version control by creating your first repository, adding files, and making commits. This hands-on lab will guide you through the fundamental Git commands and workflows.
LabCompTIA
Your First Rust Lab

Your First Rust Lab

Hi there, welcome to LabEx! In this first lab, you'll learn the classic 'Hello, World!' program in Rust.
LabCompTIA
Reading a CSV File

Reading a CSV File

In this lab, we will learn how to read a CSV file in Java. CSV files are often used to store data in a simple and easily readable format. We will cover three different approaches to reading CSV files in Java: using BufferedReader, Scanner, and the OpenCSV library.
LabCompTIA
Spy in Mockito

Spy in Mockito

Mockito is a Java framework used for mocking and unit testing Java applications. In this lab, we will learn about spies in Mockito. A Spy is like a partial mock, which will track the interactions with the object like a mock. Additionally, it allows us to call all the normal methods of the object. We will use the Mockito.spy() method and annotations to create spies and demonstrate how to stub a Spy.
LabCompTIA
Circle Area and Circumference in C

Circle Area and Circumference in C

In this lab, we will learn how to write a C program to find the area and circumference of a circle. We will use the formula area = PI radius radius and circumference = 2 PI radius. We will be using the stdio.h library to read and write data.
LabCompTIA