Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free GIAC GSSP-Java Practice Exam with Questions & Answers | Set: 8

Questions 71

Which of the following mechanisms is closely related to authorization?

Options:
A.

Sending data so that no one can alter it on the way.

B.

Allowing access to a particular resource.

C.

Verifying username and password.

D.

Sending secret data such as credit card information.

GIAC GSSP-Java Premium Access
Questions 72

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.

Options:
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.

Questions 73

Which of the following statements is true?

Options:
A.

All UTF characters are eight bits long.

B.

All UTF characters are all sixteen bits long.

C.

All UTF characters are twenty four bits long.

D.

All bytecode characters are sixteen bits long.

E.

All unicode characters are sixteen bits long.

Questions 74

Which of the following options are available with jar files?

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

Options:
A.

M - Deletes an existing manifest file

B.

c - Creates a jar file

C.

o - Overrides an existing jar file

D.

0 - Stores a file without using zip compression

E.

m - Manipulates or updates an existing jar file

F.

u - Unzips a jar file

G.

M - Creates a manifest file

Questions 75

Which of the following is the appropriate deployment descriptor elements entry for the code given below?

@RunAs("admin")

@Stateless public class StudentBean implements Student {

//more code ...

}

Options:
A.

...

.

Student

...

admin

...

..

B.

...

.

Student

...

admin

...

..

C.

...

.

Student

...

< security-role-ref>admin

...

..

D.

...

.

Student

...

admin

...

..

Questions 76

In which of the following directories will files be searched when the classpath is specified by the syntax below.-classpath uc\JavaFiles\NewFiles;uc\ServletFiles;.;

Options:
A.

The current directory, the NewFiles directory, and the ServletFiles directory

B.

The current directory, the uc directory, the NewFiles directory, and the ServletFiles directory

C.

The current directory, the uc directory, the JavaFiles directory, the NewFiles directory, and the ServletFiles directory

D.

The uc directory, the JavaFiles directory, the NewFiles directory, and the ServletFiles directory

Questions 77

Dennis works as a Programmer in Broadnet Inc. He writes the following program.

1. public class Ques0307{

2. public static void main(String[] argv){

3. int arr[] = {1, 2, 3, 4};

4. try{

5. int k = 0;

6. for(; k < 4; k++)

7. arr[k] = arr[k] + 1;

8. System.out.println("try");

9. }

10. catch(ArrayIndexOutOfBoundsException a){

11. System.out.println("index " +k +" not found");

12. }

13. catch(Exception e){

14. System.out.println("catch1");

15. }

16. finally{

17. System.out.println("finally");

18. }

19. }

20. }

What will happen when Dennis attempts to compile and execute the program?

Options:
A.

A compile-time error will occur.

B.

The program will display index 0 not found catch1 finally

C.

The program will display index 4 not found finally

D.

The program will display try finally

Questions 78

What will be the output of the following code snippet?

class test22

{

public static void main(String args[])

{

String str= new String("Hello");

str.insert(3,"bye");

System.out.println(str);

}

}

Options:
A.

It will display Hello.

B.

It will display Helbyelo.

C.

It will throw NFE.

D.

It will generate a compile-time error.

Questions 79

Which of the following methods are overridden by the FileInputStream class?

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

Options:
A.

void reset()

B.

void write(int b)

C.

void flush()

D.

long skip(long numBytes)

Questions 80

Mark works as a Programmer for InfoTech Inc. He develops a deployment descriptor code that contains three valid

<security-constraint> elements.

All of them constraining a Web resource Res1, the

<auth-constraint> sub-element of the <security-constraint>

elements are as follows.

<auth-constraint>Admin</auth-constraint>

<auth-constraint>Manager</auth-constraint>

<auth-constraint/>

Which of the following can access the resource Res1?

Options:
A.

Only Manager can access the resource.

B.

No one can access the resource.

C.

Everyone can access the resource.

D.

Only Admin can access the resource.

Exam Code: GSSP-Java
Certification Provider: GIAC
Exam Name: GIAC Secure Software Programmer – Java
Last Update: Sep 12, 2025
Questions: 275

GIAC Related Exams

GIAC Free Exams

GIAC Free Exams
Prepare for GIAC certification with free access to reliable study resources and practice tests at Examstrack.