Quick Revision

GK One-Line Question & Answer

15541+ short questions with short answers, covering every category and sub-category on the site — no long articles to scroll through. Good for a fast recap before an exam, or a few minutes of daily practice.

Computer Fundamentals → Introduction to Computer 39

Lateral movement in cyberattacks refers to?
Moving through network from initial foothold to more valuable targets
click to copy
APT (Advanced Persistent Threat) is characterized by?
Long-term, sophisticated, targeted intrusion campaigns
click to copy
IOC (Indicator of Compromise) examples include?
Suspicious IPs, file hashes, domain names indicating breach
click to copy
MITRE ATT&CK framework documents?
Real-world adversary tactics, techniques, and procedures (TTPs)
click to copy
Threat modeling process identifies?
Potential threats, vulnerabilities, and countermeasures during design
click to copy
STRIDE threat model acronym stands for?
Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, Elevation of privilege
click to copy
Data Loss Prevention (DLP) prevents?
Unauthorized transmission or exfiltration of sensitive data
click to copy
SIEM (Security Information and Event Management) provides?
Centralized security event correlation, analysis, and alerting
click to copy
SOAR (Security Orchestration, Automation, and Response) adds to SIEM?
Automated incident response workflows
click to copy
Zero Trust security model assumes?
No implicit trust — verify every access request regardless of location
click to copy
Copy-on-Write (CoW) in OS fork() means?
Parent and child share memory pages until one writes — then copy
click to copy
Memory-mapped files allow?
Files to be accessed as if they were in memory (mmap)
click to copy
Page table walk in x86-64 uses how many levels?
4
click to copy
TLB (Translation Lookaside Buffer) caches?
Virtual-to-physical address translations
click to copy
TLB shootdown occurs when?
One CPU modifies page tables requiring other CPUs to invalidate their TLBs
click to copy
Huge pages (large pages) reduce?
TLB misses by covering larger address ranges per entry
click to copy
mlock() system call in Linux?
Locks pages in RAM (prevents swapping to disk)
click to copy
cgroup (control groups) in Linux is used for?
Resource limiting, accounting, isolation for process groups
click to copy
Linux namespace provides?
Process isolation — separate view of system resources (PID, NET, MNT, etc.)
click to copy
seccomp in Linux is used to?
Filter system calls available to a process (sandbox)
click to copy
SELinux implements?
Mandatory Access Control (MAC) based on security policies
click to copy
AppArmor is an alternative to SELinux implementing?
MAC using file path-based profiles
click to copy
eBPF (extended Berkeley Packet Filter) allows?
Safe kernel-level programmability without modifying kernel source
click to copy
Which scheduling policy is used for real-time tasks in Linux?
SCHED_FIFO or SCHED_RR
click to copy
I/O scheduler in Linux determines?
Order and priority of I/O requests to storage devices
click to copy
Which I/O scheduler is best for SSDs?
None/mq-deadline
click to copy
Futex (Fast Userspace muTEX) in Linux?
Operates mostly in userspace — falls to kernel only on contention
click to copy
Lock-free data structures use?
Atomic operations to ensure thread safety without locks
click to copy
ABA problem in lock-free programming occurs when?
Value changes A→B→A appearing unchanged to CAS, causing incorrect operation
click to copy
B+ tree advantages over B-tree for database indexing?
All data in leaf nodes + linked leaves enable efficient range queries
click to copy
LSM tree (Log-Structured Merge tree) is used in?
Write-optimized databases like LevelDB, RocksDB, Cassandra
click to copy
Skip list provides?
O(log n) average search with probabilistic balance (simpler than balanced BST)
click to copy
Consistent hashing is used in?
Distributed systems for even load distribution as nodes join/leave
click to copy
CAP theorem states a distributed system can guarantee only two of?
Consistency, Availability, Partition tolerance
click to copy
In CAP theorem, CP system prioritizes?
Consistency and Partition tolerance — may be unavailable during partition
click to copy
AP system in CAP theorem?
Prioritizes Availability and Partition tolerance — may return stale data
click to copy
PACELC theorem extends CAP by also considering?
Latency vs Consistency tradeoff when no partition exists
click to copy
MapReduce programming model consists of?
Map phase (parallel processing) + Reduce phase (aggregation)
click to copy
Apache Hadoop uses MapReduce on?
HDFS distributed file system across cluster
click to copy

Computer Fundamentals → Memory Units 1

Which OS feature isolates processes from each other?
Process isolation via separate virtual address spaces
click to copy