Google Professional Cloud DevOps Engineer Exam Practice Questions (P. 5)
- Full Access (196 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #21
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?
- AReference the image digest in the source control tag.
- BSupply the source control tag as a parameter within the image name.
- CUse Cloud Build to include the release version tag in the application image.Most Voted
- DUse GCR digest versioning to match the image to the tag in source control.
Correct Answer:
C
C

Option C, which involves using Cloud Build to include the release version tag in the application image, provides a streamlined way to manage deployments. This method automates the process of tagging, ensuring that each build corresponds accurately with its source control tag. Automating the tag inclusion minimizes human error and simplifies tracking application versions directly related to their source revisions. This practice enhances consistency in deployment practices and aligns with best DevOps practices for maintaining reproducibility and traceability throughout the software development lifecycle.
send
light_mode
delete
Question #22
You are on-call for an infrastructure service that has a large number of dependent systems. You receive an alert indicating that the service is failing to serve most of its requests and all of its dependent systems with hundreds of thousands of users are affected. As part of your Site Reliability Engineering (SRE) incident management protocol, you declare yourself Incident Commander (IC) and pull in two experienced people from your team as Operations Lead (OL) and
Communications Lead (CL). What should you do next?
Communications Lead (CL). What should you do next?
- ALook for ways to mitigate user impact and deploy the mitigations to production.
- BContact the affected service owners and update them on the status of the incident.
- CEstablish a communication channel where incident responders and leads can communicate with each other.Most Voted
- DStart a postmortem, add incident information, circulate the draft internally, and ask internal stakeholders for input.
Correct Answer:
C
C

Establishing a solid communication channel is crucial immediately after setting up your incident response roles. This enables the Incident Commander and all responders to efficiently coordinate and update each other, thus managing the situation dynamically and effectively. Immediate and clear communication among the team is foundational before moving to other tasks like mitigations or contacting affected service owners, ensuring everyone is on the same page during the crisis management process. This approach forms the first line of organized response in a high-pressure scenario ensuring timely and coordinated efforts to address the incident.
send
light_mode
delete
Question #23
You are developing a strategy for monitoring your Google Cloud Platform (GCP) projects in production using Stackdriver Workspaces. One of the requirements is to be able to quickly identify and react to production environment issues without false alerts from development and staging projects. You want to ensure that you adhere to the principle of least privilege when providing relevant team members with access to Stackdriver Workspaces. What should you do?
- AGrant relevant team members read access to all GCP production projects. Create Stackdriver workspaces inside each project.
- BGrant relevant team members the Project Viewer IAM role on all GCP production projects. Create Stackdriver workspaces inside each project.
- CChoose an existing GCP production project to host the monitoring workspace. Attach the production projects to this workspace. Grant relevant team members read access to the Stackdriver Workspace.
- DCreate a new GCP monitoring project and create a Stackdriver Workspace inside it. Attach the production projects to this workspace. Grant relevant team members read access to the Stackdriver Workspace.Most Voted
Correct Answer:
C
C
send
light_mode
delete
Question #24
You currently store the virtual machine (VM) utilization logs in Stackdriver. You need to provide an easy-to-share interactive VM utilization dashboard that is updated in real time and contains information aggregated on a quarterly basis. You want to use Google Cloud Platform solutions. What should you do?
- A1. Export VM utilization logs from Stackdriver to BigQuery. 2. Create a dashboard in Data Studio. 3. Share the dashboard with your stakeholders.Most Voted
- B1. Export VM utilization logs from Stackdriver to Cloud Pub/Sub. 2. From Cloud Pub/Sub, send the logs to a Security Information and Event Management (SIEM) system. 3. Build the dashboards in the SIEM system and share with your stakeholders.
- C1. Export VM utilization logs from Stackdriver to BigQuery. 2. From BigQuery, export the logs to a CSV file. 3. Import the CSV file into Google Sheets. 4. Build a dashboard in Google Sheets and share it with your stakeholders.
- D1. Export VM utilization logs from Stackdriver to a Cloud Storage bucket. 2. Enable the Cloud Storage API to pull the logs programmatically. 3. Build a custom data visualization application. 4. Display the pulled logs in a custom dashboard.
Correct Answer:
A
A
send
light_mode
delete
Question #25
You need to run a business-critical workload on a fixed set of Compute Engine instances for several months. The workload is stable with the exact amount of resources allocated to it. You want to lower the costs for this workload without any performance implications. What should you do?
- APurchase Committed Use Discounts.Most Voted
- BMigrate the instances to a Managed Instance Group.
- CConvert the instances to preemptible virtual machines.
- DCreate an Unmanaged Instance Group for the instances used to run the workload.
Correct Answer:
C
Reference:
https://cloud.google.com/compute/docs/faq
C
Reference:
https://cloud.google.com/compute/docs/faq
send
light_mode
delete
All Pages