Signal to Technology - Exam Quick Reference
🧭 Signal → Technology Quick Reference
"What topic is the exam question really asking about?"
💾 Data Storage
| If the question mentions... | → Think |
|---|---|
| Store unstructured data (logs, video, email, clickstream) | NoSQL |
| Store structured data with strict schema + relationships | RDBMS / SQL |
| Need SQL-like queries on massive Hadoop data | Hive |
| Process giga/tera-bytes of unstructured logs with scripting | Pig |
| Key-value pairs at massive scale (session, cache) | NoSQL — Key-Value (Redis, Riak) |
| Document storage, JSON-like flexible schema | NoSQL — Document (MongoDB, CouchDB) |
| Wide-column, write-heavy, time-series, IoT sensor data | NoSQL — Column (Cassandra, HBase, BigTable) |
| Store relationships, social network, fraud detection | NoSQL — Graph (Neo4j) |
| Data needs to be searched while still encrypted | Homomorphic / Predicate Encryption |
| Data warehousing, historical batch analytics | Hive / Hadoop |
| Data that cannot be fully deleted (residual after wipe) | Data Remanence |
⚡ Data Processing & Streaming
| If the question mentions... | → Think |
|---|---|
| Real-time / streaming data ingestion at scale | Apache Kafka |
| All historical events (append-only, never update) | KStream |
| Latest state per key (current value only) | KTable |
| Batch processing huge amounts of already-stored data | MapReduce / Hadoop |
| MapReduce but faster for Hive/Pig queries (DAG-based) | Apache Tez |
| Actor-based concurrency, async message-passing in JVM | Akka |
| Processing unstructured logs on Hadoop without Java code | Pig |
| SQL queries on Hadoop stored data | Hive |
| Multiple services talking via async, non-blocking messages | Actor Model / Akka |
| Exactly-once stream processing, no cluster needed | Kafka Streams |
🔧 Distributed Coordination & Resource Management
| If the question mentions... | → Think |
|---|---|
| Leader election in a distributed cluster | ZooKeeper |
| Distributed lock / mutex across services | ZooKeeper |
| Configuration management shared across all nodes | ZooKeeper |
| Service discovery (which node is alive?) | ZooKeeper |
| Resource scheduling for Hadoop jobs (CPU + RAM) | YARN |
| Running Spark + MapReduce + Tez on the same cluster | YARN |
| VM CPU scheduling (allocating CPU time slices to VMs) | Xen Schedulers (BVT / SEDF / Credit) |
| Admission control (reject requests over SLA) | Ch8 Resource Management |
| Load balancing requests across servers | Load Balancer (Ch8) |
| QoS / SLA guarantees (uptime, latency) | Ch8 Resource Management |
📱 Mobile & Edge Computing
| If the question mentions... | → Think |
|---|---|
| Offload heavy computation from phone to save battery | MCC / Computation Offloading |
| Decide which methods to offload (pre-analysis) | CloneCloud — Static Analysis |
| Decide whether to offload at runtime (CPU, energy, network) | CloneCloud — Dynamic Profiling |
| Low-latency offload via one-hop Wi-Fi (10–30 ms) | Cloudlet |
| On-device compute, no connectivity needed (sensor/MCU) | Mist Computing |
| Compute one hop away from sensor (gateway/AP) | Edge Computing |
| Compute at intermediate local server between device & cloud | Fog Computing |
| Fog node overloaded → redistribute to neighbor fog node | F2F Offloading |
| Fog node overloaded → escalate to cloud | F2C Offloading |
| Need to find best fog node to offload to | Score = α·ρ + β·latency |
| Drone control, connected cars, VR/AR (ultra-low latency) | 5G + Edge Computing |
| Holographic comms, brain-computer interface | 6G |
| Blockchain for trusting fog nodes before offloading | Secure F2F (Roshan et al.) |
🔐 Security & Privacy
| If the question mentions... | → Think |
|---|---|
| Multiple users on same physical server → data leaks | Multi-tenancy / Cross-VM Attack |
| Attacker listens to cache timing to steal crypto key | Side-Channel Attack |
| Attacker maps cloud infra, co-locates with target VM | Cartography / VM Placement Attack |
| Hide memory access patterns (even from encrypted data) | ORAM (Oblivious RAM) |
| Access pattern still reveals secrets even with encryption | Path ORAM |
| Bankrupting a service via cloud pay-per-use billing exploit | EDoS (Economic DoS) |
| Intercepts ALL resource requests (gatekeeper) | PEP (Policy Enforcement Point) |
| Decides grant/deny for resource access | PDP (Policy Decision Point) |
| Holds XACML policies — key to reclaiming control | ACM (Access Control Manager) |
| Identity token in XML format (the ID card) | SAML |
| Access control policy framework | XACML |
| Prove identity without revealing credentials | ZKP (Zero-Knowledge Proof) |
| Minimal PII disclosure — only send what's needed | Active Bundle / Selective Disclosure |
| Verify age/credit without decrypting raw data | Predicate over Encrypted Data |
| No single party holds the full key (distributed trust) | Multi-Party Computing |
| Protect sensitive data from leaving to unauthorized places | DLP (Data Loss Prevention) |
| Data self-destructs if integrity check fails on untrusted host | Active Bundle — Apoptosis |
| Investigating before deciding (management precaution) | Due Diligence |
| Day-to-day security habits and controls | Due Care |
🏢 Multi-Tenancy & Cloud Architecture
| If the question mentions... | → Think |
|---|---|
| Multiple teams sharing one Hadoop cluster safely | YARN / Multi-tenancy (Ch12) |
| Multiple distribution versions running simultaneously | VM / Container / Mesos |
| All tenants on one cluster vs separate clusters | Multi-tenant Hadoop |
| Resource offer model ("here are resources, want them?") | Apache Mesos |
| Resource request model ("I need X resources") | YARN |
| Lightweight containers, no guest OS | Docker |
| Full machine virtualization with guest OS | VM |
| Data center OS, manages Hadoop + Spark + NoSQL | Mesos |
| Coordination between cloud and devices (M2M at scale) | Fog Computing |
📐 CAP Theorem Quick Lookup (NoSQL Ch9)
| Priority | → Pick |
|---|---|
| Consistency + Availability (no partitions tolerated) | Traditional RDBMS |
| Consistency + Partition tolerance (sacrifice availability) | HBase, BigTable, MongoDB |
| Availability + Partition tolerance (sacrifice consistency) | Cassandra, CouchDB, Dynamo |
⚡ "Which is faster?" Quick Answers
| Comparison | Faster |
|---|---|
| MapReduce vs Tez | Tez (in-memory DAG, no disk I/O between stages) |
| Cloud (WAN) vs Cloudlet (Wi-Fi) | Cloudlet (10–30 ms vs 100–300 ms) |
| Fog vs Cloud for real-time | Fog (one hop, local) |
| F2F vs F2C for real-time tasks | F2F (stays in fog layer) |
| Kafka Streams vs Spark Streaming | Kafka Streams (per-record, not micro-batch) |