Free PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Exam Braindumps (page: 16)

Page 16 of 41

You support a web application that runs on App Engine and uses CloudSQL and Cloud Storage for data storage. After a short spike in website traffic, you notice a big increase in latency for all user requests, increase in CPU use, and the number of processes running the application. Initial troubleshooting reveals:
After the initial spike in traffic, load levels returned to normal but users still experience high latency. Requests for content from the CloudSQL database and images from Cloud Storage show the same high latency.
No changes were made to the website around the time the latency increased. There is no increase in the number of errors to the users. You expect another spike in website traffic in the coming days and want to make sure users don't experience latency.
What should you do?

  1. Upgrade the GCS buckets to Multi-Regional.
  2. Enable high availability on the CloudSQL instances.
  3. Move the application from App Engine to Compute Engine.
  4. Modify the App Engine configuration to have additional idle instances.

Answer(s): D

Explanation:

Scaling App Engine scales the number of instances automatically in response to processing volume. This scaling factors in the automatic_scaling settings that are provided on a per-version basis in the configuration file. A service with basic scaling is configured by setting the maximum number of instances in the max_instances parameter of the basic_scaling setting. The number of live instances scales with the processing volume. You configure the number of instances of each version in that service's configuration file. The number of instances usually corresponds to the size of a dataset being held in memory or the desired throughput for offline work. You can adjust the number of instances of a manually-scaled version very quickly, without stopping instances that are currently running, using the Modules API set_num_instances function. https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed https://cloud.google.com/appengine/docs/standard/python/config/appref max_idle_instances Optional. The maximum number of idle instances that App Engine should maintain for this version. Specify a value from 1 to 1000. If not specified, the default value is automatic, which means App Engine will manage the number of idle instances. Keep the following in mind: A high maximum reduces the number of idle instances more gradually when load levels return to normal after a spike. This helps your application maintain steady performance through fluctuations in request load, but also raises the number of idle instances (and consequent running costs) during such periods of heavy load.



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?

  1. Implement Jenkins on local workstations.
  2. Implement Jenkins on Kubernetes on-premises
  3. Implement Jenkins on Google Cloud Functions.
  4. Implement Jenkins on Compute Engine virtual machines.

Answer(s): D

Explanation:

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?
https://plugins.jenkins.io/google-compute-engine/



You are working with a government agency that requires you to archive application logs for seven years. You need to configure Stackdriver to export and store the logs while minimizing costs of storage.
What should you do?

  1. Create a Cloud Storage bucket and develop your application to send logs directly to the bucket.
  2. Develop an App Engine application that pulls the logs from Stackdriver and saves them in BigQuery.
  3. Create an export in Stackdriver and configure Cloud Pub/Sub to store logs in permanent storage for seven years.
  4. Create a sink in Stackdriver, name it, create a bucket on Cloud Storage for storing archived logs, and then select the bucket as the log export destination.

Answer(s): D

Explanation:

https://cloud.google.com/logging/docs/routing/overview



You support a trading application written in Python and hosted on App Engine flexible environment. You want to customize the error information being sent to Stackdriver Error Reporting.
What should you do?

  1. Install the Stackdriver Error Reporting library for Python, and then run your code on a Compute Engine VM.
  2. Install the Stackdriver Error Reporting library for Python, and then run your code on Google Kubernetes Engine.
  3. Install the Stackdriver Error Reporting library for Python, and then run your code on App Engine flexible environment.
  4. Use the Stackdriver Error Reporting API to write errors from your application to ReportedErrorEvent, and then generate log entries with properly formatted error messages in Stackdriver Logging.

Answer(s): D

Explanation:

https://cloud.google.com/error-reporting/docs/formatting-error-messages https://cloud.google.com/error-reporting/docs/reference/libraries#client-libraries-install-python no need to install error reporting library on App Engine Flex.



Page 16 of 41



Post your Comments and Discuss Google PROFESSIONAL-CLOUD-DEVOPS-ENGINEER exam with other Community members:

Tanuja Bhusal commented on December 26, 2024
Good Questions
Anonymous
upvote

Harshit Soni commented on November 21, 2024
Good explanation
INDIA
upvote

Harshit Soni commented on November 21, 2024
Questions looks technical and authentic
INDIA
upvote

yata commented on June 27, 2024
will update the after the exam
RESERVED
upvote

Akhilesh Gupta commented on January 30, 2024
Not at all related to the latest questions. Today only appeared and i would say <5% of the questions were from these dumps. Not at all updated.
Anonymous
upvote

senthil commented on January 28, 2024
good to identify the sample questions
UNITED STATES
upvote

kenenth commented on April 23, 2023
This is worth the freaking money and the amount of time you save. Rock on guys!
UNITED KINGDOM
upvote