New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 101-500 Exam - Topic 4 Question 102 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 102
Topic #: 4
[All 101-500 Questions]

Which of the following commands lists all currently installed packages when using RPM package management?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Margarita
3 months ago
I had no idea there were so many options!
upvoted 0 times
...
Asuncion
3 months ago
Wait, is it really C? I thought it was B.
upvoted 0 times
...
Anthony
3 months ago
Definitely C, that's the standard command!
upvoted 0 times
...
Linsey
4 months ago
I think it's B, yum --list --installed.
upvoted 0 times
...
Britt
4 months ago
Pretty sure it's C, rpm --query --all.
upvoted 0 times
...
Amie
4 months ago
I want to say it's "rpm --query --all," but I keep mixing it up with "yum" commands.
upvoted 0 times
...
Claudio
4 months ago
I'm not entirely sure, but I remember "yum" is more for managing packages rather than listing them.
upvoted 0 times
...
Ria
4 months ago
I practiced a similar question, and I feel like "rpm --query --all" is the right choice.
upvoted 0 times
...
Jade
5 months ago
I think the command to list installed packages is something with "rpm," but I can't remember if it's "--query" or "--list."
upvoted 0 times
...
Ming
5 months ago
I've got this one! The answer is C, rpm --query --all. That's the standard RPM command to get a list of all installed packages on the system.
upvoted 0 times
...
Lauran
5 months ago
I'm a bit confused by the options here. I know yum is the package manager for some Linux distros, but I'm not sure if that applies to this question about RPM. I'll have to double-check my notes on RPM commands.
upvoted 0 times
...
Zana
5 months ago
Ah, I remember this from the study guide! The correct answer is C, rpm --query --all. That's the RPM command to list all installed packages.
upvoted 0 times
...
Dierdre
5 months ago
Hmm, I'm a little unsure about this one. I know rpm is the package manager, but I can't remember the exact command to list all installed packages. I'll have to think this through carefully.
upvoted 0 times
...
Lourdes
5 months ago
This one seems pretty straightforward. I'm pretty sure the answer is C, rpm --query --all.
upvoted 0 times
...
Jaclyn
9 months ago
I wonder if the exam also has a question on how to install packages using rpm? That's where the real fun begins!
upvoted 0 times
...
Isaiah
9 months ago
This is a classic Linux sysadmin question. If you know your package management tools, this is a piece of cake.
upvoted 0 times
Ashley
8 months ago
B) yum --list --installed
upvoted 0 times
...
Portia
8 months ago
A) yum --query --all
upvoted 0 times
...
Alpha
8 months ago
D) rpm --list --installed
upvoted 0 times
...
Eileen
8 months ago
C) rpm --query --all
upvoted 0 times
...
...
Page
9 months ago
Haha, I bet the exam creators really wanted to trick us with those yum options. Nice try, but I'm going with the good old rpm command!
upvoted 0 times
Jennifer
8 months ago
Yeah, I'm sticking with rpm too. Can't go wrong with the classic choice.
upvoted 0 times
...
Dorinda
9 months ago
I think the rpm command is the safest bet in this case.
upvoted 0 times
...
Clarence
9 months ago
I agree, those yum options were definitely a trick.
upvoted 0 times
...
...
Roslyn
10 months ago
I was a bit confused between the yum and rpm commands, but now I understand that rpm is the specific tool for querying installed packages.
upvoted 0 times
Dan
9 months ago
C) rpm --query --all
upvoted 0 times
...
James
9 months ago
B) yum --list --installed
upvoted 0 times
...
Billye
9 months ago
C) rpm --query --all
upvoted 0 times
...
Ceola
9 months ago
A) yum --query --all
upvoted 0 times
...
Youlanda
10 months ago
B) yum --list --installed
upvoted 0 times
...
Kimbery
10 months ago
A) yum --query --all
upvoted 0 times
...
...
Sherman
10 months ago
The correct answer is C) rpm --query --all. This command is specifically designed for the RPM package management system, which is the standard package manager on many Linux distributions.
upvoted 0 times
Crissy
10 months ago
That makes sense, since it's for RPM package management.
upvoted 0 times
...
Arlean
10 months ago
I think the answer is C) rpm --query --all.
upvoted 0 times
...
...
Denae
11 months ago
Hmm, I see your point. Let's double check the options before making a final decision.
upvoted 0 times
...
Nickie
11 months ago
I disagree, I believe the correct answer is D) rpm --list --installed.
upvoted 0 times
...
Denae
11 months ago
I think the answer is C) rpm --query --all.
upvoted 0 times
...

Save Cancel