πŸ“Š Docker
Q. Can secrets be accessed by a non-root user inside the container?
  • (A) Yes, if the user has read permission
  • (B) No, secrets are always root-only
  • (C) Yes, via environment variables
  • (D) No, they must be copied manually
πŸ’¬ Discuss
βœ… Correct Answer: (A) Yes, if the user has read permission

Explanation: Secrets have 0400 permission, so any user who can read the file may access it.

Explanation by: Mr. Dubey
Secrets have 0400 permission, so any user who can read the file may access it.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
34
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate