ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 213 - XK0-005 discussion

Report
Export

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 environment. Which of the following tools should be used to meet this requirement?

A.
Ansible
Answers
A.
Ansible
B.
git clone
Answers
B.
git clone
C.
git pull
Answers
C.
git pull
D.
terraform plan
Answers
D.
terraform plan
Suggested answer: D

Explanation:

Terraform is a tool for building, changing, and managing infrastructure as code in a cloud-based environment. Terraform uses configuration files to describe the desired state of the infrastructure and applies changes accordingly. Terraform supports various cloud providers, such as AWS, Azure, Google Cloud Platform, and more.

To validate changes before they are applied to the cloud-based environment, the administrator can use theterraform plancommand. This command will compare the current state of the infrastructure with the desired state defined in the configuration files and show what actions will be performed to achieve the desired state. This command will not make any changes to the infrastructure but only show a plan of changes. The statement D is correct.

The statements A, B, and C are incorrect because they do not validate changes before they are applied to the cloud-based environment. Ansible is another tool for automating infrastructure management, but it does not have a plan command. Git clone and git pull are commands for working with git repositories, which are used for version control of code.Reference: [How to Use Terraform to Manage Cloud Infrastructure]

asked 02/10/2024
Liam Derwin
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first