The questions on History Paper 2 come from a limited set of topics (outlined in the subject guide), using a limited set of possible constructions. Thus it is possible to randomly generate questions.
Note: "To what extent" questions and quote-based questions are not generated here due to syntactical limitations and mild laziness.
Also note: The questions asked in the past seem to focus on a few specific sections of the guide. In Authoritarian States, questions about economic conditions in the rise to power are asked often. In Cold War, one question about either the beginning or the end of the Cold War has been asked every examination session.