The castle was placed here strategically to watch over the Danube river, which makes the view lovely for tourists nowadays. You can also watch over Devín perfectly.
Next to that, it’s on the border with Austria, you can literally see Austria on the other side of the river. Hungary is also only 27 km away.
If you are planning to go here, think about visiting Hungary and Austria as well, as it is so nearby. We first visited Budapest/Esztergom, then Bratislava, and later also Vienna.