Correct Answer: Reads a local file and renders it with variable substitutions using HCL template syntax
`templatefile(path, vars)` reads a file (e.g., a user data script or config template) and replaces `${var_name}` placeholders with values from the `vars` map. It returns the render...
Correct Answer
Reads a local file and renders it with variable substitutions using HCL template syntax
Why This Answer Is Correct
`templatefile(path, vars)` reads a file (e.g., a user data script or config template) and replaces `${var_name}` placeholders with values from the `vars` map. It returns the rendered string. Commonly used for EC2 user data scripts, Kubernetes manifests, and config files. The template file itself is NOT a Terraform-managed resource — it's just read at plan/apply time from your local filesystem.
You are designing an AI solution that uses Azure Cognitive Search. You need to ensure that the search results include text that is contained within images in PDF documents. Which cognitive skill should you add to the skillset?
You are building a chatbot using the Bot Framework Composer. You want to implement a feature that allows the bot to hand off the conversation to a human agent when it cannot handle a user's request. Which service should you integrate with?
You deploy a custom vision model to an edge device. You need to ensure that the model is updated automatically whenever a new version is published in the Azure Custom Vision service. What should you use?
You need to create a knowledge base for QnA Maker that supports multiple languages. You plan to use the 'chitchat' personality. What is the limitation you must consider?
You are developing an application that uses the Face API to identify users. You want to ensure that the application does not store the original images used for identification. What should you store instead?