The functional group of the given molecule is located at one of the extremes of it, it is:
This functional group is a carbonyl derived group known as amide. We can recognized because of the carbon that has a double bond with the oxygen and at the same time has a simple bond with nitrogen.
It means that the correct answer is amide.