NSE 7 – Public Cloud Security 7.2 — Question 15
What are three important steps required to get Terraform ready using Microsoft Azure Cloud Shell? (Choose three.)
Answer options
- A. Use the wget (terraform version) command to upload Terraform.
- B. Move the Terraform file to the bin directory.
- C. Set up a storage account in Azure.
- D. Use the curl -0 (terraform URL) command to download Terraform.
- E. Subscribe to Terraform in Azure.
Correct answer: B, C, D
Explanation
The correct actions to prepare Terraform in Azure Cloud Shell are B, C, and D. Moving the Terraform file to the bin directory (B) ensures it is accessible, setting up a storage account (C) is necessary for state management, and downloading Terraform using curl (D) is required to install it. Options A and E are incorrect as they do not represent necessary steps for this setup.