Pergunta de entrevista da empresa Infosys

What is CAP theorem (from DBMS)?