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 47 Discussion

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

You work as the Network Administrator for McNeil Inc. The company has a Unix-based network. You want to do RARP mapping from hardware mapping addresses to IP addresses. Which of the following Unix configuration files can you use to accomplish the task?

Show Suggested Answer Hide Answer
Suggested Answer: C, D

The getSession() method of the HttpServletRequest interface returns the current session associated with the request, or creates a new

session if no session exists. The method has two syntaxes as follows:

public HttpSession getSession(): This method creates a new session if it does not exist.

public HttpSession getSession(boolean create): This method becomes similar to the above method if create is true, and returns the

current session if create is false. It returns null if no session exists.

Answer B is incorrect. The getSession(false) method returns a pre-existing session. It returns null if the

client has no session

associated with it.

Answer A and E are incorrect. There is no such method as getNewSession() in Java.


Contribute your Thoughts:

Mammie
3 months ago
Alright, time to put on my network admin hat. /etc/ethers, of course! I remember learning about that back in the stone age of networking. At least it's not /etc/flintstones, am I right? Haha.
upvoted 0 times
Kassandra
2 months ago
User 4: Good choice, definitely not /etc/flintstones!
upvoted 0 times
...
Dalene
2 months ago
User 3: Yeah, it's an oldie but a goodie.
upvoted 0 times
...
Pamella
2 months ago
User 2: Oh, I remember that from my networking class.
upvoted 0 times
...
Cristal
2 months ago
User 1: /etc/ethers is the file you need for RARP mapping.
upvoted 0 times
...
...
Dulce
3 months ago
Wait, is this a trick question? I mean, who even uses RARP these days? I hope the exam isn't just trying to catch me out with outdated protocols. Oh well, I'll go with /etc/ethers and hope for the best.
upvoted 0 times
...
Juan
3 months ago
Okay, let's see... /etc/dhcpd.conf is for DHCP, /etc/motd is just a message of the day, and /etc/exports is for NFS. So /etc/ethers has to be the correct answer. Easy peasy!
upvoted 0 times
Mayra
1 months ago
Got it, /etc/ethers is the Unix configuration file for RARP mapping.
upvoted 0 times
...
Theodora
1 months ago
Exactly, /etc/ethers is the file you need for hardware to IP mapping.
upvoted 0 times
...
Keneth
2 months ago
That's right, /etc/ethers is used for RARP mapping.
upvoted 0 times
...
Adela
2 months ago
D) /etc/ethers
upvoted 0 times
...
Jettie
2 months ago
C) /etc/exports
upvoted 0 times
...
Johanna
2 months ago
B) /etc/motd
upvoted 0 times
...
Glen
2 months ago
A) /etc/dhcpd.conf
upvoted 0 times
...
...
Vanesa
3 months ago
Hmm, I think the answer is /etc/ethers. That's where you'd configure the RARP mapping, right? I hope I'm not missing anything obvious here.
upvoted 0 times
Adell
2 months ago
Emerson: No problem, always good to double-check. Keep up the good work!
upvoted 0 times
...
Emerson
2 months ago
User 2: Thanks for confirming. It's good to know I was on the right track.
upvoted 0 times
...
Eva
2 months ago
User 1: Yes, you're correct. /etc/ethers is the file used for RARP mapping.
upvoted 0 times
...
...
Adell
4 months ago
I'm not sure, but I think /etc/dhcpd.conf is also used for network configuration.
upvoted 0 times
...
Melynda
4 months ago
I agree with Nobuko. /etc/ethers is used for RARP mapping.
upvoted 0 times
...
Nobuko
4 months ago
I think the answer is D) /etc/ethers.
upvoted 0 times
...

Save Cancel