[Nov 04, 2021] Step by Step Guide to Prepare for Professional-Cloud-DevOps-Engineer Exam BrainDumps [Q25-Q41]

Share

Nov 04, 2021 Step by Step Guide to Prepare for Professional-Cloud-DevOps-Engineer Exam BrainDumps

Cloud DevOps Engineer Professional-Cloud-DevOps-Engineer Real Exam Questions and Answers FREE Updated on 2021

NEW QUESTION 25
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/new_connections
  • B. tcp_ssl_proxy/open_connections
  • C. flex/connections/current
  • D. (lex/jnstance/connections/current

Answer: C

 

NEW QUESTION 26
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. Configure the horizontal pod autoscaler to use the average response time from the Liveness and Readiness probes.
  • B. Expose the NGINX stats endpoint and configure the horizontal pod autoscaler to use the request metrics exposed by the NGINX deployment.
  • C. Configure the vertical pod autoscaler in GKE and enable the cluster autoscaler to scale the cluster as pods expand.
  • D. Install the Stackdriver custom metrics adapter and configure a horizontal pod autoscaler to use the number of requests provided by the GCLB.

Answer: C

 

NEW QUESTION 27
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. Run a Git compare between the previous and current Cloud Build Configuration files to find and fix the bug.
  • B. Disable the CI pipeline and revert to manually building and pushing the artifacts.
  • C. Change the CI pipeline to push the artifacts to Container Registry instead of Docker Hub.
  • D. Upload the configuration YAML file to Cloud Storage and use Error Reporting to identify and fix the issue.

Answer: B

 

NEW QUESTION 28
You have a pool of application servers running on Compute Engine. You need to provide a secure solution that requires the least amount of configuration and allows developers to easily access application logs for troubleshooting. How would you implement the solution on GCP?

  • A. * Deploy the Stackdriver monitoring agent to the application servers.
    * Give the developers the IAM Monitoring Viewer role to access Stackdriver and view metrics.
  • B. * Deploy the Stackdriver logging agent to the application servers.
    * Give the developers the IAM Logs Viewer role to access Stackdriver and view logs.
  • C. * Deploy the Stackdriver logging agent to the application servers.
    * Give the developers the IAM Logs Private Logs Viewer role to access Stackdriver and view logs.
  • D. * Install the gsutil command line tool on your application servers.
    * Write a script using gsutil to upload your application log to a Cloud Storage bucket, and then schedule it to run via cron every 5 minutes.
    * Give the developers IAM Object Viewer access to view the logs in the specified bucket.

Answer: C

 

NEW QUESTION 29
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. Create a separate step in Cloud Build to retrieve service account credentials and pass these to kubectl.
  • B. Assign the Container Developer role to the Cloud Build service account.
  • 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 30
You support a high-traffic web application that runs on Google Cloud Platform (GCP). You need to measure application reliability from a user perspective without making any engineering changes to it. What should you do?
Choose 2 answers

  • A. Use current and historic Request Logs to trace customer interaction with the application.
  • B. Modify the code to capture additional information for user interaction.
  • C. Create new synthetic clients to simulate a user journey using the application.
  • D. Review current application metrics and add new ones as needed.
  • E. Analyze the web proxy logs only and capture response time of each request.

Answer: B,C

 

NEW QUESTION 31
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/new_connections
  • B. tcp_ssl_proxy/open_connections
  • C. flex/connections/current
  • D. flex/instance/connections/current

Answer: D

Explanation:
Explanation/Reference: https://cloud.google.com/monitoring/api/metrics_gcp

 

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

Answer: C

 

NEW QUESTION 33
You support an application running on GCP and want to configure SMS notifications to your team for the most critical alerts in Stackdriver Monitoring. You have already identified the alerting policies you want to configure this for. What should you do?

  • A. Ensure that your team members set their SMS/phone numbers in their Stackdriver Profile. Select the SMS notification option for each alerting policy and then select the appropriate SMS/phone numbers from the list.
  • B. Select the Webhook notifications option for each alerting policy, and configure it to use a third-party integration tool. Ensure that your team members add their SMS/phone numbers to the external tool.
  • C. Download and configure a third-party integration between Stackdriver Monitoring and an SMS gateway.
    Ensure that your team members add their SMS/phone numbers to the external tool.
  • D. Configure a Slack notification for each alerting policy. Set up a Slack-to-SMS integration to send SMS messages when Slack messages are received. Ensure that your team members add their SMS/phone numbers to the external integration.

Answer: D

 

NEW QUESTION 34
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 CUMULATIVE and a valueType set to DOUBLE.
    * In Stackdriver's Metrics Explorer, use a Line graph to visualize the metric.
  • B. * 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.
  • 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: C

 

NEW QUESTION 35
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. Use a Binary Authorization policy that includes the whitelist name pattern 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. Create a custom builder for Cloud Build that will only push images to gcr.io/altostrat-images.

Answer: C

 

NEW QUESTION 36
You support a high-traffic web application that runs on Google Cloud Platform (GCP). You need to measure application reliability from a user perspective without making any engineering changes to it. What should you do?
Choose 2 answers

  • A. Analyze the web proxy logs only and capture response time of each request.
  • B. Use current and historic Request Logs to trace customer interaction with the application.
  • C. Modify the code to capture additional information for user interaction.
  • D. Review current application metrics and add new ones as needed.
  • E. Create new synthetic clients to simulate a user journey using the application.

Answer: A,C

 

NEW QUESTION 37
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. Roll back the experimental canary release.
  • B. Trace the origin of 500 errors and the root cause of increased latency.
  • C. Record data for the postmortem document of the incident.
  • D. Start monitoring latency, traffic, errors, and saturation.

Answer: D

 

NEW QUESTION 38
You created a Stackdriver chart for CPU utilization in a dashboard within your workspace project. You want to share the chart with your Site Reliability Engineering (SRE) team only. You want to ensure you follow the principle of least privilege. What should you do?

  • A. Click "Share chart by URL" and provide the URL to the SRE team. Assign the SRE team the Dashboard Viewer IAM role in the workspace project.
  • B. Share the workspace Project ID with the SRE team. Assign the SRE team the Monitoring Viewer IAM role in the workspace project.
  • C. Click "Share chart by URL" and provide the URL to the SRE team. Assign the SRE team the Monitoring Viewer IAM role in the workspace project.
  • D. Share the workspace Project ID with the SRE team. Assign the SRE team the Dashboard Viewer IAM role in the workspace project.

Answer: D

 

NEW QUESTION 39
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. Create a new service account with the Container Developer role and use it to run Cloud Build.
  • B. Create a separate step in Cloud Build to retrieve service account credentials and pass these to kubectl.
  • C. Assign the Container Developer role to the Cloud Build service account.
  • D. Specify the Container Developer role for Cloud Build in the cloudbuild.yaml file.

Answer: C

 

NEW QUESTION 40
You have a set of applications running on a Google Kubernetes Engine (GKE) cluster, and you are using Stackdriver Kubernetes Engine Monitoring. You are bringing a new containerized application required by your company into production. This application is written by a third party and cannot be modified or reconfigured. The application writes its log information to /var/log/app_messages.log, and you want to send these log entries to Stackdriver Logging. What should you do?

  • A. Use the default Stackdriver Kubernetes Engine Monitoring agent configuration.
  • B. Write a script to tail the log file within the pod and write entries to standard output. Run the script as a sidecar container with the application's pod. Configure a shared volume between the containers to allow the script to have read access to /var/log in the application container.
  • C. Install Kubernetes on Google Compute Engine (GCE> and redeploy your applications. Then customize the built-in Stackdriver Logging configuration to tail the log file in the application's pods and write to Stackdriver Logging.
  • D. Deploy a Fluentd daemonset to GKE. Then create a customized input and output configuration to tail the log file in the application's pods and write to Slackdriver Logging.

Answer: B

 

NEW QUESTION 41
......

Ultimate Guide to Prepare Professional-Cloud-DevOps-Engineer Certification Exam for Cloud DevOps Engineer: https://www.dumpsquestion.com/Professional-Cloud-DevOps-Engineer-exam-dumps-collection.html

Professional-Cloud-DevOps-Engineer Ultimate Study Guide: https://drive.google.com/open?id=14MflRM2AgBAKQY3-7iOqHcD2dR2gbyA-