Google Professional Cloud Developer Professional Cloud Developer Online Training
Google Professional Cloud Developer Online Training
The questions for Professional Cloud Developer were last updated at Nov 22,2024.
- Exam Code: Professional Cloud Developer
- Exam Name: Professional Cloud Developer
- Certification Provider: Google
- Latest update: Nov 22,2024
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 Data Loss Prevention API for de-identification 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.
In order for HipLocal to store application state and meet their stated business requirements, which database service should they migrate to?
- A . Cloud Spanner
- B . Cloud Datastore
- C . Cloud Memorystore as a cache
- D . Separate Cloud SQL clusters for each region
For this question, refer to the HipLocal case study.
How should HipLocal redesign their architecture to ensure that the application scales to support a large increase in users?
- A . Use Google Kubernetes Engine (GKE) to run the application as a microservice. Run the MySQL database on a dedicated GKE node.
- B . Use multiple Compute Engine instances to run MySQL to store state information. Use a Google Cloud-managed load balancer to distribute the load between instances. Use managed instance groups for scaling.
- C . Use Memorystore to store session information and CloudSQL to store state information. Use a Google Cloud-managed load balancer to distribute the load between instances. Use managed instance groups for scaling.
- D . Use a Cloud Storage bucket to serve the application as a static website, and use another Cloud Storage bucket to store user state information.
For this question, refer to the HipLocal case study.
How should HipLocal increase their API development speed while continuing to provide the QA team with a stable testing environment that meets feature requirements?
- A . Include unit tests in their code, and prevent deployments to QA until all tests have a passing status.
- B . Include performance tests in their code, and prevent deployments to QA until all tests have a passing status.
- C . Create health checks for the QA environment, and redeploy the APIs at a later time if the environment is unhealthy.
- D . Redeploy the APIs to App Engine using Traffic Splitting. Do not move QA traffic to the new versions if errors are found.
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 . Use the default compute service account to interact with Google Cloud.
- C . 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. - D . 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.
For this question refer to the HipLocal case study.
HipLocal wants to reduce the latency of their services for users in global locations. They have created read replicas of their database in locations where their users reside and configured their service to read traffic using those replicas.
How should they further reduce latency for all database interactions with the least amount of effort?
- A . Migrate the database to Bigtable and use it to serve all global user traffic.
- B . Migrate the database to Cloud Spanner and use it to serve all global user traffic.
- C . Migrate the database to Firestore in Datastore mode and use it to serve all global user traffic.
- D . Migrate the services to Google Kubernetes Engine and use a load balancer service to better scale the application.
For this question, refer to the HipLocal case study.
Which Google Cloud product addresses HipLocal’s business requirements for service level indicators and objectives?
- A . Cloud Profiler
- B . Cloud Monitoring
- C . Cloud Trace
- D . Cloud Logging
For this question, refer to the HipLocal case study.
A recent security audit discovers that HipLocal’s database credentials for their Compute Engine-hosted MySQL databases are stored in plain text on persistent disks. HipLocal needs to reduce the risk of these credentials being stolen.
What should they do?
- A . Create a service account and download its key. Use the key to authenticate to Cloud Key Management Service (KMS) to obtain the database credentials.
- B . Create a service account and download its key. Use the key to authenticate to Cloud Key Management Service (KMS) to obtain a key used to decrypt the database credentials.
- C . Create a service account and grant it the roles/iam.serviceAccountUser role. Impersonate as this account and authenticate using the Cloud SQL Proxy.
- D . Grant the roles/secretmanager.secretAccessor role to the Compute Engine service account. Store and access the database credentials with the Secret Manager API.
For this question, refer to the HipLocal case study.
HipLocal is expanding into new locations. They must capture additional data each time the application is launched in a new European country. This is causing delays in the development process due to constant schema changes and a lack of environments for conducting testing on the application changes.
How should they resolve the issue while meeting the business requirements?
- A . Create new Cloud SQL instances in Europe and North America for testing and deployment. Provide developers with local MySQL instances to conduct testing on the application changes.
- B . Migrate data to Bigtable. Instruct the development teams to use the Cloud SDK to emulate a local Bigtable development environment.
- C . Move from Cloud SQL to MySQL hosted on Compute Engine. Replicate hosts across regions in the Americas and Europe. Provide developers with local MySQL instances to conduct testing on the application changes.
- D . Migrate data to Firestore in Native mode and set up instan
You want to upload files from an on-premises virtual machine to Google Cloud Storage as part of a data migration. These files will be consumed by Cloud DataProc Hadoop cluster in a GCP environment.
Which command should you use?
- A . gsutil cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
- B . gcloud cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
- C . hadoop fs cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
- D . gcloud dataproc cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/