
2022 Realistic Professional-Cloud-Developer Dumps Exam Tips Test Pdf Exam Material
Powerful Professional-Cloud-Developer PDF Dumps for Professional-Cloud-Developer Questions
Google Professional Cloud Developer Certified Professional salary
The average salary of a Google Professional Cloud Developer Certified Expert in
- Europe - 145,347 EURO
- England - 135,632 POUND
- United State - 181,247 USD
- India - 27,42,327 INR
NEW QUESTION 56
You are using Cloud Build to create a new Docker image on each source code commit to a Cloud Source Repositoties repository. Your application is built on every commit to the master branch. You want to release specific commits made to the master branch in an automated method. What should you do?
- A. Commit your source code to a second Cloud Source Repositories repository with a second Cloud Build trigger. Use this repository for new releases only.
- B. Manually trigger the build for new releases.
- C. Create a build trigger on a Git tag pattern. Use a Git tag convention for new releases.
- D. Create a build trigger on a Git branch name pattern. Use a Git branch naming convention for new releases.
Answer: D
NEW QUESTION 57
You recently migrated a monolithic application to Google Cloud by breaking it down into microservices. One of the microservices is deployed using Cloud Functions. As you modernize the application, you make a change to the API of the service that is backward-incompatible. You need to support both existing callers who use the original API and new callers who use the new API. What should you do?
- A. Re-deploy the Cloud Function after making code changes to support the new API. Requests for both versions of the API are fulfilled based on a version identifier included in the call.
- B. Leave the original Cloud Function as-is and deploy a second Cloud Function with the new API. Use a load balancer to distribute calls between the versions.
- C. Leave the original Cloud Function as-is and deploy a second Cloud Function that includes only the changed API. Calls are automatically routed to the correct function.
- D. Leave the original Cloud Function as-is and deploy a second Cloud Function with the new API. Use Cloud Endpoints to provide an API gateway that exposes a versioned API.
Answer: A
NEW QUESTION 58
You are planning to migrate a MySQL database to the managed Cloud SQL database for Google Cloud. You have Compute Engine virtual machine instances that will connect with this Cloud SQL instance. You do not want to whitelist IPs for the Compute Engine instances to be able to access Cloud SQL.
What should you do?
- A. Create a role in Cloud SQL that allows access to the database from external instances, and assign the Compute Engine instances to that role.
- B. Whitelist a project to access Cloud SQL, and add Compute Engine instances in the whitelisted project.
- C. Create a CloudSQL instance on one project. Create Compute engine instances in a different project.Create a VPN between these two projects to allow internal access to CloudSQL.
- D. Enable private IP for the Cloud SQL instance.
Answer: A
NEW QUESTION 59
You are developing an application that will allow users to read and post comments on news articles. You want to configure your application to store and display user-submitted comments using Firestore. How should you design the schema to support an unknown number of comments and articles?
- A. Store each comment in a document, and add the comment's key to an array property on the user profile.
- B. Add each comment to an array property on the article.
- C. Store each comment in a document, and add the comment's key to an array property on the article.
- D. Store each comment in a subcollection of the article.
Answer: A
NEW QUESTION 60
HipLocal wants to reduce the number of on-call engineers and eliminate manual scaling.
Which two services should they choose? (Choose two.)
- A. Use serverless Google Cloud Functions.
- B. Use Google App Engine services.
- C. Use a large Google Compute Engine cluster for deployments.
- D. Use Google Kubernetes Engine for automated deployments.
- E. Use Knative to build and deploy serverless applications.
Answer: A,E
NEW QUESTION 61
You are writing a single-page web application with a user-interface that communicates with a third-party API for content using XMLHttpRequest. The data displayed on the UI by the API results is less critical than other data displayed on the same web page, so it is acceptable for some requests to not have the API data displayed in the UI. However, calls made to the API should not delay rendering of other parts of the user interface. You want your application to perform well when the API response is an error or a timeout.
What should you do?
- A. Catch timeout or error exceptions from the API call and display the error response in the UI widget.
- B. Set the asynchronous option for your request to the API to true and omit the widget displaying the API results when a timeout or error is encountered.
- C. Set the asynchronous option for your requests to the API to false and omit the widget displaying the API results when a timeout or error is encountered.
- D. Catch timeout or error exceptions from the API call and keep trying with exponential backoff until the API response is successful.
Answer: C
NEW QUESTION 62
Your service adds text to images that it reads from Cloud Storage. During busy times of the year, requests to Cloud Storage fail with an HTTP 429 "Too Many Requests" status code.
How should you handle this error?
- A. Request a quota increase from the GCP Console.
- B. Retry the request with a truncated exponential backoff strategy.
- C. Add a cache-control header to the objects.
- D. Change the storage class of the Cloud Storage bucket to Multi-regional.
Answer: B
NEW QUESTION 63
You are planning to deploy your application in a Google Kubernetes Engine (GKE) cluster. Your application can scale horizontally, and each instance of your application needs to have a stable network identity and its own persistent disk.
Which GKE object should you use?
- A. StatefulSet
- B. ReplicaSet
- C. ReplicaController
- D. Deployment
Answer: A
Explanation:
Reference:
https://livebook.manning.com/book/kubernetes-in-action/chapter-10/46
NEW QUESTION 64
Your existing application keeps user state information in a single MySQL database. This state information is very user-specific and depends heavily on how long a user has been using an application. The MySQL database is causing challenges to maintain and enhance the schema for various users.
Which storage option should you choose?
- A. Cloud Spanner
- B. Cloud Datastore/Firestore
- C. Cloud SQL
- D. Cloud Storage
Answer: C
Explanation:
Reference:
https://cloud.google.com/solutions/migrating-mysql-to-cloudsql-concept
NEW QUESTION 65
You are developing an ecommerce application that stores customer, order, and inventory data as relational tables inside Cloud Spanner. During a recent load test, you discover that Spanner performance is not scaling linearly as expected. Which of the following is the cause?
- A. The use of LIKE instead of STARTS_WITH keyword for parameterized SQL queries.
- B. The use of 64-bit numeric types for 32-bit numbers.
- C. The use of the STRING data type for arbitrary-precision values.
- D. The use of Version 1 UUIDs as primary keys that increase monotonically.
Answer: D
NEW QUESTION 66
You are developing an application that reads credit card data from a Pub/Sub subscription. You have written code and completed unit testing. You need to test the Pub/Sub integration before deploying to Google Cloud. What should you do?
- A. Create a service to publish messages, and deploy the Pub/Sub emulator. Collect the messages from Pub/Sub in production, and publish them to the emulator.
- B. Create a service to publish messages, and deploy the Pub/Sub emulator. Publish a standard set of testing messages from the publishing service to the emulator.
- C. Create a service to publish messages, and deploy the Pub/Sub emulator. Generate random content in the publishing service, and publish to the emulator.
- D. Create a service to publish messages to your application. Collect the messages from Pub/Sub in production, and replay them through the publishing service.
Answer: B
NEW QUESTION 67
You have an application deployed in production. When a new version is deployed, some issues don't arise until the application receives traffic from users in production. You want to reduce both the impact and the number of users affected.
Which deployment strategy should you use?
- A. Recreate deployment
- B. Rolling deployment
- C. Canary deployment
- D. Blue/green deployment
Answer: D
Explanation:
Explanation/Reference: https://thenewstack.io/deployment-strategies/
NEW QUESTION 68
Which service should HipLocal use to enable access to internal apps?
- A. Cloud VPN
- B. Virtual Private Cloud
- C. Cloud Armor
- D. Cloud Identity-Aware Proxy
Answer: D
NEW QUESTION 69
You are porting an existing Apache/MySQL/PHP application stack from a single machine to Google Kubernetes Engine. You need to determine how to containerize the application. Your approach should follow Google-recommended best practices for availability. What should you do?
- A. Package each component in a separate container. Use a script to orchestrate the launch of the components.
- B. Package the application in a single container. Use a process management tool to manage each component.
- C. Package the application in a single container. Use a bash script as an entrypoint to the container, and then spawn each component as a background job.
- D. Package each component in a separate container. Implement readiness and liveness probes.
Answer: D
Explanation:
https://cloud.google.com/blog/products/containers-kubernetes/7-best-practices-for-building-containers
https://cloud.google.com/architecture/best-practices-for-building-containers
"classic Apache/MySQL/PHP stack: you might be tempted to run all the components in a single container. However, the best practice is to use two or three different containers: one for Apache, one for MySQL, and potentially one for PHP if you are running PHP-FPM."
NEW QUESTION 70
You have an application controlled by a managed instance group. When you deploy a new version of the application, costs should be minimized and the number of instances should not increase. You want to ensure that, when each new instance is created, the deployment only continues if the new instance is healthy. What should you do?
- A. Perform a rolling-action with maxHealthy set to 1, maxUnhealthy set to 0.
- B. Perform a rolling-action with maxHealthy set to 0, maxUnhealthy set to 1.
- C. Perform a rolling-action with maxSurge set to 1, maxUnavailable set to 0.
- D. Perform a rolling-action with maxSurge set to 0, maxUnavailable set to 1
Answer: C
Explanation:
Explanation/Reference: https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance- groups
NEW QUESTION 71
You are developing a corporate tool on Compute Engine for the finance department, which needs to authenticate users and verify that they are in the finance department. All company employees use G Suite.
What should you do?
- A. Enable Cloud Identity-Aware Proxy on the HTTP(s) load balancer and restrict access to a Google Group containing users in the finance department. Issue client-side certificates to everybody in the finance team and verify the certificates in the application.
- B. Enable Cloud Identity-Aware Proxy on the HTTP(s) load balancer and restrict access to a Google Group containing users in the finance department. Verify the provided JSON Web Token within the application.
- C. Configure Cloud Armor Security Policies to restrict access to only corporate IP address ranges. Issue client side certificates to everybody in the finance team and verify the certificates in the application.
- D. Configure Cloud Armor Security Policies to restrict access to only corporate IP address ranges. Verify the provided JSON Web Token within the application.
Answer: B
Explanation:
https://cloud.google.com/iap/docs/signed-headers-howto#securing_iap_headers (https://cloud.google.com/endpoints/docs/openapi/authenticating-users-google-id).
https://cloud.google.com/armor/docs/security-policy-overview#:~:text=Google%20Cloud%20Armor%20security%20policies%20enable%20you%20to%20allow%20or,Private%20Cloud%20(VPC)%20networks
"Google Cloud Armor security policies protect your application by providing Layer 7 filtering and by scrubbing incoming requests for common web attacks or other Layer 7 attributes to potentially block traffic before it reaches your load balanced backend services or backend buckets"
NEW QUESTION 72
You need to copy directory local-scripts and all of its contents from your local workstation to a Compute Engine virtual machine instance.
Which command should you use?
gsutil cp --project "my-gcp-project" -r ~/local-scripts/ gcp-instance-name:~/
- A. instance-name:~/server-scripts/ --zone "us-east1-b"
gcloud compute mv --project "my-gcp-project" --recurse ~/local-scripts/ gcp- - B. server-scripts/ --zone "us-east1-b"
gsutil cp --project "my-gcp-project" -R ~/local-scripts/ gcp-instance-name:~/ - C. server-scripts/ --zone "us-east1-b"
gcloud compute scp --project "my-gcp-project" --recurse ~/local-scripts/ gcp- - D. instance-name:~/server-scripts/ --zone "us-east1-b"
Answer: A
Explanation:
Explanation/Reference: https://cloud.google.com/sdk/gcloud/reference/compute/copy-files
NEW QUESTION 73
Your App Engine standard configuration is as follows:
service: production
instance_class: B1
You want to limit the application to 5 instances. Which code snippet should you include in your configuration?
manual_scaling:
- A. max_instances: 5
idle_timeout: 10m
basic_scaling: - B. instances: 5
min_pending_latency: 30ms
manual_scaling: - C. max_instances: 5
idle_timeout: 10m - D. instances: 5
min_pending_latency: 30ms
basic_scaling:
Answer: D
NEW QUESTION 74
Which of the following statements is true about an actively swelling embedded battery?
- A. Actively swelling batteries are likely caused by large amounts of liquid inside the batteries.
- B. Actively swelling batteries are more likely to rupture and release gasses.
- C. Actively swelling batteries are unlikely to lead to thermal runaway.
- D. Actively swelling batteries are not considered a safety concern.
Answer: B
Explanation:
Explanation/Reference: https://www.ifixit.com/News/11211/what-to-do-with-a-swollen-iphone-battery
NEW QUESTION 75
You are deploying your application to a Compute Engine virtual machine instance with the Stackdriver Monitoring Agent installed. Your application is a unix process on the instance. You want to be alerted if the unix process has not run for at least 5 minutes. You are not able to change the application to generate metrics or logs.
Which alert condition should you configure?
- A. Process health
- B. Uptime check
- C. Metric threshold
- D. Metric absence
Answer: A
Explanation:
Reference:
https://cloud.google.com/monitoring/alerts/concepts-indepth
NEW QUESTION 76
Case Study
Company Overview
HipLocal is a community application designed to facilitate communication between people in close proximity. It is used for event planning and organizing sporting events, and for businesses to connect with their local communities. HipLocal launched recently in a few neighborhoods in Dallas and is rapidly growing into a global phenomenon. Its unique style of hyper-local community communication and business outreach is in demand around the world.
Executive Statement
We are the number one local community app; it's time to take our local community services global. Our venture capital investors want to see rapid growth and the same great experience for new local and virtual communities that come online, whether their members are 10 or 10000 miles away from each other.
Solution Concept
HipLocal wants to expand their existing service, with updated functionality, in new regions to better serve their global customers. They want to hire and train a new team to support these regions in their time zones. They will need to ensure that the application scales smoothly and provides clear uptime data.
Existing Technical Environment
HipLocal's environment is a mix of on-premises hardware and infrastructure running in Google Cloud Platform.
The HipLocal team understands their application well, but has limited experience in global scale applications.
Their existing technical environment is as follows:
* Existing APIs run on Compute Engine virtual machine instances hosted in GCP.
* State is stored in a single instance MySQL database in GCP.
* Data is exported to an on-premises Teradata/Vertica data warehouse.
* Data analytics is performed in an on-premises Hadoop environment.
* The application has no logging.
* There are basic indicators of uptime; alerts are frequently fired when the APIs are unresponsive.
Business Requirements
HipLocal's investors want to expand their footprint and support the increase in demand they are seeing. Their requirements are:
* Expand availability of the application to new regions.
* Increase the number of concurrent users that can be supported.
* Ensure a consistent experience for users when they travel to different regions.
* Obtain user activity metrics to better understand how to monetize their product.
* Ensure compliance with regulations in the new regions (for example, GDPR).
* Reduce infrastructure management time and cost.
* Adopt the Google-recommended practices for cloud computing.
Technical Requirements
* The application and backend must provide usage metrics and monitoring.
* APIs require strong authentication and authorization.
* Logging must be increased, and data should be stored in a cloud analytics platform.
* Move to serverless architecture to facilitate elastic scaling.
* Provide authorized access to internal apps in a secure manner.
HipLocal wants to reduce the number of on-call engineers and eliminate manual scaling.
Which two services should they choose? (Choose two.)
- A. Use serverless Google Cloud Functions.
- B. Use Google App Engine services.
- C. Use a large Google Compute Engine cluster for deployments.
- D. Use Google Kubernetes Engine for automated deployments.
- E. Use Knative to build and deploy serverless applications.
Answer: A,E
Explanation:
Explanation
NEW QUESTION 77
Case Study
Company Overview
HipLocal is a community application designed to facilitate communication between people in close proximity. It is used for event planning and organizing sporting events, and for businesses to connect with their local communities. HipLocal launched recently in a few neighborhoods in Dallas and is rapidly growing into a global phenomenon. Its unique style of hyper-local community communication and business outreach is in demand around the world.
Executive Statement
We are the number one local community app; it's time to take our local community services global. Our venture capital investors want to see rapid growth and the same great experience for new local and virtual communities that come online, whether their members are 10 or 10000 miles away from each other.
Solution Concept
HipLocal wants to expand their existing service, with updated functionality, in new regions to better serve their global customers. They want to hire and train a new team to support these regions in their time zones. They will need to ensure that the application scales smoothly and provides clear uptime data.
Existing Technical Environment
HipLocal's environment is a mix of on-premises hardware and infrastructure running in Google Cloud Platform.
The HipLocal team understands their application well, but has limited experience in global scale applications.
Their existing technical environment is as follows:
* Existing APIs run on Compute Engine virtual machine instances hosted in GCP.
* State is stored in a single instance MySQL database in GCP.
* Data is exported to an on-premises Teradata/Vertica data warehouse.
* Data analytics is performed in an on-premises Hadoop environment.
* The application has no logging.
* There are basic indicators of uptime; alerts are frequently fired when the APIs are unresponsive.
Business Requirements
HipLocal's investors want to expand their footprint and support the increase in demand they are seeing. Their requirements are:
* Expand availability of the application to new regions.
* Increase the number of concurrent users that can be supported.
* Ensure a consistent experience for users when they travel to different regions.
* Obtain user activity metrics to better understand how to monetize their product.
* Ensure compliance with regulations in the new regions (for example, GDPR).
* Reduce infrastructure management time and cost.
* Adopt the Google-recommended practices for cloud computing.
Technical Requirements
* The application and backend must provide usage metrics and monitoring.
* APIs require strong authentication and authorization.
* Logging must be increased, and data should be stored in a cloud analytics platform.
* Move to serverless architecture to facilitate elastic scaling.
* Provide authorized access to internal apps in a secure manner.
In order to meet their business requirements, how should HipLocal store their application state?
- A. Replace the MySQL instance with Cloud SQL.
- B. Use local SSDs to store state.
- C. Put a memcache layer in front of MySQL.
- D. Move the state storage to Cloud Spanner.
Answer: C
NEW QUESTION 78
- A. Enable the Cloud Storage API in project B.
- B. Grant the [email protected] service account the roles/ storage.objectCreator role for the Cloud Storage bucket.
- C. Grant your user account the roles/storage.objectCreator role for the Cloud Storage bucket.
- D. It is supposed to write an object in a Cloud Storage bucket owned by project B. However, the write call is failing with the error "403 Forbidden".
What should you do to correct the problem? - E. Grant your user account the roles/iam.serviceAccountUser role for the service-PROJECTA@gcf-admin- robot.iam.gserviceaccount.com service account.
Answer: E
NEW QUESTION 79
You have an application deployed in production. When a new version is deployed, you want to ensure that all production traffic is routed to the new version of your application. You also want to keep the previous version deployed so that you can revert to it if there is an issue with the new version.
Which deployment strategy should you use?
- A. Recreate deployment
- B. Rolling deployment
- C. Canary deployment
- D. Blue/green deployment
Answer: D
NEW QUESTION 80
Your application is logging to Stackdriver. You want to get the count of all requests on all /api/alpha/* endpoints.
What should you do?
- A. Add a Stackdriver counter metric for path:/api/alpha/.
- B. Add a Stackdriver counter metric for endpoint:/api/alpha/*.
- C. Export the logs to Cloud Storage and count lines matching /api/alpha.
- D. Export the logs to Cloud Pub/Sub and count lines matching /api/alpha.
Answer: C
Explanation:
Explanation/Reference:
NEW QUESTION 81
......
Who should take the Google Professional Cloud Developer exam
Individuals should pursue the Google Professional Cloud Developer Exam if they want to demonstrate their expertise and ability to design highly scalable, available, and reliable cloud-native applications and deploy applications. It's perfect for solutions and/or enterprise architects, systems administrators or operations team members or simply any professional who wants in on this specific area of IT and cloud. A Professional Cloud Developer should have skills at producing meaningful metrics and logs to debug and trace code and proficiency with at least one general-purpose programming language.
Guaranteed Accomplishment with Newest Sep-2022 FREE: https://www.pass4suresvce.com/Professional-Cloud-Developer-pass4sure-vce-dumps.html
Authentic Professional-Cloud-Developer Dumps - Free PDF Questions to Pass: https://drive.google.com/open?id=1lLkjZnjWoEa3PKOBNjVaqeysLe1d0DB9