Terraform Quiz

Terraform Quiz

Professional Development

49 Qs

quiz-placeholder

Similar activities

PCNSE-2

PCNSE-2

Professional Development

50 Qs

E-Content and E-Learning Quiz

E-Content and E-Learning Quiz

Professional Development

51 Qs

St.JOSEPH'S CISCO IDEATHON ROUND 1 ONLINE ASSESSMENT @ 23/6/24

St.JOSEPH'S CISCO IDEATHON ROUND 1 ONLINE ASSESSMENT @ 23/6/24

Professional Development

54 Qs

Post-Assessment

Post-Assessment

Professional Development

49 Qs

ITIL4_Bigtest#2

ITIL4_Bigtest#2

Professional Development

45 Qs

CPD222Final

CPD222Final

Professional Development

50 Qs

Most Influential People in the World

Most Influential People in the World

4th Grade - Professional Development

45 Qs

Terraform Quiz

Terraform Quiz

Assessment

Quiz

Education

Professional Development

Hard

Created by

Techtorial Academy

Used 1+ times

FREE Resource

49 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following statements represents the most accurate statement about the Terraform language?

  • Terraform is a mutable, imperative, Infrastructure as Code provisioning language based on Hashicorp Configuration Language, or optionally YAML.

  • Terraform is an immutable, declarative, Infrastructure as Code provisioning language based on Hashicorp Configuration Language, or optionally JSON.

  • Terraform is a mutable, declarative, Infrastructure as Code configuration management language based on Hashicorp Configuration Language, or optionally JSON.

  • Terraform is an immutable, imperative, Infrastructure as Code configuration management language based on Hashicorp Configuration Language, or optionally JSON.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Why might a user opt to include the following snippet in their configuration file?

  1. terraform {

  2. required_version = ">= 1.9.2"

  3. }

The user wants to specify the minimum version of Terraform that is required to run the configuration

  • The user wants to ensure that the application being deployed is a minimum version of 1.9.2

  • versions before Terraform 1.9.2 were not approved by HashiCorp to be used in production

  • this ensures that all Terraform providers are above a certain version to match the application being deployed

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following are tasks that terraform apply can perform? (select three)

  • import existing infrastructure

  • provision new infrastructure

  • update existing infrastructure with new configurations

  • destroy infrastructure previously deployed with Terraform

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Your organization has multiple engineers that have permission to manage Terraform as well as administrative access to the public cloud where these resources are provisioned. If an engineer makes a change outside of Terraform, what command can you run to detect drift and update the state file?

  • terraform get

  • terraform init

  • terraform state list

  • terraform apply -refresh-only

5.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Infrastructure as Code (IaC) provides many benefits to help organizations deploy application infrastructure much faster than manually clicking in the console. Which is NOT an additional benefit to IaC?

  • allows infrastructure to be versioned

  • eliminates API communication to the target platform

  • code can easily be shared and reused

  • creates self-documenting infrastructure

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Rather than having to scan and inspect every resource on every run, Terraform relies on what feature to help manage resources?

  • local variables

  • state

  • providers

  • environment variables

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What feature does Terraform use to map configuration to resources in the real world?

  • state

  • parallelism

  • resource blocks

  • local variables

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?