Skip to content
LFCSEssential CommandsSingle Linux VMEasy

Git: branch, commit, tag and push

Scenario lfcs-cmd-001 · about 5 minutes · 8 points · 7 grader checks

Clone a shared repository as another user, commit a configuration change on a new branch with a given identity, and push the branch and an annotated tag.

  • git
  • branch
  • commit
  • tag
  • push

What you will practise

  • Clone a repository and create a branch
  • Commit with a specific author identity and message
  • Create and push an annotated tag

Start this lab

With the CLI installed and signed in, this command provisions a fresh Ubuntu 24.04 LTS virtual machine on your Mac, applies the scenario setup and prints the task below.

goldenkube start lfcs-cmd-001

Task

The task text exactly as the CLI shows it. Solve it on the machine, then run goldenkube submit.

The bare repository /srv/git/inventory.git holds the project inventory. Work as the user dev. 1. Clone it to /home/dev/inventory. 2. Create the branch fix/port from main. In config.ini change port=8080 to port=9090 and commit only that change, with the message "Change port to 9090", author name Dev User and author email dev@lab.internal. 3. Create the annotated tag v1.1 on that commit with the message "Release 1.1". 4. Push the branch and the tag to the origin repository. main must stay unchanged.

Requirements and details

Certification
LFCS · Linux Foundation Certified System Administrator
Domain
Essential Commands
Difficulty
Easy
Environment
Single Linux VM
Recommended time
5 minutes
Points
8
Grader checks
7
Operating system
Ubuntu 24.04 LTS
Minimum CLI version
0.1.0
Scenario version
1
Published

Grading runs locally: 7 state checks read your machine when you submit; the scenario passes when every check passes. Hints, the reference solution and the check definitions are available only inside the CLI, not on this page.

LFCSEssential CommandsMedium

Create a TLS certificate, serve it with nginx, read another one

Create a private key and a self-signed certificate with subject alternative names, serve HTTPS with it, and read the serial number of an existing certificate.

Single Linux VM · ~7 min · 8 points

  • openssl
  • tls
  • x509
  • certificates
  • nginx

goldenkube start lfcs-cmd-002

LFCSEssential CommandsMedium

Free disk space and stop a CPU hog

Delete large old files selectively, release space held by a deleted but still open log without restarting its service, and find the service burning a CPU.

Single Linux VM · ~6 min · 7 points

  • disk-space
  • find
  • lsof
  • deleted-files
  • top
  • performance

goldenkube start lfcs-cmd-003

LFCSEssential CommandsMedium

Fix a service that needs more file descriptors and less privilege

A service refuses to start because of its open-file limit and running as root; fix it with a systemd drop-in, a dedicated system user and a memory cap.

Single Linux VM · ~7 min · 8 points

  • systemd
  • drop-in
  • limits
  • ulimit
  • journalctl
  • service-user

goldenkube start lfcs-cmd-004

Independent community project, not affiliated with or endorsed by CNCF or The Linux Foundation. Lab results are practice feedback, not an exam score.