The extent of the damage has posed a challenge for Rousseff , Brazil 's new president , and exposed major flaws in emergency planning and disaster prevention in a country that aspires to attain developed-nation status in coming years .