exam questions

Exam 312-96 All Questions

View all questions & answers for the 312-96 exam

Exam 312-96 topic 1 question 32 discussion

Actual exam question from ECCouncil's 312-96
Question #: 32
Topic #: 1
[All 312-96 Questions]

Which of the following configurations can help you avoid displaying server names in server response header?

  • A. < Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort= "8443" / >
  • B. < Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" ServerName=" disable" redirectPort="8443" / >
  • C. < Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" Server = " " redirectPort="8443" / >
  • D. < Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" ServerName ="null " redirectPort="8443'' / >
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
victorfs
8 months, 2 weeks ago
Selected Answer: C
The correct is C. Line shapped - - - -
upvoted 1 times
...
Aalkinani
1 year, 1 month ago
The right answer is C
upvoted 2 times
...
yawmumma
1 year, 2 months ago
Selected Answer: C
To avoid displaying server names in the server response header in Tomcat, you can set the Server attribute to an empty string in the <Connector> element within the server.xml configuration file. The correct option is: C. <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" Server = " " redirectPort="8443" /> By setting the Server attribute to an empty string, you effectively remove the server name from the response header, thereby enhancing the security by reducing information leakage. The other options are not standard settings for this purpose: A. This is a default Connector setting and doesn't address the issue of hiding the server name. B. The attribute ServerName="disable" is not a standard way to disable the server name in the header. D. Setting ServerName="null" is also not a standard way to remove the server name from the header. Therefore, Option C is the correct choice for avoiding the display of server names in server response headers.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago