
Try Professional-Cloud-Developer Free Now! Real Exam Question Answers Updated [Jan 09, 2024]
Get Ready to Pass the Professional-Cloud-Developer exam with Google Latest Practice Exam
NEW QUESTION # 104
In the systematic troubleshooting approach, which of the following statements is true about isolating an issue?
- A. Asking the customer to reproduce an issue can help determine if the issue is with the device.
- B. Basing a conclusion on past experience with similar issues is a proven troubleshooting method.
- C. If an issue cannot be reproduced, it is likely a hardware issue.
- D. Replacing an internal component will determine if the issue is related to environment.
Answer: A
NEW QUESTION # 105
Your team develops services that run on Google Kubernetes Engine. Your team's code is stored in Cloud Source Repositories. You need to quickly identify bugs in the code before it is deployed to production. You want to invest in automation to improve developer feedback and make the process as efficient as possible. What should you do?
- A. Use Spinnaker to automate building container images from code based on Git tags.
- B. Use Cloud Build to automate building container images from code based on Git tags.
- C. Use Cloud Build to automate building container images from code based on forked versions.
- D. Use Spinnaker to automate deploying container images to the production environment.
Answer: A
NEW QUESTION # 106
Case study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.
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's data science team wants to analyze user reviews.
How should they prepare the data?
- A. Use the Cloud Data Loss Prevention API for redaction of the review dataset.
- B. Use the Cloud Natural Language Processing API for de-identification of the review dataset.
- C. Use the Cloud Data Loss Prevention API for de-identification of the review dataset.
- D. Use the Cloud Natural Language Processing API for redaction of the review dataset.
Answer: B
NEW QUESTION # 107
You recently migrated an on-premises monolithic application to a microservices application on Google Kubernetes Engine (GKE). The application has dependencies on backend services on-premises, including a CRM system and a MySQL database that contains personally identifiable information (PII). The backend services must remain on-premises to meet regulatory requirements.
You established a Cloud VPN connection between your on-premises data center and Google Cloud. You notice that some requests from your microservices application on GKE to the backend services are failing due to latency issues caused by fluctuating bandwidth, which is causing the application to crash. How should you address the latency issues?
- A. Increase the number of Cloud VPN tunnels for the connection between Google Cloud and the on-premises services
- B. Use Istio to create a service mesh that includes the microservices on GKE and the on-premises services
- C. Decrease the network layer packet size by decreasing the Maximum Transmission Unit (MTU) value from its default value on Cloud VPN
- D. Use Memorystore to cache frequently accessed PII data from the on-premises MySQL database
Answer: A
Explanation:
Explanation
https://cloud.google.com/network-connectivity/docs/vpn/concepts/choosing-networks-routing#route-alignment
NEW QUESTION # 108
Which service should HipLocal use to enable access to internal apps?
- A. Cloud VPN
- B. Cloud Armor
- C. Cloud Identity-Aware Proxy
- D. Virtual Private Cloud
Answer: C
Explanation:
Reference:
https://cloud.google.com/iap/docs/cloud-iap-for-on-prem-apps-overview
NEW QUESTION # 109
You are deploying a microservices application to Google Kubernetes Engine (GKE). The application will receive daily updates. You expect to deploy a large number of distinct containers that will run on the Linux operating system (OS). You want to be alerted to any known OS vulnerabilities in the new containers. You want to follow Google-recommended best practices. What should you do?
- A. Use the Container Analysis REST API to call Container Analysis to scan new container images. Review the vulnerability results before each deployment.
- B. Enable Container Analysis, and upload new container images to Artifact Registry. Review the vulnerability results before each deployment.
- C. Use the gcloud CLI to call Container Analysis to scan new container images. Review the vulnerability results before each deployment.
- D. Enable Container Analysis, and upload new container images to Artifact Registry. Review the critical vulnerability results before each deployment.
Answer: B
Explanation:
Explanation
https://cloud.google.com/container-analysis/docs/automated-scanning-howto
https://cloud.google.com/container-analysis/docs/os-overview says: The Container Scanning API allows you to automate OS vulnerability detection, scanning each time you push an image to Container Registry or Artifact Registry. Enabling this API also triggers language package scans for Go and Java vulnerabilities (Preview).
NEW QUESTION # 110
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. Blue/green deployment
- B. Rolling deployment
- C. Recreate deployment
- D. Canary deployment
Answer: A
Explanation:
Reference: https://thenewstack.io/deployment-strategies/
NEW QUESTION # 111
You are running an application on App Engine that you inherited. You want to find out whether the application is using insecure binaries or is vulnerable to XSS attacks. Which service should you use?
- A. Cloud Security Scanner
- B. Stackdriver Error Reporting
- C. Cloud Amor
- D. Stackdriver Debugger
Answer: A
NEW QUESTION # 112
You configured your Compute Engine instance group to scale automatically according to overall CPU usage. However, your application's response latency increases sharply before the cluster has finished adding up instances. You want to provide a more consistent latency experience for your end users by changing the configuration ot the instance group autoscaler. Which two configuration changes should you make? (Choose two.)
- A. Decrease the cool-down period for instances added to the group.
- B. Remove the health-check for individual VMs in the instance group.
- C. Add the label "AUTOSCALE" to the instance group template.
- D. Decrease the target CPU usage for the instance group autoscaler.
- E. Increase the target CPU usage for the instance group autoscaler.
Answer: C,E
NEW QUESTION # 113
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. Create a build trigger on a Git branch name pattern. Use a Git branch naming convention for new releases.
- B. Create a build trigger on a Git tag pattern. Use a Git tag convention for new releases.
- C. Manually trigger the build for new releases.
- D. Commit your source code to a second Cloud Source Repositories repository with a second Cloud Build trigger. Use this repository for new releases only.
Answer: A
Explanation:
Reference: https://docs.docker.com/docker-hub/builds/
NEW QUESTION # 114
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. server-scripts/ --zone "us-east1-b"
gsutil cp --project "my-gcp-project" -R ~/local-scripts/ gcp-instance-name:~/ - B. server-scripts/ --zone "us-east1-b"
gcloud compute scp --project "my-gcp-project" --recurse ~/local-scripts/ gcp- - C. instance-name:~/server-scripts/ --zone "us-east1-b"
gcloud compute mv --project "my-gcp-project" --recurse ~/local-scripts/ gcp- - D. instance-name:~/server-scripts/ --zone "us-east1-b"
Answer: C
Explanation:
Explanation/Reference: https://cloud.google.com/sdk/gcloud/reference/compute/copy-files
NEW QUESTION # 115
Your company stores their source code in a Cloud Source Repositories repository. Your company wants to build and test their code on each source code commit to the repository and requires a solution that is managed and has minimal operations overhead.
Which method should they use?
- A. Use a source code commit trigger to push a message to a Cloud Pub/Sub topic that triggers an App Engine service to build the source code.
- B. Use a Compute Engine virtual machine instance with an open source continuous integration tool, configured to watch for source code commits.
- C. Use Cloud Build with a trigger configured for each source code commit.
- D. Use Jenkins deployed via the Google Cloud Platform Marketplace, configured to watch for source code commits.
Answer: C
Explanation:
Explanation
https://cloud.google.com/build/docs/automating-builds/create-manage-triggers#:~:text=A%20Cloud%20Build%2
NEW QUESTION # 116
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 maxSurge set to 1, maxUnavailable 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 0, maxUnavailable set to 1
- D. Perform a rolling-action with maxHealthy set to 1, maxUnhealthy set to 0.
Answer: A
NEW QUESTION # 117
You are developing a marquee stateless web application that will run on Google Cloud. The rate of the incoming user traffic is expected to be unpredictable, with no traffic on some days and large spikes on other days. You need the application to automatically scale up and down, and you need to minimize the cost associated with running the application. What should you do?
- A. Build the application in Python with Firestore as the database. Deploy the application to a Compute Engine managed instance group with autoscaling.
- B. Build the application in Python with CloudSQL as the database. Deploy the application to App Engine standard environment.
- C. Build the application in C# with Firestore as the database. Deploy the application to App Engine flexible environment.
- D. Build the application in Python with Firestore as the database. Deploy the application to Cloud Run.
Answer: D
NEW QUESTION # 118
Your company has a data warehouse that keeps your application information in BigQuery. The BigQuery data warehouse keeps 2 PBs of user data. Recently, your company expanded your user base to include EU users and needs to comply with these requirements:
Your company must be able to delete all user account information upon user request.
All EU user data must be stored in a single region specifically for EU users.
Which two actions should you take? (Choose two.)
- A. Re-upload your data using to a Cloud Dataflow pipeline by filtering your user records out.
- B. Use BigQuery federated queries to query data from Cloud Storage.
- C. Create a dataset in the EU region that will keep information about EU users only.
- D. Use DML statements in BigQuery to update/delete user records based on their requests.
- E. Create a Cloud Storage bucket in the EU region to store information for EU users only.
Answer: D,E
Explanation:
Reference: https://cloud.google.com/solutions/bigquery-data-warehouse
NEW QUESTION # 119
You are a developer working with the CI/CD team to troubleshoot a new feature that your team introduced. The CI/CD team used HashiCorp Packer to create a new Compute Engine image from your development branch. The image was successfully built, but is not booting up. You need to investigate the issue with the CI/CD team. What should you do?
- A. Check Compute Engine OS logs using the serial port, and check the Cloud Logging logs to confirm access to the serial port.
- B. Install Packer locally, build the Compute Engine image locally, and then run it in your personal Google Cloud project.
- C. Shut down the deployed virtual machine, export the disk, and then mount the disk locally to access the boot logs.
- D. Create a new feature branch, and ask the build team to rebuild the image.
Answer: A
Explanation:
https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-using-serial-console
NEW QUESTION # 120
You are designing an application that will subscribe to and receive messages from a single Pub/Sub topic and insert corresponding rows into a database. Your application runs on Linux and leverages preemptible virtual machines to reduce costs. You need to create a shutdown script that will initiate a graceful shutdown. What should you do?
- A. Write a shutdown script that uses inter-process signals to notify the application process to disconnect from the database.
- B. Write a shutdown script that writes a file in a location that is being polled by the application once every five minutes. After the file is read, the application disconnects from the database.
- C. Write a shutdown script that publishes a message to the Pub/Sub topic announcing that a shutdown is in progress. After the application reads the message, it disconnects from the database.
- D. Write a shutdown script that broadcasts a message to all signed-in users that the Compute Engine instance is going down and instructs them to save current work and sign out.
Answer: C
NEW QUESTION # 121
In order for HipLocal to store application state and meet their stated business requirements, which database service should they migrate to?
- A. Cloud Memorystore as a cache
- B. Cloud Spanner
- C. Cloud Datastore
- D. Separate Cloud SQL clusters for each region
Answer: D
NEW QUESTION # 122
You developed a JavaScript web application that needs to access Google Drive's API and obtain permission from users to store files in their Google Drives. You need to select an authorization approach for your application. What should you do?
- A. Create a SAML token.
- B. Create a service account.
- C. Create an API key.
- D. Create an OAuth Client ID.
Answer: D
NEW QUESTION # 123
......
The Google Professional-Cloud-Developer exam consists of multiple-choice questions and is available in English and Japanese languages. It can be taken online from anywhere and at any time. Professional-Cloud-Developer exam fee is $200, and the certification is valid for two years. Google recommends that candidates have at least three years of industry experience before taking the exam. Google Certified Professional - Cloud Developer certification provides many benefits, including recognition from peers and potential employers, access to Google's community, and opportunities for career advancement.
Google Professional-Cloud-Developer certification is a highly recognized certification exam that aims to validate an individual’s ability to develop, deploy, and manage applications on Google Cloud Platform (GCP). Google Certified Professional - Cloud Developer certification is designed for developers who are familiar with GCP and have experience in software development, and who want to demonstrate their skills and knowledge.
Pass Your Next Professional-Cloud-Developer Certification Exam Easily & Hassle Free: https://www.getvalidtest.com/Professional-Cloud-Developer-exam.html
Get Prepared for Your Professional-Cloud-Developer Exam With Actual Google Study Guide!: https://drive.google.com/open?id=1M2A3Grvh36cCLj8fHxeydjVELsQA38_Z