Google Cloud Platform

You want to schedule a cron job to send a message to a Cloud Pub/Sub topic hourly. What do you do?

1.

Create a Cloud Function with a target of HTTP

2.

Create a Cloud Scheduler job with a target of HTTP

3.

Create a Cloud Function with a target of Cloud Pub/Sub

4.

Create a Cloud Scheduler job with a target of Cloud Pub/Sub

Q 1 / 51

Google Cloud Platform

You want to set up a managed Apache Spark cluster. Which service do you configure?

1.

Cloud Dataprep

2.

Cloud Composer

3.

Cloud Dataflow

4.

Cloud Dataproc

Q 2 / 51

Google Cloud Platform

GCP Organizations are not available in your GCP project. What type of account are you using?

Note: Free trial doesn't have the organizations.

1.

Temporary

2.

Free Tier

3.

Local

4.

Organizational

Q 3 / 51

Google Cloud Platform

What feature do you need to enable to support load balancing and autoscaling managed instance groups for Compute Engine?

1.

metadata

2.

security scans

3.

network endpoint groups

4.

health checks

Q 4 / 51

Google Cloud Platform

You are designing an application that will send messages with the MQTT protocol. What service should you use?

1.

BigQuery

2.

Cloud Pub/Sub

3.

IoT Broker

4.

Bigtable

Q 5 / 51

Google Cloud Platform

You want to configure services to host a mobile application that uses TensorFlow Lite models. Which services should you use?

1.

Cloud Functions and ML Kit

2.

Firebase and AI Platform jobs

3.

Firebase and ML Kit

4.

Cloud Functions and AI Platform jobs

Q 6 / 51

Google Cloud Platform

You need to deploy Redis with unique persistent identities and stable hostnames on GKE. What type of deployment object do you use?

1.

GCP deployment

2.

YAML configuration file

3.

Python nested template

4.

stateful set

Q 7 / 51

Google Cloud Platform

You want to try out a machine-learning TensorFlow example notebook with the fewest configuration steps on GCP. What do you do?

1.

Upload the notebook to Google Colaboratory. Set the hardware accelerator to use GPU.

2.

Create a notebook instance with TPU. Upload the notebook to the instance.

3.

Create a notebook instance with GPU. Upload the notebook to the instance.

4.

Upload the notebook to Google Colaboratory. Set the hardware accelerator to use TPU.

Q 8 / 51

Google Cloud Platform

You need to configure a data retention policy for a Cloud Storage bucket to govern how long objects in the bucket must be retained. What feature do you enable?

1.

Requester Pays

2.

Bucket Lock

3.

Bucket Policy Only

4.

Encryption Type

Q 9 / 51

Google Cloud Platform

To be able to configure an existing Cloud Function, what information should you review and from which location?

1.

execution time in Cloud Storage logs

2.

execution time in Stackdriver logs

3.

text payload in Stackdriver logs

4.

text payload in Cloud Storage logs

Q 10 / 51

Google Cloud Platform

You need to execute a "lift and shift" move with as few steps as possible. Which items do you need to create to accomplish this task, listed in the correct order of creation?

1.

1. Create a VPN from GCP to your corporate network. 2. Create a GCP network for the project. 3. Create the VM instances to support the application.

2.

1. Create a GCP network for the project. 2. Create a VPN from your corporate network to GCP. 3. Create the VM instances to support the application.

3.

1. Create a GCP network for the project. 2. Create a VPN from GCP to your corporate network. 3. Create the VM instances to support the application.

4.

1. Create a VPN from your corporate network to GCP. 2. Create a GCP network for the project. 3. Create the VM instances to support the application.

Q 11 / 51

Google Cloud Platform

You are concerned about data egress charges for files in a Cloud Storage bucket. What configuration change should you make?

1.

Enable Requester Pays on the project.

2.

Enable Requester Pays on the bucket.

3.

Change the default storage class from multi-regional to regional.

4.

Change the default storage class from regional to multi-regional.

Q 12 / 51

Google Cloud Platform

