NTT DATA Interview Question

How Redis cache works internally?