ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 3 - NSE7_PBC-7.2 discussion

Report
Export

What are three important steps required to get Terraform ready using Microsoft Azure Cloud Shell? (Choose three.)

A.
Set up a storage account in Azure.
Answers
A.
Set up a storage account in Azure.
B.
use the -O command to download Terraform.
Answers
B.
use the -O command to download Terraform.
C.
Subscribe to Terraform in Azure.
Answers
C.
Subscribe to Terraform in Azure.
D.
Move the Terraform file to the bin directory.
Answers
D.
Move the Terraform file to the bin directory.
E.
Use the wget (te=aform vession) command to upload Terraform.
Answers
E.
Use the wget (te=aform vession) command to upload Terraform.
Suggested answer: A, D, E

Explanation:

To get Terraform ready using Microsoft Azure Cloud Shell, you need to perform the following steps:

Set up a storage account in Azure.This is required to store the Terraform state file in a blob container, which enables collaboration and persistence of the infrastructure configuration1.

Use the wget (terraform_version) command to upload Terraform.This command downloads the latest version of Terraform from the official website and saves it as a zip file in the current directory2.

Move the Terraform file to the bin directory. This step extracts the Terraform executable from the zip file and moves it to the bin directory, which is part of the PATH environment variable.This allows you to run Terraform commands from any directory in Cloud Shell2.

The other options are incorrect because:

You do not need to use the -O command to download Terraform.This command is used to specify a different output file name for the downloaded file, but it is not necessary for this task3.

You do not need to subscribe to Terraform in Azure.Terraform is an open-source tool that can be used with any cloud provider, and there is no subscription or registration required to use it with Azure4.Reference:

Updating the route table and adding an IAM policy

Configure Terraform in Azure Cloud Shell with Bash

wget(1) - Linux man page

Terraform by HashiCorp

asked 18/09/2024
Phillip Doman
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first