The BEST option to allow the user to find out which commands can be used is option B: sudo -1 -U userid.
This command allows the user to run a shell with the privileges of the specified user (-U userid) while preserving their own environment (-i). This means that the user will be able to see the commands they are authorized to run, and also allows them to test running those commands as the authorized user.
Option A (visudo | grep userid) runs the visudo command with the intention of displaying the sudoers file contents that have configuration options for the specified user, but it will not show the available commands.
Option C (cat /etc/passwd) shows the contents of the /etc/passwd file, which contains user account information including usernames, user IDs, home directories, and login shells. However, it will not show the commands that the user can run.
Option D (userlist | grep userid) does not seem to be a valid command and would not help the user find the available commands they can run.