Pass Your Google Exam with Professional-Cloud-DevOps-Engineer Exam Dumps (Updated 208 Questions) [Q32-Q54] | DumpsMaterials

Pass Your Google Exam with Professional-Cloud-DevOps-Engineer Exam Dumps (Updated 208 Questions) [Q32-Q54]

Share

Pass Your Google Exam with Professional-Cloud-DevOps-Engineer Exam Dumps (Updated 208 Questions)

Professional-Cloud-DevOps-Engineer Exam Dumps - Google Practice Test Questions


To be eligible to take the Professional-Cloud-DevOps-Engineer certification exam, candidates must have at least three years of experience in software development, DevOps, or system administration. They must also have experience using Google Cloud Platform services and be proficient in at least one programming language.

 

NEW QUESTION # 32
You encounter a large number of outages in the production systems you support. You receive alerts for all the outages that wake you up at night. The alerts are due to unhealthy systems that are automatically restarted within a minute. You want to set up a process that would prevent staff burnout while following Site Reliability Engineering practices. What should you do?

  • A. Distribute the alerts to engineers in different time zones.
  • B. Create an incident report for each of the alerts.
  • C. Eliminate unactionable alerts.
  • D. Redefine the related Service Level Objective so that the error budget is not exhausted.

Answer: C

Explanation:
Eliminate bad monitoring : Unactionable alerts (i.e., spam)https://cloud.google.com/blog/products
/management-tools/meeting-reliability-challenges-with-sre-principles
agree with kyubiblaze about having to remove unactionable items aka spam: "good monitoring alerts on actionable problems" @https://cloud.google.com/blog/products/management-tools/meeting-reliability- challenges-with-sre-principles


NEW QUESTION # 33
You recently noticed that one of your services has exceeded the error budget for the current rolling window period. Your company's product team is about to launch a new feature. You want to follow Site Reliability Engineering (SRE) practices. What should you do?

  • A. Look through other metrics related to the product and find SLOs with remaining error budget. Reallocate the error budgets and allow the feature launch.
  • B. Escalate the situation and request additional error budget.
  • C. Notify the team that their error budget is used up. Negotiate with the team for a launch freeze or tolerate a slightly worse user experience.
  • D. Notify the team about the lack of error budget and ensure that all their tests are successful so the launch will not further risk the error budget.

Answer: C


NEW QUESTION # 34
Your organization is starting to containerize with Google Cloud. You need a fully managed storage solution for container images and Helm charts. You need to identify a storage solution that has native integration into existing Google Cloud services, including Google Kubernetes Engine (GKE), Cloud Run, VPC Service Controls, and Identity and Access Management (IAM). What should you do?

  • A. Use Docker to configure a Cloud Storage driver pointed at the bucket owned by your organization.
  • B. Configure Artifact Registry as an OCI-based container registry for both Helm charts and container images.
  • C. Configure an open source container registry server to run in GKE with a restrictive role-based access control (RBAC) configuration.
  • D. Configure Container Registry as an OCI-based container registry for container images.

Answer: B


NEW QUESTION # 35
Your company runs services by using multiple globally distributed Google Kubernetes Engine (GKE) clusters Your operations team has set up workload monitoring that uses Prometheus-based tooling for metrics alerts: and generating dashboards This setup does not provide a method to view metrics globally across all clusters You need to implement a scalable solution to support global Prometheus querying and minimize management overhead What should you do?

  • A. Configure workload metrics within Cloud Operations for GKE
  • B. Configure Google Cloud Managed Service for Prometheus
  • C. Configure Prometheus cross-service federation for centralized data access
  • D. Configure Prometheus hierarchical federation for centralized data access

Answer: B

