Answer:
Option B is correct.
Explanation:
Option A:

graph of this function is attached.
Maximum value does not exist for this function.
Option B:

graph of this function is attached.
Maximum value does exist for this function.
Option C:

graph of this function is attached.
Maximum value does not exist for this function.
Option D:

graph of this function is attached.
Maximum value does not exist for this function.
Therefore, Option B is correct.