Welcome to TestSimulate

Pass Your Next Certification Exam Fast!

Everything you need to prepare, learn & pass your certification exam easily.

365 days free updates. First attempt guaranteed success.

GIAC Secure Software Programmer - Java (GSSP-JaVa) Free Practice Test

Question 1
Which of the following declarations are the valid declaration for the <security-constraint> element?
Each correct answer represents a complete solution. Choose all that apply.

Correct Answer: A,B,D
Question 2
You work as an Application Deployer for UcTech Inc. You want to configure a filter for a Web application using the deployment descriptor. Which of the following attributes are mandatory for you to implement in order to accomplish the task?
Each correct answer represents a complete solution. Choose all that apply.

Correct Answer: C,D
Question 3
Which of the following are the main basic difference between the POST and PUT request?
Each correct answer represents a complete solution. Choose all that apply.

Correct Answer: B,D
Question 4
Which of the following rules must be followed while determining a class loader?
Each correct answer represents a complete solution. Choose all that apply.

Correct Answer: A,B,C,D
Question 5
Which of the following methods performs the authentication of subject and, if successful, associates Principals and Credentials with the authenticated Subject?

Correct Answer: C
Question 6
Which of the following statements about a native modifier in Java are true?
Each correct answer represents a complete solution. Choose two.

Correct Answer: C,E
Question 7
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?

Correct Answer: D
Question 8
Which of the following exceptions will be thrown if the name parameter is null in the constructor of AuthPermission?

Correct Answer: D
Question 9
Which of the following statements correctly describe the features of the singleton pattern?
Each correct answer represents a complete solution. Choose all that apply.

Correct Answer: A,B,C
Question 10
Which of the following keywords is used to throw an exception object inside a method?

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

Correct Answer: B,D
Question 12
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.

Correct Answer: B,D
Question 13
Which of the following is a Permission class whose permissions have no actions, and allows suppressing the standard Java programming language access checks?

Correct Answer: A
Question 14
CORRECT TEXT
Fill in the______blank with the required interface name to complete the statement below.
An object of the interface is provided by the container to invoke the next filter in a chain of filters.
Correct Answer:
FilterChain