Pregunta de entrevista de Diageo

how does primary key integrity is maintained by a database? (not asking what PK is ).