Ayres Rock is an inselberg, an isolated erosion resistant sandstone (sedimentary) formation that was once part of a mountain range.
It is sandstone.
Any rock that breaks down into sediments and then pressed back into a solid form.
metamorphic rock
Igneous rocks.
Metamorphic rocks can form from both igneous and sedimentary rocks