Pass the Google Cloud Developer Professional-Cloud-Developer Questions and answers with CertsForce

Viewing page 1 out of 3 pages
Viewing questions 1-10 out of questions
Questions # 1:

In order to meet their business requirements, how should HipLocal store their application state?

Options:

A.

Use local SSDs to store state.


B.

Put a memcache layer in front of MySQL.


C.

Move the state storage to Cloud Spanner.


D.

Replace the MySQL instance with Cloud SQL.


Expert Solution
Questions # 2:

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?

Options:

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.


Expert Solution
Questions # 3:

HipLocal wants to reduce the number of on-call engineers and eliminate manual scaling.

Which two services should they choose? (Choose two.)

Options:

A.

Use Google App Engine services.


B.

Use serverless Google Cloud Functions.


C.

Use Knative to build and deploy serverless applications.


D.

Use Google Kubernetes Engine for automated deployments.


E.

Use a large Google Compute Engine cluster for deployments.


Expert Solution
Questions # 4:

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?

Options:

A.

Take frequent snapshots of all of the VMs.


B.

Install the Stackdriver Logging agent on the VMs.


C.

Install the Stackdriver Monitoring agent on the VMs.


D.

Use Stackdriver Trace to look for performance bottlenecks.


Expert Solution
Questions # 5:

HipLocal's.net-based auth service fails under intermittent load.

What should they do?

Options:

A.

Use App Engine for autoscaling.


B.

Use Cloud Functions for autoscaling.


C.

Use a Compute Engine cluster for the service.


D.

Use a dedicated Compute Engine virtual machine instance for the service.


Expert Solution
Questions # 6:

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?

Options:

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.


Expert Solution
Questions # 7:

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?

Options:

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


Expert Solution
Questions # 8:

HipLocal is configuring their access controls.

Which firewall configuration should they implement?

Options:

A.

Block all traffic on port 443.


B.

Allow all traffic into the network.


C.

Allow traffic on port 443 for a specific tag.


D.

Allow all traffic on port 443 into the network.


Expert Solution
Questions # 9:

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?

Options:

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.


Expert Solution
Questions # 10:

You need to containerize a web application that will be hosted on Google Cloud behind a global load balancer with SSL certificates. You don't have the time to develop authentication at the application level, and you want to offload SSL encryption and management from your application. You want to configure the architecture using managed services where possible What should you do?

Options:

A.

Host the application on Compute Engine, and configure Cloud Endpoints for your application.


B.

Host the application on Google Kubernetes Engine and use Identity-Aware Proxy (IAP) with Cloud Load Balancing and Google-managed certificates.


C.

Host the application on Google Kubernetes Engine, and deploy an NGINX Ingress Controller to handle authentication.


D.

Host the application on Google Kubernetes Engine, and deploy cert-manager to manage SSL certificates.


Expert Solution
Viewing page 1 out of 3 pages
Viewing questions 1-10 out of questions