CompTIA Cloud+ CV0-004 (V4) Practice Question

A development team maintains several automated CI/CD scripts that call a cloud-hosted REST API using an API key. The key is currently stored in a plain-text configuration file committed to the repository, and security has warned that a leak could let attackers reuse the key. The team needs a solution that sharply reduces that risk while still letting the scripts run unattended. Which approach best meets this goal?

  • Store the key in a secrets-management service that automatically rotates it and enforces least-privilege access

  • Base64-encode the key and commit it to a private repository

  • Modify the scripts to prompt for a developer password each time they run

  • Export the key as an environment variable on every build agent

CompTIA Cloud+ CV0-004 (V4)
Security
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

SAVE $47
$390.00 $343.00
SAVE $53
CompTIA Cloud+ Voucher with Retake
v4 / CV0-004
Includes Retake
$439.00 $386.00
Bash, the Crucial Exams Chat Bot
AI Bot