Weekend Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

GSSP-Java Exam Dumps - GIAC Certification Questions and Answers

Question # 4

Which of the following declarations are the valid declaration for the element?

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

Options:

A.

AccountServlet

/acme/Account

GET

PUT

Accountant

B.

AssistantServlet

/*

GET

PUT

Assistant

C.

AccountServlet

/acme/Account

Accountant

D.

Assistant

E.

AssistantServlet

/*

Assistant

GET

PUT

Buy Now
Question # 5

Which of the following methods are used to customize object serialization so that the objects will be able to apply default serialization?

Each correct answer represents a complete solution. Choose two.

Options:

A.

readObject()

B.

setDefault()

C.

writeObject()

D.

getDefault()

Buy Now
Question # 6

You develop an application. Now you want to ensure that data is sent between client and server in such a way that it cannot be changed in transit. Which of the following element declarations will be specified to satisfy the requirement of the application?

Options:

A.

INTEGRAL

B.

CONFIDENTIAL

C.

NONE

D.

CONFIDENTIAL

Buy Now
Question # 7

Which of the following statements about ServletContext attributes is true?

Options:

A.

They are not thread-safe but can be made thread-safe by synchronizing the service() method.

B.

They are not thread-safe but can be made thread-safe by applying a lock on the context.

C.

They are thread-safe.

D.

They are not thread-safe but can be made thread-safe by applying a lock on the servlet.

Buy Now
Question # 8

Which of the following methods performs the authentication of subject and, if successful, associates Principals and Credentials with the authenticated Subject?

Options:

A.

The getSubject() method of the LoginContext class

B.

The login() method of the LoginModule interface

C.

The login() method of the LoginContext class

D.

The initialize() method of the LoginModule class

Buy Now
Question # 9

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.

Options:

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");

Buy Now
Question # 10

Which of the following statements about data integrity of a container are true?

Each correct answer represents a complete solution. Choose two.

Options:

A.

It ensures that an eavesdropper cannot read an HTTP message being sent from a client to a container.

B.

Data integrity ensures that information has not been modified by a third party while it is in transit.

C.

It ensures that a hacker cannot alter the contents of an HTTP message while it is in transit from a container to a client.

D.

Data integrity ensures that information is made available to users who are authorized to access it.

Buy Now
Question # 11

Which of the following methods are used in the verification of a signature?

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

Options:

A.

initVerify

B.

update

C.

verify

D.

initSign

Buy Now
Question # 12

Which of the following pieces of codes will be placed at the line XXX to successfully compile the given class?

public interface Publication

{

String GetDetails();

}

public class Book implements Publication

{

//line XXX

}

Options:

A.

public String GetDetails(){}

B.

Object GetDetails(){}

C.

long GetDetails(){}

D.

private String GetDetails(){}

Buy Now
Question # 13

Which of the following statements are true about the doAs() and doAsPrivileged() methods?

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

Options:

A.

The doAsPrivileged() method invokes AccessController.doPrivileged by passing it the provided PrivilegedAction.

B.

The doAs() and doAsPrivileged() methods perform privileged work as a particular Subject.

C.

The doAs() method retrieves the current Thread's AccessControlContext via

AccessController.getContext.

D.

The doAsPrivileged() method, instead of retrieving the current Thread's AccessControlContext, uses the provided AccessControlContext.

Buy Now
Exam Code: GSSP-Java
Exam Name: GIAC Secure Software Programmer – Java
Last Update: Aug 24, 2025
Questions: 275
GSSP-Java pdf

GSSP-Java PDF

$25.5  $84.99
GSSP-Java Engine

GSSP-Java Testing Engine

$28.5  $94.99
GSSP-Java PDF + Engine

GSSP-Java PDF + Testing Engine

$40.5  $134.99