Linux_FoundationLinux_Foundation
LFCS · Question #238
LFCS Question #238: Real Exam Question with Answer & Explanation
The correct answer is C: ~/.gnupg/. GPG (GNU Privacy Guard) stores its user-specific configuration files, keyrings, and trust database in a hidden directory within the user's home directory.
Submitted by skyler.x· Apr 18, 2026Essential Commands
Question
Which of the following directories in a user's home contains configuration files and key rings for GPG?
Options
- A~/gpg.d/
- B~/.gpg/
- C~/.gnupg/
- D~/gnupg/
- E~/.gpg.d/
Explanation
GPG (GNU Privacy Guard) stores its user-specific configuration files, keyrings, and trust database in a hidden directory within the user's home directory.
Common mistakes.
- A.
~/gpg.d/is not the standard or correct default directory for GPG configuration and keyrings. - B.
~/.gpg/is not the standard or correct default directory for GPG configuration and keyrings. - D.
~/gnupg/is incorrect because configuration directories are typically hidden (prefixed with a dot) in Unix-like systems. - E.
~/.gpg.d/is not the standard or correct default directory for GPG configuration and keyrings.
Concept tested. GPG configuration directory location
Topics
#GPG configuration#Home directory#Hidden files
Community Discussion
No community discussion yet for this question.