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 111 Discussion

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

Which of the following commands lists the dependencies of the RPM package file foo.rpm?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Noble
2 months ago
I can't believe there's so many options for this!
upvoted 0 times
...
Janessa
2 months ago
Wait, is C even a valid command?
upvoted 0 times
...
Casandra
2 months ago
A is definitely the right command!
upvoted 0 times
...
Dortha
3 months ago
I thought it was B at first, but A makes more sense.
upvoted 0 times
...
Barbra
3 months ago
Pretty sure D is incorrect, it doesn't exist.
upvoted 0 times
...
France
3 months ago
I thought `rpm --R` was related to dependencies too, but I can't recall if it’s the right syntax for listing them.
upvoted 0 times
...
Mitzie
3 months ago
I’m pretty confident that `rpm --qpR foo.rpm` is the correct one since it’s about querying package info, but I could be wrong.
upvoted 0 times
...
Alberta
4 months ago
I remember practicing with RPM commands, and I feel like `rpm --dep` might be close, but it doesn’t seem right for dependencies specifically.
upvoted 0 times
...
Hyun
4 months ago
I think the command to list dependencies is something like `rpm --qpR`, but I’m not entirely sure if I’m mixing it up with another option.
upvoted 0 times
...
Arleen
4 months ago
I've used the rpm command before, but I can't quite remember the exact syntax for listing dependencies. I'll have to review my notes to be sure, but I think A sounds right.
upvoted 0 times
...
Cary
4 months ago
The key here is to look for the option that specifically lists the dependencies, rather than just general information about the package. I'm leaning towards A as the best answer.
upvoted 0 times
...
Elinore
4 months ago
Okay, let me see... I think B or E might also be possible, since they mention dependencies. But I'm not 100% sure, so I'll have to double-check the man pages.
upvoted 0 times
...
Tamekia
5 months ago
Hmm, I'm a bit confused on this one. I know the rpm command has a lot of different options, so I'll have to think through them carefully.
upvoted 0 times
...
Ceola
5 months ago
I'm pretty sure the answer is A, since the --qpR option is used to list the dependencies of an RPM package.
upvoted 0 times
...
Noe
9 months ago
B) rpm --dep foo is close, but not quite it. Time to brush up on my RPM fu!
upvoted 0 times
Mitzie
8 months ago
C) rpm --ld foo.rpm
upvoted 0 times
...
Willie
8 months ago
B) rpm --dep foo is close, but not quite it. Time to brush up on my RPM fu!
upvoted 0 times
...
Malcom
8 months ago
A) rpm --qpR foo.rpm
upvoted 0 times
...
...
Maryann
9 months ago
E) rpm --pD foo? Really? That's about as useful as a chocolate teapot.
upvoted 0 times
Junita
8 months ago
D) rpm --R foo.rpm
upvoted 0 times
...
Nguyet
8 months ago
C) rpm --ld foo.rpm
upvoted 0 times
...
Jesusita
8 months ago
B) rpm --dep foo
upvoted 0 times
...
Fannie
9 months ago
A) rpm --qpR foo.rpm
upvoted 0 times
...
...
Lamar
9 months ago
I think Golda is right, option D seems to be the most appropriate for listing dependencies
upvoted 0 times
...
Tamesha
9 months ago
D) rpm --R foo.rpm seems like a logical choice, but it's not the right one. Gotta love these tricky RPM questions!
upvoted 0 times
Rex
8 months ago
C) rpm --ld foo.rpm
upvoted 0 times
...
Shenika
8 months ago
B) rpm --dep foo
upvoted 0 times
...
Shala
9 months ago
A) rpm --qpR foo.rpm
upvoted 0 times
...
...
German
10 months ago
But the command in option A lists the dependencies, not just the requirements
upvoted 0 times
...
Alise
10 months ago
A) rpm --qpR foo.rpm is the correct answer. It lists the dependencies of the RPM package file.
upvoted 0 times
Linette
9 months ago
C) No problem, happy to help!
upvoted 0 times
...
Paulina
9 months ago
B) Oh, I didn't know that. Thanks for sharing!
upvoted 0 times
...
Bethanie
9 months ago
A) rpm --qpR foo.rpm is the correct answer.
upvoted 0 times
...
...
Golda
10 months ago
I disagree, I believe the correct command is D) rpm --R foo.rpm
upvoted 0 times
...
German
10 months ago
I think the answer is A) rpm --qpR foo.rpm
upvoted 0 times
...

Save Cancel