nerdexam
CompTIACompTIA

XK0-005 · Question #1343

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

The correct answer is B: Docker. Cloud-init is the essential tool for automatically performing initial configuration tasks, such as applying updates and custom configuration files, on cloud instances during their first boot.

Scripting, Containers, and Automation

Question

A system administrator needs to bootstrap a series of Ubuntu images for a public provider. The administrator must ensure at the images contain the exact same updates, custom. Configure files after their first and then automatically. Which of the following tools the administrator user?

Options

  • AAnsible
  • BDocker
  • CCloud-init
  • DAnaconda

Explanation

Cloud-init is the essential tool for automatically performing initial configuration tasks, such as applying updates and custom configuration files, on cloud instances during their first boot.

Common mistakes.

  • A. Ansible is a configuration management tool used to automate configurations after a system is booted and reachable, not for initial bootstrapping during the first boot cycle.
  • B. Docker is a containerization platform used for packaging and running applications in isolated environments, not for bootstrapping or configuring virtual machine images themselves.
  • D. Anaconda is the installer program used by Red Hat-based Linux distributions (e.g., Fedora, CentOS), not Ubuntu, and is for initial operating system installation, not post-first-boot configuration.

Concept tested. Cloud instance initialization/bootstrapping (cloud-init)

Reference. https://cloudinit.readthedocs.io/en/latest/

Topics

#Docker#Containerization#Image Management#Automation

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions