exam questions

Exam CS0-002 All Questions

View all questions & answers for the CS0-002 exam

Exam CS0-002 topic 1 question 245 discussion

Actual exam question from CompTIA's CS0-002
Question #: 245
Topic #: 1
[All CS0-002 Questions]

An organization has a policy that requires servers to be dedicated to one function and unneeded services to be disabled. Given the following output from an Nmap scan of a web server:



Which of the following ports should be closed?

  • A. 22
  • B. 80
  • C. 443
  • D. 1433
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
ARYANXE
1 year, 6 months ago
Correct Answer : Most web servers require SQL to support different web apps including hosting panels such as CPanel. The only unnecessary service port that's open is SSH.
upvoted 1 times
...
Tricee
2 years, 1 month ago
Selected Answer: B
Not understanding why the answer is not B. The question requires us to disable one service if two services are running. Https and Http are the same service. Since http is less secure, it should be disabled.
upvoted 1 times
Big_Dre
1 year, 9 months ago
it requires the server to be used for a single purpose and port 80 and 443 are used in web servers so they are dedicated towards the same function. so u have to look for what is not really use in a web server.
upvoted 1 times
...
...
encxorblood
2 years, 3 months ago
Selected Answer: D
Based on the given information, port 1433/tcp is open and running a SQL service. Since the server is a web server, this port should not be open as it is not needed for the intended function. Therefore, port 1433/tcp should be closed to comply with the organization's policy. The other ports (21/tcp, 80/tcp, and 443/tcp) are commonly used for SSH, HTTP, and HTTPS, respectively, and should remain open as they are necessary for the web server's intended function.
upvoted 3 times
thenewpcgamer
2 years, 1 month ago
21 is normally SSH?
upvoted 2 times
...
2Fish
2 years, 2 months ago
Agreed. This is D. If ports 80 and 443 were in one answer, then maybe turn down the web services.
upvoted 1 times
...
...
CatoFong
2 years, 4 months ago
Selected Answer: D
D is correct
upvoted 1 times
...
mrodmv
2 years, 5 months ago
Selected Answer: D
found the same image but says port 21 is FTP, answer here must be D
upvoted 1 times
...
marc4354345
2 years, 5 months ago
Selected Answer: D
It's either a web server or a database server. If web server then 80 and 443 would have to be closed but there's only one answer. Hence D is the only reasonable option. SSH would not qualify as a "service" imo.
upvoted 1 times
...
forest111
2 years, 5 months ago
Selected Answer: D
SSH is need for data uploading, I would bet on D - SQL
upvoted 1 times
...
Frog_Man
2 years, 6 months ago
If answer A is 21, then that is correct. Port 21 is for data management and 20 is for the data transfer itself.
upvoted 1 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 ...