Exam Details

  • Exam Code
    :GSSP-JAVA
  • Exam Name
    :GIAC Secure Software Programmer – Java
  • Certification
    :GIAC Information Security
  • Vendor
    :GIAC
  • Total Questions
    :275 Q&As
  • Last Updated
    :Apr 30, 2024

GIAC GIAC Information Security GSSP-JAVA Questions & Answers

  • Question 41:

    Which of the following modifiers is not an access modifier?

    A. protected

    B. abstract

    C. public

    D. private

  • Question 42:

    Which of the following exceptions will be thrown by the getFeature() method if the feature value cannot be assigned or retrieved?

    A. IllegalArgumentException

    B. SAXNotSupportedException

    C. NullPointerException

    D. SAXNotRecognizedException

  • Question 43:

    Identify whether the given statement is true or false. "An object becomes eligible for garbage collection when it becomes unreachable by any code."

    A. False

    B. True

  • Question 44:

    Which of the following is the valid permission for a BasicPermission?

    A. *

    B. a*b

    C. *.com

    D. *java

  • Question 45:

    Which of the following will be returned by the expression "string" instanceof String?

    A. 0

    B. 1.0

    C. null

    D. false

    E. 0.0

    F. true

  • Question 46:

    Which of the following keywords is used to throw an exception object inside a method?

    A. throw

    B. catch

    C. final

    D. throws

    E. finally

    F. assert

  • Question 47:

    Identify whether the given statement is true or false. "JAR files can be used while compiling but not while executing other files."

    A. False

    B. True

  • Question 48:

    Maria works as a Software Developer for Bluetech Inc. She develops a class named Warden that needs to access a class named Hostel, which is deployed in a JAR named City.JAR. What will she do in order to enable the Warden class to have access to the Hostel class during compilation?

    A. She will place the JAR file in javaprog/City.JAR and set the class path environment to include javaprog/ City.JAR/Warden.class.

    B. She will place the JAR file in javaprog/City.JAR and set the class path environment to include javaprog/ City.JAR/Hostel.class.

    C. She will place the JAR file in $ JAVA_HOME/jre/lib/ext/City.JAR.

    D. She will place the JAR file in $ JAVA_HOME/jre/classes/City.JAR.

  • Question 49:

    Consider the given lines of codE. package ucert class memberaccess { public int mem = 10; } Which of the following can directly access the variable mem?

    A. Any class

    B. Any class that extends the memberaccess class

    C. Only the memberaccess class

    D. Any class in the package ucert

  • Question 50:

    You work as a developer for PassGuide Inc. You have implemented a session bean with a method doPrint (), which behaves differently depending on the caller's security role. Only MANAGER in the security roles "ADMIN" and "MANAGER" are allowed to call the method. Which of the following actions are appropriate to accomplish if there is no security-related metadata in the deployment descriptor? Each correct answer represents a complete solution. Choose all that apply.

    A. Annotate method doPrint() with @RolesAllowed({"ADMIN","MANAGER"}).

    B. Annotate method doPrint() with @PermitAll.

    C. If EJBContext.isCallerInRole("ADMIN") returns true, implement the behavior defined for MANAGER in role "ADMIN".

    D. If EJBContext.getCallerPrincipal returns role "ADMIN", implement the behavior for MANAGER in role ADMIN.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only GIAC exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your GSSP-JAVA exam preparations and GIAC certification application, do not hesitate to visit our Vcedump.com to find your solutions here.