• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 11 pages
Exam (elaborations)

Terraform associate exam 101-150

Document preview thumbnail
Preview 2 out of 11 pages

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.

Content preview

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%)

Document information

Uploaded on
February 21, 2024
Number of pages
11
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$10.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EXAMSMART
3.7
(3)
Sold
11
Followers
3
Items
3778
Last sold
5 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions