Your application runs on Google Cloud Platform (GCP). You need to implement Jenkins for deploying application releases to GCP. You want to streamline the release process, lower operational toil, and keep user data secure. What should you do?
A.
Implement Jenkins on local workstations.
B.
Implement Jenkins on Kubernetes on-premises
C.
Implement Jenkins on Google Cloud Functions.
D.
Implement Jenkins on Compute Engine virtual machines.
Implement Jenkins on Compute Engine virtual machines.
You are writing a postmortem for an incident that severely affected users. You want to prevent similar incidents in the future. Which two of the following sections should you include in the postmortem? (Choose two.)
A.
An explanation of the root cause of the incident
B.
A list of employees responsible for causing the incident
C.
A list of action items to prevent a recurrence of the incident
D.
Your opinion of the incident’s severity compared to past incidents
E.
Copies of the design documents for all the services impacted by the incident
An explanation of the root cause of the incident
A list of employees responsible for causing the incident
Your application images are built using Cloud Build and pushed to Google Container Registry (GCR). You want to be able to specify a particular version of your application for deployment based on the release version tagged in source control. What should you do when you push the image?
A.
Reference the image digest in the source control tag.
B.
Supply the source control tag as a parameter within the image name.
C.
Use Cloud Build to include the release version tag in the application image.
D.
Use GCR digest versioning to match the image to the tag in source control.
Supply the source control tag as a parameter within the image name.
Explanation: https://cloud.google.com/container-registry/docs/pushing-and-pulling
You use a multiple step Cloud Build pipeline to build and deploy your application to Google
Kubernetes Engine (GKE). You want to integrate with a third-party monitoring platform by
performing a HTTP POST of the build information to a webhook. You want to minimize the
development effort. What should you do?
A.
Add logic to each Cloud Build step to HTTP POST the build information to a webhook.
B.
Add a new step at the end of the pipeline in Cloud Build to HTTP POST the build information to a webhook.
C.
Use Stackdriver Logging to create a logs-based metric from the Cloud Buitd logs. Create an Alert with a Webhook notification type.
D.
Create a Cloud Pub/Sub push subscription to the Cloud Build cloud-builds PubSub topic
to HTTP POST the build information to a webhook.
Create a Cloud Pub/Sub push subscription to the Cloud Build cloud-builds PubSub topic
to HTTP POST the build information to a webhook.
You are responsible for creating and modifying the Terraform templates that define your Infrastructure. Because two new engineers will also be working on the same code, you need to define a process and adopt a tool that will prevent you from overwriting each other's code. You also want to ensure that you capture all updates in the latest version. What should you do?
A.
• Store your code in a Git-based version control system.
• Establish a process that allows developers to merge their own changes at the end of each
day.
• Package and upload code lo a versioned Cloud Storage bucket as the latest master
version.
B.
• Store your code in a Git-based version control system.
• Establish a process that includes code reviews by peers and unit testing to ensure
integrity and functionality before integration of code.
• Establish a process where the fully integrated code in the repository becomes the latest
master version.
C.
• Store your code as text files in Google Drive in a defined folder structure that organizes
the files.
• At the end of each day. confirm that all changes have been captured in the files within the
folder structure.
• Rename the folder structure with a predefined naming convention that increments the
version.
D.
• Store your code as text files in Google Drive in a defined folder structure that organizes
the files.
• At the end of each day, confirm that all changes have been captured in the files within the
folder structure and create a new .zip archive with a predefined naming convention.
• Upload the .zip archive to a versioned Cloud Storage bucket and accept it as the latest
version.
• Store your code in a Git-based version control system.
• Establish a process that includes code reviews by peers and unit testing to ensure
integrity and functionality before integration of code.
• Establish a process where the fully integrated code in the repository becomes the latest
master version.
Page 2 out of 15 Pages |
Previous |