May-2023 Google Professional-Cloud-Developer Certification Real 2023 Mock Exam
Professional-Cloud-Developer Exam Questions and Valid PMP Dumps PDF
The Google Professional-Cloud-Developer certification is an industry-recognized credential that demonstrates one’s expertise in cloud-native application development on the Google Cloud Platform. This certification is particularly valuable for developers who work with Google Cloud technologies and are responsible for creating cloud-native applications that can scale and adapt to changing business requirements.
Career Opportunity
Those individuals who have the Google Professional Cloud Developer certification can take up the job titles, such as Software Engineers, Solutions Architects, Operations Analysts, Web Application Developers, Senior Software Engineers, Information Security Managers, or Data Engineers. The average salary for these positions is $87,000 per annum.
Exam Overview
The Professional Cloud Developer certification exam is a 2-hour test covering the multiple-choice and multiple-select questions. It can be taken in English or Japanese and is available as an online proctored and an on-site proctored exam. The registration process costs $200, and this is for the delivery of a single test. The candidates who do not pass the exam must retake it to obtain the associated certificate. To do this, they must pay a new exam fee for their retake.
NEW QUESTION # 62
You have an application that uses an HTTP Cloud Function to process user activity from both desktop browser and mobile application clients. This function will serve as the endpoint for all metric submissions using HTTP POST.
Due to legacy restrictions, the function must be mapped to a domain that is separate from the domain requested by users on web or mobile sessions. The domain for the Cloud Function is https://fn.example.com. Desktop and mobile clients use the domain https://www.example.com. You need to add a header to the function's HTTP response so that only those browser and mobile sessions can submit metrics to the Cloud Function. Which response header should you add?
- A. Access-Control-Allow-Origin: *
- B. Access-Control-Allow-Origin: https://fn.example.com
- C. Access-Control-Allow-origin: https://www.example.com
- D. Access-Control-Allow-Origin: https://*.example.com
Answer: C
NEW QUESTION # 63
You are evaluating developer tools to help drive Google Kubernetes Engine adoption and integration with your development environment, which includes VS Code and IntelliJ. What should you do?
- A. Use a Cloud Notebook instance to ingest and process data and deploy models.
- B. Use Cloud Code to develop applications.
- C. Use Cloud Shell to manage your infrastructure and applications from the command line.
- D. Use the Cloud Shell integrated Code Editor to edit code and configuration files.
Answer: B
Explanation:
Reference: https://cloud.google.com/code
NEW QUESTION # 64
You are working on a social media application. You plan to add a feature that allows users to upload images.
These images will be 2 MB - 1 GB in size. You want to minimize their infrastructure operations overhead for this feature. What should you do?
- A. Change the application to create signed URLs for Cloud Storage. Transfer these signed URLs to the client application to upload images to Cloud Storage.
- B. Create a separate bucket for each user in Cloud Storage. Assign a separate service account to allow write access on each bucket. Transfer service account credentials to the client application based on user information. The application uses this service account to upload images to Cloud Storage.
- C. Set up a web server on GCP to accept user images and create a file store to keep uploaded files. Change the application to retrieve images from the file store.
- D. Change the application to accept images directly and store them in the database that stores other user information.
Answer: A
Explanation:
Explanation/Reference: https://cloud.google.com/blog/products/storage-data-transfer/uploading-images-directly-to-cloud- storage-by-using-signed-url
NEW QUESTION # 65
You manage an ecommerce application that processes purchases from customers who can subsequently cancel or change those purchases. You discover that order volumes are highly variable and the backend order-processing system can only process one request at a time. You want to ensure seamless performance for customers regardless of usage volume. It is crucial that customers' order update requests are performed in the sequence in which they were generated. What should you do?
- A. Send the purchase and change requests over WebSockets to the backend.
- B. Send the purchase and change requests as REST requests to the backend.
- C. Use a Pub/Sub subscriber in pull mode and use a data store to manage ordering.
- D. Use a Pub/Sub subscriber in push mode and use a data store to manage ordering.
Answer: C
Explanation:
Explanation
https://cloud.google.com/pubsub/docs/pull
NEW QUESTION # 66
Your company has deployed a new API to App Engine Standard environment. During testing, the API is not behaving as expected. You want to monitor the application over time to diagnose the problem within the application code without redeploying the application.
Which tool should you use?
- A. Stackdriver Trace
- B. Stackdriver Debug Snapshots
- C. Stackdriver Monitoring
- D. Stackdriver Debug Logpoints
Answer: C
Explanation:
Reference:
1ba49e4780e6
NEW QUESTION # 67
Elizabeth would rather not answer phone calls using her iMac. Where in macOS can Elizabeth turn off iPhone Cellular Calls?
- A. Turn off iPhone Cellular Calls in FaceTime preferences.
- B. Turn off iPhone Cellular Calls in Messages preferences.
- C. Turn off iPhone Cellular Calls in iCloud preferences.
- D. Turn off iPhone Cellular Calls in System Preferences.
Answer: A
Explanation:
Explanation/Reference: https://discussions.apple.com/thread/6836476
NEW QUESTION # 68
In which of the following circumstances should a technician ensure that he or she is grounded to minimize ESD?
- A. The technician is working on a device that is plugged in to AC power.
- B. The technician is cleaning the display on a device after reassembly.
- C. The technician is conducting a current test on a device.
- D. The technician is replacing a circuit board inside a device.
Answer: D
NEW QUESTION # 69
You are deploying a single website on App Engine that needs to be accessible via the URL http://www.altostrat.com/. What should you do?
- A. Define a mapping in dispatch.yaml to point the domain www.altostrat.com to your App Engine service. Create a DNS CNAME record to point to the App Engine canonical name ghs.googlehosted.com.
- B. Verify domain ownership with Webmaster Central. Create a DNS CNAME record to point to the App Engine canonical name ghs.googlehosted.com.
- C. Verify domain ownership with Webmaster Central. Define an A record pointing to the single global App Engine IP address.
- D. Define a mapping in dispatch.yaml to point the domain www.altostrat.com to your App Engine service. Define an A record pointing to the single global App Engine IP address.
Answer: B
NEW QUESTION # 70
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. ReplicaController
- B. Deployment
- C. StatefulSet
- D. ReplicaSet
Answer: C
Explanation:
Explanation/Reference: https://livebook.manning.com/book/kubernetes-in-action/chapter-10/46
NEW QUESTION # 71
For this question, refer to the HipLocal case study.
HipLocal's application uses Cloud Client Libraries to interact with Google Cloud. HipLocal needs to configure authentication and authorization in the Cloud Client Libraries to implement least privileged access for the application. What should they do?
- A. Create an API key. Use the API key to interact with Google Cloud.
- B. Create a service account for the application and for each Google Cloud API used by the application.
Export and deploy the private keys used by the application. Use the service account with one Google Cloud API to interact with Google Cloud. - C. Use the default compute service account to interact with Google Cloud.
- D. Create a service account for the application. Export and deploy the private key for the application. Use the service account to interact with Google Cloud.
Answer: A
NEW QUESTION # 72
You are developing a single-player mobile game backend that has unpredictable traffic patterns as users interact with the game throughout the day and night. You want to optimize costs by ensuring that you have enough resources to handle requests, but minimize over-provisioning. You also want the system to handle traffic spikes efficiently. Which compute platform should you use?
- A. Compute Engine with managed instance groups
- B. Google Kubernetes Engine using cluster autoscaling
- C. Cloud Run
- D. Compute Engine with unmanaged instance groups
Answer: C
NEW QUESTION # 73
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 de-identification of the review dataset.
- B. Use the Cloud Data Loss Prevention API for redaction of the review dataset.
- C. Use the Cloud Natural Language Processing API for redaction of the review dataset.
- D. Use the Cloud Natural Language Processing API for de-identification of the review dataset.
Answer: D
NEW QUESTION # 74
Your application is running in multiple Google Kubernetes Engine clusters. It is managed by a Deployment in each cluster. The Deployment has created multiple replicas of your Pod in each cluster. You want to view the logs sent to stdout for all of the replicas in your Deployment in all clusters. Which command should you use?
- A. kubectl exec -it [PARAM] journalctl
- B. kubectl logs [PARAM]
- C. gcloud compute ssh [PARAM] --command= "sudo journalctl"
- D. gcloud logging read [PARAM]
Answer: C
NEW QUESTION # 75
You are creating a Google Kubernetes Engine (GKE) cluster and run this command:
The command fails with the error:
You want to resolve the issue. What should you do?
- A. Decouple services in the cluster, and rewrite new clusters to function with fewer cores.
- B. Request additional Compute Engine quota in the GCP Console.
- C. Request additional GKE quota is the GCP Console.
- D. Open a support case to request additional GKE quotA.
Answer: C
NEW QUESTION # 76
Which of the following gestures should be avoided when welcoming a customer? (Choose two.)
- A. Making eye contact
- B. Standing straight
- C. Opening hands
- D. Folding arms
- E. Fidgeting
Answer: D,E
NEW QUESTION # 77
Your API backend is running on multiple cloud providers. You want to generate reports for the network latency of your API.
Which two steps should you take? (Choose two.)
- A. Use Zipkin collector to gather data.
- B. Use Stackdriver Debugger to generate report.
- C. Use Stackdriver Profiler to generate report.
- D. Use Fluentd agent to gather data.
- E. Use Stackdriver Trace to generate reports.
Answer: C,E
Explanation:
Explanation/Reference:
NEW QUESTION # 78
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. Use DML statements in BigQuery to update/delete user records based on their requests.
- B. Create a Cloud Storage bucket in the EU region to store information for EU users only.
- C. Re-upload your data using to a Cloud Dataflow pipeline by filtering your user records out.
- D. Use BigQuery federated queries to query data from Cloud Storage.
- E. Create a dataset in the EU region that will keep information about EU users only.
Answer: A,B
Explanation:
Explanation/Reference: https://cloud.google.com/solutions/bigquery-data-warehouse
NEW QUESTION # 79
A computer service technician says, "I don't use ESD precautions and have never had a problem." Which of the following is the correct response to this statement?
- A. ESD damage may not appear immediately.
- B. ESD damage is really not as bad as everyone thinks.
- C. ESD happens only to inexperienced technicians.
- D. ESD only occurs in very rare circumstances.
Answer: D
Explanation:
Explanation/Reference: https://electronics.stackexchange.com/questions/2945/should-i-be-worried-about-electro-static- discharge
NEW QUESTION # 80
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 wants to reduce the number of on-call engineers and eliminate manual scaling.
Which two services should they choose? (Choose two.)
- A. Use Google App Engine services.
- B. Use Knative to build and deploy serverless applications.
- C. Use a large Google Compute Engine cluster for deployments.
- D. Use Google Kubernetes Engine for automated deployments.
- E. Use serverless Google Cloud Functions.
Answer: B,E
NEW QUESTION # 81
You are designing a resource-sharing policy for applications used by different teams in a Google Kubernetes Engine cluster. You need to ensure that all applications can access the resources needed to run. What should you do? (Choose two.)
- A. Use the Anthos Policy Controller to enforce label annotations on all namespaces. Use taints and tolerations to allow resource sharing for namespaces.
- B. Specify the resource limits and requests in the object specifications.
- C. Create a namespace for each team, and attach resource quotas to each namespace.
- D. Create a Kubernetes service account (KSA) for each application, and assign each KSA to the namespace.
- E. Create a LimitRange to specify the default compute resource requirements for each namespace.
Answer: C,E
Explanation:
https://kubernetes.io/docs/concepts/policy/resource-quotas/
https://kubernetes.io/docs/concepts/policy/limit-range/
https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-resource-requests-and-limits
NEW QUESTION # 82
You work for an organization that manages an online ecommerce website. Your company plans to expand across the world; however, the estore currently serves one specific region. You need to select a SQL database and configure a schema that will scale as your organization grows. You want to create a table that stores all customer transactions and ensure that the customer (CustomerId) and the transaction (TransactionId) are unique. What should you do?
- A. Create a Cloud SQL table that has TransactionId and CustomerId configured as primary keys. Use a random string (UUID) for the Transactionid.
- B. Create a Cloud Spanner table that has TransactionId and CustomerId configured as primary keys. Use a random string (UUID) for the TransactionId.
- C. Create a Cloud SQL table that has TransactionId and CustomerId configured as primary keys. Use an incremental number for the TransactionId.
- D. Create a Cloud Spanner table that has TransactionId and CustomerId configured as primary keys. Use an incremental number for the TransactionId.
Answer: B
NEW QUESTION # 83
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. Remove the health-check for individual VMs in the instance group.
- B. Decrease the cool-down period for instances added to the group.
- C. Add the label "AUTOSCALE" to the instance group template.
- D. Increase the target CPU usage for the instance group autoscaler.
- E. Decrease the target CPU usage for the instance group autoscaler.
Answer: C,D
NEW QUESTION # 84
Your API backend is running on multiple cloud providers. You want to generate reports for the network latency of your API.
Which two steps should you take? (Choose two.)
- A. Use Zipkin collector to gather data.
- B. Use Stackdriver Debugger to generate report.
- C. Use Stackdriver Profiler to generate report.
- D. Use Fluentd agent to gather data.
- E. Use Stackdriver Trace to generate reports.
Answer: C,E
NEW QUESTION # 85
You need to migrate an internal file upload API with an enforced 500-MB file size limit to App Engine.
What should you do?
- A. Use signed URLs to upload files.
- B. Use FTP to upload files.
- C. Change the API to be a multipart file upload API.
- D. Use CPanel to upload files.
Answer: A
Explanation:
Reference:
https://wiki.christophchamp.com/index.php?title=Google_Cloud_Platform
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 # 86
......
Professional-Cloud-Developer Question Bank: Free PDF Download Recently Updated Questions: https://www.realvce.com/Professional-Cloud-Developer_free-dumps.html
Professional-Cloud-Developer Brain Dump: A Study Guide with Tips & Tricks for passing Exam: https://drive.google.com/open?id=11pG4BH2VcYTRx_qJq1C2pRqw4LBFwyux