Set 1
1. Text Processing – Generate Sorted Unique Activity Log
Scenario Your engineering team needs a cleaned list of unique user activity entries from raw logs to feed into analytics.
Instructions:
Navigate to
~/kactii29Create a folder named
activity_logsAssume
raw_logs.logexists with repeated entriesGenerate a sorted, de-duplicated file
Save output to
clean_logs.txt
Commands Expected:
sort, uniq, file redirection
2. Environment Variables – Configure Deployment Variables
Scenario DevOps wants environment configurations set for a staging environment used in a container.
Instructions:
Navigate to
~/kactii29Create a folder named
env_setupSet variable
APP_ENV=stagingMake it permanent by sourcing the appropriate file
Verify the command location for
python3
Commands Expected:
export, source, which
3. Disk Usage – Investigate Space on Project Directory
Scenario Storage team reports unusually high usage in your project area on Ubuntu server.
Instructions:
Navigate to
~/kactii29Create a folder named
disk_investigationDetermine directory sizes under your home
Identify largest subdirectories up to one level deep
Save report to
usage_report.txt
Commands Expected:
du -h --max-depth=1
4. File Identification – Confirm Binary Types
Scenario Security analysts want to ensure custom binaries in your build folder are the correct file types.
Instructions:
Navigate to
~/kactii29Create
binary_checkfolderAssume
bin1andbin2are presentDetermine file types
Report results in
types.log
Commands Expected:
file
5. Scheduled Backup – Automate Backups at Night
Scenario Your infrastructure team needs a backup script to run nightly via at scheduler.
Instructions:
Navigate to
~/kactii29Create
nightly_backupCreate stub backup script
backup.shSchedule it to run at 23:00
Confirm scheduled jobs
Commands Expected:
at, scheduling syntax, job list (atq)
6. Service Status – Validate Web Service Availability
Scenario
QA needs verification that the nginx service is running after deploy.
Instructions:
Navigate to
~/kactii29Create folder
service_checksCheck
nginxservice statusStart service if not running
Enable it to start on boot
Commands Expected:
systemctl status, systemctl start, systemctl enable
7. Networking – Check Active Sessions and Ports
Scenario Network security team needs a snapshot of current connections and logged-in users.
Instructions:
Navigate to
~/kactii29Create
network_snapshotfolderList listening TCP/UDP sockets
Capture list of logged-in users
Save to
network_report.txt
Commands Expected:
ss -tuln, who
8. Uptime Monitoring – Report System Stability
Scenario Operations wants periodic reports on uptime for server health dashboards.
Instructions:
Navigate to
~/kactii29Create
uptime_reportsCapture current uptime
Include timestamp
Append to
uptime_log.txt
Commands Expected:
uptime, date, output redirection
9. Text Streams – Extract First Column From CSV
Scenario Data team provided a CSV of user metrics; you need the first column for analysis.
Instructions:
Navigate to
~/kactii29Create
csv_extractAssume
metrics.csvexistsExtract first column (comma-delimited)
Save to
first_column.txt
Commands Expected:
cut -d',' -f1
10. System Maintenance – Immediate Reboot After Updates
Scenario After applying critical updates, infrastructure requires an immediate reboot.
Instructions:
Navigate to
~/kactii29Create folder
maintenanceDocument any open sessions before reboot
Reboot the system
Commands Expected:
who, sudo reboot
Last updated