Which of the following commands lists the dependencies of the RPM package file foo.rpm?
Suggested Answer: A
Get Premium 101-500 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
35 comments · newest first
NO
Noble
10 months ago
I can't believe there's so many options for this!
JA
Janessa
10 months ago
Wait, is C even a valid command?
CA
Casandra
10 months ago
A is definitely the right command!
DO
Dortha
11 months ago
I thought it was B at first, but A makes more sense.
BA
Barbra
11 months ago
Pretty sure D is incorrect, it doesn't exist.
FR
France
11 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.
MI
Mitzie
11 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.
AL
Alberta
12 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.
HY
Hyun
12 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.
AR
Arleen
1 year 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.
CA
Cary
1 year 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.
EL
Elinore
1 year 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.
TA
Tamekia
1 year 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.
CE
Ceola
1 year ago
I'm pretty sure the answer is A, since the --qpR option is used to list the dependencies of an RPM package.
NO
Noe
1 year ago
B) rpm --dep foo is close, but not quite it. Time to brush up on my RPM fu!
MI
Mitzie
1 year ago
C) rpm --ld foo.rpm
WI
Willie
1 year ago
B) rpm --dep foo is close, but not quite it. Time to brush up on my RPM fu!
MA
Malcom
1 year ago
A) rpm --qpR foo.rpm
MA
Maryann
1 year ago
E) rpm --pD foo? Really? That's about as useful as a chocolate teapot.
JU
Junita
1 year ago
D) rpm --R foo.rpm
NG
Nguyet
1 year ago
C) rpm --ld foo.rpm
JE
Jesusita
1 year ago
B) rpm --dep foo
FA
Fannie
1 year ago
A) rpm --qpR foo.rpm
LA
Lamar
1 year ago
I think Golda is right, option D seems to be the most appropriate for listing dependencies
TA
Tamesha
1 year ago
D) rpm --R foo.rpm seems like a logical choice, but it's not the right one. Gotta love these tricky RPM questions!
RE
Rex
1 year ago
C) rpm --ld foo.rpm
SH
Shenika
1 year ago
B) rpm --dep foo
SH
Shala
1 year ago
A) rpm --qpR foo.rpm
GE
German
1 year ago
But the command in option A lists the dependencies, not just the requirements
AL
Alise
1 year ago
A) rpm --qpR foo.rpm is the correct answer. It lists the dependencies of the RPM package file.
LI
Linette
1 year ago
C) No problem, happy to help!
PA
Paulina
1 year ago
B) Oh, I didn't know that. Thanks for sharing!
BE
Bethanie
1 year ago
A) rpm --qpR foo.rpm is the correct answer.
GO
Golda
1 year ago
I disagree, I believe the correct command is D) rpm --R foo.rpm
GE
German
1 year ago
I think the answer is A) rpm --qpR foo.rpm