Terraform associate exam 101-150
If a module declares a variable with a default, that variable must also be defined within the module.
A. True
B. False
B
Which option cannot be used to keep secrets out of Terraform configuration files?
A. Environment Variables
B. Mark the variable as s...
Terraform associate exam 101-150
If a module declares a variable with a default, that variable must also be defined
within the module.
A. True
B. False
B
Which option cannot be used to keep secrets out of Terraform configuration
files?
A. Environment Variables
B. Mark the variable as sensitive
C. A Terraform provider
D. A -var flag
B
Which of the following arguments are required when declaring a Terraform
output?
A. sensitive
B. description
C. default
D. value
D
Your risk management organization requires that new AWS S3 buckets must be
private and encrypted at rest. How can Terraform Enterprise automatically and
proactively enforce this security control?
A. With a Sentinel policy, which runs before every apply
B. By adding variables to each TFE workspace to ensure these settings are
always enabled
C. With an S3 module with proper settings for buckets
D. Auditing cloud storage buckets with a vulnerability scanning tool
A
Most Terraform providers interact with ____________.
A. API
B. VCS Systems
C. Shell scripts
D. None of the above
A
terraform validate validates that your infrastructure matches the Terraform state
file.
, A. True
B. False
B
What does terraform import allow you to do?
A. Import a new Terraform module
B. Use a state file to import infrastructure to the cloud
C. Import provisioned infrastructure to your state file
D. Import an existing state file to a new Terraform workspace
C
FILL BLANK -
In the below configuration, how would you reference the module output vpc_id?
Type your answer in the field provided. The text field is not case sensitive and all
variations of the correct answer are accepted.
module.vpc.id
How would you reference the Volume IDs associated with the ebs_block_device
blocks in this configuration?
A. aws_instance.example.ebs_block_device.[*].volume_id
B. aws_instance.example.ebs_block_device.volume_id
C. aws_instance.example.ebs_block_device[sda2,sda3].volume_id
D. aws_instance.example.ebs_block_device.*.volume_id
A(57%) - D(43%)
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller LectDan. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $8.99. You're not tied to anything after your purchase.