The AC Milan midfielder and goalscorer in the World Cup started for Brazil alongside Ronaldinho for the second of their London-based internationals having scored a magnificent solo goal coming off the bench against Argentina on Sunday.
Brazil were pushed all the way by the Welsh in the first half before Marcelo's fine strike broke the deadlock just before the hour. Dunga's men then sealed the victory when Vagner Love flicked home a header from Cicinho's cross.
It was an entertaining friendly enjoyed by all at the Lane and the Samba beat continued late into the night.
Speaking in the tunnel afterwards, Kaka said: "It's a very nice stadium, very well organised, beautiful. I'm pleased to have played here in England, I thoroughly enjoyed it."
Coach Dunga added: "We did well on Sunday, and after a not so good first half against Wales we improved considerably in the second period, we have improved all the way through these two games."
Wales boss John Toshack reflected: "For an hour we were not overawed, there were some very encouraging performances from some of the youngsters.
"We did create chances, but the problem is still putting the ball into the net. With a little more sharpness we could have had two or three before the break when the score was still 0-0.
"But let's be fair, they (Brazil) are not a bad side, are they? Anyone would struggle a bit against that quality, we have to take that into consideration."
Brazilian superstar Kaka said he enjoyed playing at the Lane after the Samba Boys' friendly victory over Wales on Tuesday night.