CompTIA Cloud+ (CV0-003) — Question 72

A web application has been configured to use auto-scaling for provisioning and deprovisioning more VMs according to the workload. The systems administrator deployed a new Cl/CD tool to automate new releases of the web application. During the night, a script was deployed and configured to be executed by the VMs during bootstrapping. Now, the auto-scaling configuration is creating a new VM every five minutes. Which of the following actions will MOST likely resolve the issue?

Answer options

Correct answer: B

Explanation

The correct answer is B because debugging the script will address the root cause of the issue causing the new VMs to be provisioned frequently. The other options do not solve the underlying problem; reducing the maximum threshold (A) may temporarily alleviate the symptom but does not fix the script, while changing the automation tool (C) and modifying the script to shut down the VM (D) do not directly resolve the issue with the script itself.