0
0
Hadoopdata~10 mins

Wire encryption for data in transit in Hadoop - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to enable wire encryption in Hadoop configuration.

Hadoop
conf.set("[1]", "true")
Drag options to blanks, or click blank then click option'
Adfs.encrypt.data.transfer
Bdfs.data.transfer.protection
Cdfs.encrypt.wire
Ddfs.data.encryption.enabled
Attempts:
3 left
💡 Hint
Common Mistakes
Using a property that controls data protection but not encryption.
Confusing encryption with general data security settings.
2fill in blank
medium

Complete the code to set the encryption cipher suite for Hadoop wire encryption.

Hadoop
conf.set("dfs.encrypt.data.transfer.cipher.suites", "[1]")
Drag options to blanks, or click blank then click option'
ARSA/ECB/PKCS1Padding
BAES/CTR/NoPadding
CDES/CBC/PKCS5Padding
DBlowfish/CFB/NoPadding
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing RSA which is asymmetric and not used for bulk data encryption.
Selecting DES which is outdated and insecure.
3fill in blank
hard

Fix the error in the code to correctly enable data transfer encryption in Hadoop.

Hadoop
conf.setBoolean("[1]", true)
Drag options to blanks, or click blank then click option'
Adfs.encrypt.data.transfer
Bdfs.data.transfer.protection
Cdfs.encrypt.wire
Ddfs.data.encryption.enabled
Attempts:
3 left
💡 Hint
Common Mistakes
Using a property that controls data protection but not encryption.
Using a property that does not exist in Hadoop configuration.
4fill in blank
hard

Fill both blanks to create a dictionary of encryption settings for Hadoop wire encryption.

Hadoop
encryption_settings = {"[1]": "true", "[2]": "AES/CTR/NoPadding"}
Drag options to blanks, or click blank then click option'
Adfs.encrypt.data.transfer
Bdfs.data.transfer.protection
Cdfs.encrypt.data.transfer.cipher.suites
Ddfs.data.encryption.enabled
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up the keys for enabling encryption and setting cipher suite.
Using keys that do not exist in Hadoop configuration.
5fill in blank
hard

Fill all three blanks to create a Hadoop configuration snippet that enables wire encryption, sets the cipher, and enables data transfer protection.

Hadoop
conf.setBoolean("[1]", true)
conf.set("[2]", "AES/CTR/NoPadding")
conf.set("[3]", "privacy")
Drag options to blanks, or click blank then click option'
Adfs.encrypt.data.transfer
Bdfs.encrypt.data.transfer.cipher.suites
Cdfs.data.transfer.protection
Ddfs.data.encryption.enabled
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing the properties for encryption and protection.
Using incorrect property names or wrong data types.