CompTIA Cloud+ CV0-004 Practice Question

A developer is creating a script that calls a remote service using specialized credentials. The organization’s policies require that credentials are regularly rotated for security. The developer is considering embedding these values in the application code to simplify the design. Which approach is recommended to protect these details from unauthorized access?

  • Use a vault service that provides temporary tokens at execution time

  • Keep the data in a local file with restricted read permissions

  • Encrypt values with the system's default key and store them in source control

  • Define static tokens in the script and rely on code obfuscation

CompTIA Cloud+ CV0-004
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.

Bash, the Crucial Exams Chat Bot
AI Bot