20 Questions
Which command in Terraform terminates resources?
terraform destroy
What happens after running the terraform apply command?
Objects are maintained in a state file
What role does the state file play in Terraform?
It determines the order of resource creation
What happens if a resource is not in the state file?
It will remain unchanged
What should be done after running the terraform destroy command?
Manually terminate all Linux instances
What options are available in AWS CloudShell for editing Terraform files?
Download file and Upload file
Where are uploaded files stored in AWS CloudShell?
/home/cloudshell-user directory
What command is used to move files from CloudShell to the Terraform directory?
mv
What should be done to update files in CloudShell?
Use the Upload file option
What should be done after moving files from CloudShell to the Terraform directory?
Delete the files in CloudShell
Which tool can be used for performing Terraform work in Azure?
Azure Cloud Shell
What must be done the first time you access Azure Cloud Shell?
Configure storage settings
What is the purpose of Azure Open editor tool?
To view and edit Terraform files
How can you accept the terms for the FortiGate PAYG or BYOL image in the Azure Marketplace?
By running commands in Azure Cloud Shell
What should you do if you have never deployed any FortiGate VMs in your Azure account?
Accept the terms for the FortiGate PAYG image
What can you do with Azure Cloud Shell?
View and edit Terraform files
What is included with every Azure account?
Azure Cloud Shell
What is the purpose of running commands in Azure Cloud Shell?
To deploy the product through the Azure portal
What is the benefit of using Azure Open editor tool?
To view and edit Terraform files
What is required to be done before the first deployment of a FortiGate or FortiAnalyzer in your subscription?
Accept the terms for the FortiGate PAYG image
Test your knowledge on destroying resources using Terraform with this quiz. Learn about the relationship between state files, the terraform destroy command, and the destroy plan review process.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free