Apache Spark Big Data (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)
Spark Security: Kerberos authentication, TLS wire encryption, and fine-grained data masking via Apache Ranger.
senior LevelSecurity & Auth
In Simple Words: Securing enterprise big data infrastructure:
- Kerberos: Mutual authentication between Spark drivers, executors, HDFS, and Hive Metastore.
- Internal Wire Encryption (
spark.authenticate = true,spark.network.crypto.enabled = true): Encrypts shuffle data transferred across nodes using AES-128. - Apache Ranger / Privacera: Enforces column-level security and dynamic data masking (e.g., masking credit card numbers for non-privileged analytics groups).