Brazil needed a moment of quality from Fred to beat Serbia as they claimed a narrow 1-0 win in their final game before the FIFA World Cup.
Having not been tested by Panama in midweek, Brazil 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.
The only goal of the game came after 58 minutes when the Fluminense forward brought down a long ball on his chest under pressure from Branislav Ivanovic and Dusan Basta.
Despite stumbling, he kept his nerve to finish past Vladimir Stojkovic and Serbia were unable to respond.
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 - cleverly chesting Thiago's delivery to take Ivanovic out of the game before prodding home the opener.
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'
|Troisi joins Saudi giants Al-Ittihad|
|Casemiro lauds Benitez after re-signing|
|Rojo wants United stay|
|Milan tried for Witsel - Galliani|
|Conte eyes two Italy wins|
|Ligue 1 Deadline Day: Marseille sign three amid Martial saga|
|La Liga Deadline Day: Uncertainty over De Gea future, Joaquin back at Betis|
|Serie A Deadline Day: Juve and Inter busy as window closes|
|Layun swaps Watford for Porto|
|Joaquin makes Betis return alongside Van Wolfswinkel|
|Coventry City 2 Southend United 2: Ricketts salvages point for hosts|
|Real face anxious wait over De Gea as window shuts|
|Milan loan Mastour to Malaga|
|Juve sign Hernanes|
|Inter lure Ljajic, Melo and Telles|
|Lemina joins Juve as Marseille sign Isla and De Ciglie|
|Norwich land striker Mbokani|
|Hernanes in Turin for Juve medical|
|Blaszczykowski joins Fiorentina on season-long loan|
|Man City loan Denayer to Galatasaray|
|Matri loaned to Lazio|
|Aulas thrilled at sell-on profits from Martial deal|
|Ideye departs West Brom for Olympiacos|
|Bundesliga Deadline Day: Draxler in record Wolfsburg switch, Leverkusen and Dortmund land United men|
|Sunderland loan Giaccherini to Bologna|
|Lindegaard makes West Brom move|
|Ligue 1 Deadline Day: Martial arrives for medical at Man United|
|La Liga Deadline Day: De Gea speculation mounts, Raul Garcia joins Athletic|
|Liverpool sign Nigerian prospect Awoniyi|
|Serie A Deadline Day: Juve miss out on Draxler, Inter line up Ljajic|
|Hernandez joins Leverkusen|
|Deschamps hints Lloris could leave France camp amid United talk|
|Southampton recruit young goalkeeper Lewis|
|Giovinco ruled out of Italy qualifiers|
|World Cup winner Nesta named Miami FC coach|
|Januzaj joins Dortmund on loan|
|Dante completes Wolfsburg move|
|Draxler swaps Schalke for Wolfsburg|
|United-bound Martial hailed as ´innate talent´|
|Borini completes Sunderland switch|
|Draxler pictured in Wolfsburg kit|
|Congo v Ghana: Under-fire Grant targets friendly success|
|Antonelli doubtful for Milan derby|
|Raul Garcia completes Bilbao switch|
|Jovetic surprised by Inter start|
|Casemiro signs long-term Real deal|
|Bundesliga Deadline Day: Draxler set for Wolfsburg move, reports say|
|Sherwood would consider N´Zogbia exit|
|Ligue 1 Deadline Day: Martial´s United move edges closer|
|Fletcher lauds Evans capture|
|Serie A Deadline Day: Lemina on verge of Juve switch, Felipe returns to Udinese|
|La Liga Deadline Day: Abdennour presented at Valencia, all quiet on De Gea front|
|Martial leaves France squad to agree United deal|
|Bahebeck ´a little scared but all is well´|
|Dinamo Moscow announce Vainqueur switch to Roma|
|Ceballos uninterested in Real Madrid rumours|
|Motta thankful for Di Maria arrival|
|Marseille´s Lemina poised for Juve move|
|Benzema would have been good for Arsenal - Giroud|
|Low looking ahead to World Cup defence|
|Australia lose Mat Ryan|
|No contact from United over Cillessen, claims Overmars|
|OFC World Cup Qualifying Review: Cook Islands, Samoa start strongly|
|Neil looking to add fresh faces|
|No Jedinak, no problem - McKay|
|De Bruyne is phenomenal - Kompany|
|Van Gaal: Romero not to blame|
|Mack terrorises Palmer, Cardinals´ back-ups shine|
|Howard returns to USA squad|
|Sorensen signs for Melbourne City|
|Peralta, Montes withdraw from Mexico squad|
|Mancini: Inter need more players|
|Napoli target Soriano ´only wants Milan´ - De Laurentiis|
|Lovren determined to make amends after nightmare showing|
|Llorente laments Sevilla luck|
|Monk: Shelvey worthy of England selection|
|Sabatini apologises to Genoa over Iturbe U-turn|
|MLS Review: Red Bulls keep DC down, Sounders trump Timbers|
|Martinez: Stones didn´t mean to submit transfer request|
|Simeone hails Atletico performance|
|Di Maria: I was impatient to play|
|La Liga Review: Eibar down Supercopa holders|
|Raul Garcia set to join Bilbao|
|Garcia confident Roma are heading in the right direction|
|Serie A Review: Roma punish 10-man Juve, Eder thwarts Napoli|
|Mancini demands killer instinct from Inter after Carpi scare|
|Allegri praises Juve spirit in poor display at Roma|
|Monaco 0 Paris Saint-Germain 3: Cavani up and running as PSG march on|
|Carpi 1 Inter 2: Jovetic double settles lacklustre encounter|
|Sevilla 0 Atletico Madrid 3: Hosts thwarted once again by Simeone|
|Inter land Wolfsburg´s Perisic|
|Shelvey and Vardy named in England squad|
|Montero injury nothing serious - Monk|
|Van Gaal in the dark over De Gea future|
|Werder Bremen 2 Borussia Monchengladbach 1: Vestergaard seals first win|
|Roma 2 Juventus 1: Pjanic and Dzeko down stuttering champions|
|United could not cope with Swansea - Van Gaal|
|Monk: Swansea are a Premier League force|
|Lyon swoop for Malaga midfielder Darder|
|Tuchel hails table toppers Dortmund|
|No complaints for Neil after Southampton loss|
|Swansea City 2 Manchester United 1: Gomis spoils Van Gaal´s day|
|De Bruyne relieved to complete City switch|
|Koeman stands firm over Mane and Wanyama futures|
|Bahebeck rushed to hospital with chest pains|
|Borussia Dortmund 3 Hertha Berlin 1: Tuchel maintains perfect start|
|Manchester City complete De Bruyne swoop|
|Weihrauch strikes twice as Bayern overpower fans|
|Saint-Etienne 2 Bastia 1: Two sent off in first defeat of the season for visitors|
|Southampton 3 Norwich City 0: Tadic at the double for Koeman´s men|
|Paderborn swoop for Kirch|
|Bayern loan Coman from Juventus|
|Schalke will not rush decision over Wolfsburg target Draxler|
|Fenerbahce secure Markovic loan|
|O´Neill trims Ireland squad to 28|
|Sherwood: I´ve done my hamstring|
|Dante set for Wolfsburg switch|
|Neymar knows nothing of Man United interest|
|Ibisevic leaves Stuttgart for Hertha|
|International break unwelcome for Mourinho|
|Muto a ´perfect fit´ for Mainz|
|Lampard pledges NYC commitment|
|Van Gaal: I listen to Rooney|
|MLS Review: Whitecaps falter, Eastern Conference heats up|
|´I think a yellow would have been harsh´ - Noble baffled by his red card|
|Rodriguez´s quality ´unquestionable´ - Benitez|
|Abdennour chooses Valencia|
|Giovinco to fly to Italy despite injury|
|La Liga Review: Real Madrid, Celta notch big wins|
|Mihajlovic: I feel like I lost|
|Real Madrid 5 Real Betis 0: Rodriguez scores twice in Benitez´s first Bernabeu win|
|Balotelli has a lot of work to do, declares Bacca|