CompTIA Linux+ (XK0-005) — Question 120

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

Answer options

Correct answer: A

Explanation

Cloud-init is specifically designed to automate the initialization and configuration of cloud instances during provisioning, making it the ideal choice for installing packages. While Bash can be used for scripting commands, it does not handle the provisioning process as effectively as Cloud-init. Docker is a container management tool and Sidecar refers to a design pattern, neither of which are suited for VM provisioning tasks.