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'
|South Korea v New Zealand: All Whites looking to future|
|Japan v Uzbekistan: Hosts eye another win under Halilhodzic|
|MLS Review: Kaka nets in Orlando draw|
|Mexico 1 Ecuador 0: Hernandez, Corona help Herrera´s men to victory|
|Deschamps calls for France response|
|Dunga unfazed by pressure|
|Montenegro fan turns himself in after flare incident|
|Injured Messi not ready - Martino|
|Hodgson: Rooney not close to Charlton|
|Terim proud of Turkey|
|Hiddink happy with point|
|Euro 2016 Qualifying Review: Netherlands and Italy stage late escapes|
|Debutant Eder delighted with Azzurri bow|
|Argentina 2 El Salvador 0: Mancuello nets debut goal in straightforward win|
|Kovac not satisfied despite Croatia victory|
|Netherlands 1 Turkey 1: Huntelaar spares Hiddink from historic home loss|
|Ghana 1 Senegal 2: Konate brace downs Black Stars|
|Bulgaria 2 Italy 2: Controversial debutant Eder rescues Conte´s men|
|Morocco 0 Uruguay 1: Cavani spot-kick seals win|
|Al Sadd say talks with Xavi ongoing|
|McClean slams Sunderland´s handling of poppy controversy|
|Ghana 1-2 Senegal: Black Stars continue Afcon hangover|
|Cheltenham player diagnosed with cancer|
|Palace takeover talk premature - Parish|
|Odegaard becomes Euro qualifiers´ youngest starter|
|Job not done yet, Bale warns Wales|
|Israel 0 Wales 3: Brilliant Bale bags brace as Wales go top|
|Dunga backs Neymar to overhaul Pele´s Brazil goal record|
|League Two Review: Hartlepool climb out of drop zone, Cheltenham go bottom|
|El Salvador 0-2 Argentina: Martino's men triumph without Messi|
|League One Review: Canavan leaves it late to deny County|
|Freddy Adu signs with 11th team in as many years|
|Besiktas deny Cech, Danny rumours|
|Puerto Rico v Canada: Haber targets more momentum|
|Miranda not contemplating Atletico exit|
|Austin relaxed over England prospects|
|Manchester United should sign Ibrahimovic - Schmeichel|
|Ibe eyes Liverpool run-in|
|Bertrand called up by England as withdrawal of four players confirmed|
|A-League Review: Risdon nets stunner, Germano tames Roar|
|Panama v Costa Rica: Unbeaten run a secondary concern for Wanchope|
|Italy coach Conte shaken after death threats - FIGC chief|
|Barca fears over Alba eased|
|Schweinsteiger to start Germany qualifier|
|Akinfeev thanks fans after flare incident|
|Injuries offer Kane chance of first England start|
|Russian Football Union to protest following Montenegro abandonment|
|October comeback the target for injured Foster|
|Van der Vaart looks set to leave Hamburg|
|Bale focused on Wales - Coleman|
|Kluivert helps Curacao to victory|
|Hamstrung Alba returns to Barcelona|
|Macedonia v Australia: Confident visitors eye victory|
|Akinfeev to return to Moscow with Russia squad|
|Brnovic: Montenegro have no chance of qualifying|
|Russia had to resume after Akinfeev incident - Capello|
|Terim: Robben absence important|
|Brazil - Chile Preview: Winning is 'our only option' - Dunga|
|France - Denmark Preview: Olsen hits out at 'disrespectful' hosts|
|Morata keen to keep working|
|Canada 1 Guatemala 0: Haber heads Floro´s men to win|
|Difficult to find a place for Kane in starting XI - Hodgson|
|Difficult to find a place for Kane in starting XI - Hodgson|
|Montenegro-Russia abandoned after scuffle|
|Euro 2016 Qualifying Review: Montenegro-Russia abandoned, Spain and England win|
|Accrington Stanley 0 Newport County 2: Visitors up to sixth|
|Kane delighted with ´dream´ start|
|England 4 Lithuania 0: Kane enjoys dream debut|
|Spain 1 Ukraine 0: Morata settles tight contest|
|Akinfeev struck by flare as Montenegro-Russia game suspended after 30 seconds|
|Brazil v Chile: Winning is ´our only option´ - Dunga|
|Northern Ireland v Finland: Controversial fixture met with religious protests|
|Scotland v Gibraltar: Wilson out to dent countrymen´s hopes|
|Republic of Ireland v Poland: Pressure is on, says O´Neill|
|Georgia v Germany: Schneider warns world champions|
|PSV agree permament Guardado deal|
|France v Denmark: Olsen hits out at training facilities|
|Pienaar to return to Everton training|
|Hughes eyes silverware at Stoke after signing new deal|
|Portugal v Serbia: Carvalho vows to attack|
|Dynamo Kiev stadium partially closed after racism probe|
|Hull City fined £30,000 for misconduct|
|Balotelli must work hard for Italy return – Bonucci|
|Marchisio suffers knee ligament injury|
|Hughes agrees new Stoke City deal until 2018|
|Martinez hopeful over injured Everton trio|
|South Korea 1-1 Uzbekistan: Kuziboyev's debut strike denies hosts|
|South Korea 1 Uzbekistan 1: Kuziboyev´s debut strike denies hosts|
|Japan 2 Tunisia 0: Kagawa and Honda shine as Halilhodzic starts with a win|
|South Africa v Nigeria: Mashaba wary of bitter opponents|
|Japan 2-0 Tunisia: Kagawa & Honda shine in Halilhodzic's first game|
|Parma captain Lucarelli welcomes FIGC reforms|
|South Africa - Nigeria Preview: Mashaba wary of bitter opponents|
|Di Francesco ignoring Milan rumours|
|Melbourne Victory 2 Central Coast Mariners 1: Finkler leads fightback|
|Bale would be ´perfect´ for United - Scholes|
|Badstuber and Bellarabi out of Georgia clash|
|Rooney KOs boxing celebration|
|Allen thrilled with Welsh ´hunger´|
|Kovacic to miss Euro 2016 qualifier|
|Costa Rica 0 Paraguay 0: Dour draw marks Diaz debut|
|Reid ruled out of South Korea friendly|
|Deschamps talks up France despite defeat|
|Rooney chasing England goalscoring record|
|Brazil ´superior´ admit French veterans|
|Reeves sidelined for Finland clash|
|Confidence critical for rampaging Brazil - Dunga|