You have been asked to release a new service across multiple regions. The goal is to keep resource settings consistent and easily track updates across environments. Which method best ensures reliable deployments while helping detect drift from the intended configurations?
Define the resources in a structured file and keep it in a repository
Create all resources by running commands at each location
Rely on the provider’s graphical management interface for setup
Use a minimal script to adjust each environment individually
Storing resource details in a structured format and keeping them in a version-controlled repository aligns with Infrastructure as Code (IaC) principles, which enable consistent deployments and allow for drift detection. Manual or ad hoc methods lack the visibility needed for change tracking. A portal-based approach makes it harder to ensure all settings remain uniform across multiple environments. Minimal scripts can help, but they do not automatically provide the versioning and drift detection that a repository-based solution does. IaC uses stable templates with checks, preventing configuration variances that occur when details are not tracked in a single source of truth.
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.
What is Infrastructure as Code (IaC)?
Open an interactive chat with Bash
How does version control help with IaC?
Open an interactive chat with Bash
What is configuration drift, and why is it a concern?