You are correct.
You are given f(x) explicitly, meaning all points are listed.
You can see what the domain and range of f(x) are.
For the inverse function, f^-1(x), switch the domain and range of the original function, f(x). Now each y-coordinate is part of the domain of the inverse function. Since each y-coordinate of f(x), which becomes an x-coordinate of f^-1(x), appears only once, the inverse of function f is a function.
Answer: choice A