Complete the code to set a Redis server as a replica of a master.
replicaof [1] [2]
The replicaof command requires the IP address and port of the master server. Here, 192.168.1.100 6379 is the correct master address and port.
Complete the Redis configuration line to enable replication in the config file.
replicaof [1] [2]
In the Redis config file, replicaof is followed by the master's IP and port. The correct master IP here is 192.168.0.10 and port 6379.
Fix the error in the command to configure a Redis replica.
replicaof [1]The replicaof command requires both the IP address and the port number separated by a space. Option C correctly provides both.
Fill both blanks to configure a Redis replica with the correct master IP and port.
replicaof [1] [2]
The replicaof command needs the master's IP and port. Here, 10.0.0.5 is the master IP and 6379 is the default Redis port.
Fill all three blanks to write a Redis replica configuration command with IP, port, and a comment.
# Set replica to master at [1]:[2] replicaof [3] [2]
The comment and command must match the master's IP and port. The IP 192.168.10.20 and port 6379 are used consistently.
