CDP CDP Release Management & Deployment Pipelines 2 — Questions and Answers
Question 1: What is a 'deployment gate' (quality gate) in a CD pipeline?
- A firewall rule applied at deployment time
- An automated checkpoint that must pass before advancing to the next stage (Correct answer)
- A manual sign-off step by the product owner
- A DNS cutover mechanism
Correct answer: An automated checkpoint that must pass before advancing to the next stage
Deployment gates are automated checks (tests, policy scans, health checks) that must succeed before a pipeline proceeds to the next environment.
Question 2: In release management, what does 'change freeze' mean?
- Locking configuration files in version control
- A period during which no new changes are deployed to production (Correct answer)
- Disabling auto-scaling during peak load
- Archiving old release branches
Correct answer: A period during which no new changes are deployed to production
A change freeze is a planned window where deployments are halted to reduce risk, often around holidays or major business events.
Question 3: Which tool is most commonly used to define multi-stage deployment pipelines as code in enterprise DevOps?
- Ansible
- Jenkins with Jenkinsfile (Correct answer)
- Terraform
- Nagios
Correct answer: Jenkins with Jenkinsfile
Jenkins with a Jenkinsfile allows pipeline-as-code, defining all stages, steps, and gates in a version-controlled file.
Question 4: What is the main benefit of using an artifact repository such as Nexus or Artifactory?
- Replacing source control for code storage
- Centralizing versioned build artifacts for consistent deployments (Correct answer)
- Monitoring application performance in production
- Managing user access to cloud infrastructure
Correct answer: Centralizing versioned build artifacts for consistent deployments
Artifact repositories store and version built artifacts so every deployment uses the exact same tested binary, ensuring consistency.
Question 5: What does 'environment parity' mean in a DevOps deployment pipeline?
- All environments have equal CPU and RAM
- Dev, staging, and production environments are as identical as possible (Correct answer)
- All team members have equal deployment permissions
- Pipeline stages run in parallel
Correct answer: Dev, staging, and production environments are as identical as possible
Environment parity minimizes 'works on my machine' issues by keeping dev, staging, and production configurations as similar as possible.
Question 6: Which metric measures the frequency at which an organization successfully deploys to production?
- Mean Time to Recovery (MTTR)
- Change Failure Rate
- Deployment Frequency (Correct answer)
- Lead Time for Changes
Correct answer: Deployment Frequency
Deployment Frequency is one of the four DORA metrics that measures how often a team deploys working software to production.
What is a 'deployment gate' (quality gate) in a CD pipeline?