CompTIA Cloud+ (CV0-004)DeploymentHard
A cloud operations team needs to automate the deployment of a complex multi-tier application. The application consists of several virtual machines, a managed database, and a load balancer, all configured with specific network settings and security rules. The team wants to ensure that the entire infrastructure stack can be provisioned consistently and repeatedly with minimal manual intervention. Which of the following tools or concepts is best suited for this task?
- AContainer orchestration platforms (e.g., Kubernetes) for all components.
- BManual CLI commands and shell scripts.
- COrchestration templates (e.g., AWS CloudFormation, Azure Resource Manager templates).
- DCloud-specific management console for each service.
Show answer & explanationAnswer & explanation
Correct answer: C. Orchestration templates (e.g., AWS CloudFormation, Azure Resource Manager templates).
Orchestration templates, such as AWS CloudFormation or Azure Resource Manager templates, allow defining an entire infrastructure stack (VMs, databases, load balancers, network settings, security rules) in a declarative file. This enables consistent, repeatable, and automated provisioning of complex multi-tier applications as a single unit.
Why the other options are wrong
- A. Container orchestration platforms are primarily for managing containerized applications, not for provisioning the underlying infrastructure (VMs, databases, load balancers) itself, although they run on top of that infrastructure.
- B. Manual CLI commands and shell scripts are less consistent, harder to manage, and more error-prone for complex multi-tier deployments.
- D. Using individual cloud consoles is a manual process and does not provide automation, consistency, or repeatability for the entire stack.
Orchestration Templates
Declarative files (e.g., JSON, YAML) used to define and provision a collection of cloud resources as a single unit or 'stack'.
- Enable Infrastructure as Code (IaC).
- Automate deployment of complex, multi-resource applications.
- Ensure consistency and repeatability of environments.
Memory trick: Automation Builds Complex Stacks with Templates.