exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 8 discussion

Actual exam question from CompTIA's XK0-005
Question #: 8
Topic #: 1
[All XK0-005 Questions]

A systems administrator is deploying three identical, cloud-based servers. The administrator is using the following code to complete the task:

Which of the following technologies is the administrator using?

  • A. Ansible
  • B. Puppet
  • C. Chef
  • D. Terraform
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
Highly Voted 10 months ago
Here is an example code for deploying cloud-based servers using Terraform: provider "aws" { region = "us-west-2" } resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" tags = { Name = "example-instance" } }
upvoted 6 times
linux_admin
10 months ago
In this example, Terraform is used to deploy an Amazon Web Services (AWS) EC2 instance. The first line of the code defines the AWS provider, and the region attribute is set to "us-west-2". The second section of the code defines the aws_instance resource. The ami attribute specifies the Amazon Machine Image (AMI) ID to use, and the instance_type attribute specifies the type of instance to deploy. The tags attribute is used to add a tag to the instance, with the key "Name" and the value "example-instance". This code is a simple example of how Terraform can be used to deploy a cloud-based server. In a real-world scenario, the code would likely be more complex and include additional resources and configuration options, such as security groups, subnets, and more.
upvoted 7 times
...
...
JSHack
Most Recent 1 day, 6 hours ago
Selected Answer: D
This is code used by Terraform.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago