CDP CDP Release Management & Deployment Pipelines 1 — Questions and Answers
Question 1: Which deployment strategy releases a new version to a small subset of users before a full rollout?
- Blue-green deployment
- Canary deployment (Correct answer)
- Rolling deployment
- Recreate deployment
Correct answer: Canary deployment
Canary deployment gradually shifts a small percentage of traffic to the new version to detect issues before full rollout.
Question 2: In a blue-green deployment, what is the primary role of the 'green' environment?
- It holds the current production traffic
- It is the idle standby running the new version (Correct answer)
- It stores rollback snapshots
- It handles database migrations
Correct answer: It is the idle standby running the new version
In blue-green deployments, 'green' is the new version environment that receives traffic once validated, while 'blue' remains live during testing.
Question 3: What is the purpose of a feature flag in a deployment pipeline?
- To mark a build as production-ready
- To enable or disable features at runtime without redeploying (Correct answer)
- To trigger automated rollback on failure
- To enforce code signing policies
Correct answer: To enable or disable features at runtime without redeploying
Feature flags allow teams to toggle features on or off at runtime, decoupling code deployment from feature release.
Question 4: Which artifact versioning strategy is most commonly recommended for CDP exam release pipelines?
- Date-stamped filenames
- Semantic versioning (SemVer) (Correct answer)
- Random UUID per build
- Branch name as version
Correct answer: Semantic versioning (SemVer)
Semantic versioning (MAJOR.MINOR.PATCH) provides clear intent about the nature of changes and compatibility.
Question 5: What does a 'rollback' in a deployment pipeline refer to?
- Reverting to a previous stable version after a failed release (Correct answer)
- Pausing a pipeline stage for manual approval
- Deleting old Docker images from the registry
- Running regression tests on a new build
Correct answer: Reverting to a previous stable version after a failed release
A rollback restores a previously known-good version when a new release introduces critical issues.
Question 6: Which pipeline stage is specifically responsible for publishing built artifacts to a shared repository?
- Build
- Test
- Publish/Package (Correct answer)
- Deploy
Correct answer: Publish/Package
The Publish or Package stage uploads versioned artifacts (e.g., Docker images, JARs) to an artifact repository for downstream stages to consume.
Which deployment strategy releases a new version to a small subset of users before a full rollout?