Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
HashiCorp Certified: Terraform Associate (003) · HashiCorp
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The answer is C. While all 4 are valid functions, the question is with regards to "STRING" function. "slice" is meant for collections. https://developer.hashicorp.com/terraform/language/functions/slice
slice extracts some consecutive elements from within a list. https://developer.hashicorp.com/terraform/language/functions/slice
terraform does support the other functions.