Explanation:
The best option for implementing a scalable solution to support global Prometheus querying and minimize management overhead is to use Google Cloud Managed Service for Prometheus. Google Cloud Managed Service for Prometheus is a fully managed service that allows you to collect, query, and visualize metrics from your GKE clusters using Prometheus-based tooling. You can use Google Cloud Managed Service for Prometheus to query metrics across multiple clusters and regions using a global view. You can also use Google Cloud Managed Service for Prometheus to integrate with other Google Cloud services, such as Cloud Monitoring, Cloud Logging, and BigQuery. By using Google Cloud Managed Service for Prometheus, you can avoid managing and scaling your own Prometheus servers and focus on your application performance.


NEW QUESTION # 36
You are deploying an application to Cloud Run. The application requires a password to start. Your organization requires that all passwords are rotated every 24 hours, and your application must have the latest password. You need to deploy the application with no downtime. What should you do?

  • A. Store the password in Secret Manager and send the secret to the application by using environment variables.
  • B. Store the password directly in the code. Use Cloud Build to rebuild and deploy the application each time the password changes.
  • C. Use Cloud Build to add your password into the application container at build time. Ensure that Artifact Registry is secured from public access.
  • D. Store the password in Secret Manager and mount the secret as a volume within the application.

Answer: D

Explanation:
The correct answer is B. Store the password in Secret Manager and mount the secret as a volume within the application.
Secret Manager is a service that allows you to securely store and manage sensitive data such as passwords, API keys, certificates, and tokens.You can use Secret Manager to rotate your secrets automatically or manually, and access them from your Cloud Run applications1.
There are two ways to use secrets from Secret Manager in Cloud Run:
As environment variables: You can set environment variables that point to secrets in Secret Manager. Cloud Run will resolve the secrets at runtime and inject them into the environment of your application. However, this method has some limitations, such as:
The environment variables are cached for up to 10 minutes, so you may not get the latest version of the secret immediately.
The environment variables are visible in plain text in the Cloud Console and the Cloud SDK, which may expose sensitive information.
The environment variables are limited to 4 KB of data, which may not be enough for some secrets.2 As file system volumes: You can mount secrets from Secret Manager as files in a volume within your application. Cloud Run will create a tmpfs volume and write the secrets as files in it. This method has some advantages, such as:
The files are updated every 30 seconds, so you can get the latest version of the secret faster.
The files are not visible in the Cloud Console or the Cloud SDK, which provides better security.
The files can store up to 64 KB of data, which allows for larger secrets.3 Therefore, for your use case, it is better to use the second method and mount the secret as a file system volume within your application. This way, you can ensure that your application has the latest password, and you can deploy it with no downtime.
To mount a secret as a file system volume in Cloud Run, you can use the following command:
gcloud beta run deploy SERVICE --image IMAGE_URL --update-secrets=/path/to/file=secretName:version where:
SERVICE is the name of your Cloud Run service.
IMAGE_URL is the URL of your container image.
/path/to/file is the path where you want to mount the secret file in your application.
secretName is the name of your secret in Secret Manager.
version is the version of your secret.You can uselatestto get the most recent version.3 You can also use the Cloud Console to mount secrets as file system volumes. For more details, seeMounting secrets from Secret Manager.
References:
1:Overview | Secret Manager Documentation | Google Cloud
2:Using secrets as environment variables | Cloud Run Documentation | Google Cloud
3:Mounting secrets from Secret Manager | Cloud Run Documentation | Google Cloud


