Answer
Miranda participated in two FIFA World Cups. He was a member of the Brazilian national team that competed in the 2014 and 2018 tournaments. In 2014, Brazil hosted the World Cup and reached the semifinals, where they lost to Germany. In 2018, Brazil was eliminated in the quarterfinals by Belgium. Miranda was a key player in both tournaments, starting all but one of Brazil's matches.