CGOA Related Practices Practice Question
When configuring a GitOps pipeline, what should be done to manage sensitive data like API keys?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use a tool like Sealed Secrets to encrypt them before committing to Git.
Secrets should be stored in an encrypted format (like Sealed Secrets or an external secret store) within Git so they remain secure while still being part of the declarative configuration.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Store them in base64 encoded format in plain Git.
Why it's wrong here
Base64 is not encryption and is easily decoded; this is insecure.
- ✗
Leave them out of Git and manually inject them via kubectl.
Why it's wrong here
This breaks the GitOps workflow and creates configuration drift.
- ✗
Upload them to the cluster via the cloud provider's console.
Why it's wrong here
Manual injection creates undocumented state.
- ✓
Use a tool like Sealed Secrets to encrypt them before committing to Git.
Why this is correct
Sealed Secrets allow secrets to be safely stored in public or private Git repositories.
About these practice questions
One of 325 original CGOA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official CNCF / Linux Foundation exam blueprint
This CGOA practice question is part of Courseiva's free CNCF / Linux Foundation certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CGOA exam.