exam questions

Exam 010-160 All Questions

View all questions & answers for the 010-160 exam

Exam 010-160 topic 1 question 53 discussion

Actual exam question from LPI's 010-160
Question #: 53
Topic #: 1
[All 010-160 Questions]

Which files are the source of the information in the following output? (Choose two.) uid=1000 (bob) gid=1000 (bob) groups=1000 (bob), 10 (wheel), 150 (wireshark), 989 (docker), 1001 (libvirt)

  • A. /etc/id
  • B. /etc/passwd
  • C. /etc/group
  • D. /home/index
  • E. /var/db/users
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

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
sasquatchshrimp
Highly Voted 1 year, 7 months ago
This question is looking for the source of the information, aka files. B and C are correct, as those files both exist and contain that information. /etc/id is not a file, id is a command that pulls from the /etc/group file.
upvoted 8 times
beazzlebub
11 months, 3 weeks ago
It should also be noted that the id command is not found in /etc/ either, it should be somewhere like /usr/bin/id, so /etc/id doesn't exist.
upvoted 2 times
...
...
Henee
Most Recent 4 months, 1 week ago
This question does NOT specify for (Choose Two). The answer is B. Only.
upvoted 1 times
...
DanYendler2014
6 months, 3 weeks ago
This question does NOT specifiy for (Choose Two). The answer is B. Only.
upvoted 1 times
...
kimalto452
10 months, 1 week ago
Which FILES are the source... id is a command
upvoted 2 times
...
DS1982
1 year ago
A is wrong, because id is a command. The answer is about /etc/id , if you try to cat /etc/id it doesn't work
upvoted 2 times
...
smina
1 year, 2 months ago
root@kali:~# cat /etc/id cat: /etc/id: No existe el fichero o el directorio
upvoted 1 times
...
h0st
1 year, 6 months ago
only B is the correct answer
upvoted 2 times
...
ommar
1 year, 8 months ago
whereis id id: /usr/bin/id /usr/share/man/man1/id.1.gz
upvoted 1 times
...
Mosestope
1 year, 8 months ago
the answer is B and C. I couldn't find /etc/id in my ubuntu VM
upvoted 4 times
...
Jichz
1 year, 11 months ago
A and B are the correct answer. type id on the terminal and type cat /etc/passwd also in the terminal and you'll see it
upvoted 4 times
sasquatchshrimp
1 year, 7 months ago
Jichz, I totally see your logic. But the id command pulls from the /etc/group file. This question is trying to trick you. If you run cat /etc/id, it does not exist. B and C are correct because those are the two files that you can pull that information from. /etc/id file does not exist, id is a command, not a file. They are asking for files, not commands. I hope that helps clarify some things.
upvoted 7 times
...
bren_
1 year, 10 months ago
yes but can you find the file named /etc/id in your linux system?
upvoted 3 times
beazzlebub
11 months, 3 weeks ago
No you can't, it doesn't exist in /etc/, it's located in /usr/bin/, just another indication that A is an incorrect choice.
upvoted 2 times
...
...
...
popipiv964
2 years ago
this is id command
upvoted 3 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