Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

Google Professional-Cloud-Developer - Google Certified Professional - Cloud Developer

You are supporting a business-critical application in production deployed on Cloud Run. The application is reporting HTTP 500 errors that are affecting the usability of the application. You want to be alerted when the number of errors exceeds 15% of the requests within a specific time window. What should you do?

A.

Navigate to the Cloud Run page in the Google Cloud console, and select the service from the services list.

Use the Metrics tab to visualize the number of errors for that revision and refresh the page daily.

B.

Create a Cloud Function that consumes the Cloud Monitoring API Use Cloud Composer to trigger the Cloud

Function daily and alert you if the number of errors is above the defined threshold.

C.

Create an alerting policy in Cloud Monitoring that alerts you if the number of errors is above the defined

threshold.

D.

Create a Cloud Function that consumes the Cloud Monitoring API Use Cloud Scheduler to trigger the Cloud

Function daily and alert you if the number of errors is above the defined threshold

You are creating and running containers across different projects in Google Cloud. The application you are developing needs to access Google Cloud services from within Google Kubernetes Engine (GKE).

What should you do?

A.

Assign a Google service account to the GKE nodes.

B.

Use a Google service account to run the Pod with Workload Identity.

C.

Store the Google service account credentials as a Kubernetes Secret.

D.

Use a Google service account with GKE role-based access control (RBAC).

You recently developed a new service on Cloud Run. The new service authenticates using a custom service and then writes transactional information to a Cloud Spanner database. You need to verify that your application can support up to 5,000 read and 1,000 write transactions per second while identifying any bottlenecks that occur. Your test infrastructure must be able to autoscale. What should you do?

A.

Build a test harness to generate requests and deploy it to Cloud Run. Analyze the VPC Flow Logs using Cloud Logging.

B.

Create a Google Kubernetes Engine cluster running the Locust or JMeter images to dynamically generate load tests. Analyze the results using Cloud Trace.

C.

Create a Cloud Task to generate a test load. Use Cloud Scheduler to run 60,000 Cloud Task transactions per minute for 10 minutes. Analyze the results using Cloud Monitoring.

D.

Create a Compute Engine instance that uses a LAMP stack image from the Marketplace, and use Apache Bench to generate load tests against the service. Analyze the results using Cloud Trace.

You are building a highly available and globally accessible application that will serve static content to users. You need to configure the storage and serving components. You want to minimize management overhead and latency while maximizing reliability for users. What should you do?

A.

1) Create a managed instance group. Replicate the static content across the virtual machines (VMs)

2) Create an external HTTP(S) load balancer.

3) Enable Cloud CDN, and send traffic to the managed instance group.

B.

1) Create an unmanaged instance group. Replicate the static content across the VMs.

2) Create an external HTTP(S) load balancer

3) Enable Cloud CDN, and send traffic to the unmanaged instance group.

C.

1) Create a Standard storage class, regional Cloud Storage bucket. Put the static content in the bucket

2) Reserve an external IP address, and create an external HTTP(S) load balancer

3) Enable Cloud CDN, and send traffic to your backend bucket

D.

1) Create a Standard storage class, multi-regional Cloud Storage bucket. Put the static content in the bucket.

2) Reserve an external IP address, and create an external HTTP(S) load balancer.

3) Enable Cloud CDN, and send traffic to your backend bucket.

You have a web application that publishes messages to Pub/Sub. You plan to build new versions of the application locally and need to quickly test Pub/Sub integration tor each new build. How should you configure local testing?

A.

Run the gclcud config set api_endpoint_overrides/pubsub https: / 'pubsubemulator.googleapi3.com. coin/ command to change the Pub/Sub endpoint prior to starting the application

B.

In the Google Cloud console, navigate to the API Library and enable the Pub/Sub API When developing locally, configure your application to call pubsub.googleapis com

C.

Install Cloud Code on the integrated development environment (IDE) Navigate to Cloud APIs, and enable Pub/Sub against a valid Google Project ID. When developing locally, configure your application to call pubsub.googleapis com

D.

Install the Pub/Sub emulator using gcloud and start the emulator with a valid Google Project ID. When developing locally, configure your application to use the local emulator by exporting the fuhsub emulator Host variable

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 BigQuery federated queries to query data from Cloud Storage.

B.

Create a dataset in the EU region that will keep information about EU users only.

C.

Create a Cloud Storage bucket in the EU region to store information for EU users only.

D.

Re-upload your data using to a Cloud Dataflow pipeline by filtering your user records out.

E.

Use DML statements in BigQuery to update/delete user records based on their requests.

Your team develops stateless services that run on Google Kubernetes Engine (GKE). You need to deploy a new service that will only be accessed by other services running in the GKE cluster. The service will need to scale as quickly as possible to respond to changing load. What should you do?

A.

Use a Vertical Pod Autoscaler to scale the containers, and expose them via a ClusterIP Service.

B.

Use a Vertical Pod Autoscaler to scale the containers, and expose them via a NodePort Service.

C.

Use a Horizontal Pod Autoscaler to scale the containers, and expose them via a ClusterIP Service.

D.

Use a Horizontal Pod Autoscaler to scale the containers, and expose them via a NodePort Service.

Your company has a BigQuery dataset named "Master" that keeps information about employee travel and

expenses. This information is organized by employee department. That means employees should only be able

to view information for their department. You want to apply a security framework to enforce this requirement

with the minimum number of steps.

What should you do?

A.

Create a separate dataset for each department. Create a view with an appropriate WHERE clause to

select records from a particular dataset for the specific department. Authorize this view to access records

from your Master dataset. Give employees the permission to this department-specific dataset.

B.

Create a separate dataset for each department. Create a data pipeline for each department to copy

appropriate information from the Master dataset to the specific dataset for the department. Give employees

the permission to this department-specific dataset.

C.

Create a dataset named Master dataset. Create a separate view for each department in the Master

dataset. Give employees access to the specific view for their department.

D.

Create a dataset named Master dataset. Create a separate table for each department in the Master

dataset. Give employees access to the specific table for their department.

You are running a web application on Google Kubernetes Engine that you inherited. You want to determine whether the application is using libraries with known vulnerabilities or is vulnerable to XSS attacks. Which service should you use?

A.

Google Cloud Armor

B.

Debugger

C.

Web Security Scanner

D.

Error Reporting

You are building a new API. You want to minimize the cost of storing and reduce the latency of serving

images.

Which architecture should you use?

A.

App Engine backed by Cloud Storage

B.

Compute Engine backed by Persistent Disk

C.

Transfer Appliance backed by Cloud Filestore

D.

Cloud Content Delivery Network (CDN) backed by Cloud Storage