Attack in Afghanistan is a reminder of formidable task