When using su or sudo to switch users, 'whoami' displays the current effective user (test in this case - the user you switched to). 'who am i' displays the original login user (root - the base user who initiated the session). The question's wording is confusing but the claimed answer correctly identifies that 'who am i' shows the original/root user.