Set 2
11. Log Filtering – Extract Critical Errors
Scenario SRE team needs only critical error entries extracted from large application logs for incident review.
Instructions:
Navigate to
~/kactii29Create a folder named
critical_logsAssume
app.logexistsFilter lines containing the word
ERRORSave results to
errors_only.log
Commands Expected:
grep, output redirection
12. Session Auditing – Identify Active User Sessions
Scenario Security team requests a snapshot of users currently logged into the system during a compliance audit.
Instructions:
Navigate to
~/kactii29Create folder
session_auditCapture all logged-in users
Save output to
active_users.txt
Commands Expected:
who
13. Disk Hygiene – Identify Large Files
Scenario Platform engineering suspects oversized files are causing disk pressure.
Instructions:
Navigate to
~/kactii29Create
disk_hygienefolderIdentify file sizes in your home directory
Sort results by size
Save output to
file_sizes.txt
Commands Expected:
du -h, sort
14. Command Discovery – Validate Tool Availability
Scenario Before running automation, DevOps must confirm required binaries exist on the server.
Instructions:
Navigate to
~/kactii29Create
tool_validationfolderLocate paths for
bash,systemctl, andgrepSave results to
tool_paths.txt
Commands Expected:
which
15. Environment Verification – Inspect Runtime Variables
Scenario Application is behaving inconsistently; engineers want to verify environment variables.
Instructions:
Navigate to
~/kactii29Create
env_auditDisplay all environment variables
Save output to
env_snapshot.txt
Commands Expected:
printenv
16. Service Investigation – Validate Multiple Services
Scenario Operations team wants confirmation that essential services are running.
Instructions:
Navigate to
~/kactii29Create
service_auditCheck status of
cronandsshSave outputs to
service_status.txt
Commands Expected:
systemctl status
17. Scheduled Jobs – Verify Deferred Tasks
Scenario Compliance audit requires validation of all scheduled deferred jobs.
Instructions:
Navigate to
~/kactii29Create
job_auditList all scheduled
atjobsSave output to
scheduled_jobs.txt
Commands Expected:
atq
18. Text Analysis – Count Unique Event Types
Scenario Analytics team needs a count of unique event names from raw event logs.
Instructions:
Navigate to
~/kactii29Create
event_analysisAssume
events.logexistsExtract unique lines
Count total unique entries
Save result to
event_count.txt
Commands Expected:
sort, uniq, wc -l
19. Network Snapshot – Capture Listening Services
Scenario Security operations requires a record of all listening ports before firewall changes.
Instructions:
Navigate to
~/kactii29Create
port_snapshotCapture all listening sockets
Save output to
listening_ports.txt
Commands Expected:
ss -tuln
20. System Availability – Uptime & Load Evidence
Scenario Management requests proof of system stability during peak hours.
Instructions:
Navigate to
~/kactii29Create
availability_reportCapture system uptime
Append timestamp
Save to
availability.log
Commands Expected:
uptime, date, output redirection
Last updated