ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 20 - XK0-005 discussion

Report
Export

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
Answers
A.
Ansible
B.
Puppet
Answers
B.
Puppet
C.
Chef
Answers
C.
Chef
D.
Terraform
Answers
D.
Terraform
Suggested answer: D

Explanation:

The code snippet is written in Terraform language, which is a tool for building, changing, and versioning infrastructure as code. Terraform uses a declarative syntax to describe the desired state of the infrastructure and applies the changes accordingly. The code defines a resource of type aws_instance, which creates an AWS EC2 instance, and sets the attributes such as the AMI ID, instance type, security group IDs, and key name. The code also uses a count parameter to create three identical instances and assigns them different names using the count.index variable. This is the correct technology that the administrator is using. The other options are incorrect because they use different languages and syntaxes for infrastructure as code. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 19: Managing Cloud and Virtualization Technologies, page 559.

asked 02/10/2024
Ivan Dujmic
52 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first