You need to troubleshoot an Android app that uses Cloud Storage. Where do you look for logs?

1.

Firebase Crashlytics

2.

Firebase Crashlytics and Stackdriver

3.

Firebase Testlab and Stackdriver

4.

Stackdriver

Q 13 / 51

Google Cloud Platform

You want to configure services to be able to perform a regular interactive query of Google AdWords data. What should you do?

1.

Plan to use BigQuery. Create a BigQuery data set to hold the data.

2.

Plan to use Cloud SQL. Enable Cloud SQL Transfer Data API.

3.

Plan to use Cloud SQL. Create a Cloud SQL Database to hold the data.

4.

Plan to user BigQuery. Enable BigQuery Transfer Data API.

Q 14 / 51

Google Cloud Platform

You want to use GCP-preferred base container images. Where can your users find these images?

1.

Docker Hub

2.

Compute Engine base images

3.

GCP Marketplace

4.

Google Kubernetes Engine base images

Q 15 / 51

Google Cloud Platform

You want to set a notification for service spend in GCP. What do you do, and who will be notified?

1.

Use the GCP Billing console Budgets section to set a billing alert. The billing admin will be notified if the alert threshold is exceeded.

2.

Use the GCP Billing console Budgets section to set a billing alert. The organizational admin will be notified if the alert threshold is exceeded.

3.

Use the GCP Organizational console Budgets section to set a billing alert. The project admin will be notified if the alert threshold is exceeded.

4.

Use the GCP Organizational console Budgets section to set a billing alert. The organizational admin will be notified if the alert threshold is exceeded.

Q 16 / 51

Google Cloud Platform

Cloud SQL supports which two relational databases?

1.

Redis and Oracle

2.

MySQL and Oracle

3.

Redis and PostgreSQL

4.

MySQL and PostgreSQL

Q 17 / 51

Google Cloud Platform

undefined

1.

Cloud Run

2.

Cloud Run on Google Kubernetes Engine

3.

Cloud Functions

4.

Google Kubernetes Engine

Q 18 / 51

Google Cloud Platform

undefined

1.

Firebase Emulator

2.

Firebase Emulator and GCP Rules Simulator

3.

GCP policy emulator and Firebase Rules Simulator

4.

Firebase Emulator and Firebase Rules Simulator

Q 19 / 51

Google Cloud Platform

undefined

1.

Dialogflow

2.

Natural Language Translation

3.

Speech API

4.

AutoML Natural Language

Q 20 / 51

Google Cloud Platform

undefined

1.

Stackdriver

2.

Istio

3.

Knative

4.

Spinnaker

Q 21 / 51

Google Cloud Platform

undefined

1.

Configure the clients to connect via the default cluster IP.

2.

Configure an external name. Configure the clients to connect via the external name.

3.

Configure a node port. COnfigure the clients to connect via the node port.

4.

Configure a load balancer. Configure the clients to connect via the load balancer.

Q 22 / 51

Google Cloud Platform

undefined

1.

Create a Cloud Pub/Sub subscription backup.

2.

Create a Cloud Pub/Sub subscription topic.

3.

Create a Cloud Pub/Sub subscription snapshot.

4.

Create a Cloud Pub/Sub subscription.

Q 23 / 51

Google Cloud Platform

undefined

1.

coldline

2.

multi-regional

3.

regional

4.

nearline

Q 24 / 51

Google Cloud Platform

undefined

1.

`gcloud cp gs://myBucket test.txt`

2.

`gsutil cp gs://myBucket test.txt`

3.

`gcloud cp test.txt gs://myBucket`

4.

`gsutil cp test.txt gs://myBucket`

Q 25 / 51

Google Cloud Platform

undefined

1.

`cbt createfamily cf1 my-table`

2.

`cbt createfamily my-table cf1`

3.

`gcloud createfamily cf1 my-table cf1`

4.

`gcloud createfamily my-table cf1`

Q 26 / 51

Google Cloud Platform

undefined

1.

