
Intro to Terraform
Authored by Antoni Tzavelas
Instructional Technology
KG
Used 31+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following best describes a Terraform provider?
A container for multiple resources that are used together
Serves as a parameter for a Terraform module that allows a module to be customized
Describes an infrastructure object, such as a virtual network, compute instance, or other component
A plugin that Terraform uses to translate the API interactions with the service
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What happens when a terraform apply is executed?
Reconciles the state Terraform knows about with the real-world infrastructure
Creates the execution plan for the deployment of resources
The backend is initialized and the working directory is prepped
Applies the changes required in the target infrastructure in order to reach the desired configuration
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which flag would be used within a Terraform configuration block to identify the specific version of a provider required?
required-provider
required-version
required_versions
required_providers
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
True or False: You can migrate the Terraform backend but only if there are no resources currently being managed.
True
False
5.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
In regards to Terraform state file, select all the statements below which are correct: (select 3)
The state file is always encrypted at rest
The Terraform state can contain sensitive data, therefore the state file should be treated as sensitive
Storing state remotely can provide better security
When using local state, the state file is stored in plain-text
Using the mask feature, you can instruct Terraform to mask sensitive data in the state file
6.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Before a new provider can be used, it must be ______ (Select 2)
Approved by HashiCorp
Initialized
Uploaded to source control
Declared in the configuration
7.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
What are some of the problems of how infrastructure was traditionally managed before Infrastructure as Code?
Pointing and clicking in a management console isn't scalable as businesses move to a multi-cloud deployment model
Requests for infrastructure or hardware required a ticket, increasing the time required to deploy applications
Traditional deployment methods are not able to meet the demands of the modern business where resources tend to live days to weeks, rather than months to years
Traditionally managed infrastructure can't keep up with cyclic or elastic applications
All of the above
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?