This problem is ‘’inverse’‘ to the problem of computing the Galois group of some algebraic equation?. It was first posed in the 19th century and is still unsolved. However there are several results dealing with special and related cases.
Helmut Völklein, Groups as Galois Groups, an Introduction, Cambridge University Press, 1996.
‘’inverse Galois problem’‘ in wikipedia, web