TERRAFORM-ASSOCIATE-004 · Question #132
Which of the following methods, used to provision resources into a public cloud, demonstrates the concept of infrastructure as code?
The correct answer is C. A script that contains a series of public cloud CLI commands. The concept of infrastructure as code (IaC) is to define and manage infrastructure using code, rather than manual processes or GUI tools. A script that contains a series of public cloud CLI commands is an example of IaC, because it uses code to provision resources into a public c
Question
Options
- Acurl commands manually run from a terminal
- BA sequence of REST requests you pass to a public cloud API endpoint
- CA script that contains a series of public cloud CLI commands
- DA series of commands you enter into a public cloud console
How the community answered
(40 responses)- A3% (1)
- B3% (1)
- C90% (36)
- D5% (2)
Explanation
The concept of infrastructure as code (IaC) is to define and manage infrastructure using code, rather than manual processes or GUI tools. A script that contains a series of public cloud CLI commands is an example of IaC, because it uses code to provision resources into a public cloud. The other options are not examples of IaC, because they involve manual or interactive actions, such as running curl commands, sending REST requests, or entering commands into a console.
Topics
Community Discussion
No community discussion yet for this question.