NEW QUESTION # 37
You are designing a system with three different environments: development, quality assurance (QA), and production. Each environment will be deployed with Terraform and has a Google Kubernetes Engine Enterprise (GKE Enterprise) cluster created so that application teams can deploy their applications. Config Sync will be used and templated to deploy infrastructure-level resources in each GKE Enterprise cluster. All users (for example, infrastructure operators and application owners) will use GitOps. How should you structure your source control repositories for both infrastructure as code (IaC) and application code?

  • A. Cloud Infrastructure (Terraform) repository is shared: different branches are different environmentsGKE Enterprise Infrastructure (Config Sync Kustomize manifests) repository is shared: different overlay directories are different environmentsApplication (app source code) repository is shared: different directories are different features
  • B. Cloud Infrastructure (Terraform) repository is shared: different directories are different environmentsGKE Enterprise Infrastructure (Config Sync Kustomize manifests) repository is shared: different overlay directories are different environmentsApplication (app source code) repositories are separated: different branches are different features
  • C. Cloud Infrastructure (Terraform) repositories are separated: different branches are different environmentsGKE Enterprise Infrastructure (Config Sync Kustomize manifests) repositories are separated: different overlay directories are different environmentsApplication (app source code) repositories are separated: different branches are different features
  • D. Cloud Infrastructure (Terraform) repository is shared: different directories are different environmentsGKE Enterprise Infrastructure (Config Sync Kustomize manifests) repositories are separated: different branches are different environmentsApplication (app source code) repositories are separated: different branches are different features

Answer: B


NEW QUESTION # 38
Your company runs applications in Google Kubernetes Engine (GKE) that are deployed following a GitOps methodology.
Application developers frequently create cloud resources to support their applications. You want to give developers the ability to manage infrastructure as code, while ensuring that you follow Google-recommended practices. You need to ensure that infrastructure as code reconciles periodically to avoid configuration drift. What should you do?

  • A. Create a Job resource with a Terraform docker image to execute terraforrm plan and terraform apply commands.
  • B. Install and configure Config Connector in Google Kubernetes Engine (GKE).
  • C. Create a Pod resource with a Terraform docker image to execute terraform plan and terraform apply commands.
  • D. Configure Cloud Build with a Terraform builder to execute plan and apply commands.

Answer: B


NEW QUESTION # 39
You use Cloud Build to build your application. You want to reduce the build time while minimizing cost and development effort. What should you do?

  • A. Use multiple smaller build steps to minimize execution time.
  • B. Use Cloud Storage to cache intermediate artifacts.
  • C. Use larger Cloud Build virtual machines (VMs) by using the machine-type option.
  • D. Run multiple Jenkins agents to parallelize the build.

Answer: A


NEW QUESTION # 40
Some of your production services are running in Google Kubernetes Engine (GKE) in the eu-west-1 region.
Your build system runs in the us-west-1 region. You want to push the container images from your build system to a scalable registry to maximize the bandwidth for transferring the images to the cluster. What should you do?

  • A. Push the images to a private image registry running on a Compute Engine instance in the eu-west-1 region.
  • B. Push the images to Google Container Registry (GCR) using the gcr.io hostname.
  • C. Push the images to Google Container Registry (GCR) using the us.gcr.io hostname.
  • D. Push the images to Google Container Registry (GCR) using the eu.gcr.io hostname.

Answer: D

Explanation:
Explanation
Hostname Storage location gcr.io Stores images in data centers in the United States asia.gcr.io Stores images in data centers in Asia eu.gcr.io Stores images in data centers within member states of the European Union us.gcr.io Stores images in data centers in the United States


NEW QUESTION # 41
Your company is using HTTPS requests to trigger a public Cloud Run-hosted service accessible at the
https://booking-engine-abcdef .a.run.app URL You need to give developers the ability to test the latest revisions of the service before the service is exposed to customers What should you do?

  • A. Runthegcioud run deploy booking-engine -no-traffic --ag dev command Use the
    https://dev----booking-engine-abcdef. a. run. app URL for testing
  • B. Grant the roles/run. invoker role to the developers testing the booking-engine service Use the https:
    //booking-engine-abcdef. private. run. app URL for testing
  • C. Runthegcioud run services update-traffic booking-engine -to-revisions LATEST*! command Use the ht tps: //booking-engine-abcdef. a. run. ape URL for testing
  • D. Pass the curl -K "Authorization: Hearer S(gclcud auth print-identity-token)" auth token Use the https: /
    /booking-engine-abcdef. a. run. app URL to test privately

Answer: C

