score:4
It is indeed Rio de Janeiro.
The beach in the photograph is Praia de Botafogo, seen from the park surrounding Sugarloaf Mountain which is behind the photographer. The statue of Christ the Redeemer is out of shot to the left. I've marked an approximate location and angle of view on this map:
This photograph shows the same area from the opposite direction: By Halley Pacheco de Oliveira - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=23366134
Upvote:1
@MastaBasta already answered correctly that this is Rio de Janeiro.
Specifically this shot is taken from the lower of the two mountains before you go on to the cable cars. Otherwise, you would not get a view of the side of some buildings on the right.
Straight ahead in the photo is Botafogo beach and the area around it carries the same name.
Upvote:3
@arthurs-pass posted a comment with the location. He is correct. The shot is taken from, it seems, the first of the two mountains that make up Sugerloaf.
Here's a photo I took from what seems to be almost exactly the same spot: