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'
|Aubameyang reiterates Madrid dream after Bernabeu show|
|Zidane praises Benzema after 50th Champions League goal|
|Aubameyang deserves 99 per cent of credit - Reus|
|Neymar: There´s only one Ballon d´Or winner and it´s Messi, not Ronaldo|
|Magiera hails Legia victory as for ´all of Poland´|
|Tuchel thought Aubameyang had blown chance to equalise|
|Pochettino confident Spurs are back on track|
|Santo hails Porto´s mature performance|
|Lyon proved we can compete with Europe´s best - Genesio|
|Slutsky unsurprised by apparent Premier League interest in Dzagoev|
|Jardim frustrated as Monaco finally lose|
|Allegri dismisses importance of first-place finish|
|Zidane ´angry´ as Real Madrid let top spot slip|
|Sevilla aren´t satisfied with Champions League last 16 - Sampaoli|
|Ranieri slams Leicester´s lack of character|
|Confident Roberts ready to wing in for City|
|Real Madrid equal record 34-match unbeaten run|
|Kane relieved to end Wembley hoodoo|
|Legia Warsaw 1 Sporting CP 0: Guilherme seals Europa League spot|
|Porto 5 Leicester City 0: Silva at the double as Ranieri´s men crumble|
|Borussia Dortmund break record for goals in Champions League group stage|
|Real Madrid 2 Borussia Dortmund 2: Reus equaliser sees visitors grab top spot|
|Bayer Leverkusen 3 Monaco 0: Hosts retain unbeaten record with routine win|
|Club Brugge 0 FC Copenhagen 2: Routine win not enough as FCK must settle for Europa League|
|Lyon 0 Sevilla 0: Europa League holders secure passage|
|Juventus 2 Dinamo Zagreb 0: Bianconeri top group with easy win|
|Tottenham 3 CSKA Moscow 1: Spurs survive scare to seal Europa League berth|
|Benzema reaches 50 Champions League goals|
|Buffon´s 50-game Champions League run comes to an end|
|Santi Cazorla gives Achiles surgery two thumbs up|
|Video technology to assist referees at FIFA Club World Cup|
|Spalletti wants winning mentality to continue for Roma|
|M´Vila rejects Sunderland return|
|Robson-Kanu prioritised Premier League move, despite Atleti interest|
|Puel dismisses Fonte departure speculation|
|Mourinho rejects ´best coach in the world´ tag|
|Manchester United not giving up on Premier League, insists Mkhitaryan|
|Infantino favours 16 three-team groups at World Cup - report|
|Europa League an ´important competition´ for Mourinho|
|Brozovic extends Inter stay|
|Rooney still has England future - Hodgson|
|New wardrobe top of Jesus´ Manchester to-do list|
|Pioli not concerned by Simeone´s Inter comments|
|Poyet: It would be a pleasure to sign Tevez|
|Celtic charged by UEFA over crowd disturbances|
|Not extending Man United stay my only regret - Larsson|
|Aubameyang´s mum: He always spoke about Madrid, never Barcelona|
|AC Milan sale delayed until March|
|Police horse burger thrower fined|
|Nolito comfortable with Guardiola´s rotation policy|
|Ajax expect in-demand Bazoer to exit|
|Not even the Golden Boot would get me an England recall, says Defoe|
|MLS MVP Villa has no interest in Premier League move|
|Vidal: I never had a problem with Luis Enrique|
|Ancelotti not keen on Madrid Champions League reunion|
|Zabaleta: Guardiola needs Iheanacho more than ever|
|Ranieri not fearful of Foxes chop|
|Celtic fan arrested for throwing burger at police horse|
|Dad-to-be Lewandowski reveals baby news with goal celebration|
|Klopp´s Liverpool watched Barca at Camp Nou|
|Wenger braced for tough last-16 draw|
|Roberts buoyed by Guardiola acclaim|
|Gladbach´s Alvaro Dominguez retires at 27|
|Simeone satisfied with aggressive Atletico|
|Emery aims to bounce back after European disappointment|
|Madrid demand ´maximum respect´ for Ronaldo|
|No pressure on Iheanacho to fill Aguero´s boots - Guardiola|
|Cocu praises PSV effort despite European exit|
|Ancelotti hoping for confidence boost|
|Gunes takes blame for Besiktas thrashing|
|Vitoria upbeat despite Napoli defeat|
|Arda Barca future brighter after hat-trick|
|Le Tissier makes ´naked massage´ claims|
|´He has a smell for the goal´ - Wenger hails hat-trick hero Lucas|
|Guardiola to assess Roberts situation at end of season|
|Napoli have no fear - Reina|
|Iheanacho shines but Guardiola concerns lie deeper|
|Barcelona pass masters set new Champions League benchmark|
|Dybala ready to return for Juventus|
|PSV 0 Rostov 0: Russians seal Europa League spot with stalemate|
|Paris Saint-Germain 2 Ludogorets 2: Di Maria rescues draw but PSG miss out on top spot|
|Benfica 1 Napoli 2: Super-sub Mertens seals top spot|
|Dynamo Kiev 6 Besiktas 0: Nine-man visitors crash out|
|Messi fails to match Ronaldo´s Champions League record|
|Basel 1 Arsenal 4: Lucas hat-trick helps Gunners clinch top spot|
|Manchester City 1 Celtic 1: Roberts scores against parent club|
|Bayern Munich 1 Atletico Madrid 0: Lewandowski free-kick the difference in Bavaria|
|Barcelona 4 Borussia Monchengladbach 0: Arda hat-trick lights up Barca procession|
|Zidane ´more sympathetic´ than other Madrid coaches, says Ramos|
|Bartra eager to square up against old rivals Madrid|
|Pardew´s job is ´totally safe´ - Palace chairman|
|Shelvey and Dummett red card appeals successful|
|Lopes doubtful for Sevilla clash due to lack of sleep|
|Real Madrid test will bring the best out of Aubameyang - Tuchel|
|Slutsky to leave CSKA Moscow|
|Genesio hails Valbuena character|
|Spurs hungry for Europa League football - Vertonghen|
|Deschamps claims Pogba is unlikely to ever win Ballon d´Or|
|Xavi: Barca have not lost their essence|
|Strootman banned for sparking Rome derby brawl|
|Mkhitaryan accepts blame for slow start at United|
|New York City star Villa named MLS MVP|
|Ramos distances himself from tax avoidance scandal|
|Witsel casts doubt on January Juventus switch|
|Schmidt has faith in misfiring Hernandez|
|Gabriel not happy at Inter, says agent|
|PSG just another game for returning Balotelli|
|Dortmund eye top spot and a goalscoring record - Champions League in Opta numbers|
|Southgate bids farewell to England assistant Lee|
|Europa League can help Spurs end Wembley hoodoo - Pochettino|
|Watmore´s season ended by injury|
|Zidane: Dortmund clash is a final|
|Gotze to miss Madrid test|
|Lacazette to ponder Lyon future|
|Griezmann lauds ´world class´ Aubameyang|
|Sporting´s in-demand Gelson going nowhere, claims agent|
|FA appoints new lead QC as scope of child sexual abuse review is outlined|
|Hodgson: England players failed to grasp my instructions|
|Xhaka pleads for time to settle in at Arsenal|
|Kluivert urges PSG to learn from Montpellier humbling|
|Augenthaler tips Bayern captain Lahm to play on|
|Rodgers: Celtic growing in confidence in Europe|
|Brazil-Colombia friendly proposed to raise money for Chapecoense|
|If you don´t play, you can´t shine - Hummels urges Mourinho to believe in Mkhitaryan|
|Ronaldinho ready to help Chapecoense|
|United can still finish top four - Guardiola|
|Bale´s ankle ´feeling better every day´|
|Sarri: Napoli in Lisbon to win|
|Watford and West Brom hit with FA charge|