XK0-005 · Question #1576
A systems administrator is adding a Linux-based server and removing a Windows-based server from a cloud-based environment. The changes need to be validated before they are applied to the cloud-based…
The correct answer is D. terraform plan. 'terraform plan' is specifically designed to preview infrastructure changes before applying them. It reads the Terraform configuration, compares it against the current state, and produces a detailed execution plan showing exactly what will be created, modified, or destroyed…
Question
Options
- AAnsible
- Bgit clone
- Cgit pull
- Dterraform plan
How the community answered
(18 responses)- A6% (1)
- C11% (2)
- D83% (15)
Explanation
'terraform plan' is specifically designed to preview infrastructure changes before applying them. It reads the Terraform configuration, compares it against the current state, and produces a detailed execution plan showing exactly what will be created, modified, or destroyed - without making any actual changes. This is exactly what is needed to validate adding a Linux server and removing a Windows server before committing. Ansible is a configuration management and automation tool, not an infrastructure provisioning tool with a built-in dry-run preview for cloud resources. 'git clone' and 'git pull' are version control operations that retrieve code from a repository but do not validate infrastructure changes.
Topics
Community Discussion
No community discussion yet for this question.