CompTIA SecurityX (CAS-005) — Question 115
A security engineer needs to create multiple servers in a company's private cloud. The servers should have a virtual network infrastructure that supports connectivity, as well as security configurations applied using predefined templates. Which of the following is the best option for the security engineer to consider for the deployment?
Answer options
- A. Installing a container orchestration solution locally, configuring the infrastructure, and cloning the solution
- B. Creating templates on the cloud provider marketplace and modeling the solution using those templates
- C. Using Terraform to implement an infrastructure as code model with the existing private cloud solution
- D. Integrating the cloud provider API to the CI/CD pipeline model used by the company
Correct answer: C
Explanation
Option C is correct because Terraform is specifically designed for infrastructure as code, enabling efficient and repeatable deployment of resources within a private cloud. The other options, while viable, do not provide the same level of automation and infrastructure management that Terraform offers, making them less suitable for this scenario.