Explanation:
Explanation
The best option for securing the CI/CD deployment pipeline is to configure vulnerability analysis with Artifact Registry and Binary Authorization. Vulnerability analysis is a feature that allows you to scan container images for known vulnerabilities and security issues. You can use vulnerability analysis with Artifact Registry, which is a service that allows you to store and manage container images and other artifacts. By using vulnerability analysis with Artifact Registry, you can ensure that your container images are scanned for vulnerabilities before they are deployed. Binary Authorization is a feature that allows you to enforce signature-based validation when deploying container images. You can use Binary Authorization with Cloud Build, which is a service that allows you to build and deploy container images. By using Binary Authorization with Cloud Build, you can ensure that only authorized and verified container images are deployed to your environment.


NEW QUESTION # 42
You are managing the production deployment to a set of Google Kubernetes Engine (GKE) clusters. You want to make sure only images which are successfully built by your trusted CI/CD pipeline are deployed to production. What should you do?

  • A. Enable Cloud Security Scanner on the clusters.
  • B. Set up the Kubernetes Engine clusters as private clusters.
  • C. Enable Vulnerability Analysis on the Container Registry.
  • D. Set up the Kubernetes Engine clusters with Binary Authorization.

Answer: B


NEW QUESTION # 43
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?

  • A. Purchase Committed Use Discounts.
  • B. Create an Unmanaged Instance Group for the instances used to run the workload.
  • C. Convert the instances to preemptible virtual machines.
  • D. Migrate the instances to a Managed Instance Group.

Answer: A


NEW QUESTION # 44
You are configuring Cloud Logging for a new application that runs on a Compute Engine instance with a public IP address. A user-managed service account is attached to the instance. You confirmed that the necessary agents are running on the instance but you cannot see any log entries from the instance in Cloud Logging. You want to resolve the issue by following Google-recommended practices. What should you do?

  • A. Enable Private Google Access on the subnet that the instance is in.
  • B. Add the Logs Writer role to the service account.
  • C. Update the instance to use the default Compute Engine service account.
  • D. Export the service account key and configure the agents to use the key.

Answer: B

Explanation:
The correct answer is A. Add the Logs Writer role to the service account.
To use Cloud Logging, the service account attached to the Compute Engine instance must have the necessary permissions to write log entries. The Logs Writer role (roles/logging.logWriter) provides this permission.You can grant this role to the user-managed service account at the project, folder, or organization level1.
Private Google Access is not required for Cloud Logging, as it allows instances without external IP addresses to access Google APIs and services2.The default Compute Engine service account already has the Logs Writer role, but it is not a recommended practice to use it for user applications3.Exporting the service account key and configuring the agents to use the key is not a secure way of authenticating the service account, as it exposes the key to potential compromise4.
References:
1:Access control with IAM | Cloud Logging | Google Cloud
2: Private Google Access overview | VPC | Google Cloud
3: Service accounts | Compute Engine Documentation | Google Cloud
4: Best practices for securing service accounts | IAM Documentation | Google Cloud


NEW QUESTION # 45
You are reviewing your deployment pipeline in Google Cloud Deploy You must reduce toil in the pipeline and you want to minimize the amount of time it takes to complete an end-to-end deployment What should you do?
Choose 2 answers

  • A. Add more engineers to finish the manual steps.
  • B. Automate promotion approvals from the development environment to the test environment
  • C. Divide the automation steps into smaller tasks
  • D. Use a script to automate the creation of the deployment pipeline in Google Cloud Deploy
  • E. Create a trigger to notify the required team to complete the next step when manual intervention is required

Answer: B,E

Explanation:
Explanation
The best options for reducing toil in the pipeline and minimizing the amount of time it takes to complete an end-to-end deployment are to create a trigger to notify the required team to complete the next step when manual intervention is required and to automate promotion approvals from the development environment to the test environment. A trigger is a resource that initiates a deployment when an event occurs, such as a code change, a schedule, or a manual request. You can create a trigger to notify the required team to complete the next step when manual intervention is required by using Cloud Build or Cloud Functions. This way, you can reduce the waiting time and human errors in the pipeline. A promotion approval is a process that allows you to approve or reject a deployment from one environment to another, such as from development to test. You can automate promotion approvals from the development environment to the test environment by using Google Cloud Deploy or Cloud Build. This way, you can speed up the deployment process and avoid manual steps.


