Terraform Quiz

Terraform Quiz

Professional Development

49 Qs

quiz-placeholder

Similar activities

Bhagvad Gita Chapter 1 Know Krishna Know Life

Bhagvad Gita Chapter 1 Know Krishna Know Life

Professional Development

51 Qs

OPS MOCK EXAM

OPS MOCK EXAM

Professional Development

45 Qs

Disaster Risk Management Quiz

Disaster Risk Management Quiz

Professional Development

50 Qs

FASTENERS

FASTENERS

Professional Development

50 Qs

Advance Studies in English Education

Advance Studies in English Education

Professional Development

50 Qs

Summer TTACSCOL Quiz Part A

Summer TTACSCOL Quiz Part A

Professional Development

50 Qs

RUTS EIC Hospitality & Tourism

RUTS EIC Hospitality & Tourism

10th Grade - Professional Development

50 Qs

UNIT - 3 LOGICAL GATES

UNIT - 3 LOGICAL GATES

Professional Development

53 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?