JAVA/Sun Exam Questions

What is the proper invocation of logger?

As part of an early warning system, a system administrator disables the remote shell service and replaces it with a script. This script logs that it was called with the auth facility and the warning level. The script also logs the process ID of the invoking shell.
What is the proper invocation of logger?

A.
logger -i -p auth.warning "rsh attempted from $ruser@$host to $user"

B.
logger -p warning.auth "rsh[$$]: attempted from $ruser@$host to $user"

C.
logger -i -p auth.warning -t rsh "attempted from $ruser@$host to $user"

D.
logger -p auth.warning -t rsh "[$$] attempted from $ruser@$host to $user"