This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Error in a sample question? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Error in a sample question?" Watch "Error in a sample question?" New topic

Error in a sample question?

Daniel CarMichael

Joined: Jun 10, 2001
Posts: 15
This is a sample question from Sun's Certificate Success Guide.
9. Which statement is true?
A. Classes loaded into a browser from the local network are trusted.
B. Classes loaded into a browser from remote sources are trusted if they are signed.
C. Classes loaded into a browser from remote sources are trusted if they are in a signed jarfile.
D. Classes loaded from a jarfile on a remote source can sometimes be trusted even if the jarfile is unsigned.
E. Classes loaded from a signed jarfile are trusted if the public key associated with the jarfile's signature is
marked as trusted in the keystore.
The suggested answer is D. On the contrary, I think all options are right except D.
Should the question be "Which statement is false" instead?
Bagwan Mehrat
Ranch Hand

Joined: Jan 26, 2002
Posts: 119
I have to agree that that question is so tricky as to be almost unfair, but I think that their answer is correct.
Notice that D is the only answer that says "sometimes", so the other answers imply "always". Since I can think of subtle things that are wrong with ALL the answers, D looks like the "least incorrect" answer.
IIRC, if a jarfile is from a site that you have configued as trusted, then it's trusted. You can even specify that you trust everything and everyone, so D is literally true.
I agree. Here's the link:
subject: Error in a sample question?
It's not a secret anymore!