Scenario Based DevOps Interview Questions and Answers 81. How do you rotate service account keys in GCP/Azure? Answer: Automate with GCP IAM key rotation or Azure Key Vault rotation policies → Update CI/CD pipelines to use new keys. 82. How do you troubleshoot DNS issues in Kubernetes? Answer: Run kubectl exec into pod → Test DNS resolution → Check CoreDNS logs → Restart CoreDNS pods → Fix network policies if blocking. 83. How do you monitor CI/CD pipelines? Answer: Export Jenkins/Azure DevOps metrics → Send to Prometheus/Grafana → Add alerts for failed pipelines and long-running jobs. 84. How do you handle Terraform destroying critical resources accidentally? Answer: Use prevent_destroy in Terraform resource → Enable approval stages in pipelines → Use terraform plan before apply. 85. How do you implement blue-green deployment in Azure DevOps? Answer: Use deployment slots (App Service) → Route traffic between slots → Rollback to blue if green fails. 86. How do you investigate high API latency in GCP/Azure APIs? Answer: Check Cloud Trace / Application Insights → Identify slow endpoints → Scale backend pods → Add caching/CDN. 87. How do you implement GitOps in DevOps workflows? Answer: Use ArgoCD/Flux → Keep infra/app configs in Git → Sync automatically with Kubernetes → Rollback by reverting Git commit. 88. How do you debug slow Docker container startup? • Answer: Check image size → Optimize Dockerfile → Preload dependencies → Monitor entrypoint logs. 89. How do you manage multiple Kubernetes clusters securely? Answer: Use Rancher, Anthos, or Azure Arc → Apply consistent RBAC & policies → Centralized monitoring/logging. 90. How do you handle failed Terraform import of resources? Answer: Verify resource ID → Check provider version → Import manually using terraform import → Update .tf code.
Madhuri, your approach to monitoring pipelines reminds me of a Google report showing proactive alerts reduce incident response time by up to 70%. (Source: Google SRE).
Banking Reconciliation - Executive || Rupay and debit card || Dispute Mangement || Reconciliation && Settlement || Merchant Acquiring An Engineer turned into reconciliationist
3wExperience?