InterviewStack.io LogoInterviewStack.io

Configuration Management and Desired State Questions

Configuration Management and Desired State focuses on ensuring systems remain in a known, consistent state across fleets and environments. Candidates should understand desired state configuration, idempotent operations, differences between declarative and imperative approaches, templating and variable management, configuration versioning, change control, validation and rollback strategies, drift detection and automated remediation, handling environment specific configuration, and the interaction between configuration management and operational concerns such as autoscaling. This topic also covers managing test environment configurations and using platform specific configuration systems such as Group Policy to apply and troubleshoot system settings at scale.

MediumTechnical
66 practiced
Design an automated remediation framework that can repair common configuration drift (e.g., package versions, missing services) but avoids interfering with intentional manual changes. Explain how you would handle locking, record change provenance, implement safe backoffs, and enable human approvals for risky remediations.
HardTechnical
68 practiced
You need to serve templated configuration to millions of ephemeral instances per hour. Describe optimizations to minimize latency and CPU cost: precompilation, caching compiled templates, sharding, parallel rendering, low-latency data access, and safe invalidation strategies for updated templates.
HardTechnical
53 practiced
Provide HCL pseudocode and design notes for a Terraform module that manages an autoscaling group but allows an external autoscaler to control desired_capacity. The module must remain idempotent and avoid races with the external autoscaler. Explain use of lifecycle ignore_changes, remote state locking, and ownership signals.
HardSystem Design
70 practiced
A kernel parameter and node OS setting must be changed across a Kubernetes node pool. Nodes host both stateless and stateful workloads. Design a rolling update strategy that applies the node-level change with zero-to-minimal disruption, addresses scheduling capacity, and ensures safe rollback if performance regresses.
MediumTechnical
69 practiced
Design a process to deploy and validate Windows Group Policy Objects (GPOs) to 10,000 enterprise desktops. Include staging strategies, pilot rollouts, methods for troubleshooting conflicting policies (RSoP/GPResult), automated validation, and audit trails to prove compliance.

Unlock Full Question Bank

Get access to hundreds of Configuration Management and Desired State interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.