0
0
Redisquery~10 mins

TLS encryption in Redis - 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 TLS encryption in Redis configuration.

Redis
tls-port [1]
Drag options to blanks, or click blank then click option'
A443
B6379
C0
D6380
Attempts:
3 left
💡 Hint
Common Mistakes
Using the default Redis port 6379 disables TLS.
Setting tls-port to 0 disables TLS port.
2fill in blank
medium

Complete the code to specify the TLS certificate file path in Redis configuration.

Redis
tls-cert-file [1]
Drag options to blanks, or click blank then click option'
A/etc/redis/redis.crt
B/etc/redis/redis.key
C/etc/redis/redis.conf
D/etc/redis/redis.pem
Attempts:
3 left
💡 Hint
Common Mistakes
Using the key file instead of the certificate file.
Using the configuration file path instead of a certificate.
3fill in blank
hard

Fix the error in the Redis TLS configuration line to specify the CA certificate file.

Redis
tls-ca-cert-file [1]
Drag options to blanks, or click blank then click option'
A/etc/redis/ca.crt
B/etc/redis/redis.key
C/etc/redis/ca.key
D/etc/redis/redis.conf
Attempts:
3 left
💡 Hint
Common Mistakes
Using the CA key file instead of the CA certificate.
Using the Redis key or config file instead of CA certificate.
4fill in blank
hard

Fill both blanks to enable TLS and disable the non-TLS port in Redis configuration.

Redis
tls-port [1]
port [2]
Drag options to blanks, or click blank then click option'
A6380
B0
C6379
D1
Attempts:
3 left
💡 Hint
Common Mistakes
Leaving the non-TLS port enabled by not setting it to 0.
Using the default port 6379 for TLS port.
5fill in blank
hard

Fill all three blanks to configure Redis TLS with certificate, key, and CA certificate files.

Redis
tls-cert-file [1]
tls-key-file [2]
tls-ca-cert-file [3]
Drag options to blanks, or click blank then click option'
A/etc/redis/redis.crt
B/etc/redis/redis.key
C/etc/redis/ca.crt
D/etc/redis/redis.conf
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up certificate and key file paths.
Using config files instead of certificate or key files.