JAVA/Sun Exam Questions

Which user identities do the whoami and who am i commands report?

You have logged into the console as user1. Now you log in as root using the su command.
Which user identities do the whoami and who am i commands report?

A.
whoami reports root, who am i reports root.

B.
whoami reports user1, who am i reports root.

C.
whoami reports root, who am i reports user1.

D.
whoami reports user1, who am i reports user1.

Explanation:

whoami reports original user and who reports current user.
The "am i" is an option within the who command.