nerdexam
CompTIA

XK0-005 · Question #348

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…

The correct answer is B. Docker. This question asks for the tool to ensure exact updates and configurations for Ubuntu images in a public cloud, implying a reproducible environment.

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

How the community answered

(48 responses)
  • A
    10% (5)
  • B
    83% (40)
  • C
    4% (2)
  • D
    2% (1)

Why each option

This question asks for the tool to ensure exact updates and configurations for Ubuntu images in a public cloud, implying a reproducible environment.

AAnsible

Ansible is a configuration management tool used for automating provisioning and configuration on existing servers, but not primarily for creating initial, immutable application environments like Docker.

BDockerCorrect

Docker allows administrators to define a consistent, reproducible environment using a Dockerfile, which includes exact updates and custom configurations for Ubuntu-based application images. These Docker images can then be deployed consistently across various hosts, ensuring each instance automatically runs with the specified environment from its build.

CCloud-init

Cloud-init handles early initialization of a cloud instance on first boot, such as setting hostnames and running scripts, but it doesn't create portable, pre-configured images for entire application stacks.

DAnaconda

Anaconda is primarily an installer for Red Hat Enterprise Linux and its derivatives, not a general tool for bootstrapping and automating configuration of Ubuntu images for public providers.

Concept tested: Containerization for reproducible application environments

Source: https://docs.docker.com/get-started/overview/

Topics

#Containerization#Image Management#Automation#Configuration Consistency

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice