Skip to main content
CYBCP • MODULE 2 OF 24 10 Timed Sets • 50 Verified MCQs

Module 2: Linux & Kali Security Internals, Hardening & Bash Scripting — CYBCP Mock Tests

Master headless Linux & Kali administration from zero: UNIX file permissions, SUID/Linux Capabilities, systemd sandboxing, nftables/ufw, auditd & Bash 5 automation.

⚡ START MODULE 2 PRACTICE

Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (`grep`/`awk`/`jq`)

Start your baseline timed assessment for this module

Module 2 Assessment Rules & Format Every Attempt Helps You Improve • Track Your Progress, One Topic at a Time.
Question Bank 50 MCQs
Timed Sets 10 (10 Topics)
Duration 20 min / set
Pass Benchmark 70%
Negative Marking Up to -0.25 / wrong
Daily Access ∞ Unlimited Free

Integrity & Navigation: Questions can be revisited, changed, or flagged for review before final submission; answers auto-save across browser refreshes, and answer keys stay locked server-side until submitted.

Your Module 2 Progress

Completion Status & Revision Focus

Practice Today. Perform Better Tomorrow. No completed attempts recorded in Module 2 yet — start any topic below to generate your topic scorecard and unlock personalized revision suggestions.

Cyber Security Expert • Module 2

Topic-Wise Timed Mock Tests (10 Topics)

Instant scorecard + detailed explanations
Topic 2.1 1 Set

Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (`grep`/`awk`/`jq`)

5 Qs • 20 min • Pass 70%

Topic 2.2 1 Set

Users, Groups, Sudoers (`sudo -l`) & File Permission Octals (`0600`/`0750`)

5 Qs • 20 min • Pass 70%

Topic 2.3 1 Set

Linux Capabilities vs Root, Cgroups v2 & Kernel Namespaces

5 Qs • 20 min • Pass 70%

Topic 2.4 1 Set

SSH Hardening, Ed25519 Keys, `sshd_config` & Fail2Ban Auto-Ban

5 Qs • 20 min • Pass 70%

Topic 2.5 1 Set

Host Firewalls (`ufw`, `iptables` & `nftables`) & Sysctl Kernel Hardening

5 Qs • 20 min • Pass 70%

Topic 2.6 1 Set

`systemd` Service Hardening (`NoNewPrivileges`, `ProtectSystem`, `PrivateTmp`)

5 Qs • 20 min • Pass 70%

Topic 2.7 1 Set

Linux Auditing (`auditd`), Process Accounting & File Integrity (`AIDE`)

5 Qs • 20 min • Pass 70%

Topic 2.8 1 Set

Mandatory Access Control: AppArmor Profiles & SELinux Enforcing Mode

5 Qs • 20 min • Pass 70%

Topic 2.9 1 Set

Kali Linux Toolchain Organization & Defensive Bash 5 Scripting

5 Qs • 20 min • Pass 70%

Topic 2.10 1 Set

Live Persistence Hunting on Linux (Crontabs, SSH Keys, LD_PRELOAD, Systemd)

5 Qs • 20 min • Pass 70%

Sample Module 2 Practice Preview

Sample Linux & Kali Security Internals, Hardening & Bash Scripting MCQ Questions & Answers

Click “Reveal Answer & Explanation” to check yourself
Q1 • Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (`grep`/`awk`/`jq`) Module 2 Sample

In production Cyber Security, VAPT, SOC & Cloud SecOps (Linux Ops), what is the primary engineering purpose of 'Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (grep/awk/jq)'?

  • A. Extract attacker IPs, URIs, and timestamps from compromised servers in seconds.
  • B. Hardcoding plaintext production database credentials, API secrets, and root keys inside Git repositories.
  • C. Deploying unverified changes directly to live production without automated tests or rollback plans.
  • D. Bypassing authentication, input validation, and TLS encryption across internal API endpoints.
✓ Reveal Answer & Explanation

Correct Answer: Option A

'Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (grep/awk/jq)' is used in production Linux Ops specifically for: Extract attacker IPs, URIs, and timestamps from compromised servers in seconds.

Q2 • Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (`grep`/`awk`/`jq`) Module 2 Sample

Which critical production Cyber Security defect MUST an engineer avoid when implementing 'Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (grep/awk/jq)'?

  • A. Validating changes through automated Burp Suite, Semgrep, Trivy, Sigma & Pytest suites, structured logs, and clean rollbacks.
  • B. Deleting evidence or crashing low-RAM VMs loading huge logs inside GUI editors!
  • C. Enforcing least-privilege access control, bounded timeouts, and idempotent retries.
  • D. Shipping reproducible container images and parameterized SQL/IaC modules.
✓ Reveal Answer & Explanation

Correct Answer: Option B

A high-impact production failure mode with 'Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (grep/awk/jq)' is: Deleting evidence or crashing low-RAM VMs loading huge logs inside GUI editors!

Q3 • Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (`grep`/`awk`/`jq`) Module 2 Sample

Which technical scope accurately describes the core mechanics of 'Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (grep/awk/jq)'?

  • A. Disabling TLS verification, wildcarding CORS/IAM permissions, and ignoring alert budgets.
  • B. Skipping schema migrations, unit/integration verification, and CI security scanning completely.
  • C. /etc/passwd vs /etc/shadow, /var/log/auth.log, pipes, sed, xargs, streaming GB logs quickly
  • D. Running single-node stateful workloads with no health checks, backups, or observability.
✓ Reveal Answer & Explanation

Correct Answer: Option C

Core technical coverage of 'Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (grep/awk/jq)' comprises: /etc/passwd vs /etc/shadow, /var/log/auth.log, pipes, sed, xargs, streaming GB logs quickly.

Q4 • Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (`grep`/`awk`/`jq`) Module 2 Sample

What is the expected hands-on deliverable for completing the engineering lab on 'Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (grep/awk/jq)'?

  • A. Committing .env secrets, SSH private keys, and terraform .tfstate files to a public repository.
  • B. Skipping static analysis and writing raw unescaped string-interpolated queries.
  • C. Testing manually in local dev once and ignoring failure recovery, latency, or resource limits.
  • D. Parse failed SSH login attempts cleanly ranking top offending IPs.
✓ Reveal Answer & Explanation

Correct Answer: Option D

Practical mastery of 'Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (grep/awk/jq)' is verified through: Parse failed SSH login attempts cleanly ranking top offending IPs.

Q5 • Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (`grep`/`awk`/`jq`) Module 2 Sample

In a Cyber Security SDE technical interview on 'Linux Filesystem Hierarchy, Streams & Log Triage Pipelines (grep/awk/jq)', what demonstrates senior Cyber Security, VAPT, SOC & Cloud SecOps readiness?

  • A. Explaining '/etc/passwd vs /etc/shadow, /var/log/auth.log, pipes, sed, xargs, streaming GB logs quickly' internals, preventing 'Deleting evidence or crashing low-RAM VMs loading huge logs inside GUI editors!', and defending securi...
  • B. Mixing raw SQL queries, HTTP handlers, and domain business rules inside one global script.
  • C. Disabling CSRF/rate limiting and running privileged containers as root in production.
  • D. Making ad-hoc manual server edits via SSH with zero CI/CD audit trail or automated rollback.
✓ Reveal Answer & Explanation

Correct Answer: Option A

Interviewers evaluate system internals (/etc/passwd vs /etc/shadow, /var/log/auth.log, pipes, sed, xargs, streaming GB logs quickly), fault-tolerance, security boundaries, and automation discipline.

Need structured guidance on Linux & Kali Security Internals, Hardening & Bash Scripting? Review the full CYBCP syllabus or practise speaking through CYBCP concepts in an AI technical interview.

Cyber Security, Ethical Hacking, VAPT & Cloud SecOps

Continue Learning & Explore Related Resources

FAQs — Module 2: Linux & Kali Security Internals, Hardening & Bash Scripting (CYBCP) Mock Tests

1. How many MCQ Mock Tests are included in Module 2: Linux & Kali Security Internals, Hardening & Bash Scripting (CYBCP)?

Module 2 of Cyber Security Expert Training Course (Ethical Hacking, VAPT, SOC & Cloud Security) includes 10 active timed MCQ mock test sets (50 verified questions across 10 topics), with server-side scoring, instant scorecards, and detailed explanations after submission.

2. What are the attempt rules and answer-key policies for Linux & Kali Security Internals, Hardening & Bash Scripting mock tests?

You can preview sample questions on this page and launch up to 2 free timed attempts per topic per day without signup (enrolled cohort learners receive unlimited attempts). During a live test, answers auto-save across refreshes and answer keys remain protected on the server until submission.

3. Does scoring high on this CYBCP module test guarantee interview selection?

No — module mock scores measure topic-level conceptual accuracy and highlight specific concepts to revise. Pair topic mocks with CYBCP Spoken AI Interviews and hands-on coding practice to build well-rounded interview readiness; hiring decisions rest independently with employers.

Learn. Practise. Prove. Get Career-Ready.

Ready to Build Your IT Career?

Explore industry-led programmes and develop practical skills through training, assessments and interview preparation.