Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 101-500 Exam - Topic 4 Question 102 Discussion

Posted by Farrah on Oct 19, 2024 at 03:55 AM

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

Suggested Answer: B

Get Premium 101-500 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
37 comments · newest first
MA
Margarita 11 months ago
I had no idea there were so many options!
AS
Asuncion 11 months ago
Wait, is it really C? I thought it was B.
AN
Anthony 11 months ago
Definitely C, that's the standard command!
LI
Linsey 12 months ago
I think it's B, yum --list --installed.
BR
Britt 12 months ago
Pretty sure it's C, rpm --query --all.
AM
Amie 12 months ago
I want to say it's "rpm --query --all," but I keep mixing it up with "yum" commands.
CL
Claudio 1 year ago
I'm not entirely sure, but I remember "yum" is more for managing packages rather than listing them.
RI
Ria 1 year ago
I practiced a similar question, and I feel like "rpm --query --all" is the right choice.
JA
Jade 1 year ago
I think the command to list installed packages is something with "rpm," but I can't remember if it's "--query" or "--list."
MI
Ming 1 year 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.
LA
Lauran 1 year 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.
ZA
Zana 1 year 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.
DI
Dierdre 1 year 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.
LO
Lourdes 1 year ago
This one seems pretty straightforward. I'm pretty sure the answer is C, rpm --query --all.
JA
Jaclyn 1 year ago
I wonder if the exam also has a question on how to install packages using rpm? That's where the real fun begins!
IS
Isaiah 1 year ago
This is a classic Linux sysadmin question. If you know your package management tools, this is a piece of cake.
AS
Ashley 1 year ago
↳ replying to Isaiah
B) yum --list --installed
PO
Portia 1 year ago
↳ replying to Isaiah
A) yum --query --all
AL
Alpha 1 year ago
↳ replying to Isaiah
D) rpm --list --installed
EI
Eileen 1 year ago
↳ replying to Isaiah
C) rpm --query --all
PA
Page 1 year 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!
JE
Jennifer 1 year ago
↳ replying to Page
Yeah, I'm sticking with rpm too. Can't go wrong with the classic choice.
DO
Dorinda 1 year ago
↳ replying to Page
I think the rpm command is the safest bet in this case.
CL
Clarence 1 year ago
↳ replying to Page
I agree, those yum options were definitely a trick.
RO
Roslyn 1 year 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.
DA
Dan 1 year ago
↳ replying to Roslyn
C) rpm --query --all
JA
James 1 year ago
↳ replying to Roslyn
B) yum --list --installed
BI
Billye 1 year ago
↳ replying to Roslyn
C) rpm --query --all
CE
Ceola 1 year ago
↳ replying to Roslyn
A) yum --query --all
YO
Youlanda 1 year ago
↳ replying to Roslyn
B) yum --list --installed
KI
Kimbery 1 year ago
↳ replying to Roslyn
A) yum --query --all
SH
Sherman 2 years 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.
CR
Crissy 1 year ago
↳ replying to Sherman
That makes sense, since it's for RPM package management.
AR
Arlean 1 year ago
↳ replying to Sherman
I think the answer is C) rpm --query --all.
DE
Denae 2 years ago
Hmm, I see your point. Let's double check the options before making a final decision.
NI
Nickie 2 years ago
I disagree, I believe the correct answer is D) rpm --list --installed.
DE
Denae 2 years ago
I think the answer is C) rpm --query --all.
0/2000 characters

Save Cancel