NEW QUESTION # 46
You manage applications deployed on Google Kubernetes Engine (GKE) clusters across multiple Google Cloud projects. You require a centralized and scalable solution to collect and query Prometheus metrics from these clusters by using a flexible query language. You want to follow Google-recommended practices. What should you do?

  • A. Install Prometheus server on an admin cluster with cluster autoscaler enabled, and expose the Prometheus endpoint for queries.
  • B. Configure the Ops Agent to collect metrics, and run queries in Metrics Explorer.
  • C. Deploy a Prometheus server as a sidecar to your applications on each cluster, and run queries in Cloud Monitoring.
  • D. Configure Google Cloud Managed Service for Prometheus with managed collection, and run queries in Metrics Explorer.

Answer: D

Explanation:
Comprehensive and Detailed 150 to 200 words of Explanation From Google Cloud DevOps guides documents:
Google Cloud's recommended practice for scalable, multi-cluster monitoring is Google Cloud Managed Service for Prometheus (GMP). This service is a fully managed, multi-cloud-capable solution built on top of Monarch (the same globally scalable time-series database Google uses internally). By using managed collection, GKE clusters automatically deploy collectors that scrape metrics without the operational overhead of managing a manual Prometheus server, scaling, or long-term storage (sharding).
This solution satisfies the "centralized and scalable" requirement because GMP allows you to query data across multiple projects and clusters using PromQL, which provides the flexible query language requested.
While the Ops Agent (Option C) is useful for VM-based workloads, GMP is the purpose-built solution for Kubernetes environments. Standard sidecar deployments (Option A) or self-managed admin clusters (Option D) introduce significant administrative toil and fail to leverage the global scale and high availability of the Cloud Monitoring backend. By centralizing metrics in Metrics Explorer, SRE teams gain a unified view of system health, making it easier to define SLOs and manage incidents across a complex microservices landscape.


NEW QUESTION # 47
You are designing a system with three different environments: development, quality assurance (QA), and production.
Each environment will be deployed with Terraform and has a Google Kubemetes Engine (GKE) cluster created so that application teams can deploy their applications. Anthos Config Management will be used and templated to deploy infrastructure level resources in each GKE cluster. All users (for example, infrastructure operators and application owners) will use GitOps. How should you structure your source control repositories for both Infrastructure as Code (laC) and application code?

  • A. Cloud Infrastructure (Terraform) repository is shared: different directories are different environmentsGKE Infrastructure (Anthos Config Management Kustomize manifests) repositories are separated:different branches are different environmentsApplication (app source code) repositories are separated: different branches are different features
  • B. Cloud Infrastructure (Terraform) repository is shared: different directories are different environmentsGKE Infrastructure (Anthos Config Management Kustomize manifests) repository is shared: differentoverlay directories are different environmentsApplication (app source code) repositories are separated: different branches are different features
  • C. Cloud Infrastructure (Terraform) repositories are separated: different branches are different environmentsGKE Infrastructure (Anthos Config Management Kustomize manifests) repositories are separated:different overlay directories are different environmentsApplication (app source code) repositories are separated: different branches are different features
  • D. Cloud Infrastructure (Terraform) repository is shared: different branches are different environmentsGKE Infrastructure (Anthos Config Management Kustomize manifests) repository is shared: differentoverlay directories are different environmentsApplication (app source code) repository is shared: different directories are different features

Answer: A

