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'
|Exhausted Keane needs a break, says O´Neill|
|Football League Review: Bristol City bounce back|
|Real Sociedad 3 Elche 0: Vela hat-trick gives Moyes first win|
|Marseille 2 Nantes 0: Bielsa´s men stretch lead to four points|
|Freiburg 1 Stuttgart 4: Harnik secures win on Stevens´ return|
|Dordrecht 0 Willem II 4: Armenteros double inspires visitors|
|Bayern Munich turnover breaks half-a-billion barrier|
|Eintracht Frankfurt v Borussia Dortmund: Gundogan demands winning run|
|Milan v Udinese: Inzaghi out to break winless run|
|Pele showing signs of improvement|
|Prandelli axed by Galatasaray|
|Tottenham v Everton: Martinez expects Tottenham to be a force|
|Valencia v Barcelona: Mathieu eyes triumphant Mestalla return|
|Roma v Inter: Campagnaro eyes first-team chance|
|Estoril 3 PSV 3: Wijnaldum puts visitors through|
|Nesta comes out of retirement to join Chennaiyin|
|Messi ´obviously´ not joining Chelsea, says Mourinho|
|Everton and West Ham fined by FA|
|Romario-like Aguero will be decisive, acknowledges Koeman|
|Southampton v Manchester City: Koeman issues challenge|
|Juventus v Torino: Champions target 25 in a row in derby|
|South Africa v Ivory Coast: Squad players get platform to impress|
|McCarthy´s hamstring issues concerning Martinez|
|Rodgers ignoring talk of the sack|
|Mourinho keen to avoid complacency|
|Tottenham and Legia face disciplinary hearings|
|Klopp convinced Dortmund´s fortunes will turn|
|Dzeko close to City return|
|Real hit back at Platini over Ballon d´Or comments|
|Ancelotti: Tired Kroos will play|
|United defender Shaw out for ´a few weeks´|
|Melbourne Victory 3 Adelaide United 2: Hosts edge five-goal thriller to go top|
|Mexes determined to stay at Milan|
|Guardiola positive despite City defeat|
|Hull striker Hernandez out of United clash|
|River Plate 1 Boca Juniors 0 (agg 1-0): Pisculichi goal sends hosts into final|
|Wenger confirms Arteta lay-off|
|Negredo not ´obsessed´ with ending barren run|
|Kroos admits fatigue|
|Keane quits Villa role|
|Henry vows to help Arsenal after retirement|
|Everton can go far in Europe - Jagielka|
|Pardew expects Carroll return|
|Michu undergoes ankle surgery|
|Brandao sentenced to prison|
|Allardyce slams ´rather silly´ Tomkins|
|Rodgers similar to Wenger - Toure|
|J.League Preview: Flying Gamba chasing Urawa|
|Benitez happy to progress|
|Montella: Fiorentina have ´impressive mentality´|
|Pele ´doing fine´, receiving kidney treatment|
|Ausilio praises Handanovic´s ´remarkable statistics´|
|We need to improve - Stambouli|
|Estoril versus PSV postponed due to rain|
|UEFA Europa League Review: Feyenoord and Everton qualify in style|
|Martinez hails Everton perfection|
|Tottenham 1 Partizan 0: Stambouli settles it for Spurs|
|Inter 2 Dnipro 1: Osvaldo strikes as 10-man hosts earn hard-fought win|
|Tottenham-Partizan clash temporarily suspended due to pitch invasions|
|McKinlay named Moyes´ assistant|
|Poyet issues Chelsea challenge|
|Wolfsburg 0 Everton 2: Martinez´s men secure top spot|
|Lambert defends Bent loan move|
|Sunderland v Chelsea: Johnson eyes next major scalp|
|Riera released by Udinese|
|QPR v Leicester City: Pearson aiming to build on positives|
|Galatasaray and Anderlecht face disciplinary proceedings|
|Liverpool v Stoke City: Hughes plotting Anfield success|
|Vermaelen out for four to six months|
|Swansea City v Crystal Palace: Monk looking for positive response|
|Printant to remain Bastia head coach|
|Irvine knew nothing of Berahino drink-driving case|
|Pele admitted to special care unit|
|West Ham v Newcastle United: Allardyce pinpoints vital phase|
|Skripnik agrees three-year extension at Werder|
|Monk rubbishes talk of Michu return|
|FA charges Whelan over comments|
|Burnley v Aston Villa: Lambert laments list of absentees|
|Manchester United v Hull City: Bruce wary of in-form Rooney|
|Hughes hopeful over unwell trio|
|Grant named as Ghana coach|
|Bielsa expecting tough Nantes challenge|
|Basel charged by UEFA following pitch invasion|
|West Brom v Arsenal: Mertesacker refocusing attention after midweek win|
|Colaco banned by FIFA|
|Championship Preview: Derby head to happy hunting ground|
|Hertha Berlin v Bayern Munich: Hosts out to take advantage|
|Taylor injury ´not as bad as first feared´|
|Wilshere out for three months|
|Torosidis suffers calf strain|
|Malaga v Real Madrid: Ancelotti´s men in search of sweet 16|
|England climb FIFA rankings, Germany remain number one|
|Bolasie staying put - Warnock|
|Sewe Sport v Al Ahly: Ivorians eye more history|
|Schalke lose Matip with broken foot|
|Paris Saint-Germain v Nice: Ibrahimovic looks to end Ligue 1 goal drought|
|K. League Preview: Seoul, Steelers tussle for third|
|No complaints over FA charge for Allardyce|
|Redknapp ready for crucial run|
|Zapata targets regular first-team role at Milan|
|Fabregas revels in career-best form|
|Eriksen claims Tottenham struggling to ´connect´|
|MLS Preview: Schmid labels Galaxy ´physical´|
|Costa Rican Primera Division Review: Cartagines secure semi-finals berth|
|Serie A Preview: Roma out to stay in touch with Juve|
|The Strongest 1 Bolivar 1: Capdevila strike saves leaders|
|Sao Paulo 1 Atletico Nacional 0 (agg 1-1, 1-4 on penalties): Colombians reach final|
|Cruzeiro 0 Atletico Mineiro 1 (agg 0-3): Culpi´s men win first Copa do Brasil|
|Malmo´s Hareide furious with referee´s injustice|
|Dermendzhiev elated with Ludogorets display|
|Defour withdrawal stalled Anderlecht|
|Atletico achievement delights Simeone|
|Atletico did ´many´ things well - Michel|
|Raul Garcia promises no let-up from Atletico|
|Missed chances disappoint Rolfes|
|La Liga Preview: Real out to break club record at Malaga|
|Ancelotti praises defence after record-equalling win|