exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 268 discussion

Actual exam question from CompTIA's XK0-005
Question #: 268
Topic #: 1
[All XK0-005 Questions]

A Linux administrator needs to determine if prerequisites are met. One of the application requirements is to install Perl on a system. Which of the following commands would accomplish this task?

  • A. rpm –Uf perl
  • B. rpm –iv perl
  • C. rpm –qa perl
  • D. rpm –eh perl
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Bull88
4 days, 19 hours ago
Selected Answer: B
Because the question says that the user needs to install a package, and with "-i" you will install the package and with the "-v" you will see the verbose of the installation and right there the admin can check if the requirments are met
upvoted 2 times
...
Lorello2023
1 week, 4 days ago
Selected Answer: C
q = query a = all This queries if a package is installed Will show Perl if it's installed
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