Explanation:
The correct answer is B. Cloud Infrastructure (Terraform) repository is shared: different directories are different environments. GKE Infrastructure (Anthos Config Management Kustomize manifests) repositories are separated: different branches are different environments. Application (app source code) repositories are separated: different branches are different features.
This answer follows the best practices for using Terraform and Anthos Config Management with GitOps, as described in the following sources:
For Terraform, it is recommended to use a single repository for all environments, and use directories to separate them. This way, you can reuse the same Terraform modules and configurations across environments, and avoid code duplication and drift.You can also use Terraform workspaces to isolate the state files for each environment12.
For Anthos Config Management, it is recommended to use separate repositories for each environment, and use branches to separate the clusters within each environment. This way, you can enforce different policies and configurations for each environment, and use pull requests to promote changes across environments.You can also use Kustomize to create overlays for each cluster that apply specific patches or customizations34.
For application code, it is recommended to use separate repositories for each application, and use branches to separate the features or bug fixes for each application. This way, you can isolate the development and testing of each application, and use pull requests to merge changes into the main branch.You can also use tags or labels to trigger deployments to different environments5.
References:
1:Best practices for using Terraform | Google Cloud
2: Terraform Recommended Practices - Part 1 | Terraform - HashiCorp Learn
3:Deploy Anthos on GKE with Terraform part 1: GitOps with Config Sync | Google Cloud Blog
4: Using Kustomize with Anthos Config Management | Anthos Config Management Documentation | Google Cloud
5: Deploy Anthos on GKE with Terraform part 3: Continuous Delivery with Cloud Build | Google Cloud Blog GitOps-style continuous delivery with Cloud Build | Cloud Build Documentation | Google Cloud


NEW QUESTION # 48
You are deploying an application to Cloud Run. The application requires a password to start. Your organization requires that all passwords are rotated every 24 hours, and your application must have the latest password. You need to deploy the application with no downtime. What should you do?

  • A. Store the password in Secret Manager and send the secret to the application by using environment variables.
  • B. Store the password directly in the code. Use Cloud Build to rebuild and deploy the application each time the password changes.
  • C. Use Cloud Build to add your password into the application container at build time. Ensure that Artifact Registry is secured from public access.
  • D. Store the password in Secret Manager and mount the secret as a volume within the application.

Answer: D

Explanation:
Explanation
The correct answer is B. Store the password in Secret Manager and mount the secret as a volume within the application.
Secret Manager is a service that allows you to securely store and manage sensitive data such as passwords, API keys, certificates, and tokens. You can use Secret Manager to rotate your secrets automatically or manually, and access them from your Cloud Run applications1.
There are two ways to use secrets from Secret Manager in Cloud Run:
As environment variables: You can set environment variables that point to secrets in Secret Manager.
Cloud Run will resolve the secrets at runtime and inject them into the environment of your application.
However, this method has some limitations, such as:
The environment variables are cached for up to 10 minutes, so you may not get the latest version of the secret immediately.
The environment variables are visible in plain text in the Cloud Console and the Cloud SDK, which may expose sensitive information.
The environment variables are limited to 4 KB of data, which may not be enough for some secrets.2 As file system volumes: You can mount secrets from Secret Manager as files in a volume within your application. Cloud Run will create a tmpfs volume and write the secrets as files in it. This method has some advantages, such as:
The files are updated every 30 seconds, so you can get the latest version of the secret faster.
The files are not visible in the Cloud Console or the Cloud SDK, which provides better security.
The files can store up to 64 KB of data, which allows for larger secrets.3 Therefore, for your use case, it is better to use the second method and mount the secret as a file system volume within your application. This way, you can ensure that your application has the latest password, and you can deploy it with no downtime.
To mount a secret as a file system volume in Cloud Run, you can use the following command:
gcloud beta run deploy SERVICE --image IMAGE_URL --update-secrets=/path/to/file=secretName:version where:
SERVICE is the name of your Cloud Run service.
IMAGE_URL is the URL of your container image.
/path/to/file is the path where you want to mount the secret file in your application.
secretName is the name of your secret in Secret Manager.
version is the version of your secret. You can use latest to get the most recent version.3 You can also use the Cloud Console to mount secrets as file system volumes. For more details, see Mounting secrets from Secret Manager.
References:
1: Overview | Secret Manager Documentation | Google Cloud
2: Using secrets as environment variables | Cloud Run Documentation | Google Cloud
3: Mounting secrets from Secret Manager | Cloud Run Documentation | Google Cloud


