Deal of The Day! 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
5 months ago
I always get confused with these commands.
upvoted 0 times
...
Gregoria
6 months ago
I thought it was D, but I guess not!
upvoted 0 times
...
Hildred
6 months ago
Wait, are you sure it keeps the config files?
upvoted 0 times
...
Gilma
6 months ago
Totally agree, that's the right command!
upvoted 0 times
...
Shasta
6 months ago
It's E, dpkg -r pkgname, that keeps config files.
upvoted 0 times
...
Catrice
7 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
7 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
7 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
7 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
7 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
7 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
7 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
8 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
1 year 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
11 months ago
C) dpkg -L pkgname
upvoted 0 times
...
Dominga
12 months ago
B) dpkg -s pkgname
upvoted 0 times
...
Johnson
1 year ago
A) none, no command will do this
upvoted 0 times
...
...
Jolanda
1 year 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
1 year 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
11 months ago
I agree, D) dpkg -P pkgname is the right choice
upvoted 0 times
...
Shanice
11 months ago
Let's see, I'll choose D) dpkg -P pkgname
upvoted 0 times
...
Cordelia
11 months ago
I would go with B) dpkg -s pkgname
upvoted 0 times
...
Royal
11 months ago
I think it's D) dpkg -P pkgname
upvoted 0 times
...
Renea
11 months ago
I'll take my chances with D) dpkg -P pkgname
upvoted 0 times
...
My
11 months ago
Just flip a coin and decide between B and D
upvoted 0 times
...
Pedro
11 months ago
I would go with B) dpkg -s pkgname
upvoted 0 times
...
Eleni
12 months ago
I think it's D) dpkg -P pkgname
upvoted 0 times
...
...
Ernest
1 year ago
Easy, it's gotta be E. Removing the package is what I need, not this 'leave the config' nonsense.
upvoted 0 times
...
Robt
1 year ago
I agree with Veronika, dpkg -P is the correct command for that.
upvoted 0 times
...
Noel
1 year 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
11 months ago
Option D is the way to go for uninstalling a package while keeping its configuration files.
upvoted 0 times
...
Larue
11 months ago
Yes, option D will remove the package but keep the configuration files.
upvoted 0 times
...
Diane
1 year ago
I think option D is the best choice too.
upvoted 0 times
...
Kattie
1 year ago
Yes, dpkg -P pkgname is the one to use for removing the package but keeping the configuration files.
upvoted 0 times
...
Francesco
1 year ago
I agree, option D is the correct one.
upvoted 0 times
...
Gail
1 year ago
I agree, option D (dpkg -P pkgname) is the correct command for that.
upvoted 0 times
...
...
Veronika
1 year ago
I think the answer is D) dpkg -P pkgname because it removes the package and its configuration files.
upvoted 0 times
...
Demetra
1 year ago
What command will uninstall a package but leave its configuration files in case a package is re-installed?
upvoted 0 times
...

Save Cancel