CompTIA Cloud+ CV0-003 Practice Question

A developer is automating the deployment of resources in the cloud using a script. To comply with best practices for security, which approach should the developer use to handle credentials required by the script to authenticate with the cloud service provider's API?

  • Use a password vault to store credentials and access them dynamically when the script runs.

  • Store the password in environment variables and retrieve it within the script at runtime.

  • Retain the credentials within the script but encrypt them before storing.

  • Embed the password in a configuration file that the script can read from during execution.

CompTIA Cloud+ CV0-003
Operations and Support
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 $45
Bash, the Crucial Exams Chat Bot
AI Bot