
[2023] Verified Professional-Cloud-DevOps-Engineer Dumps Q&As - 1 Year Free & Quickly Updates
Latest 2023 Realistic Verified Professional-Cloud-DevOps-Engineer Dumps - 100% Free Professional-Cloud-DevOps-Engineer Exam Dumps
NEW QUESTION # 37
You support a high-traffic web application and want to ensure that the home page loads in a timely manner. As a first step, you decide to implement a Service Level Indicator (SLI) to represent home page request latency with an acceptable page load time set to 100 ms. What is the Google-recommended way of calculating this SLI?
- A. Count the number of home page requests that load in under 100 ms, and then divide by the total number of home page requests.
- B. Bucketize the request latencies into ranges, and then compute the median and 90th percentiles.
- C. Buckelize Ihe request latencies into ranges, and then compute the percentile at 100 ms.
- D. Count the number of home page requests that load in under 100 ms. and then divide by the total number of all web application requests.
Answer: C
NEW QUESTION # 38
Your team uses Cloud Build for all CI/CO pipelines. You want to use the kubectl builder for Cloud Build to deploy new images to Google Kubernetes Engine (GKE). You need to authenticate to GKE while minimizing development effort. What should you do?
- A. Assign the Container Developer role to the Cloud Build service account.
- B. Create a separate step in Cloud Build to retrieve service account credentials and pass these to kubectl.
- C. Specify the Container Developer role for Cloud Build in the cloudbuild.yaml file.
- D. Create a new service account with the Container Developer role and use it to run Cloud Build.
Answer: D
NEW QUESTION # 39
You are running an experiment to see whether your users like a new feature of a web application. Shortly after deploying the feature as a canary release, you receive a spike in the number of 500 errors sent to users, and your monitoring reports show increased latency. You want to quickly minimize the negative impact on users. What should you do first?
- A. Record data for the postmortem document of the incident.
- B. Roll back the experimental canary release.
- C. Start monitoring latency, traffic, errors, and saturation.
- D. Trace the origin of 500 errors and the root cause of increased latency.
Answer: C
NEW QUESTION # 40
You support an application running on App Engine. The application is used globally and accessed from various device types. You want to know the number of connections. You are using Stackdriver Monitoring for App Engine. What metric should you use?
- A. tcp_ssl_proxy/open_connections
- B. tcp_ssl_proxy/new_connections
- C. flex/instance/connections/current
- D. flex/connections/current
Answer: C
NEW QUESTION # 41
You are responsible for the reliability of a high-volume enterprise application. A large number of users report that an important subset of the application's functionality - a data intensive reporting feature - is consistently failing with an HTTP 500 error. When you investigate your application's dashboards, you notice a strong correlation between the failures and a metric that represents the size of an internal queue used for generating reports. You trace the failures to a reporting backend that is experiencing high I/O wait times. You quickly fix the issue by resizing the backend's persistent disk (PD). How you need to create an availability Service Level Indicator (SLI) for the report generation feature. How would you define it?
- A. As the proportion of report generation requests that result in a successful response
- B. As the I/O wait times aggregated across all report generation backends
- C. As the application's report generation queue size compared to a known-good threshold
- D. As the reporting backend PD throughout capacity compared to a known-good threshold
Answer: A
Explanation:
According to SRE Workbook, one of potential SLI is as below:
* Type of service: Request-driven
* Type of SLI: Availability
* Description: The proportion of requests that resulted in a successful response.
https://sre.google/workbook/implementing-slos/
NEW QUESTION # 42
You support an application running on App Engine. The application is used globally and accessed from various device types. You want to know the number of connections. You are using Stackdriver Monitoring for App Engine. What metric should you use?
- A. flex/connections/current
- B. tcp_ssl_proxy/open_connections
- C. tcp_ssl_proxy/new_connections
- D. flex/instance/connections/current
Answer: A
Explanation:
https://cloud.google.com/monitoring/api/metrics_gcp#gcp-appengine
NEW QUESTION # 43
Your team is designing a new application for deployment into Google Kubernetes Engine (GKE). You need to set up monitoring to collect and aggregate various application-level metrics in a centralized location. You want to use Google Cloud Platform services while minimizing the amount of work required to set up monitoring. What should you do?
- A. Publish various metrics from the application directly to the Slackdriver Monitoring API, and then observe these custom metrics in Stackdriver.
- B. Emit all metrics in the form of application-specific log messages, pass these messages from the containers to the Stackdriver logging collector, and then observe metrics in Stackdriver.
- C. Install the OpenTelemetry client libraries in the application, configure Stackdriver as the export destination for the metrics, and then observe the application's metrics in Stackdriver.
- D. Install the Cloud Pub/Sub client libraries, push various metrics from the application to various topics, and then observe the aggregated metrics in Stackdriver.
Answer: A
Explanation:
https://cloud.google.com/kubernetes-engine/docs/concepts/custom-and-external-metrics#custom_metrics
https://github.com/GoogleCloudPlatform/k8s-stackdriver/blob/master/custom-metrics-stackdriver-adapter/README.md Your application can report a custom metric to Cloud Monitoring. You can configure Kubernetes to respond to these metrics and scale your workload automatically. For example, you can scale your application based on metrics such as queries per second, writes per second, network performance, latency when communicating with a different application, or other metrics that make sense for your workload. https://cloud.google.com/kubernetes-engine/docs/concepts/custom-and-external-metrics
NEW QUESTION # 44
Your application services run in Google Kubernetes Engine (GKE). You want to make sure that only images from your centrally-managed Google Container Registry (GCR) image registry in the altostrat-images project can be deployed to the cluster while minimizing development time. What should you do?
- A. Create a custom builder for Cloud Build that will only push images to gcr.io/altostrat-images.
- B. Add logic to the deployment pipeline to check that all manifests contain only images from gcr.io/altostrat-images.
- C. Add a tag to each image in gcr.io/altostrat-images and check that this tag is present when the image is deployed.
- D. Use a Binary Authorization policy that includes the whitelist name pattern gcr.io/attostrat-images/.
Answer: C
NEW QUESTION # 45
You have a CI/CD pipeline that uses Cloud Build to build new Docker images and push them to Docker Hub. You use Git for code versioning. After making a change in the Cloud Build YAML configuration, you notice that no new artifacts are being built by the pipeline. You need to resolve the issue following Site Reliability Engineering practices. What should you do?
- A. Upload the configuration YAML file to Cloud Storage and use Error Reporting to identify and fix the issue.
- B. Disable the CI pipeline and revert to manually building and pushing the artifacts.
- C. Run a Git compare between the previous and current Cloud Build Configuration files to find and fix the bug.
- D. Change the CI pipeline to push the artifacts to Container Registry instead of Docker Hub.
Answer: C
Explanation:
"After making a change in the Cloud Build YAML configuration, you notice that no new artifacts are being built by the pipeline"- means something wrong on the recent change not with the image registry.
NEW QUESTION # 46
Your team has recently deployed an NGINX-based application into Google Kubernetes Engine (GKE) and has exposed it to the public via an HTTP Google Cloud Load Balancer (GCLB) ingress. You want to scale the deployment of the application's frontend using an appropriate Service Level Indicator (SLI). What should you do?
- A. Expose the NGINX stats endpoint and configure the horizontal pod autoscaler to use the request metrics exposed by the NGINX deployment.
- B. Install the Stackdriver custom metrics adapter and configure a horizontal pod autoscaler to use the number of requests provided by the GCLB.
- C. Configure the horizontal pod autoscaler to use the average response time from the Liveness and Readiness probes.
- D. Configure the vertical pod autoscaler in GKE and enable the cluster autoscaler to scale the cluster as pods expand.
Answer: D
NEW QUESTION # 47
You support a popular mobile game application deployed on Google Kubernetes Engine (GKE) across several Google Cloud regions. Each region has multiple Kubernetes clusters. You receive a report that none of the users in a specific region can connect to the application. You want to resolve the incident while following Site Reliability Engineering practices. What should you do first?
- A. Use Stackdriver Monitoring to check for a spike in CPU or memory usage for the affected region.
- B. Reroute the user traffic from the affected region to other regions that don't report issues.
- C. Use Stackdriver Logging to filter on the clusters in the affected region, and inspect error messages in the logs.
- D. Add an extra node pool that consists of high memory and high CPU machine type instances to the cluster.
Answer: B
Explanation:
Google always aims to first stop the impact of an incident, and then find the root cause (unless the root cause just happens to be identified early on).
NEW QUESTION # 48
Your team is designing a new application for deployment into Google Kubernetes Engine (GKE). You need to set up monitoring to collect and aggregate various application-level metrics in a centralized location. You want to use Google Cloud Platform services while minimizing the amount of work required to set up monitoring. What should you do?
- A. Emit all metrics in the form of application-specific log messages, pass these messages from the containers to the Stackdriver logging collector, and then observe metrics in Stackdriver.
- B. Publish various melrics from the application directly to the Slackdriver Monitoring API, and then observe these custom metrics in Stackdriver.
- C. Install the OpenTelemetry client libraries in the application, configure Stackdriver as the export destination for the metrics, and then observe the application's metrics in Stackdriver.
- D. Install the Cloud Pub/Sub client libraries, push various metrics from the application to various topics, and then observe the aggregated metrics in Stackdriver.
Answer: B
NEW QUESTION # 49
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. Supply the source control tag as a parameter within the image name.
- B. Reference the image digest in the source control tag.
- C. Use GCR digest versioning to match the image to the tag in source control.
- D. Use Cloud Build to include the release version tag in the application image.
Answer: D
NEW QUESTION # 50
Your organization recently adopted a container-based workflow for application development. Your team develops numerous applications that are deployed continuously through an automated build pipeline to the production environment. A recent security audit alerted your team that the code pushed to production could contain vulnerabilities and that the existing tooling around virtual machine (VM) vulnerabilities no longer applies to the containerized environment. You need to ensure the security and patch level of all code running through the pipeline. What should you do?
- A. Configure the containers in the build pipeline to always update themselves before release.
- B. Implement static code analysis tooling against the Docker files used to create the containers.
- C. Reconfigure the existing operating system vulnerability software to exist inside the container.
- D. Set up Container Analysis to scan and report Common Vulnerabilities and Exposures.
Answer: D
NEW QUESTION # 51
You are running an application on Compute Engine and collecting logs through Stackdriver. You discover that some personally identifiable information (PII) is leaking into certain log entry fields. You want to prevent these fields from being written in new log entries as quickly as possible. What should you do?
- A. Use the fluent-plugin-record-reformer Fluentd output plugin to remove the fields from the log entries in flight.
- B. Use the filter-record-transformer Fluentd filter plugin to remove the fields from the log entries in flight.
- C. Wait for the application developers to patch the application, and then verify that the log entries are no longer exposing PII.
- D. Stage log entries to Cloud Storage, and then trigger a Cloud Function to remove the fields and write the entries to Stackdriver via the Stackdriver Logging API.
Answer: A
NEW QUESTION # 52
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 # 53
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 (OLJ and Communications Lead (CL). What should you do next?
- A. Contact the affected service owners and update them on the status of the incident.
- B. Establish a communication channel where incident responders and leads can communicate with each other.
- C. Start a postmortem, add incident information, circulate the draft internally, and ask internal stakeholders for input.
- D. Look for ways to mitigate user impact and deploy the mitigations to production.
Answer: D
NEW QUESTION # 54
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: A
NEW QUESTION # 55
You need to reduce the cost of virtual machines (VM| for your organization. After reviewing different options, you decide to leverage preemptible VM instances. Which application is suitable for preemptible VMs?
- A. The organization's public-facing website
- B. A scalable in-memory caching system
- C. A distributed, eventually consistent NoSQL database cluster with sufficient quorum
- D. A GPU-accelerated video rendering platform that retrieves and stores videos in a storage bucket
Answer: D
Explanation:
https://cloud.google.com/compute/docs/instances/preemptible
NEW QUESTION # 56
You support an application running on App Engine. The application is used globally and accessed from various device types. You want to know the number of connections. You are using Stackdriver Monitoring for App Engine. What metric should you use?
- A. tcp_ssl_proxy/open_connections
- B. tcp_ssl_proxy/new_connections
- C. flex/instance/connections/current
- D. flex/connections/current
Answer: C
Explanation:
Explanation/Reference: https://cloud.google.com/monitoring/api/metrics_gcp
NEW QUESTION # 57
You are running an application in a virtual machine (VM) using a custom Debian image. The image has the Stackdriver Logging agent installed. The VM has the cloud-platform scope. The application is logging information via syslog. You want to use Stackdriver Logging in the Google Cloud Platform Console to visualize the logs. You notice that syslog is not showing up in the "All logs" dropdown list of the Logs Viewer. What is the first thing you should do?
- A. Verify the VM service account access scope includes the monitoring.write scope.
- B. Install the most recent version of the Stackdriver agent.
- C. Look for the agent's test log entry in the Logs Viewer.
- D. SSH to the VM and execute the following commands on your VM: ps ax I grep fluentd
Answer: D
Explanation:
https://cloud.google.com/compute/docs/access/service-accounts#associating_a_service_account_to_an_instance
NEW QUESTION # 58
......
Professional-Cloud-DevOps-Engineer Dumps PDF and Test Engine Exam Questions: https://www.dumptorrent.com/Professional-Cloud-DevOps-Engineer-braindumps-torrent.html
Get 2023 Updated Free Google Professional-Cloud-DevOps-Engineer Exam Questions and Answer: https://drive.google.com/open?id=1CRCxTKHj22kz49d37pdRRf7dqr0s563Y