Agricultural sector confidence reaches 2-year high as optimism grows