Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GIAC Exam GSNA Topic 2 Question 57 Discussion

Actual exam question for GIAC's GSNA exam
Question #: 57
Topic #: 2
[All GSNA Questions]

Which of the following commands is most useful for viewing large files?

Show Suggested Answer Hide Answer
Suggested Answer: A, D

The following two code are used to retrieve Attribute1:

1.Object obj=session1.getAttribute('Attribute1'); The getAttribute() method is used to retrieve the bound object with the specified

name in this session, or null if no object is bound under the name.

2.Object obj=binding1.getSession().getAttribute('Attribute1'); The getSession() gets the current valid session associated with this

request.

Answer E and C are incorrect. These code are invalid because the getAttribute() method returns an object instead of a long object or

a String object.

Answer B is incorrect. The HttpSessionBindingEvent object cannot use the getAttribute() method.


Contribute your Thoughts:

Whitney
4 hours ago
Does anyone else remember the good old days when we had to use a magnifying glass to read files? B) less is a game-changer!
upvoted 0 times
...
Olive
5 days ago
I tried using cat on a 10GB file, and my computer almost crashed! less is definitely the better choice.
upvoted 0 times
...
Lorriane
7 days ago
B) less is definitely the way to go for viewing large files. It's much more efficient than cat.
upvoted 0 times
...
Mona
12 days ago
I'm not sure, but I think A) cat can also be used to view large files, although it may not be as efficient as less.
upvoted 0 times
...
Jerry
16 days ago
I agree with Sabra, less is definitely the most useful command for viewing large files efficiently.
upvoted 0 times
...
Sabra
18 days ago
I think the answer is B) less because it allows you to view large files without loading the entire file into memory.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77