Past ExamsRwanda ICT preparation

Topics / Database

An application occasionally receives an error saying its transaction “was chosen as the deadlock victim”. What happened, and how should the application respond?

Une application reçoit parfois une erreur indiquant que sa transaction « a été choisie comme victime d'un interblocage ». Que s'est-il passé, et comment l'application doit-elle réagir ?

Answers
AThe database has crashed completely and needs to be restored from last night's full backup before anyone can workLa base a complètement planté et doit être restaurée à partir de la sauvegarde complète de la nuit avant que quiconque puisse travailler
BThe user typed a wrong passwordL'utilisateur a saisi un mauvais mot de passe
CThe table has been deletedLa table a été supprimée
DTwo transactions locked each other, one was cancelled; retry it and order access consistentlyDeux transactions se bloquaient, l'une a été annulée ; la relancer et accéder aux tables dans un ordre constant
The answer and explanation are in the full bank.

This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.

Unlock for 5,000 RWF

MIFOTRA exam practicealigned to Practice set: Database Management·3 marks·Hard

More Database questions