Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
sale

Want to Unlock All Questions for this Exam?

Full Exam Access, Discussions, No Robots Checks

GIAC GSSP-Java Exam Actual Questions

The questions for GSSP-Java were last updated on April 29, 2024.
  • Viewing page 1 out of 55 pages.
  • Viewing questions 1-5 out of 281 questions

Topic 1 - Topic 1, Volume A

Question #1 Topic 1

Which of the following elements are the subelements of the mime-mapping element in a deployment descriptor file?
Each correct answer represents a complete solution. Choose all that apply.

  • A. exception-type
  • B. error-code
  • C. extension
  • D. mime-type
  • E. servlet-class
Reveal Solution Hide Solution   Discussion  

Correct Answer: CD 🗳️

Question #2 Topic 1

John works as a Software Developer for VenTech Inc. He writes the following code using Java. public class vClass extends Thread
{
public static void main(String args[])
{
vClass vc=new vClass();
vc.run();
}
public void start()
{
for(int k=0;k<20;k++)
{
System.out.println("The value of k = "+k);
}
}
}
What will happen when he attempts to compile and execute the application?

  • A. The application will compile successfully and the values from 0 to 19 will be displayed as the output.
  • B. A compile-time error will occur indicating that no run() method is defined for the Thread class.
  • C. A runtime error will occur indicating that no run() method is defined for the Thread class.
  • D. The application will compile successfully but will not display anything as the output.
Reveal Solution Hide Solution   Discussion  

Correct Answer: D 🗳️

Question #3 Topic 1

Which of the following classes is an engine class that provides an opaque representation of cryptographic parameters?

  • A. DSAPublicKeySpec
  • B. AlgorithmParameterGenerator
  • C. DSAParameterSpec
  • D. AlgorithmParameters
Reveal Solution Hide Solution   Discussion  

Correct Answer: D 🗳️

Question #4 Topic 1

Which of the following statements about programmatic security are true?
Each correct answer represents a complete solution. Choose all that apply.

  • A. The bean provider is responsible for writing code for programmatic security.
  • B. It is also called as instance level security.
  • C. It is implemented using methods of the EJBContext interface.
  • D. It is implemented using the methods of the UserTransaction interface.
Reveal Solution Hide Solution   Discussion  

Correct Answer: ABC 🗳️

Question #5 Topic 1

Which of the following functions are performed by methods of the HttpSessionActivationListener interface?
Each correct answer represents a complete solution. Choose all that apply.

  • A. Notifying the object when it is bound to a session.
  • B. Notifying an attribute that a session has just migrated from one JVM to another.
  • C. Notifying the object when it is unbound from a session.
  • D. Notifying an attribute that a session is about to migrate from one JVM to another.
Reveal Solution Hide Solution   Discussion  

Correct Answer: BD 🗳️

Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...