NEW QUESTION # 49
Your team has an application built by using a Dockerfile. The build is executed from Cloud Build, and the resulting artifacts are stored in Artifact Registry. Your team is reporting that builds are slow. You need to increase build speed, while following Google-recommended practices. What should you do?

  • A. Cache the container layers of the build process to Cloud Storage. Add the most frequently modified files to the earlier stages of the build process.
  • B. Use the --cache-from parameter, and point to Artifact Registry. Add the most frequently modified files to the later stages of the build process.
  • C. Cache the container layers of the build process to Cloud Storage. Add the most frequently modified files to the later stages of the build process.
  • D. Use the --cache-from parameter, and point to Artifact Registry. Add the most frequently modified files to the earlier stages of the build process.

Answer: B

Explanation:
To speed up Docker builds, optimize layer caching. Google Cloud recommends using --cache-from with Artifact Registry, and placing frequently changed files late in the Dockerfile so earlier layers can be reused.
"Put instructions that are less likely to change (like installing packages) early in the Dockerfile, and more frequently changing lines (like copying app code) near the end."
- Dockerfile Best Practices
"Use the --cache-from argument to pull layers from previously built images in Artifact Registry."
- Cloud Build Docker Caching
This dramatically reduces build time by avoiding redundant rebuilds of static layers.


NEW QUESTION # 50
Your team is writing a postmortem after an incident on your external facing application Your team wants to improve the postmortem policy to include triggers that indicate whether an incident requires a postmortem Based on Site Reliability Engineenng (SRE) practices, what triggers should be defined in the postmortem policy?
Choose 2 answers

  • A. The monitoring system detects that one of the instances for your application has failed
  • B. An internal stakeholder requests a postmortem
  • C. Data is lost due to an incident
  • D. An external stakeholder asks for a postmortem
  • E. The CD pipeline detects an issue and rolls back a problematic release.

Answer: B,D

Explanation:
Explanation
The best options for defining triggers that indicate whether an incident requires a postmortem based on Site Reliability Engineering (SRE) practices are an external stakeholder asks for a postmortem and data is lost due to an incident. An external stakeholder is someone who is affected by or has an interest in the service, such as a customer or a partner. If an external stakeholder asks for a postmortem, it means that they are concerned about the impact or root cause of the incident, and they expect an explanation and remediation from the service provider. Therefore, this should trigger a postmortem to address their concerns and improve their satisfaction. Data loss is a serious consequence of an incident that can affect the integrity and reliability of the service. If data is lost due to an incident, it means that there was a failure in the backup or recovery mechanisms, or that there was a corruption or deletion of data. Therefore, this should trigger a postmortem to investigate the cause and impact of the data loss, and to prevent it from happening again.


NEW QUESTION # 51
You are managing an application that exposes an HTTP endpoint without using a load balancer. The latency of the HTTP responses is important for the user experience. You want to understand what HTTP latencies all of your users are experiencing. You use Stackdriver Monitoring. What should you do?

  • A. * In your application, create a metric with a metricKind set to gauge and a valueType set to distribution.
    * In Stackdriver's Metrics Explorer, use a Heatmap graph to visualize the metric.
  • B. * In your application, create a metric with a metricKind set to CUMULATIVE and a valueType set to DOUBLE.
    * In Stackdriver's Metrics Explorer, use a Line graph to visualize the metric.
  • C. * In your application, create a metric with a metricKind set to DELTA and a valueType set to DOUBLE.
    * In Stackdriver's Metrics Explorer, use a Slacked Bar graph to visualize the metric.
  • D. * In your application, create a metric with a metricKind. set toMETRlc_KIND_UNSPECIFIEDanda valueType set to INT64.
    * In Stackdriver's Metrics Explorer, use a Stacked Area graph to visualize the metric.

