Fred scored the only goal of the game as Brazil completed their World Cup preparations with a hard-fought 1-0 win over Serbia.
The Selecao were struggling to break down their European opponents when, in the 58th minute, the forward expertly controlled a long ball forward from Thiago Silva before prodding home.
Brazil had chances to add to their tally but were ultimately forced to settle for a narrow win.
Having not been tested by Panama in midweek, the World Cup hosts were at full-strength for the clash against Ljubinko Drulovic's side.
They were restrained for large spells, however, and coach Luiz Felipe Scolari will be aware improvement is required despite Fred's well-taken winner.
Brazil's victory may do little to fill an expectant nation with great confidence. However, with Neymar getting almost 80 minutes of action on his road to full fitness and Fred scoring his first in Brazil colours since the Confederations Cup, there are reasons for the hosts to be optimistic.
After a lively opening from both sides, Aleksandar Kolarov threatened first when he struck an effort wide of Julio Cesar's left-hand post after nine minutes.
Neymar then almost benefited from a block that fortuitously landed in his path - only for Ivanovic to produce a well-timed last-ditch tackle.
A combination of tenacious and robust defending helped keep Brazil's forwards well shackled, although Fred was next to threaten - his dipping strike veering off target 24 minutes in.
David Luiz was forced into a hurried clearance following Kolarov's fierce delivery before Aleksandar Mitrovic wasted the best chance of the half, heading wide with the goal at his mercy.
Luiz and Thiago Silva, who will team up at Paris Saint-Germain from next season, then got mixed up close to half-time, but an offside flag rescued Brazil as Lazar Markovic converted.
Scolari swapped Oscar for Willian at the break, presumably in an effort to shake things up, but Brazil still looked somewhat out of sorts.
Indeed, Dusan Tadic perhaps could have opened the scoring for Serbia had he gambled on reaching a cross lofted into the hosts' box.
Fred subsequently ensured first blood went to Brazil, the striker cleverly chesting Thiago Silva's delivery to take Branislav Ivanovic out of the game and then prodding the ball past Vladimir Stojkovic - despite having stumbled before doing so.
Neymar, lively but far from his dangerous best, then flashed an effort over the crossbar as his side sought to make the scoreline more emphatic.
There were to be no more goals, although Serbia's Milos Jojic and Brazil forward Jo hit the woodwork in the closing stages.
Brazil open their World Cup campaign against Croatia on June 12 and will be hopeful of a more fluent display.
|Coach: Luiz Felipe Scolari|
for Oscar 46'
for Paulinho 65'
for Dani Alves 72'
for Fred 75'
for Marcelo 76'
for Neymar 81'
|Hughes backs Shawcross for Ibrahimovic revenge|
|Misfiring Zaza could be next Bergkamp - Bilic|
|Mourinho needs time to understand United players|
|Mathieu quits France after admitting ´I don´t have the motivation´|
|Wenger ´not obsessed´ with winning send-off|
|Liverpool top, DVDs just invented and no Harry Potter - the world when Wenger joined Arsenal|
|The Invincibles and Champions League heartbreak - the highs and lows of Wenger´s 20 years at Arsenal|
|Guardiola eyes longer City stay|
|Wenger fits England criteria ´perfectly´ - FA chief|
|Houston Dynamo 0 New York City 2: Villa brace seals routine win|
|Premier League defends tax arrangements|
|Redknapp reportedly aware of players betting on games|
|Koeman champions ´outstanding´ display despite draw|
|Everton profited from ´harsh´ refereeing, claims Delaney|
|We will get much better, Guardiola warns rivals|
|Ibrahimovic turned down €100m China deal - Raiola|
|Everton 1 Crystal Palace 1: Benteke cancels out Lukaku opener|
|Rashford looking to emulate Ronaldo at Manchester United|
|Managers given bad name by Allardyce scandal - Moyes|
|Pagliara claims he lied to Telegraph over bungs|
|Dyche excited by Arsenal challenge|
|Mazzarri wary of unleashing Success until he is fully fit|
|Moyes stands by criticism of players|
|Guardiola marvels at amazing Ryder Cup experience|
|Mathieu and Deschamps ´exchange´ gives Mangala recall|
|Retirement threat just ´erratic´ Tevez being dramatic - Joorabchian|
|Dani Alves wants Champions League glory with Juventus|
|Guardiola: Football fans can enjoy Tottenham|
|Ranieri calls for consistency from Leicester|
|Low missing out on ´dream´ player in Castro - Tuchel|
|Mata: I never had problems with Mourinho|
|Conte wants failures to motivate Chelsea|
|Pochettino rules out ´impossible´ England switch|
|Emery pleased with Ben Arfa attitude|
|Gundogan returns for Germany after lengthy absence|
|Terry out again as Chelsea prepare for Hull|
|Hasselbaink refutes corruption allegations|
|Robben to start against Cologne, suggests Ancelotti|
|Prolific Callejon called into Spain squad|
|Hull City offer ´keeps changing´ - Phelan|
|Krueger: Black allegations do not directly affect Southampton|
|Wenger optimistic over Coquelin recovery|
|Hughes focused after Mourinho backing|
|Wenger open to England job|
|Klopp eyes retirement before 60|
|Wenger the pioneer battles on within his own legacy|
|Lukaku: I am not on Suarez´s level yet|
|Ibrahimovic is tremendous even if he does not score - Mourinho|
|CONCACAF Champions League Review: Olimpia, Honduras Progreso claim key wins|
|Astra expected hungover Roma - Spalletti|
|United fixture list a ´poisoned gift´ - Mourinho|
|Ronaldo back for ´stronger´ Portugal|
|Dembele can be next Drogba - Rodgers|
|Mourinho wanted Pogba at Chelsea, says Raiola|
|Puel pleased with ´good point´ in Israel|
|Mourinho not ´over the moon´ with United wins|
|Southampton investigating Eric Black allegations|
|Rodgers: Celtic would challenge at the top in England|
|Ibrahimovic expects more from United|
|Manchester United 1 Zorya 0: Ibrahimovic header earns Mourinho´s men narrow win|
|De Boer blasts Inter for lack of focus|
|Zarate reveals message to ill wife after goalscoring return|
|Raffael suffers fresh injury setback|
|Hapoel Be´er Sheva 0 Southampton 0: Saints´ winning run comes to an end|
|Sparta Prague 3 Inter 1: De Boer´s side humbled in Europa League again|
|Police to review corruption allegations after Telegraph sting|
|Brady hails Wenger as ´possibly the best ever´ Gunners boss|
|Yacob signs new West Brom deal|
|Guidolin prioritising Swansea improvement over his future|
|Sakho outburst has been dealt with – Klopp|
|Bilic sorry for Allardyce in ´very sad´ week for English football|
|Laporte saga nears conclusion as defender earns France call-up|
|Everton are exceeding expectations – Koeman|
|Wenger could be tempted by an international offer, says ex-assistant|
|No excuses for Liverpool this time, says Klopp|
|Rashford left out of England Under-21 squad|
|Boro must pick up where they left off - Karanka|
|Matuidi could still join Juventus, says Raiola|
|Pardew anticipates battle of the Belgians|
|Legia Warsaw to face Real Madrid behind closed doors|
|England job would be the pinnacle - Pardew|
|Wright sacked by Barnsley|
|Bilic defends West Ham team night out|
|Ramsey withdrawal was Arsenal´s call - Coleman|
|LMA demand ´immediate full disclosure´ of corruption evidence|
|´My answer would be a big fat no´ - Coleman rules out taking England job|
|Leeds dismiss Cellino sting as ´non-story´|
|Gabigol, Rashford and Sanches among Golden Boy nominees|
|Keane slams Arsenal: Half their players will have gloves on soon|
|´Special´ Man City draw a career highlight, says Gordon|
|Southgate admits England situation is ´not ideal´|
|England should have gone for O´Neill, says Shilton|
|PSG´s powers of recovery impress Cavani|
|Howe ´absolutely committed´ to Bournemouth amid England links|
|Man City proved character against Celtic, says Zabaleta|
|Walcott: Sanchez partnership bodes well for Arsenal´s season|
|MLS Review: DC, Impact on track for play-offs|
|CONCACAF Champions League Review: Tigres, Dallas left waiting|
|Central Sanchez pleases Wenger|
|Barca felt Messi absence - Busquets|
|Martino knew Messi would come out of retirement|
|Shilton never convinced by Allardyce|
|Degenek replaced by Giannou for Socceroos|
|Griezmann will still take penalties - Simeone|
|Simeone proud of ´one of the best´ wins|
|Godin suffers sprained ankle ligament|
|West Ham receive positive news over injured duo|
|Robson: Four wins for Southgate and he´s an England contender|
|Gunes rues Besiktas´ inability to see off Dynamo|
|Sarri: Late goals leave bitter taste|
|Borussia Monchengladbach were exceptional against Barcelona, feels Schubert|
|PSG must be patient, says Emery|
|Celtic are lucky to have Dembele - Rodgers|
|I´m completely focused on Arsenal, insists Wenger amid England talk|