Pass the GIAC GIAC Certification GSSP-Java Questions and answers with CertsForce

Viewing page 7 out of 9 pages
Viewing questions 61-70 out of questions
Questions # 61:

Which of the following statements about a JAR file are true?

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

Options:

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.


Questions # 62:

Which of the following methods causes the currently executing thread object to temporarily pause and allow other threads to execute?

Options:

A.

sleep()


B.

notify()


C.

finalize()


D.

interrupted()


E.

yield()


F.

notifyAll()


Questions # 63:

The __________ interface accepts results from a SQL SELECT statement.

Options:

A.

Connection


B.

ResultSet


C.

PreparedStatement


D.

DatabaseMetaData


Questions # 64:

Which of the following methods is used by the AccessController to determine whether or not a requested permission is used by another permission that is known to be valid in the current execution context?

Options:

A.

equals


B.

checkPermission


C.

implies


D.

validate


Questions # 65:

Which of the following fields must be present in the login page when using the form-based authentication?

Each correct answer represents a part of the solution. Choose two.

Options:

A.

j_login


B.

j_password


C.

get_pw


D.

j_pw


E.

j_username


F.

user_pw


Questions # 66:

In which of the following locations the helper classes of a session bean class reside?

Options:

A.

EJB JAD file


B.

Deployment descriptor


C.

META-INF directory


D.

EJB JAR file


Questions # 67:

Which of the following options directs the Java compiler to search files in the current directory?

Options:

A.

dir


B.

; (i.e. a semi colon)


C.

-d


D.

current


E.

. (i.e. a dot)


Questions # 68:

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

Options:

A.

0


B.

1.0


C.

null


D.

false


E.

0.0


F.

true


Questions # 69:

The ______________ method of the EJBContext interface tests whether the client is a member of the role specified in the argument to the method.

Options:

A.

isMember()


B.

isAuthorized()


C.

getCallerPrincipal()


D.

isCallerInRole(String rolw)


E.

getUserTransaction()


Questions # 70:

Which of the following annotations specifies the roles that are allowed to invoke a particular bean method?

Options:

A.

@DenyAll


B.

@RolesAllowed


C.

@RunAs


D.

@DeclareRoles


E.

@PermitAll


Viewing page 7 out of 9 pages
Viewing questions 61-70 out of questions