Answer: A

Explanation:
Explanation
https://sre.google/workbook/implementing-slos/
https://cloud.google.com/architecture/adopting-slos/
Latency is commonly measured as a distribution. Given a distribution, you can measure various percentiles.
For example, you might measure the number of requests that are slower than the historical 99th percentile.


NEW QUESTION # 52
Your company runs applications in Google Kubernetes Engine (GKE) that are deployed following a GitOps methodology.
Application developers frequently create cloud resources to support their applications. You want to give developers the ability to manage infrastructure as code, while ensuring that you follow Google-recommended practices. You need to ensure that infrastructure as code reconciles periodically to avoid configuration drift. What should you do?

  • A. Create a Job resource with a Terraform docker image to execute terraforrm plan and terraform apply commands.
  • B. Install and configure Config Connector in Google Kubernetes Engine (GKE).
  • C. Create a Pod resource with a Terraform docker image to execute terraform plan and terraform apply commands.
  • D. Configure Cloud Build with a Terraform builder to execute plan and apply commands.

Answer: B

Explanation:
The best option to give developers the ability to manage infrastructure as code, while ensuring that you follow Google-recommended practices, is to install and configure Config Connector in Google Kubernetes Engine (GKE).
Config Connector is a Kubernetes add-on that allows you to manage Google Cloud resources through Kubernetes. You can use Config Connector to create, update, and delete Google Cloud resources using Kubernetes manifests. Config Connector also reconciles the state of the Google Cloud resources with the desired state defined in the manifests, ensuring that there is no configuration drift1.
Config Connector follows the GitOps methodology, as it allows you to store your infrastructure configuration in a Git repository, and use tools such as Anthos Config Management or Cloud Source Repositories to sync the configuration to your GKE cluster. This way, you can use Git as the source of truth for your infrastructure, and enable reviewable and version-controlled workflows2.
Config Connector can be installed and configured in GKE using either the Google Cloud Console or the gcloud command-line tool. You need to enable the Config Connector add-on for your GKE cluster, and create a Google Cloud service account with the necessary permissions to manage the Google Cloud resources. You also need to create a Kubernetes namespace for each Google Cloud project that you want to manage with Config Connector3.
By using Config Connector in GKE, you can give developers the ability to manage infrastructure as code, while ensuring that you follow Google-recommended practices. You can also benefit from the features and advantages of Kubernetes, such as declarative configuration, observability, and portability4.
Reference:
1: Overview | Artifact Registry Documentation | Google Cloud
2: Deploy Anthos on GKE with Terraform part 1: GitOps with Config Sync | Google Cloud Blog
3: Installing Config Connector | Config Connector Documentation | Google Cloud
4: Why use Config Connector? | Config Connector Documentation | Google Cloud


NEW QUESTION # 53
You need to deploy a new service to production. The service needs to automatically scale using a Managed Instance Group (MIG) and should be deployed over multiple regions. The service needs a large number of resources for each instance and you need to plan for capacity. What should you do?

  • A. Use the n1-highcpu-96 machine type in the configuration of the MIG.
  • B. Validate that the resource requirements are within the available quota limits of each region.
  • C. Deploy the service in one region and use a global load balancer to route traffic to this region.
  • D. Monitor results of Stackdriver Trace to determine the required amount of resources.

Answer: C


NEW QUESTION # 54
......


The Google Professional Cloud DevOps Engineer exam is taken by the specialists who want to obtain international certification and get validated as professional engineers who can manage Cloud DevOps features.

 

New Real Professional-Cloud-DevOps-Engineer Exam Dumps Questions: https://drive.google.com/open?id=1-DfuTA_7wIy7FH4PNlOQq0hi5W1keOs7

Pass Your Professional-Cloud-DevOps-Engineer Exam Easily with Accurate PDF Questions: https://www.dumpsmaterials.com/Professional-Cloud-DevOps-Engineer-real-torrent.html