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

GAQM LCP-001 Exam - Topic 1 Question 35 Discussion

Actual exam question for GAQM's LCP-001 exam
Question #: 35
Topic #: 1
[All LCP-001 Questions]

What command will uninstall a package but leave its configuration files in case a package is re-installed?

Show Suggested Answer Hide Answer
Suggested Answer: D

The answer should be ''Match a literal + symbol'' because there is a backslash symbol before the plus, so it should match a literal +.


Contribute your Thoughts:

0/2000 characters
Billye
3 months ago
I always get confused with these commands.
upvoted 0 times
...
Gregoria
3 months ago
I thought it was D, but I guess not!
upvoted 0 times
...
Hildred
3 months ago
Wait, are you sure it keeps the config files?
upvoted 0 times
...
Gilma
4 months ago
Totally agree, that's the right command!
upvoted 0 times
...
Shasta
4 months ago
It's E, dpkg -r pkgname, that keeps config files.
upvoted 0 times
...
Catrice
4 months ago
I remember reading that "dpkg -s" and "dpkg -L" are for checking status and listing files, respectively. So they definitely aren't the right answers here.
upvoted 0 times
...
Yvonne
4 months ago
I'm a bit confused. I thought "dpkg -r" was the right command, but I can't recall if it actually keeps the config files or not.
upvoted 0 times
...
Melodie
4 months ago
I practiced a similar question last week, and I believe "dpkg -P" is the one that completely removes everything, including config files. So it can't be that one.
upvoted 0 times
...
Vallie
5 months ago
I think the command we're looking for is the one that removes the package but keeps the config files. I vaguely remember it being something like "dpkg -r" but I'm not entirely sure.
upvoted 0 times
...
Corrie
5 months ago
This looks like a straightforward question about managing the indexing policy in Azure Cosmos DB. I'll need to review the options carefully and think through the implications of each choice.
upvoted 0 times
...
Samira
5 months ago
Hmm, this looks tricky. I'm not sure I fully understand the context of the question. I'll need to think it through step-by-step to make sure I don't miss anything.
upvoted 0 times
...
Lelia
5 months ago
Ah, I know this one! The /proc filesystem is where you can find all sorts of system information, including RAID status. The answer is definitely /proc/mdstat.
upvoted 0 times
...
Shantell
5 months ago
This is a tricky one. There are a lot of details to keep track of, and the options seem quite similar. I'll need to really focus and think through each possibility to determine the correct answers.
upvoted 0 times
...
Alex
10 months ago
I heard the exam committee is going to start offering a 'dpkg -P -i' option - uninstall the package AND install it at the same time. Efficiency at its finest!
upvoted 0 times
Georgiann
9 months ago
C) dpkg -L pkgname
upvoted 0 times
...
Dominga
9 months ago
B) dpkg -s pkgname
upvoted 0 times
...
Johnson
10 months ago
A) none, no command will do this
upvoted 0 times
...
...
Jolanda
10 months ago
D all the way, baby! Keeping those config files around is the smart move. Who wants to start from scratch, am I right?
upvoted 0 times
...
Michel
10 months ago
Hmm, I'm torn between B and D. Guess I'll just flip a coin and hope for the best!
upvoted 0 times
Tran
8 months ago
I agree, D) dpkg -P pkgname is the right choice
upvoted 0 times
...
Shanice
8 months ago
Let's see, I'll choose D) dpkg -P pkgname
upvoted 0 times
...
Cordelia
8 months ago
I would go with B) dpkg -s pkgname
upvoted 0 times
...
Royal
8 months ago
I think it's D) dpkg -P pkgname
upvoted 0 times
...
Renea
8 months ago
I'll take my chances with D) dpkg -P pkgname
upvoted 0 times
...
My
9 months ago
Just flip a coin and decide between B and D
upvoted 0 times
...
Pedro
9 months ago
I would go with B) dpkg -s pkgname
upvoted 0 times
...
Eleni
9 months ago
I think it's D) dpkg -P pkgname
upvoted 0 times
...
...
Ernest
10 months ago
Easy, it's gotta be E. Removing the package is what I need, not this 'leave the config' nonsense.
upvoted 0 times
...
Robt
10 months ago
I agree with Veronika, dpkg -P is the correct command for that.
upvoted 0 times
...
Noel
11 months ago
Option D looks the most promising to me. Removing the package but keeping the config files seems like a useful feature.
upvoted 0 times
Katheryn
9 months ago
Option D is the way to go for uninstalling a package while keeping its configuration files.
upvoted 0 times
...
Larue
9 months ago
Yes, option D will remove the package but keep the configuration files.
upvoted 0 times
...
Diane
10 months ago
I think option D is the best choice too.
upvoted 0 times
...
Kattie
10 months ago
Yes, dpkg -P pkgname is the one to use for removing the package but keeping the configuration files.
upvoted 0 times
...
Francesco
10 months ago
I agree, option D is the correct one.
upvoted 0 times
...
Gail
10 months ago
I agree, option D (dpkg -P pkgname) is the correct command for that.
upvoted 0 times
...
...
Veronika
11 months ago
I think the answer is D) dpkg -P pkgname because it removes the package and its configuration files.
upvoted 0 times
...
Demetra
11 months ago
What command will uninstall a package but leave its configuration files in case a package is re-installed?
upvoted 0 times
...

Save Cancel