nerdexam
CompTIA

CV0-002 · Question #1

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…

The correct answer is C. Validate the access credentials for the cloud provider are correct. The administrator's script, intended for finance applications, caused outages in e-commerce, indicating an issue with how the script accesses or targets environments. The root cause is likely improper access credentials causing the script to act on the wrong environment.

Troubleshooting

Question

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?

Options

  • AUpdate the version of the CLI tool for the public cloud provider.
  • BCopy the script up to a bastion host in the environment and run it from there.
  • CValidate the access credentials for the cloud provider are correct.
  • DDebug the script and modify it to remove the flawed logic.

How the community answered

(40 responses)
  • A
    3% (1)
  • B
    13% (5)
  • C
    80% (32)
  • D
    5% (2)

Why each option

The administrator's script, intended for finance applications, caused outages in e-commerce, indicating an issue with how the script accesses or targets environments. The root cause is likely improper access credentials causing the script to act on the wrong environment.

AUpdate the version of the CLI tool for the public cloud provider.

Updating the CLI tool version is unlikely to fix a credential-related targeting issue, as it pertains to the tool's functionality, not its access scope.

BCopy the script up to a bastion host in the environment and run it from there.

Running the script from a bastion host does not alter the target environment or the permissions under which the script operates, which is the core problem.

CValidate the access credentials for the cloud provider are correct.Correct

If the script affected the e-commerce environment instead of or in addition to finance, it suggests the credentials used by the script had permissions for e-commerce or were configured to target it. Validating these credentials ensures the script uses the correct identity and scope for the intended finance environment, preventing unintended actions on e-commerce.

DDebug the script and modify it to remove the flawed logic.

Debugging flawed logic is relevant if the script's internal operations were incorrect, but the issue here is about which environment was affected, pointing to a targeting or authentication problem.

Concept tested: Cloud script access and credential scope

Source: https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/secure/identity-access-management

Topics

#scripting#automation failure#access credentials#troubleshooting scripts

Community Discussion

No community discussion yet for this question.

Full CV0-002 Practice