Question 1 of 30
In a cloud-based infrastructure, a DevOps engineer is tasked with deploying a multi-tier application using Infrastructure as Code (IaC) principles. The application consists of a web server, an application server, and a database server. The engineer decides to use Terraform to manage the infrastructure. After defining the resources in the Terraform configuration files, the engineer runs the `terraform plan` command and notices that the output indicates a change in the state of the database server. What could be the most likely reason for this change, and how should the engineer address it to ensure the infrastructure remains consistent with the desired state?
The database server configuration was modified in the Terraform files, requiring an update to the existing infrastructure.
The database server was manually altered outside of Terraform, leading to a drift in the infrastructure state.
The Terraform state file was corrupted, causing discrepancies in the resource management.
The engineer forgot to initialize the Terraform workspace before running the plan command.