nerdexam
CompTIACompTIA

XK0-005 · Question #531

XK0-005 Question #531: Real Exam Question with Answer & Explanation

The correct answer is A: Cloud-init. The cloud engineer should use cloud-init to install packages during VM provisioning. Cloud-init is a tool that allows the customization of cloud instances at boot time. Cloud-init can perform various tasks, such as setting the hostname, creating users, installing packages, config

Scripting, Containers, and Automation

Question

A cloud engineer is installing packages during VM provisioning. Which of the following should the engineer use to accomplish this task?

Options

  • ACloud-init
  • BBash
  • CDocker
  • DSidecar

Explanation

The cloud engineer should use cloud-init to install packages during VM provisioning. Cloud-init is a tool that allows the customization of cloud instances at boot time. Cloud-init can perform various tasks, such as setting the hostname, creating users, installing packages, configuring network, and running scripts. Cloud-init can work with different cloud platforms and Linux distributions. This is the correct tool to accomplish the task.

Topics

#Cloud-init#VM provisioning#Automation#Package management

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions