Pergunta de entrevista da empresa Salesforce

Assume an object depends on another object, how do you update them consistently?