Foreign key in B is referring to the primary key in A. So, a referential integrity can be violated when
1. Insert happens on B - when the referred key value may not be in A
2. Delete happens on A - when the deleted key value is being referred by some B tuple
Delete from B and Insert into A cannot cause referential integrity violation.
Correct option: A; D