This is a great idea for a quiz, but there are several issues. It omits a number of places the Beagle visited, e.g., New Zealand, Tahiti, Reunion. Admittedly, it would be difficult to decide, in some cases, what country should be specified on the quiz, such as in the case of Tahiti (which belongs to France now, but didn't at the time) or Reunion (which was under French control at the time, but was not then formally a part of France as it presently is).
He did not visit the Maldives. However, he did write about the Maldives in his 1842 book on coral reefs (drawing on the work of people who had been there).