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'
|Copa Sudamericana Preview: Cerro confident after big win|
|Gentiletti out for six months|
|CONCACAF Champions League Preview: Portland primed for top spot|
|Colombian Primera A Review: Cali rise to the summit|
|Neville slams ´soft-centred´ United|
|Liga del Futbol Profesional Boliviano Review: San Jose go top|
|Ecuadorian Primera A Review: Barcelona move clear|
|Liga MX Review: Ronaldinho scores on league debut|
|Costa Rican Primera Division Review: Nunez fires again for Herediano|
|Paraguayan Division Profesional Review: Sol de America end streak|
|Serie A no two-horse race - Garcia|
|Venezuelan Primera Division Review: Tachira thrash Tucanes|
|Brazilian Serie A Review: Cruzeiro stunned late, Goias crush Palmeiras|
|Peruvian Primera Division Review: Melgar, Cesar Vallejo win again|
|Toronto FC 3 Chivas USA 0: Hosts end winless run|
|Ligue 1 Review: Pressure builds on Blanc, Monaco edge to victory|
|Al-Khelaifi gives Blanc vote of confidence|
|Mazzarri frustrated by draw|
|Luis Enrique salutes ´special´ Messi|
|Iachini laments missed chances|
|La Liga Review: Barca hammer Levante, Villarreal in two-goal comeback|
|Serie A Review: Zeman denied Roma revenge, Inter held|
|Paris Saint-Germain 1 Lyon 1: Umtiti adds to pressure on Blanc|
|Levante 0 Barcelona 5: Five-star Barca crush 10-man hosts|
|Palermo 1 Inter 1: Visitors´ progress checked|
|Arsenal v Southampton: Koeman calls for focus|
|Swansea City v Everton: Both sides looking to bounce back in League Cup|
|Police to investigate after Balotelli abused on Twitter|
|Liverpool v Middlesbrough: Rodgers keen to regain winning habit|
|Arabian Gulf League Review: Al Wahda maintain perfect start, Al Jazira held|
|Real Madrid v Elche: Hosts look to build on Depor demolition|
|Eredivisie Review: Ajax triumph in derby, PSV romp to victory|
|Warnock proud after victory at Goodison|
|Mourinho not interested in Pellegrini jibes|
|Pellegrini slams ´small team´ Chelsea´s approach|
|Bundesliga Review: Leverkusen slip up, Cologne held in derby|
|Martinez rues failure to build on strong start|
|Sewe Sport 1 AC Leopards 0: Kouame strike seals slender advantage|
|Scottish Premiership Review: Derby joy for Dundee United, Celtic held|
|Vita Club 2 CS Sfaxien 1: Hosts seize advantage in semi-final|
|Mixed emotions for Lampard after denying Chelsea|
|Irvine hails best day so far|
|Manchester City 1 Chelsea 1: Lampard denies former club|
|Everton 2 Crystal Palace 3: Howard mistakes cost hosts dear|
|Pearson praises Leicester City spirit|
|Van Gaal laments United collapse|
|Pochettino makes no excuses|
|CSL Review: Evergrande leave it late, Liaoning Whowin edge thriller|
|Leicester City 5 Manchester United 3: Hosts stage famous comeback|
|Tottenham 0 West Brom 1: Morrison gives visitors deserved win|
|Lee claims first Hong Kong gold in Incheon|
|Sunderland v Stoke City: Poyet again up for the cup|
|Ancelotti wants Real consistency|
|Dortmund hit by Mkhitaryan injury blow|
|Inzaghi pleased with Milan progress|
|Monk: Hodgson will be back|
|Pardew: Cisse should not have played|
|We cannot entertain title challenge - Rodgers|
|Bayern Munich v Paderborn: Visitors´ surprise start faces litmus test|
|K. League Review: Suwon close gap on top two|
|Empoli v Milan: Inzaghi eyeing top three|
|MLS Review: Wright-Phillips treble inspires Red Bulls rout|
|Bender: We lacked ambition|
|McInnes unhappy after ugly bust-up|
|Cambiasso impressed with Leicester mentality|
|Valverde: Champions League is not an excuse|
|Simeone wants improvement in discipline|
|Conte keeping tabs on Pelle|
|Marseille deserved to beat Rennes - Bielsa|
|La Liga Review: Real end slump with rout, Atletico share spoils|
|Hart unsure on City future|
|Primeira Liga Review: Quinta inspires first Penafiel win, Braga claim late draw|
|ES Setif 2 TP Mazembe 1: Late winner gives Algerians the edge|
|Inzaghi upbeat despite defeat|
|Victory not ´revenge´ for Allegri|
|Simeone defends Jimenez|
|Ligue 1 Review: Gignac double takes Marseille top|
|Patience pays off for Tevez and Juventus|
|Eredivisie Review: Vitesse drop points again, Dordrecht salvage late draw|
|Serie A Review: Allegri wins on Milan return, Empoli fight back|
|Milan 0 Juventus 1: Allegri wins on return to San Siro|
|Klopp rues Dortmund display|
|Allardyce lauds ´outstanding´ first-half performance|
|Coton Sport 0 Al Ahly 1: Soliman screamer puts Egyptians in command|
|Newcastle earned friends with comeback draw, claims Pardew|
|Liverpool ´nowhere near the standard´ - Rodgers|
|Atletico Madrid 2 Celta Vigo 2: Nolito penalty frustrates champions|
|Bundesliga Review: Zinnbauer stops Bayern as Paderborn go top|
|Lambert to close training ground after bug|
|Poyet blasts lacklustre Sunderland|
|Goals and wins are coming - Dyche|
|Koeman calm after Southampton move second|
|Bruce bemoans Hull errors|
|West Ham 3 Liverpool 1: Hosts punish sloppy Reds|
|Mainz 2 Borussia Dortmund 0: Klopp suffers miserable return|
|Guardiola: Fixture congestion taking its toll|
|Deportivo thrashing answered critics - Ancelotti|
|League Two Review: Accrington thrill on Coleman return, Bury go top|
|Bony ´distraught´ after dismissal - Monk|
|Pardew praises senior players after Hull draw|
|Wenger: Ozil showed mental strength|
|League One Review: MK Dons hit Crewe for six, Swindon crush Sheffield United|
|Championship Review: Fulham woes continue under Symons|
|Scottish Premiership Wrap: Inverness overhaul Hamilton at the top|
|Hughes credits QPR fans|
|Aston Villa 0 Arsenal 3: Ozil shines as Gunners get back on track|
|Swansea City 0 Southampton 1: Wanyama leaves it late to down 10-man hosts|
|Deportivo La Coruna 2 Real Madrid 8: Ronaldo hat-trick helps end visitors´ Liga slump|
|Newcastle United 2 Hull City 2: Late Cisse brace lifts pressure on Pardew|
|Burnley 0 Sunderland 0: Both sides await first league win|
|Hamburg 0 Bayern Munich 0: Zinnbauer starts Hamburg reign with impressive point|
|Hosts strike gold on day two in Incheon|
|Redknapp hails Kranjcar quality|
|QPR 2 Stoke City 2: Kranjcar spoils Hughes´ Loftus Road return|
|Howard not expecting European hangover|
|J.League Review: Gamba clinch Osaka derby, Tokushima Vortis on the brink|
|Vermaelen ´getting better every day´|
|Rafael: I want to stay at United forever|
|Ulloa determined to maintain strong form|
|Vidic adjusting to Serie A referees|
|Conte: There is room for a professional Balotelli|
|Mourinho wants tougher sanctions for FFP breaches|
|Milan v Juventus: Allegri returns to San Siro|
|Allardyce lauds in-form Downing|
|Real Salt Lake 5 Colorado Rapids 1: Poor visitors lose again|
|Mignolet "aggressive", says Rodgers|
|´Old´ City approaching dangerous position, says Neville|
|Shakhtar´s Donbass Arena hit by shelling|
|Song excited to face hero Gerrard|
|Everything is normal, says Ancelotti|