Posts

Showing posts from March 1, 2021

Scenario-Based interview DevOps - 2

7. Handling Configuration Drift Scenario: You’ve noticed that the configurations of your production servers have drifted from the configuration defined in your Infrastructure as Code (IaC) scripts. How would you address this issue? Answer: I would: Identify Drift : Use configuration management tools (e.g., Terraform, Ansible) to detect and compare the current configurations against the desired state. Reconcile Drift : Apply the IaC scripts or configuration management tool to bring the servers back in line with the defined configurations. Investigate Cause : Investigate why the drift occurred (e.g., manual changes, untracked modifications) and address the root cause to prevent future drifts. Implement Policies : Enforce policies or controls that prevent unauthorized changes to configurations, such as using version control and restricting direct access to servers. Automate : Automate the reconciliation process to regularly check and correct configuration drift. 8. Managing Dependency C...