exam questions

Exam CS0-002 All Questions

View all questions & answers for the CS0-002 exam

Exam CS0-002 topic 1 question 125 discussion

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

When investigating a report of a system compromise, a security analyst views the following /var/log/secure log file:

Which of the following can the analyst conclude from viewing the log file?

  • A. The comptia user knows the sudo password.
  • B. The comptia user executed the sudo su command.
  • C. The comptia user knows the root password.
  • D. The comptia user added himself or herself to the /etc/sudoers file.
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
Laudy
Highly Voted 2 years, 7 months ago
Wrong. C is correct. the user is not in the sudoers file. you use your own password for that. the user used the su command to switch user accounts. when no user is specified, the su command defaults to the root account. the user is now logged into the root account. you need to know the root password to log into the root account.
upvoted 15 times
cyberseckid
2 years, 7 months ago
but that means b is also right ?
upvoted 1 times
Tag
2 years, 6 months ago
no, B states that they used the "sudo su" command, they only used "su" C is correct
upvoted 3 times
...
...
...
2Fish
Most Recent 2 years, 1 month ago
Selected Answer: C
Agree with Laudy. C is correct.
upvoted 1 times
...
CatoFong
2 years, 2 months ago
Selected Answer: C
Laudy is correct
upvoted 1 times
...
Sethwlch98
2 years, 2 months ago
Selected Answer: C
C is the correct answer
upvoted 1 times
...
Learner_77
2 years, 6 months ago
Comptia user used su command to login as root user su requires the password of the target account, while sudo requires the password of the current user.
upvoted 1 times
...
ryanzou
2 years, 6 months ago
Selected Answer: C
C is correct
upvoted 2 times
...
Weezyfbaby
2 years, 6 months ago
Selected Answer: C
Agree w/ Laudy
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago