0
0
HLDsystem_design~10 mins

Encryption at rest and in transit in HLD - Interactive Code Practice

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

Complete the code to specify the encryption method used for data stored on disk.

HLD
storage_config = {"encryption": "[1]"}
Drag options to blanks, or click blank then click option'
ABase64
BSHA-256
CMD5
DAES-256
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing hashing algorithms like SHA-256 or MD5 instead of encryption.
2fill in blank
medium

Complete the code to specify the protocol used to secure data during transmission.

HLD
network_config = {"protocol": "[1]"}
Drag options to blanks, or click blank then click option'
AFTP
BTLS
CHTTP
DSMTP
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing unencrypted protocols like HTTP or FTP with secure ones.
3fill in blank
hard

Fix the error in the code that incorrectly uses a hashing function for encrypting data at rest.

HLD
encryption_method = "[1]"  # Incorrect for encryption at rest
Drag options to blanks, or click blank then click option'
AAES-256
BRSA
CMD5
DSHA-1
Attempts:
3 left
💡 Hint
Common Mistakes
Using hash functions instead of encryption algorithms.
4fill in blank
hard

Fill both blanks to complete the configuration for encrypting data at rest and in transit.

HLD
config = {"at_rest": "[1]", "in_transit": "[2]"}
Drag options to blanks, or click blank then click option'
AAES-256
BTLS
CHTTP
DMD5
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up encryption and hashing algorithms.
5fill in blank
hard

Fill all three blanks to complete the security setup for data encryption and integrity verification.

HLD
security = {"encrypt_at_rest": "[1]", "encrypt_in_transit": "[2]", "integrity_check": "[3]"}
Drag options to blanks, or click blank then click option'
ARSA
BTLS
CSHA-256
DAES-256
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing encryption with hashing for integrity.