A developer is creating a new service that requires programmatic connections to a remote resource in a shared environment. Which measure best supports proper verification of those connections?
Store credentials in environment variables to support automated workflows
Use a common repository for access keys overseen by an external entity
Obtain short-term credentials from a validation service that regularly issues new tokens
Save tokens in configuration files with controlled access on each server
Short-term credentials from a validation service reduce the risk of long-term misuse by limiting the timeframe in which they can be exploited. This approach helps ensure that compromised credentials are less useful. Storing credentials in environment variables or configuration files can risk prolonged exposure or unintentional sharing. Using a common repository that is managed externally might lead to weaker governance and slow rotation.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Why are short-term credentials preferred for programmatic connections?
Open an interactive chat with Bash
What is a validation service, and how does it issue short-term credentials?
Open an interactive chat with Bash
What risks are associated with storing credentials in environment variables or configuration files?
Open an interactive chat with Bash
CompTIA Cloud+ CV0-004
Security
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access