100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Terraform associate exam 101-150 $8.99   Add to cart

Exam (elaborations)

Terraform associate exam 101-150

 0 view  0 purchase
  • Course
  • Institution

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...

[Show more]

Preview 2 out of 11  pages

  • January 19, 2024
  • 11
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
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?

module "vpc" {
source = "terraform-and-modules/vpc/aws"
cidr = "10.0.0.0/16"
name = "test-vpc".
}

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?

resource "aws_instance" "example" {
ami = "ami-abc123"
instance_type = "t2.micro"
}

ebs_block_device {
device_name = "sda2"
volume_size = 16
}

ebs_block_device {
device_name = "sda3"
volume_size = 20
}

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

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

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

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.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

83637 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$8.99
  • (0)
  Add to cart