[Mar 29, 2024] Get Unlimited Access to Professional-Cloud-Developer Certification Exam Cert Guide
Reliable Study Materials for Professional-Cloud-Developer Exam Success For Sure
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.
NEW QUESTION # 50
Your team has created an application that is hosted on a Google Kubernetes Engine (GKE) cluster You need to connect the application to a legacy REST service that is deployed in two GKE clusters in two different regions. You want to connect your application to the legacy service in a way that is resilient and requires the fewest number of steps You also want to be able to run probe-based health checks on the legacy service on a separate port How should you set up the connection?
- A. Use a proxyless Traffic Director configuration to connect the application to the service.
- B. Configure the legacy service's firewall to allow health checks originating from the application.
- C. Configure the legacy service's firewall to allow health checks originating from the proxy.
- D. Configure the legacy service's firewall to allow health checks originating from the Traffic Director control plane.
- E. Use Traffic Director with a sidecar proxy to connect the application to the service.
Answer: C,E
Explanation:
https://cloud.google.com/traffic-director/docs/advanced-setup#routing-rule-maps https://cloud.google.com/traffic-director/docs/advanced-setup A) Using Traffic Director with a sidecar proxy can provide resilience for your application by allowing for failover to the secondary region in the event of an outage. The sidecar proxy can route traffic to the legacy service in either of the two GKE clusters, ensuring high availability. C. Configuring the legacy service's firewall to allow health checks originating from the proxy allows the proxy to periodically check the health of the legacy service and ensure that it is functioning properly. This helps to ensure that traffic is only routed to healthy instances of the legacy service, further improving the resilience of the setup.
NEW QUESTION # 51
This architectural diagram depicts a system that streams data from thousands of devices. You want to ingest data into a pipeline, store the data, and analyze the data using SQL statements. Which Google Cloud services should you use for steps 1, 2, 3, and 4?
- A. 1) App Engine
2) Pub/Sub
3) BigQuery
4) Firestore - B. 1) Pub/Sub
2) Dataflow
3) Firestore
4) BigQuery - C. 1) Dataflow
2) Pub/Sub
3) Firestore
4) BigQuery - D. 1) Pub/Sub
2) Dataflow
3) BigQuery
4) Firestore
Answer: B
NEW QUESTION # 52
You want to view the memory usage of your application deployed on Compute Engine. What should you do?
- A. Use the Google Cloud Platform Console.
- B. Install the Stackdriver Monitoring Agent.
- C. Install the Stackdriver Client Library.
- D. Use the Stackdriver Metrics Explorer.
Answer: D
Explanation:
Reference:
https://stackoverflow.com/questions/43991246/google-cloud-platform-how-to-monitor-memory-usage-of-vm-ins
NEW QUESTION # 53
You are in the final stage of migrating an on-premises data center to Google Cloud. You are quickly approaching your deadline, and discover that a web API is running on a server slated for decommissioning. You need to recommend a solution to modernize this API while migrating to Google Cloud. The modernized web API must meet the following requirements:
* Autoscales during high traffic periods at the end of each month
* Written in Python 3.x
* Developers must be able to rapidly deploy new versions in response to frequent code changes You want to minimize cost, effort, and operational overhead of this migration. What should you do?
- A. Deploy the modernized application to an n1-standard-1 Compute Engine instance.
- B. Modernize and deploy the code on App Engine standard environment.
- C. Ask the development team to re-write the application to run as a Docker container on Google Kubernetes Engine.
- D. Modernize and deploy the code on App Engine flexible environment.
Answer: B
Explanation:
https://cloud.google.com/appengine/docs/standard
NEW QUESTION # 54
Your company has created an application that uploads a report to a Cloud Storage bucket. When the report is uploaded to the bucket, you want to publish a message to a Cloud Pub/Sub topic. You want to implement a solution that will take a small amount to effort to implement. What should you do?
- A. Configure the Cloud Storage bucket to trigger Cloud Pub/Sub notifications when objects are modified.
- B. Create an App Engine application to receive the file; when it is received, publish a message to the Cloud Pub/Sub topic.
- C. Create a Cloud Function that is triggered by the Cloud Storage bucket. In the Cloud Function, publish a message to the Cloud Pub/Sub topic.
- D. Create an application deployed in a Google Kubernetes Engine cluster to receive the file; when it is received, publish a message to the Cloud Pub/Sub topic.
Answer: C
Explanation:
https://cloud.google.com/storage/docs/pubsub-notifications
NEW QUESTION # 55
Your team develops services that run on Google Kubernetes Engine. You need to standardize their log data using Google-recommended practices and make the data more useful in the fewest number of steps. What should you do? (Choose two.)
- A. Write log output to standard output (stdout) as single-line JSON to be ingested into Cloud Logging as structured logs.
- B. Mandate the use of the Pub/Sub API to write structured data to Pub/Sub and create a Dataflow streaming pipeline to normalize logs and write them to BigQuery for analytics.
- C. Mandate the use of the Logging API in the application code to write structured logs to Cloud Logging.
- D. Create aggregated exports on application logs to BigQuery to facilitate log analytics.
- E. Create aggregated exports on application logs to Cloud Storage to facilitate log analytics.
Answer: A,D
Explanation:
https://cloud.google.com/stackdriver/docs/solutions/gke/managing-logs#best_practices
NEW QUESTION # 56
You need to redesign the ingestion of audit events from your authentication service to allow it to handle a large increase in traffic. Currently, the audit service and the authentication system run in the same Compute Engine virtual machine. You plan to use the following Google Cloud tools in the new architecture:
Multiple Compute Engine machines, each running an instance of the authentication service Multiple Compute Engine machines, each running an instance of the audit service Pub/Sub to send the events from the authentication services.
How should you set up the topics and subscriptions to ensure that the system can handle a large volume of messages and can scale efficiently?
- A. Create one Pub/Sub topic. Create one pull subscription per audit service instance to allow the services to share the messages.
- B. Create one Pub/Sub topic. Create one pull subscription to allow the audit services to share the messages.
- C. Create one Pub/Sub topic. Create one push subscription with the endpoint pointing to a load balancer in front of the audit services.
- D. Create one Pub/Sub topic per authentication service. Create one pull subscription per topic to be used by one audit service.
- E. Create one Pub/Sub topic per authentication service. Create one push subscription per topic, with the endpoint pointing to one audit service.
Answer: B
Explanation:
Explanation
https://cloud.google.com/pubsub/docs/subscriber "Multiple subscribers can make pull calls to the same "shared" subscription. Each subscriber will receive a subset of the messages."
NEW QUESTION # 57
HipLocal's APIs are showing occasional failures, but they cannot find a pattern. They want to collect some metrics to help them troubleshoot.
What should they do?
- A. Take frequent snapshots of all of the VMs.
- B. Install the Stackdriver Monitoring agent on the VMs.
- C. Use Stackdriver Trace to look for performance bottlenecks.
- D. Install the Stackdriver Logging agent on the VMs.
Answer: B
NEW QUESTION # 58
One of your deployed applications in Google Kubernetes Engine (GKE) is having intermittent performance issues. Your team uses a third-party logging solution. You want to install this solution on each node in your GKE cluster so you can view the logs. What should you do?
- A. Deploy the third-party solution as a DaemonSet
- B. Use SSH to connect to the GKE node, and install the software manually
- C. Modify your container image to include the monitoring software
- D. Deploy the third-party solution using Terraform and deploy the logging Pod as a Kubernetes Deployment
Answer: A
Explanation:
https://cloud.google.com/kubernetes-engine/docs/concepts/daemonset#usage_patterns DaemonSets are useful for deploying ongoing background tasks that you need to run on all or certain nodes, and which do not require user intervention. Examples of such tasks include storage daemons like ceph, log collection daemons like fluent-bit, and node monitoring daemons like collectd.
NEW QUESTION # 59
You are in the final stage of migrating an on-premises data center to Google Cloud. You are quickly approaching your deadline, and discover that a web API is running on a server slated for decommissioning.
You need to recommend a solution to modernize this API while migrating to Google Cloud. The modernized web API must meet the following requirements:
* Autoscales during high traffic periods at the end of each month
* Written in Python 3.x
* Developers must be able to rapidly deploy new versions in response to frequent code changes You want to minimize cost, effort, and operational overhead of this migration. What should you do?
- A. Deploy the modernized application to an n1-standard-1 Compute Engine instance.
- B. Modernize and deploy the code on App Engine standard environment.
- C. Ask the development team to re-write the application to run as a Docker container on Google Kubernetes Engine.
- D. Modernize and deploy the code on App Engine flexible environment.
Answer: B
Explanation:
Explanation
https://cloud.google.com/appengine/docs/standard
NEW QUESTION # 60
How would you define a "positive no" to a co-worker?
- A. It is a way to correct a customer by informing them of what you can do.
- B. You say no with a positive voice inflection.
- C. Lead with a positive then switch to a negative, such as, "Definitely not."
- D. It's leading with "no" and not engaging in any further conversation with the customer.
Answer: A
Explanation:
Explanation/Reference:
NEW QUESTION # 61
You are a developer at a large organization. You are deploying a web application to Google Kubernetes Engine (GKE). The DevOps team has built a CI/CD pipeline that uses Cloud Deploy to deploy the application to Dev Test, and Prod clusters in GKE. After Cloud Deploy successfully deploys the application to the Dev cluster you want to automatically promote it to the Test Cluster. How should you configure this process following Google-recommended best practices?
- A. 1 Create a Cloud Function that calls the Google Cloud Deploy API to promote the application to the Test cluster
2 Configure this function to be triggered by SUCCEEDED Pub/Sub messages from the clouddeploy operations topic - B. 1 Create a Cloud Build pipeline that uses the gke-deploy builder
2 Create a Cloud Build trigger that listens to SUCCEEDED Pub/Sub messages from the cloud-builds topic - C. 1 Create a Cloud Build trigger that listens for SUCCEEDED Pub/Sub messages from the clouddeploy-operations topic.
2 Configure Cloud Build to include a step that promotes the application to the Test cluster - D. 1 Create a Cloud Function that calls the Google Cloud Deploy API to promote the application to the Test cluster
2 Configure this function to be triggered by SUCCEEDED Pub/Sub messages from the cloud-builds topic
Answer: D
Explanation:
3 Configure this pipeline to run a deployment step to the Test cluster
NEW QUESTION # 62
You recently developed a new application. You want to deploy the application on Cloud Run without a Dockerfile. Your organization requires that all container images are pushed to a centrally managed container repository. How should you build your container using Google Cloud services? (Choose two.)
- A. Submit a Cloud Build job to push the image.
- B. Include the --source flag with the gcloud run deploy CLI command.
- C. Include the --platform=kubernetes flag with the gcloud run deploy CLI command.
- D. Use the pack build command with pack CLI.
- E. Push your source code to Artifact Registry.
Answer: D,E
Explanation:
Explanation
https://cloud.google.com/run/docs/deploying#images
https://cloud.google.com/blog/products/containers-kubernetes/google-cloud-now-supports-buildpacks
NEW QUESTION # 63
Your application performs well when tested locally, but it runs significantly slower when you deploy it to App Engine standard environment. You want to diagnose the problem. What should you do?
- A. Use Stackdriver Trace to determine which functions within the application have higher latency.
- B. Use Stackdriver Debugger Snapshots to look at a point-in-time execution of the application.
- C. Add logging commands to the application and use Stackdriver Logging to check where the latency problem occurs.
- D. File a ticket with Cloud Support indicating that the application performs faster locally.
Answer: C
Explanation:
Topic 1, HipLocal 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 10,000 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
NEW QUESTION # 64
You want to view the memory usage of your application deployed on Compute Engine. What should you do?
- A. Use the Google Cloud Platform Console.
- B. Install the Stackdriver Monitoring Agent.
- C. Install the Stackdriver Client Library.
- D. Use the Stackdriver Metrics Explorer.
Answer: D
Explanation:
Reference:
https://stackoverflow.com/questions/43991246/google-cloud-platform-how-to-monitor-memory-usage-of-vm-instances
NEW QUESTION # 65
......
New Google Professional-Cloud-Developer Dumps & Questions: https://www.actualtorrent.com/Professional-Cloud-Developer-questions-answers.html
100% Latest Most updated Professional-Cloud-Developer Questions and Answers: https://drive.google.com/open?id=1CvMa_JYXsiJebDluihd1FGZTjADZv5ix