0
0
Terraformcloud~10 mins

Installing Terraform - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the command to download Terraform on Linux using wget.

Terraform
wget [1]
Drag options to blanks, or click blank then click option'
Ahttps://releases.hashicorp.com/terraform/1.5.7/terraform_1.5.7_linux_amd64.zip
Bhttps://example.com/terraform.zip
Chttps://terraform.io/download
Dhttps://hashicorp.com/terraform
Attempts:
3 left
💡 Hint
Common Mistakes
Using a generic or incorrect URL that does not point to the Terraform binary.
Missing the version number in the URL.
2fill in blank
medium

Complete the command to unzip the Terraform binary after download.

Terraform
unzip [1]
Drag options to blanks, or click blank then click option'
Aterraform.zip
Bterraform_1.5.7_linux_amd64.zip
Cterraform_linux.zip
Dterraform_binary.zip
Attempts:
3 left
💡 Hint
Common Mistakes
Using a generic or incorrect filename that does not exist.
Omitting the file extension.
3fill in blank
hard

Fix the error in the command to move Terraform binary to /usr/local/bin.

Terraform
sudo mv [1] /usr/local/bin/terraform
Drag options to blanks, or click blank then click option'
Aterraform.zip
Bterraform_binary
Cterraform_1.5.7_linux_amd64
Dterraform
Attempts:
3 left
💡 Hint
Common Mistakes
Trying to move the zip file instead of the binary.
Using an incorrect filename that does not exist.
4fill in blank
hard

Fill both blanks to verify Terraform installation and check its version.

Terraform
[1] [2]
Drag options to blanks, or click blank then click option'
Aterraform
B-v
C--version
Dversion
Attempts:
3 left
💡 Hint
Common Mistakes
Using '-v' which is not the standard Terraform version flag.
Omitting the command or option.
5fill in blank
hard

Fill all three blanks to add Terraform to PATH temporarily in Linux.

Terraform
export PATH=[1]:[2]/[3]
Drag options to blanks, or click blank then click option'
A$PATH
B/usr/local
Cbin
D/usr/bin
Attempts:
3 left
💡 Hint
Common Mistakes
Overwriting PATH without including the old PATH.
Using wrong directory paths.