The head of GCHQ said the duke "asked some probing questions and demonstrated a real grasp" of the mission.