Question 1easymultiple choice
Read the full Building and implementing CI/CD pipelines explanation →PCDOE Building and implementing CI/CD pipelines • Complete Question Bank
Complete PCDOE Building and implementing CI/CD pipelines question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit.
```
{
"bindings": [
{
"role": "roles/cloudbuild.builds.builder",
"members": [
"serviceAccount:my-project@cloudbuild.gserviceaccount.com"
]
},
{
"role": "roles/clouddeploy.jobRunner",
"members": [
"serviceAccount:my-project@cloudbuild.gserviceaccount.com"
]
},
{
"role": "roles/clouddeploy.operator",
"members": [
"serviceAccount:my-project@cloudbuild.gserviceaccount.com"
]
}
]
}
```Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
Two identical environments; switch traffic
Gradually replace instances with new version
Route small traffic percentage to new version
Compare two versions based on user metrics
New version receives mirrored traffic without impact
steps: - name: 'gcr.io/cloud-builders/docker' args: ['build', '-t', 'gcr.io/myproject/myimage:$SHORT_SHA', '.'] images: ['gcr.io/myproject/myimage:$SHORT_SHA']
deliveryPipeline:
serialPipeline:
stages:
- targetId: dev
profiles: []
- targetId: prod
profiles: []steps:
- name: 'gcr.io/cloud-builders/gcloud'
args: ['auth', 'configure-docker']
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '-t', 'us-central1-docker.pkg.dev/my-project/my-repo/my-image:${SHORT_SHA}', '.']
- name: 'gcr.io/cloud-builders/docker'
args: ['push', 'us-central1-docker.pkg.dev/my-project/my-repo/my-image:${SHORT_SHA}']
- name: 'gcr.io/cloud-builders/kubectl'
args: ['set', 'image', 'deployment/my-app', 'my-container=us-central1-docker.pkg.dev/my-project/my-repo/my-image:${SHORT_SHA}']
env:
- 'CLOUDSDK_COMPUTE_ZONE=us-central1-a'
- 'CLOUDSDK_CONTAINER_CLUSTER=my-cluster'