In this paper, we show that for all four non-negative real numbers, there exists a Cantor ultrametric space whose Hausdorff dimension, packing dimension, upper box dimension, and Assouad dimension are equal to given four numbers, respectively.By constructing topological embeddings of simplexes into the Gromov-Hausdorff space, we prove that the set of all compact metric spaces possessing prescribed topological dimension, Hausdorff dimension, packing dimension, upper box dimension, and Assouad dimension, and the set of all compact ultrametric spaces are path-connected and have infinite topological dimension. This observation on ultrametrics provides another proof of Qiu's theorem stating that the ratio of the Archimedean and non-Archimedean Gromov-Hausdorff distances is unbounded.