# UGC NET 2027 Special: Cloud Hypervisors, Spark vs Hadoop, AES/PKI Security & Quantum Computing
Exam: UGC NET Computer Science & Applications (Code 87) (UGC NET CS)
Subject: Unit 9: Data Communication & Computer Networks
Canonical URL: https://gateandnet.com/exams/ugc-net-cs/net-computer-networks/cloud-spark-aes-digital-signatures-and-ugc-2027-trends

> IaaS/PaaS/SaaS shared responsibility, Type-1 vs Type-2 Hypervisors vs Containers, Hadoop MapReduce vs Spark RDD DAGs, DES vs AES-128/192/256 rounds, PKI Digital Signatures, and Grover/Shor Quantum speedups.

## 1. Cloud Models, Virtualization & Big Data (Hadoop vs Spark)

- **Type-1 (Bare-Metal) Hypervisor:** Runs directly on host hardware (**VMware ESXi, Xen, KVM, Hyper-V**).
- **Type-2 (Hosted) Hypervisor:** Runs atop a conventional host OS (**VirtualBox, VMware Workstation**).
- **OS-Level Containers (Docker / Kubernetes Pods):** Share the **host Linux kernel** via `namespaces` (isolation) and `cgroups` (resource limits) — millisecond startup, no guest OS kernel per container!
- **Hadoop MapReduce vs Apache Spark:** MapReduce flushes intermediate `(key, value)` data to **HDFS disk** after every stage; **Apache Spark** keeps **Resilient Distributed Datasets (RDDs)** in RAM across lazy **DAG** transformations (*Transformations* like `map, filter` are **lazy**; *Actions* like `collect, count, reduce` trigger execution!), running up to $100\times$ faster on iterative ML!

## 2. Symmetric vs Asymmetric Cryptography & Digital Signature Key Trap

| Operation Goal | Key Used by Sender (Alice) | Key Used by Receiver (Bob) | Guarantees |
| :--- | :--- | :--- | :--- |
| **Confidentiality (Encryption)** | **Bob’s Public Key** $PU_B$ | **Bob’s Private Key** $PR_B$ | Only Bob can read message |
| **Digital Signature (Auth + Non-Repudiation)** | **Alice’s Private Key** $PR_A$ (signs hash $H(M)$) | **Alice’s Public Key** $PU_A$ | Proves Alice authored $M$ + integrity! |

## Solved Practice Questions & PYQs

### [UGC NET CS 2026–27 Expected | MCQ]
**Statement I:** In **AES-256**, the plaintext block size is $256$ bits and encryption uses $14$ rounds.
**Statement II:** To create a verifiable **Digital Signature**, the sender encrypts/signs the message digest using the **sender’s own Private Key**.
**Correct Answer:** D
**Solution:** - **Statement I is FALSE:** In **ALL** AES variants (`AES-128`, `AES-192`, `AES-256`), the **block size is fixed at $128$ bits** ($4 \times 4$ byte state matrix); only the *key* is $256$ bits ($14$ rounds)!
- **Statement II is TRUE:** Signing uses the **sender’s Private Key**, and anyone verifies using the **sender’s Public Key**.

### [UGC NET CS 2026–27 Expected | MCQ]
What asymptotic speedup does **Grover’s Quantum Search Algorithm** achieve for finding a marked item in an unstructured database of $N$ entries compared to classical $\Theta(N)$ linear search?
**Correct Answer:** B
**Solution:** Grover’s amplitude amplification achieves a **quadratic speedup** $\mathcal{O}(\sqrt{N})$ (which is also provably optimal for black-box quantum unstructured search!).

### [UGC NET CS 2026–27 Expected | MCQ]
In **Apache Spark**, why are RDD transformations such as `map()` and `filter()` evaluated **lazily** only when an **action** like `count()` or `collect()` is invoked?
**Correct Answer:** A
**Solution:** Lazy DAG lineage lets Spark fuse narrow transformations (`map -> filter`) into a single in-memory pass without writing intermediate datasets to disk!
