Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
To enhance data security by implementing encryption-at-rest for data stored in Spark DataFrames, which strategy ensures data is encrypted when persisted?
A
Encrypt data manually before storing in DataFrames and decrypt upon reading, using UDFs for encryption/decryption operations.
B
Enable Spark‘s internal encryption mechanism by configuring spark.io.encryption.enabled to true.
C
Utilize HDFS encryption zones for data stored by Spark, ensuring data is encrypted at the storage level.
D
Rely on Spark‘s automatic encryption for persisted DataFrames, requiring no additional configuration.