热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

Terraform 面试题与答案

相关差异对比

Ansible vs TerraformPuppet vs Terraform

问题 26. Explain the purpose of the 'terraform output' command.

'terraform output' is used to display the values of output variables defined in the Terraform configuration. It helps retrieve information about the infrastructure after it's created.

这有帮助吗? 添加评论 查看评论
 

问题 27. How do you manage different environments (dev, prod) in Terraform?

Terraform supports workspaces and variable files to manage different environments. Separate configuration files or folders can be used for each environment.

这有帮助吗? 添加评论 查看评论
 

问题 28. Explain the difference between 'resource' and 'data' blocks in Terraform.

A 'resource' block is used to define and create infrastructure resources, while a 'data' block is used to fetch and reference data that already exists, such as information from other resources.

这有帮助吗? 添加评论 查看评论
 

问题 29. What is the purpose of 'terraform taint'?

'terraform taint' marks a resource instance as tainted, indicating that it should be destroyed and recreated on the next 'terraform apply'.

这有帮助吗? 添加评论 查看评论
 

问题 30. How can you manage secret data in Terraform Cloud?

In Terraform Cloud, you can use the 'sensitive' attribute for variables to mark them as sensitive. Terraform Cloud also provides a secure environment for managing sensitive information.

这有帮助吗? 添加评论 查看评论
 

用户评价最有帮助的内容:

版权所有 © 2026,WithoutBook。