- (Exam Topic 1)
What features does the hosted service Terraform Cloud provide? (Choose two.)
Correct Answer:
CD
https://www.terraform.io/enterprise/admin/infrastructure/backup-restore
- (Exam Topic 4)
A single terraform resource file that defines an aws_instance resource can simple be renamed to azurerm_virtual_machine in order to switch cloud providers
Correct Answer:
B
Providers usually require some configuration of their own to specify endpoint URLs, regions, authentication settings.
Providers Initialization can be done by either explicitly via a provider block or by adding a resource from that provide
https://www.terraform.io/docs/configuration/providers.html
- (Exam Topic 4)
You need to migrate a workspace to use a remote backend. After updating your configuration, what command do you run to perform the migration?
Type your answer in the field provided. The text field is not case-sensitive and all variations of the correct answer are accepted.
Solution:
Once you have authenticated to Terraform Cloud, you're ready to migrate your local state file to Terraform Cloud. To begin the migration, reinitialize. This causes Terraform to recognize your cloud block configuration.
Does this meet the goal?
Correct Answer:
A
- (Exam Topic 4)
What does terraform import allow you to do?
Correct Answer:
C
- (Exam Topic 4)
As a member of an operations team that uses infrastructure as code (laC) practices, you are tasked with making a change to an infrastructure stack running in a public cloud. Which pattern would follow laC best practices for making a change?
Correct Answer:
C