Are you sure you're getting this? Click the correct answer from the options.
Considering the key-value store we are building, how can we set the expiration times for a key?
Click the option that best answers the question.
- Deleting the key as soon as it's set, then re-set the key with an added time in the future.
- By setting a future timestamp when the key is created and comparing it with the current time whenever the key is accessed.
- Using external services or third party libraries to manage the key-value expiration.
- There's no possible way to set expiring keys in a key-value store.