Question 1
Topic: Infrastructure as Code (IaC) with Terraform
Skill tested: Select service-agnostic Terraform patterns for consistent multi-cloud infrastructure.
A media company operates workloads in two public clouds and a private virtualization environment. Teams want to standardize configuration and review workflows, but they accept that provider-specific resource details will remain different. They also want to reuse policy and deployment logic without building a custom abstraction layer that hides cloud capabilities. Which approach best meets these requirements?
Terraform uses provider-specific resource types to interact with each platform; it does not translate one provider's resources into another's. Teams can still share service-agnostic practices such as module interfaces, variable conventions, and workflow automation while using appropriate provider resources for each environment. Separate configurations may be sensible in some cases but need not prevent shared modules or processes. Provisioners are not a substitute for provider-managed resources and generally provide less reliable lifecycle management.