`gcloud ssh compute [instance_name

2.

`compute ssh connect [instance_name

3.

`gcloud compute ssh [instance_name

4.

`compute connect ssh [instance_name

Q 27 / 51

Google Cloud Platform

undefined

1.

Segment the objects into two buckets. For the CORS objects, set the CORS policy at the bucket level.

2.

Segment the objects into two buckets. For the CORS objects, set the CORS policy at the bucket level. Add client-side code to handle the requests.

3.

Leave the objects in one bucket. Set the CORS policy at the object level.

4.

Leave the objects in one bucket. Set the CORS policy at the object level. Add client-side code to handle the requests.

Q 28 / 51

Google Cloud Platform

undefined

1.

Cloud Functions and Cloud Spanner

2.

Cloud Functions and Cloud Pub/Sub

3.

Cloud Run and Cloud Pub/Sub

4.

Cloud Run and Cloud Spanner

Q 29 / 51

Google Cloud Platform

undefined

1.

instance templates

2.

instance groups

3.

snapshots

4.

instances

Q 30 / 51

Google Cloud Platform

undefined

1.

Google Container Registry

2.

GitLab

3.

Artifactory

4.

Docker Hub

Q 31 / 51

Google Cloud Platform

undefined

1.

Configure firewall rules.

2.

Configure VPC Network Peering.

3.

Configure routes.

4.

Configure external IP addresses.

Q 32 / 51

Google Cloud Platform

undefined

1.

group

2.

folder

3.

project

4.

organization

Q 33 / 51

Google Cloud Platform

undefined

1.

GCP VMs

2.

GCP buckets

3.

GCP credentials

4.

GCP users

Q 34 / 51

Google Cloud Platform

undefined

1.

organization

2.

billing account

3.

folder

4.

payment account

Q 35 / 51

Google Cloud Platform

undefined

1.

Cloud DNS

2.

Cloud NAT

3.

Cloud CDN

4.

Cloud Load Balancing

Q 36 / 51

Google Cloud Platform

undefined

1.

Use a private key for each device. Keep the private key secret.

2.

Use a public key for each device. Keep the public key secret.

3.

Use a public private key pair for each device. Keep the public key secret.

4.

Use a public private key pair for each device. Keep the private key secret.

Q 37 / 51

Google Cloud Platform

undefined

1.

Configure and launch the WordPress HA deployment template from the GCP Marketplace.

2.

Configure and launch the WordPress HA deployment template from the WordPress Marketplace.

3.

Create, configure, and launch a WordPress HA deployment template on Compute Engine.

4.

Create, configure, and launch a WordPress HA deployment template on Google Kubernetes Engine.

Q 38 / 51

Google Cloud Platform

undefined

1.

Add a Cloud Build trigger, and set it to fire on commit to associate repository.

2.

Add a Cloud Build function, and set it to fire on commit to associate repository.

3.

Add a Cloud Build trigger, and set it to fire on commit to associate registry.

4.

Add a Cloud Build function, and set it to fire on commit to associate registry.

Q 39 / 51

Google Cloud Platform

undefined

1.

Specify the decryption key with the same name as the encryption key. At least one version of a key with that name must be enabled.

2.

Specify a decryption key and version with the same name as the encryption key and version. The name key and that version must be enabled.

3.

Specify the decryption key with the same name as the encryption key. The named key and that version must be enabled.

4.

Specify a decryption key and version with the same name as the encryption key and version. At least one version of a key with that name must be enabled.

Q 40 / 51

Google Cloud Platform

undefined

1.

Nothing. Images are encrypted by default with a Google-managed key.

2.

Nothing. Images are encrypted by default with a customer-managed key.

3.

Associate you image with a customer-managed key to encrypt it.

4.

Associate you image with a Google-managed key to encrypt it.

Q 41 / 51

Google Cloud Platform

undefined

1. Create a Filestore instance. 2. Mount the fileshare from that instance on a client VM instance. 3. Create a Compute Instance VM to be the client. 4. Create a file on the mounted fileshare. 1. Create a Filestore instance. 2. Mount the fileshare from that instance on a client VM instance. 3. Create a file on the mounted file share. 4. Create a Compute Instance VM to be the client. 1. Create a Compute Instance VM to be the client. 2. Create a Filestore instance. 3. Mount the file share from that instance on a client VM instance. 4. Create a file on the mounted fileshare. 1. Create a Compute Instance VM to be the client. 2. Create a Cloud Filestore instance. 3. Mount the fileshare from that instance on a client VM instance. 4. Create a file on the mounted file share.

1.

1. Create a Filestore instance. 2. Mount the fileshare from that instance on a client VM instance. 3. Create a Compute Instance VM to be the client. 4. Create a file on the mounted fileshare.

2.

1. Create a Filestore instance. 2. Mount the fileshare from that instance on a client VM instance. 3. Create a file on the mounted file share. 4. Create a Compute Instance VM to be the client.

3.

1. Create a Compute Instance VM to be the client. 2. Create a Filestore instance. 3. Mount the file share from that instance on a client VM instance. 4. Create a file on the mounted fileshare.

4.

1. Create a Compute Instance VM to be the client. 2. Create a Cloud Filestore instance. 3. Mount the fileshare from that instance on a client VM instance. 4. Create a file on the mounted file share.

Q 42 / 51

Google Cloud Platform

undefined

1.

Analyze machine usage to verify that machines will be on for more that 25% of the time, and verify that contained use discounts have been automatically applied to your bill.

2.

Analyze machine usage to verify that machines will be on for more that 25% of the time, and verify that sustained use discounts have been automatically applied to your bill.

3.

Analyze machine usage to verify that machines will be on for more than 25% of the time and purchase contained use discounts.

4.

Analyze machine usage to verify that machines will be on for more than 25% of the time and purchase sustained use discounts.

Q 43 / 51

Google Cloud Platform

undefined

1.

Cloud SQL

2.

Bigtable

3.

Cloud Spanner

4.

BigQuery

Q 44 / 51

Google Cloud Platform

undefined

1.

Take a snapshot

2.

Create an instance group

3.

Create an instance template

4.

Create an image

Q 45 / 51

Google Cloud Platform

undefined

1.

At minimum, you should have two levels of access: one for admins, one for users.

2.

At minimum, you should have three levels of access: one for networking, one for security, one for developers.

3.

At minimum, you should have three levels of access: one for admins, one for security, one for users.

4.

At minimum, you should have two levels of access: one for networking, one for developers.

Q 46 / 51

Google Cloud Platform

undefined

1.

Cloud Functions

2.

Cloud Run

3.

Google Kubernetes Engine

4.

Google Compute Engine

Q 47 / 51

Google Cloud Platform

undefined

1.

Configure Stackdriver Error Reporting.

2.

Configure Stackdriver Profiler.

3.

Configure Stackdriver Trace.

4.

Configure Stackdriver Debug.

Q 48 / 51

Google Cloud Platform

undefined

1.

Google App Engine.

2.

Cloud Functions.

3.

Google Kubernetes Engine.

4.

Google Compute Engine.

Q 49 / 51

Google Cloud Platform

undefined

Explanation: _BigQuery offers a choice of two pricing models for runnig queries: on-demand (you are charged for the number of bytes processes by each query) and flat-rate (you purchase slots - dedicated processing capacity)._ If the exploratory queries are one-off, running in Interactive mode using on-demand pricing seems to be the optimal answer.

1.

Set the job priority for each query to Batch and expect to see query results immediately.

2.

Set the job priority for each query to Interactive and expect to see query results immediately.

3.

Set the job priority for each query to Batch and expect to see query results within 24 hours.

4.

Set the job priority for each query to Batch and expect to see query results within 24 hours.

Q 50 / 51

Google Cloud Platform

undefined

1.

Create a VM instance, and then SSH into the instance and install Kubernetes tools.

2.

Create a VM instance, and then SSH into the instance and install Docker tools.

3.

Create a VM instance and, in the web UI, select Allow HTTP traffic.

4.

Create a VM instance and, in the web Ul, select Deploy a container image to this instance.

Q 51 / 51