🔍 Ctrl+K
🚀 CI/CD Golden Questionnaire July 2026 • 12 Questions

CI/CD Pipeline Q&A

Covers CI/CD pipelines, Pull Requests, environment management, unit testing, secrets management, Infrastructure as Code, deployment strategies, approval gates, monitoring, and more.

Source: GOLDEN_QUESTIONNAIRE_JULY_2026.pdf • Answers are hidden — click a question to reveal its full interview answer. Use bookmarks + Mark as Complete to track prep.

🟡 Intermediate
Q1

What happens when a developer raises a Pull Request?

click to reveal answer
▶

Interview Answer: When a developer raises a Pull Request, the CI pipeline is triggered automatically. It runs code quality checks, unit tests, SQL validation, PySpark tests, and Airflow DAG validation. If all tests pass and the PR is approved, the code is merged into the main branch and becomes ready for deployment.

🟡 Intermediate
Q2

Why do we use separate Dev, QA, and Production environments?

click to reveal answer
▶

Interview Answer: Separate environments help us test code safely before releasing it to users. Developers make changes in Dev, testers validate them in QA, and only approved code is deployed to Production. This reduces the risk of production failures and improves software quality.

🟡 Intermediate
Q3

What happens if unit tests fail during CI?

click to reveal answer
▶

Interview Answer: If unit tests fail, the CI pipeline stops immediately and the code is not deployed further. The developer checks the test logs, fixes the issue, and pushes the updated code. The pipeline is then triggered again until all tests pass.

🟡 Intermediate
Q4

Why should secrets never be stored in Git?

click to reveal answer
▶

Interview Answer: Secrets such as passwords, API keys, and database credentials should never be stored in Git because they can be exposed to unauthorized users. Instead, we use AWS Secrets Manager, Parameter Store, or Azure Key Vault to securely manage sensitive information.

🟡 Intermediate
Q5

What is the benefit of Infrastructure as Code (IaC)?

click to reveal answer
▶

Interview Answer: Infrastructure as Code allows us to create and manage cloud resources using code instead of manually creating them. Tools like Terraform and AWS CDK help automate infrastructure deployment. This provides consistency, version control, and faster deployments.

🟡 Intermediate
Q6

How do you deploy the same code to multiple environments?

click to reveal answer
▶

Interview Answer: We use the same application code across all environments and change only the configuration values. Parameters such as S3 buckets, database names, IAM roles, and secrets are stored separately for Dev, QA, and Production. This makes deployments safer and easier to maintain.

🟡 Intermediate
Q7

What is the purpose of approval gates in Production?

click to reveal answer
▶

Interview Answer: Approval gates ensure that production deployment happens only after manual approval. Before approving, we verify test results, deployment logs, and release notes. This reduces the risk of deploying incorrect or unstable code to production.

🟡 Intermediate
Q8

How do you ensure safe production deployment?

click to reveal answer
▶

Interview Answer: Before deployment, I make sure all unit tests, integration tests, and data quality checks have passed. I also validate the deployment in Dev and QA environments. If required, I keep a rollback plan ready in case any production issue occurs.

🟡 Intermediate
Q9

How do you monitor a pipeline after deployment?

click to reveal answer
▶

Interview Answer: After deployment, I monitor CloudWatch logs, Glue job status, Airflow DAG runs, execution time, and failure alerts. I also compare source and target record counts to verify successful data processing. Any failures are immediately notified to the support team.

🟡 Intermediate
Q10

What are some common production issues in CI/CD?

click to reveal answer
▶

Interview Answer: Common production issues include failed unit tests, missing Python packages, IAM permission errors, broken Airflow DAGs, schema mismatches, and incorrect environment variables. I troubleshoot these issues using pipeline logs, fix the root cause, and redeploy the application.

🟡 Intermediate
Q11

What is the role of Git in CI/CD?

click to reveal answer
▶

Interview Answer: Git is used as the version control system to manage source code. Developers create feature branches, commit changes, and raise Pull Requests. Whenever code is merged into the main branch, the CI/CD pipeline is automatically triggered for testing and deployment.

🟡 Intermediate
Q12

How do you reduce deployment failures?

click to reveal answer
▶

Interview Answer: I reduce deployment failures by using automated testing, code reviews, environment-specific configurations, and proper secret management. I also validate deployments in Dev and QA before moving them to Production. This ensures stable and reliable deployments.

← All Interview Lessons 🏠 Hub Home