Optimal Network Topology for Effective Collective Response