CompTIA Cloud+ (CV0-002) — Question 21
׀ cloud administrator uses a script to automatically restart all the servers running in the public cloud provider environment, which hosts e-commerce applications.
The administrator decides to implement the same script for a similar environment that hosts the finance applications. After verifying the script is deployed to the public cloud environment for finance, the administrator schedules a job to run at 9:00 a.m. After 9:00 a.m., the administrator receives a report from the e- commerce team that the application is experiencing outages. Which of the following should the administrator do to resolve the issue?
Answer options
- A. Update the version of the CLI tool for the public cloud provider.
- B. Copy the script up to a bastion host in the environment and run it from there.
- C. Validate the access credentials for the cloud provider are correct.
- D. Debug the script and modify it to remove the flawed logic.
Correct answer: C
Explanation
The correct answer is C because validating the access credentials ensures that the script has the necessary permissions to operate in the environment. If the credentials are incorrect, the script may fail to execute properly, causing outages. The other options do not directly address the root cause related to access permissions.