The N and N-1 come from sample vs. population standard deviations.
N-1 is a conceptual thing from degrees of freedom in stats, thats why when we are taking a sample from a large population we use N-1.
If we know the exact values of the entire population and don't need a sample (because we already have all the data points), then we don't need to go down that route and just use N.
I don't think the real DAT will try to trick you on this. If the problem mentions a "sample" then use N-1. If it just gives you a set of numbers, use N. In either case, one of them should give you the answer, the other shouldn't be in the choices.