A logistics organization is updating its regional fleet tracking API service, which runs on Compute Engine Managed Instance Groups (MIGs) managed by an automated Infrastructure as Code (IaC) continuous delivery pipeline. The team needs to ensure zero-downtime rolling updates while maintaining release reliability, state consistency, and security. Which deployment and pipeline configuration should the team implement?
- Configure a dedicated shallow HTTP health check endpoint for the load balancer, maintain Terraform state in a centralized versioned Cloud Storage bucket, and assign least-privilege IAM roles to the CI/CD service account.Cevap
- BConfigure load balancer health checks to perform deep database query checks on backend instances, maintain Terraform state in a centralized versioned Cloud Storage bucket, and assign least-privilege IAM roles to the CI/CD service account.
- CConfigure a dedicated shallow HTTP health check endpoint for the load balancer, maintain Terraform state on the ephemeral local runner disk of the CI/CD host, and assign least-privilege IAM roles to the CI/CD service account.
- DConfigure a dedicated shallow HTTP health check endpoint for the load balancer, maintain Terraform state in a centralized versioned Cloud Storage bucket, and grant the primitive Owner role to the CI/CD service account to eliminate deployment failures.
Cevap
Configure a dedicated shallow HTTP health check endpoint for the load balancer, maintain Terraform state in a centralized versioned Cloud Storage bucket, and assign least-privilege IAM roles to the CI/CD service account.
The combination of shallow HTTP health checks, a centralized versioned Cloud Storage backend for Terraform state, and least-privilege IAM roles ensures zero-downtime rolling updates, protects infrastructural state integrity, and complies with enterprise security controls.
Adım Adım Çözüm
Anahtar Kavram
Reliable deployment release engineering combining shallow health checks, secure IaC state management, and least-privilege access controls.