350-701 Cloud Security Practice Question
A security team is implementing DevSecOps practices. Which TWO actions should be taken to secure secrets (e.g., API keys, passwords) in a CI/CD pipeline? (Choose two.)
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 secrets management tool like HashiCorp Vault
Secrets should never be hardcoded in code; instead, use a secrets management tool like HashiCorp Vault or cloud-native secret stores. Also, scan for leaked secrets using tools like git-secrets.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Share secrets via email to team members
Why it's wrong here
Email is insecure for transmitting secrets.
- ✗
Hardcode secrets in the source code with comments to remind developers
Why it's wrong here
Hardcoding secrets is a security risk.
- ✓
Use a secrets management tool like HashiCorp Vault
Why this is correct
Vault securely stores and controls access to secrets.
- ✓
Implement scanning for secrets in code repositories using tools like git-secrets
Why this is correct
Scanning helps detect accidentally committed secrets.
- ✗
Store secrets in environment variables in the pipeline configuration
Why it's wrong here
Storing secrets in environment variables is not secure; they may be exposed in logs.
Go deeper
Related to this question
About these practice questions
This 350-701 question is part of Courseiva's 978-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 350-701 practice question is part of Courseiva's free Cisco 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 350-701 exam.