A systems administrator is tasked with creating a cloud-based server with a public IP address. The code is as follows: Which of the following technologies did the systems administrator use to complete this task?
The technology used by the systems administrator in this task is Ansible.
The code is written in YAML and is using an Ansible module, specifically the "community.abc.ec2_instance" module, to create a cloud-based server with a public IP address. The "community.abc.ec2_instance" module is part of the Ansible community collection and provides the ability to manage Amazon Web Services (AWS) Elastic Compute Cloud (EC2) instances.
The code sets various parameters, such as the instance name, the SSH key, the subnet ID, the instance type, the security group, and the image ID. The "assign_public_ip" option is set to "true", which specifies that the created instance should have a public IP address.
So, in this scenario, the systems administrator used Ansible to automate the creation of a cloud-based server with a public IP address.
The code snippet provided is written in YAML and is used to define the creation of a cloud-based server instance. The syntax and structure are indicative of a playbook used by a configuration management and automation tool.
The correct technology that the systems administrator used to complete this task is:
C. Ansible
This can be determined by the format of the playbook and the use of modules such as community.aws.ec2_instance which are commonly used in Ansible for managing AWS resources.
So, the correct answer is C. Ansible.
This looks more like ansible than terraform? I was googling ansible and the syntax looks like an ansible playbook and not a terraform config file.
upvoted 3 times
...
This section is not available anymore. Please use the main Exam Page.XK0-005 Exam Questions
Log in to ExamTopics
Sign in:
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.
linux_admin
Highly Voted 2 years, 6 months agoAj26a
Most Recent 1 year, 2 months agoAlizadeh
2 years agoNvoid
2 years, 8 months agoNvoid
2 years, 8 months agoMrGykz
2 years, 9 months agobjornborg
2 years, 9 months agodrewbaby
1 year, 9 months agoTheRealManish
2 years, 9 months ago