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.
Question 34 of 112
Free Preview · 112 of 371 · questions 1–112 of 371 are free. Sign up free to sync your progress across devices.
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.