You are right for the application order, WHERE condition is applied before grouping and HAVING condition is applied after and both WHERE and HAVING clauses can be present at the same time in a SELECT query. But you can use a HAVING clause without any GROUP BY clause and in this case you can only have aggregate function in SELECT and in HAVING clauses.
Here is the T-SQL reference of HAVING according to MSDN
Specifies a search condition for a group or an aggregate. HAVING can be used only with the SELECT statement. It is usually used in a GROUP BY clause. When GROUP BY is not used, HAVING behaves like a WHERE clause. For more information, see SELECT.
So, to me, "right answer" is not correct but it's my opinion