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
    :May 16, 2024

GIAC GIAC Information Security GSSP-JAVA Questions & Answers

  • Question 251:

    Mark works as a Programmer for InfoTech Inc. He develops a Website that uses HTML and processes HTML validation. Which of the following are the advantages of the HTML application?

    Each correct answer represents a complete solution. Choose all that apply.

    A. It provides password protection for a Web page or directory

    B. It can be accessed by more visitors.

    C. It provides faster loading.

    D. It is easier to update and maintain the site.

    E. It protects the source or images of a HTML Web page.

    F. It puts less load on the server.

  • Question 252:

    You have written the following code snippet.

    1.

    public class Read {

    2.

    protected int ReadText(int x) { return 0; }

    3.

    }

    4.

    class Text extends Read {

    5.

    /*insert code here*/

    6.

    }

    Which of the following methods, inserted independently at line 5, will compile? Each correct answer

    represents a complete solution. Choose all that apply.

    A. private int ReadText(long x) { return 0; }

    B. protected long ReadText(int x, int y) { return 0; }

    C. protected long ReadText(long x) { return 0; }

    D. protected int ReadText(long x) { return 0; }

    E. private int ReadText(int x) { return 0; }

    F. public int ReadText(int x) { return 0; }

    G. protected long ReadText(int x) { return 0; }

  • Question 253:

    You work as a Software Developer for UcTech Inc. You create a session using the HttpSession interface.

    You want the attributes to be informed when the session is moved from one JVM to another and also when

    an attribute is added or removed from the session. Which of the following interfaces can you use to

    accomplish the task?

    Each correct answer represents a complete solution. Choose all that apply.

    A. HttpSessionBindingListener

    B. HttpSessionListener

    C. HttpSessionActivationListener

    D. HttpSessionAttributeListener

  • Question 254:

    Which of the following statements are true?

    Each correct answer represents a complete solution. Choose all that apply.

    A. An inner class cannot be defined as private.

    B. An inner class cannot be defined as protected.

    C. An inner class can be defined as private.

    D. An inner class can extend another class.

  • Question 255:

    You work as a programmer for PassGuide.Inc. You have a session object named session1 with an attribute named Attribute1, and an HttpSessionBindingEvent object binding1 bound to session1. Which of the following will be used to retrieve Attribute1? Each correct answer represents a complete solution. Choose all that apply.

    A. Object obj=binding1.getSession().getAttribute("Attribute1");

    B. Object obj=binding1.getAttribute("Attribute1");

    C. Long MyAttribute=session1.getAttribute("Attribute1");

    D. String str1=session1.getAttribute("Attribute1");

    E. Object obj=session1.getAttribute("Attribute1");

  • Question 256:

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

    A. It cannot be accessed through a class path, nor they can be used by java and javac.

    B. It is used to compress and archive data.

    C. It can be moved from one computer to another.

    D. It is created by using the jar command.

  • Question 257:

    Which of the following statements is true about the Java synchronized keyword?

    A. It prevents multiple threads from accessing a block of code at the same time.

    B. It allows the class to be loaded as soon as the JRE starts.

    C. It prevents multiple developers from code redundancy.

    D. It allows two different functions to execute in a shared manner.

  • Question 258:

    Mark works as a Programmer for InfoTech Inc. He develops a Web application that takes input from users. Which of the following methods can be used by the client and server to validate the users input? Each correct answer represents a complete solution. Choose all that apply.

    A. Validation through Servlets on the server side

    B. Validation using JavaScript on the client side

    C. Validation through Java Applets on the client side

    D. Validation through XML on the server side

  • Question 259:

    Which of the following are marker interfaces?

    Each correct answer represents a complete solution. Choose all that apply.

    A. The Clonable interface

    B. The Serializable interface

    C. The Comparable interface

    D. The Runnable interface

  • Question 260:

    Which of the following rules must be followed while determining a class loader? Each correct answer represents a complete solution. Choose all that apply.

    A. A new instance of the AppletClassLoader is used while loading the first class of an applet.

    B. If the request to load a class is triggered by a reference to it from an existing class, the class loader for the existing class is asked to load the class.

    C. A new instance of the URLClassLoader is used while loading the first class of an application.

    D. The primordial class loader is used if java.lang.Class.ForName is directly called.

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.