nerdexam
CompTIA

CV0-003 · Question #892

After an infrastructure-as-code cloud migration to an laaS environment, the cloud engineer discovers that configurations on DB servers have drifted from the corporate standard baselines. Which of the

The correct answer is A. Utilize a template to automate and update the DB configuration.. A template is a file that defines the desired state and configuration of a cloud resource, such as a server, a network, or a database. Infrastructure as code (IaC) is the practice of using templates to automate and manage cloud resources, rather than manually configuring them. Ia

Operations

Question

After an infrastructure-as-code cloud migration to an laaS environment, the cloud engineer discovers that configurations on DB servers have drifted from the corporate standard baselines. Which of the following should the cloud engineer do to best ensure configurations are restored to the baselines?

Options

  • AUtilize a template to automate and update the DB configuration.
  • BCreate an image of the DB, delete the previous DB server, and restore from the image.
  • CManually log in to the DB servers and update the configurations.
  • DRename and change the IP of the old DB server and rebuild a new DB server.

How the community answered

(34 responses)
  • A
    74% (25)
  • B
    6% (2)
  • C
    6% (2)
  • D
    15% (5)

Explanation

A template is a file that defines the desired state and configuration of a cloud resource, such as a server, a network, or a database. Infrastructure as code (IaC) is the practice of using templates to automate and manage cloud resources, rather than manually configuring them. IaC can help prevent configuration drift, which is the deviation of the actual state of a resource from the desired state defined by the template. In this scenario, the cloud engineer discovers that configurations on DB servers have drifted from the corporate standard baselines after an IaC cloud migration to an IaaS environment. The best way to ensure configurations are restored to the baselines is to utilize a template to automate and update the DB configuration. This way, the cloud engineer can apply the same template to all the DB servers, and ensure they are consistent and compliant with the corporate standards.

Topics

#configuration drift#IaC#baseline enforcement#automation

Community Discussion

No community discussion yet for this question.

Full CV0-003 Practice